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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x46ae55
sub esp, 0x144
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x46a76c
mov ecx, dword [esp + 0x15c]
test ecx, ecx
jne 0x46a3ef
lea ecx, [0xa1dee0]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x46a3fc
lea edx, [0xa1dfa0]
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x46a730
jl 0x46a6f4
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xcc], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
test ebx, ebx
jne 0x46a42e
mov ebx, dword [esp + 0x148]
jmp 0x46a467
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x148]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00469f70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x46a6c4
mov eax, ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0046b060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x46a487
xor edx, edx
jmp 0x46a48b
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
test ecx, ecx
jne 0x46a6a2
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
test ecx, ecx
jne 0x46a4f4
mov eax, dword [esp + 0x150]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.004699c0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
test ecx, ecx
jne 0x46a4fc
xor ecx, ecx
jmp 0x46a546
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0046b060
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
test eax, eax
je 0x46a51c
xor edx, edx
jmp 0x46a520
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test eax, eax
jne 0x46a680
mov eax, dword [esp + 0xcc]
mov ecx, edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xd8], ecx
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
test ebp, ebp
jne 0x46a561
xor ebp, ebp
jmp 0x46a59d
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0046b060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x46a581
xor edx, edx
jmp 0x46a585
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
test ecx, ecx
jne 0x46a65e
mov ebp, edx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0046ff60
mov eax, dword [esp + 0x44]
cmp eax, 6
jae 0x46a5e8
mov eax, 1
jmp 0x46a5f6
jne 0x46a5f4
cmp dword [esp + 0x40], 1
setbe al
jmp 0x46a5f6
xor eax, eax
mov byte [esp + 0x37], al
call fcn.0046e730
mov eax, dword [esp]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x2c]
test edx, edx
jne 0x46a616
mov edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x50], ecx
lea ebx, [0x67e7e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447740
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x64], edx
xor ebx, ebx
jmp 0x46a7a9
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x895a6c]
mov dword [esp + 0x168], eax
lea eax, [0x894808]
mov dword [esp + 0x16c], eax
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x895a6c]
mov dword [esp + 0x168], eax
lea eax, [0x894810]
mov dword [esp + 0x16c], eax
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x895a6c]
mov dword [esp + 0x168], eax
lea eax, [0x894810]
mov dword [esp + 0x16c], eax
call fcn.00432c40
add esp, 0x144
ret
inc ebx
cmp ebx, edx
jge 0x46a8d0
mov ebp, dword [ecx + 0x14]
mov ebp, dword [ebp + ebx*4]
test ebp, ebp
jbe 0x46a7a8
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x46a7ee
movzx ecx, byte [esp + 0x37]
test cl, cl
je 0x46a7f3
mov dword [esp + 0x60], ebp
and ebp, 0x10000003
cmp ebp, 3
jne 0x46a7e8
mov ebp, dword [esp + 0x60]
mov esi, edi
jmp 0x46a7f3
mov ebp, dword [esp + 0x60]
jmp 0x46a7f3
movzx ecx, byte [esp + 0x37]
mov dword [esp + 0x4c], ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea ecx, [eax + ebx*4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 2
call fcn.0046e040
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x46a8a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x5c], edx
lea ebx, [0x68d640]
mov dword [esp], ebx
call fcn.0040af90
mov eax, dword [esp + 4]
lea ecx, [0x46aee0]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ebx
mov dword [esp], eax
call fcn.004325d0
test eax, eax
jne 0x46a894
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x4c]
jmp 0x46a7a8
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
call fcn.00432c40
add esp, 0x144
ret
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.0045f75e
mov dword [esp], 2
call fcn.0046cac0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ebx
test ebp, ebp
jne 0x46aafc
mov eax, dword [esp + 0x140]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea ecx, [0x46aea0]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa4]
mov dword [esp], eax
call fcn.004326b0
test eax, eax
jne 0x46aaf0
mov dword [esp + 0xfc], 0x48
mov dword [esp + 0x128], 0x100
mov eax, dword [esp + 0xcc]
movzx ecx, byte [eax]
test cl, cl
je 0x46a9a6
mov dword [esp + 0x128], 0x101
mov word [esp + 0x12c], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x46aa14
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20000
lea ecx, [eax + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0046f9a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
jne 0x46aace
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x134], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x138], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x13c], edx
mov edx, dword [eax + 0x24]
mov ebx, dword [esp + 0x50]
lea ebp, [ebx + edx]
mov esi, dword [eax + 0x20]
cmp ebx, ebp
jb 0x46aa4d
mov edi, ebx
jmp 0x46aa95
mov dword [esp + 0xdc], esi
mov dword [esp + 0x64], edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
lea eax, [0x67e7e0]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0x50]
mov ebx, ecx
mov ecx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0xd0], ecx
lea eax, [ecx + edi*4]
mov dword [esp], eax
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0045fe60
mov eax, dword [esp + 0xd0]
movzx ecx, byte [esp + 0x37]
mov edx, dword [esp + 0x50]
xor ebx, ebx
jmp 0x46ab1f
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
inc ebx
cmp ebx, edx
jge 0x46ab3e
mov ebp, dword [eax + ebx*4]
test cl, cl
je 0x46ab1e
and ebp, 0x10000003
cmp ebp, 3
jne 0x46ab1e
mov dword [eax + ebx*4], 0
jmp 0x46ab1e
xor ecx, ecx
xor ebx, ebx
jmp 0x46ab45
inc ecx
cmp ecx, edx
jge 0x46ab56
mov ebp, dword [eax + ecx*4]
test ebp, ebp
je 0x46ab44
mov dword [eax + ebx*4], ebp
inc ebx
jmp 0x46ab44
test ebx, ebx
je 0x46ab6a
mov ecx, dword [esp + 0xcc]
movzx edx, byte [ecx + 0x1c]
xor edx, 1
jmp 0x46ab73
mov ecx, dword [esp + 0xcc]
xor edx, edx
mov byte [esp + 0x36], dl
mov dword [esp + 0x48], ebx
test dl, dl
je 0x46abdb
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20002
mov dword [esp + 0xc], eax
shl ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0046f9a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
jne 0x46ae33
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00469ab0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
test ebx, ebx
jne 0x46ae11
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0xc]
or edx, 0x80400
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x46accb
mov ebp, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
movzx ebx, byte [esp + 0x36]
mov byte [esp + 0x14], bl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.0046cc40
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
jmp 0x46ad38
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x18]
mov esi, dword [esp + 0xc8]
mov dword [esp], esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ebx, byte [esp + 0x36]
mov byte [esp + 0x10], bl
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
call fcn.0046de00
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x46adef
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x46ae60]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.004326b0
test eax, eax
jne 0x46ade3
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.00432c40
add esp, 0x144
ret
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00432c40
add esp, 0x144
ret
call fcn.0045e260
jmp fcn.0046a380