Function at 0x460b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], eax
test edi, edi
je 0x4617ae
mov eax, 0x62
test edx, edx
je 0x460bdc
movzx eax, byte [edx]
mov dword [esp + 0x24], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x460bf5.21
movzx eax, byte [eax + 0x461a74]
jmp dword [eax*4 + 0x461a10]
movsx eax, word [edx + 0x1e]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x10]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x10], ecx
cmp byte [eax], 0
jne 0x460c23
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
mov ecx, dword [ebp + 8]
je case.0x460bf5.152
push ecx
mov ecx, dword [esp + 0x14]
mov edx, 0x1c
push dword [ecx + 0xc]
mov ecx, edi
push dword [eax + 4]
call fcn.0044f5d0
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x18]
test eax, eax
jns 0x460c68
movsx edi, word [edx + 0x1c]
add edi, dword [esi + 0x50]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push eax
movsx eax, word [edx + 0x1c]
mov ecx, esi
mov edx, dword [edx + 0x28]
push eax
call fcn.004606c0
add esp, 0xc
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.004602e0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 4]
push ecx
push 0
mov ecx, edi
call fcn.004601d0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 4]
mov edx, 0x5e
push 0
push ecx
push 0
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.0044f5d0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
test edx, edx
je 0x460d4c
cmp byte [ecx + 0x1e], 0
jne 0x460d4c
test eax, eax
jns 0x460ceb
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0044fa40
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x10], 0
test ecx, ecx
jne 0x460d27
mov edi, dword [esp + 0xc]
mov eax, edi
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00437670
mov edx, ecx
mov ecx, dword [edi]
push eax
call fcn.004358d0
mov edi, dword [esp + 0x10]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, edi
mov byte [esi + 1], 0xff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
xor edx, edx
call fcn.0044fa40
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push ecx
push 0
mov edx, 0xa
mov ecx, edi
call fcn.0044f5d0
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 4]
add ecx, 2
call fcn.00437670
mov edx, ecx
mov ecx, dword [edi]
lea esi, [eax - 1]
push esi
call fcn.00438550
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, esi
cdq
sub eax, edx
mov edx, 0xb
push 0
push ecx
sar eax, 1
mov ecx, edi
push eax
call fcn.0044f5d0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
test edx, edx
je 0x460e1c
cmp byte [ecx + 0x1e], 0
jne 0x460e1c
test eax, eax
jns 0x460dd6
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0044fa40
mov eax, dword [esp + 0x14]
add esp, 4
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x460e0d
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], eax
mov eax, edi
mov byte [esi + 1], 0xff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
or edx, 0xffffffff
call fcn.0044fa40
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, word [edx + 0x1c]
mov edx, 0xc
push 0
push ecx
push eax
mov ecx, edi
call fcn.0044f5d0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp byte [eax + 1], 0
je 0x461a02
mov edx, dword [edi + 4]
mov ecx, dword [edi]
test edx, edx
je 0x460eab
cmp byte [ecx + 0x1e], 0
jne 0x460eab
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0044fa40
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x10], 0
test edx, edx
je 0x460d10
mov ecx, edx
call fcn.00437670
jmp 0x460d2e
push eax
xor edx, edx
call fcn.0044fa40
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x18]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.00460b90
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.00460b90
mov dword [esp + 0x10], eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
call fcn.00467c30
mov ecx, dword [esp + 0xc]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x460f30
push 0
push eax
push ecx
mov edx, 0xf
mov ecx, edi
call fcn.0044f5d0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x10]
push 0
push 0
push ecx
mov ecx, edi
call fcn.0044f5d0
mov edi, dword [esp + 0x18]
add esp, 0xc
mov edx, edi
mov ecx, esi
push 1
call fcn.00460570
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00461b00
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
call fcn.00461b00
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
push ecx
push eax
push edi
push dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
push dword [eax + 0xc]
mov edx, dword [eax + 8]
call fcn.0045ddc0
add esp, 0x18
jmp 0x461697
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00461b00
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
call fcn.00461b00
mov ecx, dword [ebp + 8]
add esp, 4
push 0x90
push ecx
push eax
xor eax, eax
cmp dword [esp + 0x30], 0x46
push edi
sete al
add eax, 0x4b
push eax
jmp 0x460f93
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00461b00
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
call fcn.00461b00
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
push edi
push eax
call fcn.0044f5d0
add esp, 0xc
jmp 0x461697
mov edx, dword [edx + 8]
mov al, byte [edx]
cmp al, 0x81
jne 0x461058
push ecx
push 1
mov ecx, esi
call fcn.004602e0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x461697
cmp al, 0x82
jne 0x461078
mov edx, dword [edx + 4]
push ecx
push 1
mov ecx, edi
call fcn.004601d0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x461697
mov ecx, esi
call fcn.00462a80
mov ecx, dword [esp + 0x34]
mov edi, eax
push 0
push edi
push 0
mov edx, 7
mov dword [esp + 0x20], edi
call fcn.0044f5d0
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
call fcn.00461b00
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, 0x57
push ecx
mov ecx, dword [esp + 0x38]
push edi
push eax
call fcn.0044f5d0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x461697
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00461b00
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
push 0
push ecx
push eax
mov ecx, edi
call fcn.0044f5d0
add esp, 0xc
jmp 0x461697
push 0
push ecx
push 1
mov edx, 7
mov ecx, edi
call fcn.0044f5d0
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
call fcn.00461b00
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, edi
push 0
push 0
push eax
call fcn.0044f5d0
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, 0x14
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044f5d0
mov edx, dword [edi + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x461697
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
jmp 0x461697
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x46119d
push dword [edx + 4]
push str.misuse_of_aggregate:__s__
push esi
call fcn.00437770
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [edx + 0x1e]
mov eax, dword [eax + 0x20]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x10], al
mov eax, 0x2000
test word [edx + 2], ax
je 0x461242
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
mov edx, dword [edx + 4]
mov ecx, edx
mov dword [esp + 0x18], edx
call fcn.00437670
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
mov dword [esp + 0x38], eax
push ecx
mov ecx, dword [esp + 0x44]
push eax
call fcn.0046bba0
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
jne 0x461255
push dword [esp + 0x18]
push dword [esp + 0x34]
push str.unknown_function:__.s__
push esi
call fcn.00437770
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4611e6
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x4611ee
test byte [eax + 3], 0x40
je 0x46130e
mov ecx, edi
call fcn.0044f750
mov edx, dword [esp + 0x24]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x30], eax
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
call fcn.00461b90
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x4612f7
dec eax
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x10], eax
jmp 0x4612a0
push 0
push dword [esp + 0x30]
mov edx, 0x4a
mov ecx, edi
push dword [ebp + 8]
call fcn.0044f5d0
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, esi
push 1
call fcn.00460570
mov eax, dword [esp + 0x28]
add esp, 4
inc dword [esi + 0x54]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.00461b90
add esp, 4
mov ecx, esi
call fcn.004605d0
add dword [esp + 0x18], 0x14
dec dword [esp + 0x10]
jne 0x4612a0
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0044f800
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x461346
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00462ae0
mov edx, dword [esp + 0x24]
mov ecx, esi
inc dword [esi + 0x54]
push 1
push eax
mov dword [esp + 0x18], eax
call fcn.00461e80
add esp, 8
mov ecx, esi
call fcn.004605d0
mov ecx, dword [esp + 0x24]
jmp 0x46134e
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x14]
cmp edx, 2
jl 0x461369
mov eax, dword [esp + 0x1c]
test byte [eax + 2], 0x80
je 0x461369
mov eax, dword [ecx + 0xc]
push dword [eax + 0x14]
jmp 0x461372
test edx, edx
jle 0x46138b
mov eax, dword [ecx + 0xc]
push dword [eax]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x28]
call fcn.00487850
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x461426
mov edi, dword [esp + 0x24]
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
lea ebx, [ebx]
cmp ecx, 0x20
jge 0x4613d8
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + eax]
call fcn.0045f310
mov edx, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
je 0x4613d8
or dword [esp + 0x2c], eax
mov edi, dword [esp + 0x20]
test byte [edi + 3], 8
mov edi, dword [esp + 0x24]
je 0x46140e
cmp dword [esp + 0x3c], 0
jne 0x46140e
mov edx, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [esp + 0x30]
mov edx, dword [edx + eax]
call fcn.0045db60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x30], 0x14
inc ecx
rol eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp ecx, edx
jl 0x4613b0
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
test byte [eax + 3], 8
je 0x4614c9
cmp dword [esp + 0x3c], 0
jne 0x461446
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x3c], eax
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0044f5d0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
test edx, edx
je 0x4614b4
cmp byte [ecx + 0x1e], 0
jne 0x4614b4
test eax, eax
jns 0x461472
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea edx, [edx + eax*4]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.0044fa40
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], 0
test eax, eax
jne 0x4614ab
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
jmp 0x4614c5
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfc
jmp 0x4614c5
push dword [esp + 0x3c]
mov edx, 0xfffffffc
call fcn.0044fa40
add esp, 4
mov eax, dword [esp + 0x20]
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 0x12
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x3c]
call fcn.0044f690
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x4614fb
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x461a02
mov edx, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00462b10
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
call fcn.0045f8a0
add esp, 8
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0044f750
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.0044f750
mov ecx, dword [esp + 0x34]
mov edx, 0xa
push 0
push dword [ebp + 8]
mov dword [esp + 0x18], eax
push 0
call fcn.0044f5d0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x10]
push edi
call fcn.0045feb0
mov esi, dword [esp + 0x3c]
mov edx, 7
push 0
push dword [ebp + 8]
mov ecx, esi
push 1
call fcn.0044f5d0
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.0044f800
push 0
push 0
push dword [ebp + 8]
mov edx, 0x14
call fcn.0044f5d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
call fcn.0044f800
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 8]
mov edx, ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.00461b00
add esp, 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
mov edx, edi
mov ecx, esi
push eax
call fcn.00461b00
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.00462a80
mov dword [esp + 0x30], eax
call fcn.00462a80
push 0x10
push dword [esp + 0x34]
mov dword [esp + 0x18], eax
push edx
push dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push 0x50
push edi
call fcn.0045ddc0
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x38]
mov edi, dword [edi + 0x14]
call fcn.00462aa0
lea eax, [esp + 0x38]
mov edx, edi
push eax
mov ecx, esi
call fcn.00461b00
mov edx, dword [esp + 0x34]
add esp, 0x1c
mov ecx, esi
push 0x10
push dword [esp + 0x14]
push eax
push dword [esp + 0x38]
push 0x4e
push edi
call fcn.0045ddc0
push dword [ebp + 8]
mov edi, dword [esp + 0x4c]
mov edx, 0x45
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
push edi
call fcn.0044f5d0
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.00462aa0
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00462aa0
cmp dword [esp + 0x14], 0
je 0x4616d4
mov al, byte [esi + 0x15]
mov byte [esp + 0x2b], al
cmp al, 8
jae 0x4616d4
xor ecx, ecx
lea eax, [esi + 0x60]
mov edi, edi
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x10], edx
je 0x4616d0
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4616b0
movzx eax, byte [esp + 0x2b]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x15]
jmp 0x4616d4
mov byte [eax + 8], 1
cmp dword [esp + 0x20], 0
je 0x461a02
mov al, byte [esi + 0x15]
mov byte [esp + 0x2b], al
cmp al, 8
jae 0x461a02
xor ecx, ecx
lea eax, [esi + 0x60]
mov edx, dword [esp + 0x20]
cmp dword [eax + 0x10], edx
je 0x46171d
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4616f3
movzx eax, byte [esp + 0x2b]
mov edi, dword [esp + 0xc]
mov dword [esi + eax*4 + 0x18], edx
mov eax, edi
inc byte [esi + 0x15]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov byte [eax + 8], 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x28]
movsx eax, word [edx + 0x1c]
push 0
push ecx
mov ecx, dword [esi + 8]
inc eax
inc ecx
imul ecx, dword [edx + 0x18]
mov edx, 0x6d
add eax, ecx
mov ecx, edi
push eax
call fcn.0044f5d0
mov eax, dword [esp + 0x28]
add esp, 0xc
movzx eax, word [eax + 0x1c]
test ax, ax
js 0x461a02
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8 + 0x16], 0x65
jne 0x461a02
push 0
push 0
push dword [ebp + 8]
mov edx, 0x16
mov ecx, edi
call fcn.0044f5d0
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1ac], 0
jne 0x4617b6
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.00437770
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4617d0
mov eax, dword [esi + 0x1a8]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x159], 1
mov al, byte [edx + 1]
push 0
cmp al, 4
jne 0x4617e8
mov esi, dword [edx + 4]
mov edx, 6
push 4
jmp 0x460cc4
push dword [edx + 4]
movsx edx, al
mov ecx, esi
call fcn.0046b180
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, edi
mov dword [esp + 0x10], 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
call fcn.0044f750
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
test edx, edx
je 0x461887
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmm0, xmmword [edx + 0x20]
movdqu xmmword [esp + 0x64], xmm0
call fcn.00461b00
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x70], 0x4c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4619ac
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
inc dword [esi + 0x54]
mov eax, dword [eax]
test edx, edx
je 0x4618b0
mov dword [esp + 0x7c], eax
jmp 0x4618b4
mov dword [esp + 0x10], eax
mov ecx, edi
call fcn.0044f750
mov edx, dword [esp + 0x10]
mov ecx, esi
push 8
push eax
mov dword [esp + 0x3c], eax
call fcn.004622c0
mov edx, dword [esp + 0x20]
add esp, 8
mov edx, dword [edx + 0x14]
test edx, edx
je 0x4618f2
cmp byte [edx], 0x84
jne 0x4618f2
mov ecx, dword [esi + 0xc]
push 0
push dword [ebp + 8]
push dword [edx + 0x18]
mov edx, 0xe
jmp 0x461918
push dword [ebp + 8]
mov ecx, esi
call fcn.00460b90
mov edx, eax
add esp, 4
mov eax, dword [ebp + 8]
cmp edx, eax
je 0x461920
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x461920
push 0
push eax
push edx
mov edx, 0xf
call fcn.0044f5d0
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x46193b
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x461973
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x64], 0
mov ecx, esi
call fcn.004605d0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x461993
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
add eax, 0x28
dec dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jne 0x4618a1
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
je 0x4619d3
mov ecx, dword [ebp + 8]
inc dword [esi + 0x54]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, esi
call fcn.00461b90
add esp, 4
mov ecx, esi
call fcn.004605d0
jmp 0x4619e9
push 0
push dword [ebp + 8]
mov edx, 0xa
mov ecx, edi
push 0
call fcn.0044f5d0
add esp, 0xc
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x461a02
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret