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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov edx, dword [edi]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
cmp ebx, ecx
je 0x46d888
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 0x65]
cmp esi, ecx
je 0x46cb71
movzx eax, byte [esi]
mov dword [esp + 0x14], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x46cb8a.21
movzx eax, byte [eax + 0x46dbc4]
jmp dword [eax*4 + 0x46db5c]
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x46cbb4
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x46cbdd
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2f
mov esi, ebx
call fcn.00457e10
mov eax, dword [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jge 0x46cc01
mov edx, dword [edi + 0x5c]
cmp edx, ecx
jle 0x46cbfe
movsx eax, word [esi + 0x20]
add eax, edx
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x60]
movzx ecx, byte [esi + 0x26]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
movsx eax, word [esi + 0x20]
push eax
push ecx
mov eax, edi
call fcn.0046c9f0
add esp, 0x14
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
push edi
xor ecx, ecx
mov eax, esi
call fcn.0046c640
mov eax, dword [esp + 0x38]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 8]
push 0
push ebx
call fcn.0046c5d0
mov eax, dword [esp + 0x3c]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
mov edi, dword [ecx + 8]
mov ecx, dword [ebp + 0x10]
push 0x61
push ebx
xor eax, eax
call fcn.00457f10
mov eax, dword [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x46cca4
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46cf9d
xor ecx, ecx
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov edi, dword [eax + 8]
add edi, 2
mov eax, edi
call fcn.0043df20
mov ecx, dword [ebx]
mov esi, eax
dec esi
push esi
call fcn.0043eff0
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov eax, esi
cdq
add esp, 4
sub eax, edx
push 0xffffffffffffffff
sar eax, 1
push eax
push 0x1c
push ebx
xor eax, eax
call fcn.00457f10
mov eax, dword [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, word [esi + 0x20]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x2c], eax
jg 0x46cd43
push ebx
call fcn.00457d80
add esp, 4
xor ecx, ecx
test eax, eax
jne 0x46cd6d
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x1d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov eax, dword [esi + 8]
cmp byte [eax + 1], 0
je 0x46cf9d
movsx edx, word [esi + 0x20]
mov eax, dword [edi + 0x1d4]
mov edi, dword [eax + edx*4 - 4]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
cmp eax, ecx
je 0x46cddd
cmp byte [edx + 0x41], 0
jne 0x46cddd
mov ebx, dword [ebx + 0x20]
dec ebx
lea ecx, [ebx + ebx*4]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00458430
xor eax, eax
add esp, 4
mov dword [esi + 0x10], eax
cmp edi, eax
jne 0x46cdcb
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], edi
mov byte [esi + 1], 0xfe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
mov ecx, edi
mov eax, 0xfffffffe
call fcn.00458430
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push edi
call fcn.0046cb30
add esp, 0xc
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
push edx
push eax
push edi
call fcn.0046cb30
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
cmp edi, dword [ebp + 0x10]
je 0x46ce86
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x46ce58
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46ce7f
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
xor edi, edi
call fcn.00474540
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
movsx edi, al
jg 0x46ceae
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46ced5
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x28
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
push edx
mov eax, 1
call fcn.0046c870
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
mov ecx, edi
call fcn.0046dcc0
lea ecx, [esp + 0x20]
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, edi
call fcn.0046dcc0
mov edx, dword [ebp + 0x10]
add esp, 4
push 0x20
push edx
push eax
mov eax, dword [esp + 0x20]
push ebx
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edi
call fcn.004695c0
add esp, 0x18
mov esi, dword [esp + 0x18]
test esi, esi
je 0x46cf6c
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x46cf6c
xor eax, eax
lea ecx, [edi + 0x74]
lea esp, [esp]
cmp dword [ecx + 0xc], esi
je 0x46db44
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x46cf50
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x46cf9d
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x46cf9d
xor eax, eax
lea ecx, [edi + 0x74]
cmp dword [ecx + 0xc], esi
je 0x46db4d
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x46cf81
movzx ecx, dl
mov dword [edi + ecx*4 + 0x18], esi
inc byte [edi + 0x13]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0046dcc0
lea edx, [esp + 0x20]
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, edi
call fcn.0046dcc0
mov ecx, dword [ebp + 0x10]
add esp, 4
xor edx, edx
cmp dword [esp + 0x14], 0x49
push 0xa0
sete dl
push ecx
push eax
push ebx
add edx, 0x4e
push edx
jmp 0x46cf28
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
mov ecx, edi
call fcn.0046dcc0
lea ecx, [esp + 0x20]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, edi
call fcn.0046dcc0
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
add esp, 4
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
mov esi, ebx
call fcn.00457e10
add esp, 0x10
jmp 0x46cf37
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x46d05a
mov ecx, dword [ebp + 0x10]
push ecx
push edi
mov ecx, 1
call fcn.0046c640
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x30], edx
jmp 0x46cf37
cmp cl, 0x85
jne 0x46d07d
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 8]
push edx
push 1
push ebx
call fcn.0046c5d0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x46cf37
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], 0
call fcn.0046dcc0
lea ecx, [esp + 0x20]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, edi
call fcn.0046dcc0
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
add esp, 4
push edx
push ecx
push eax
push 0x5a
mov esi, ebx
call fcn.00457e10
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x30], edx
jmp 0x46cf37
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
mov ecx, edi
call fcn.0046dcc0
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0
push ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov esi, ebx
call fcn.00457e10
add esp, 0x10
jmp 0x46cf37
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x2c], eax
jg 0x46d130
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d15a
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
mov ecx, edi
call fcn.0046dcc0
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push ecx
mov esi, ebx
call fcn.00457ec0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 8
cmp dword [edx + 0x54], esi
mov dword [esp + 0x2c], eax
jg 0x46d198
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d1bf
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [ebp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x2c]
mov edx, ebx
call fcn.00458410
jmp 0x46cf37
mov eax, dword [esi + 0x28]
cmp eax, ecx
jne 0x46d1f4
mov eax, esi
mov ecx, dword [eax + 8]
push ecx
push str.misuse_of_aggregate:__s__
call fcn.0043e000
mov eax, dword [esp + 0x38]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
shl edx, 4
mov ecx, dword [edx + eax + 8]
mov dword [esp + 0x30], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
mov dl, byte [edx + 0x3e]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x10], ecx
je 0x46d368
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
mov eax, esi
call fcn.0043df20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push edx
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
push esi
push ecx
call fcn.004797e0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46d580
mov edx, eax
cmp dword [edx + 0xc], 0
je 0x46d580
movzx eax, word [edx + 2]
test eax, 0x200
je 0x46d382
mov eax, ebx
call fcn.00458100
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx]
push edx
push eax
call fcn.0046ddd0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 1
jle 0x46d34e
dec eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x46d2da
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d305
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edi
mov eax, 1
call fcn.0046c870
inc dword [esi + 0x64]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
add esp, 4
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [ecx + edi]
push edx
push esi
call fcn.0046ddd0
add esp, 0xc
mov eax, esi
call fcn.0046c8d0
add edi, 0x18
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], edi
jne 0x46d2c2
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00458150
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x14]
mov dword [esp + 0x14], esi
cmp esi, ecx
je 0x46d22f
mov eax, dword [esi]
mov dword [esp + 0x18], eax
jmp 0x46d233
test eax, 0x400
je 0x46d3ae
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
push ecx
push edx
call fcn.0046cb30
add esp, 0xc
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
xor esi, esi
lea edi, [esi + 1]
test eax, eax
jle 0x46d42b
mov dword [esp + 0x24], esi
nop
cmp esi, 0x20
jge 0x46d3e8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx]
push eax
call fcn.0046ae00
add esp, 4
test eax, eax
mov eax, dword [esp + 0x18]
je 0x46d3e8
or dword [esp + 0x20], edi
mov ecx, dword [esp + 0x1c]
test byte [ecx + 2], 0x20
je 0x46d41b
cmp dword [esp + 0x10], 0
jne 0x46d41b
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [eax + edx]
call fcn.00469360
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add esp, 4
add dword [esp + 0x24], 0x18
inc esi
rol edi, 1
cmp esi, eax
jl 0x46d3c0
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x46d4ac
cmp dword [esp + 0x20], 0
je 0x46d44d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x48]
lea edi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x24], edi
mov dword [esi + 0x48], ecx
jmp 0x46d45f
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.0046f060
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
test byte [edx + 2], 0xc0
je 0x46d483
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov cl, byte [eax]
cmp cl, 0x9a
je 0x46d47a
cmp cl, 0x9c
jne 0x46d483
mov dl, byte [edx + 2]
and dl, 0xc0
mov byte [eax + 0x26], dl
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
inc dword [edi + 0x64]
push eax
push edi
mov cl, 3
mov edx, esi
call fcn.0046df10
add esp, 8
mov eax, edi
call fcn.0046c8d0
mov eax, dword [esp + 0x18]
jmp 0x46d4b8
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], 0
cmp eax, 2
jl 0x46d4d4
mov ecx, dword [ebp + 0xc]
test byte [ecx + 4], 0x80
je 0x46d4d4
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x18]
jmp 0x46d4e3
test eax, eax
jle 0x46d4f4
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004990c0
mov dword [esp + 0x28], eax
add esp, 0xc
mov edx, dword [esp + 0x1c]
test byte [edx + 2], 0x20
je 0x46d520
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x46d50d
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 8]
push 0xfffffffffffffffc
push 0
push 0x22
push ebx
xor eax, eax
xor ecx, ecx
call fcn.00457f10
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
push 0xfffffffffffffffb
push ecx
push 0x23
push ebx
mov ecx, esi
call fcn.00457f10
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x46d554
mov ebx, dword [ebx + 0x20]
lea edx, [ebx + ebx*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x46cf9d
cmp dword [esp + 0x20], 0
jne 0x46cf9d
mov eax, dword [ebp + 8]
push esi
mov edi, ecx
call fcn.0046f090
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 8]
push str.unknown_function:__.s__
call fcn.0043e000
mov eax, dword [esp + 0x3c]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push edi
call fcn.0046b6f0
add esp, 0x10
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
call fcn.00458100
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.00458100
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x2c], eax
jg 0x46d5e8
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d613
inc dword [ebx + 0x20]
mov eax, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
push edi
call fcn.0046be70
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 0x10
cmp dword [edx + 0x54], esi
jg 0x46d63f
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d66e
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x46d670
xor edi, edi
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00458150
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add esp, 4
cmp dword [eax + 0x54], esi
jg 0x46d697
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d6bd
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0x10]
mov byte [eax], 0x25
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00458150
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov esi, dword [ecx + 4]
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
call fcn.0046dcc0
lea edx, [esp + 0x20]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push edx
mov ecx, edi
call fcn.0046dcc0
mov dword [esp + 0x30], eax
add esp, 4
mov eax, edi
call fcn.0046f010
mov edx, eax
mov eax, edi
mov dword [esp + 0x28], edx
call fcn.0046f010
mov ecx, dword [esp + 0x24]
push 0x20
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
push 0x53
push edi
call fcn.004695c0
mov edx, dword [esi + 0x18]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov edx, edi
call fcn.0046f030
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, edi
call fcn.0046dcc0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add esp, 0x1c
push 0x20
push esi
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
push 0x51
push edi
call fcn.004695c0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x40]
push edx
push esi
push eax
push 0x48
mov esi, ebx
call fcn.00457e10
mov esi, dword [esp + 0x50]
add esp, 0x28
mov edx, edi
call fcn.0046f030
mov esi, dword [esp + 0x14]
call fcn.0046f030
jmp 0x46cf37
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
push edi
call fcn.0046cb30
add esp, 0xc
mov dword [esp + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
movsx ecx, word [esi + 0x20]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
movsx eax, word [eax + 0x22]
inc eax
imul eax, dword [esi + 0x1c]
lea edx, [eax + ecx + 1]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
mov dword [esp + 0x2c], edx
jg 0x46d80a
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46d835
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x86
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
movzx eax, word [esi + 0x20]
test ax, ax
jl 0x46cf9d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
cwde
lea eax, [eax + eax*2]
cmp byte [edx + eax*8 + 0x15], 0x45
jne 0x46cf9d
mov eax, dword [ebp + 0x10]
push eax
push 0x27
mov esi, ebx
call fcn.00457ec0
mov eax, dword [esp + 0x38]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x19c], ecx
jne 0x46d891
push str.RAISE___may_only_be_used_within_a_trigger_program
call fcn.0043e000
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x46d89e
mov ecx, edi
call fcn.00478960
mov al, byte [esi + 1]
push 0
push 0
cmp al, 4
jne 0x46d8c9
mov ecx, esi
mov edi, dword [ecx + 8]
xor eax, eax
push 0x16
push ebx
lea ecx, [eax + 4]
call fcn.00457f10
mov eax, dword [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
movsx eax, al
push edx
push eax
push 0x713
mov eax, edi
call fcn.00478980
mov eax, dword [esp + 0x44]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
call fcn.00458100
mov esi, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46d967
mov ecx, 0xc
mov eax, esi
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0046dcc0
mov dl, byte [esp + 0x3c]
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x6c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov byte [esp + 0x5e], dl
mov byte [esp + 0x38], 0x9f
mov byte [esp + 0x68], 0x4f
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
xor esi, esi
cmp ecx, esi
jle 0x46daaf
mov edx, dword [esp + 0x10]
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
lea ebx, [ebx]
inc dword [edi + 0x64]
cmp dword [esp + 0x1c], 0
je 0x46d9a6
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x46d9b0
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test eax, edx
jne 0x46d9f6
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x70]
mov esi, dword [eax]
push 0
push ecx
call fcn.0043bb90
mov edx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x46da04
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [esp + 0x28]
push 0x10
push esi
push eax
push edi
call fcn.0046e560
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
push ecx
push eax
push edi
call fcn.0046ddd0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 0x1c
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x10], eax
jg 0x46da48
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46da74
inc dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov byte [eax], 0xe
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, edi
call fcn.0046c8d0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, esi
js 0x46da92
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x46da92
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebx + 0x20]
add dword [esp + 0x20], 0x30
dec eax
sub dword [esp + 0x14], 1
mov dword [ecx + 0x58], eax
jne 0x46d990
mov eax, dword [esp + 0x24]
xor esi, esi
test al, 1
je 0x46dadb
mov ecx, dword [ebp + 0x10]
inc dword [edi + 0x64]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push edi
call fcn.0046ddd0
add esp, 0xc
mov eax, edi
call fcn.0046c8d0
jmp 0x46db19
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x46daf3
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x46db19
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0x10]
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x46db32
mov edx, dword [ecx + 0x70]
cmp edx, esi
je 0x46db32
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x30]
dec edx
mov dword [ecx + 0x58], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x46cf6c
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret