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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x46ee2a
sub esp, 0x128
lea edi, [esp + 0x134]
xor eax, eax
call fcn.0044f1c3
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc8], ecx
lea edi, [esp + 0xd8]
call fcn.0044f1c9
lea edi, [esp + 0xf4]
call fcn.0044f1c3
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe4], ecx
call fcn.0043ec30
mov ecx, dword [esp]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 8]
mov dword [esp + 0xbc], ecx
mov eax, 1
mov edx, 1
lea ebx, [esp + 0xc8]
xor ebp, ebp
lea esi, [esp + 0x3c]
xor edi, edi
xor eax, eax
mov byte [esp + 0x3f], al
mov eax, 1
jmp 0x46e721
mov edi, dword [esp + 0xb4]
add edi, 0x10
mov dword [esp + 0x6c], esi
mov byte [esp + 0x3f], al
mov dword [esp + 0x88], ecx
mov esi, ebp
mov dword [esp + 0x68], ebx
mov ebp, edx
mov ebx, edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0x64], ebp
mov eax, dword [ebx + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0xac], ecx
mov edx, dword [ebx]
mov dword [esp + 0xa8], edx
lea edi, [0x7af240]
mov dword [esp], edi
lea ecx, [esp + 0xd8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040d260
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x46e76e
movzx eax, byte [esp + 0x3f]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0x6c]
inc esi
mov edi, dword [esp + 0x40]
cmp esi, edi
jl 0x46e654
test al, al
jne 0x46e760
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0x44]
mov edi, ecx
mov byte [esp + 0x3f], al
mov ecx, dword [esp + 0xbc]
mov eax, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x44]
test edx, edx
jle 0x46ee19
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x68], eax
jmp 0x46e677
mov byte [esp + 0x168], al
add esp, 0x128
ret
lea eax, [0x7af240]
mov dword [esp], eax
lea ecx, [esp + 0xd8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.0040d890
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x46e800
mov esi, dword [esp + 0x50]
inc esi
mov edi, dword [esp + 0x130]
mov dword [esp + 0x50], esi
mov byte [esp + 0x3f], al
mov edi, ecx
mov esi, ebp
mov ebp, edx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x130]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
cmp ebx, ecx
jge 0x46ee07
mov ecx, dword [eax + 0x24]
cmp dword [eax + 0x28], ebx
jbe 0x46ee23
mov dword [esp + 0xa4], ebp
lea eax, [ebx + ebx*2]
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
nop
test ebx, ebx
je 0x46e862
lea ebp, [ebx + 3]
mov dword [esp + 0xc0], ebp
movzx ebp, byte [ebx + 1]
shl ebp, 8
movzx ebx, byte [ebx + 2]
or ebp, ebx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0xa0], edi
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
nop
mov esi, dword [ecx + eax*4 + 8]
test esi, 1
je 0x46ee00
mov eax, dword [ecx + eax*4 + 4]
nop
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
je 0x46edb8
mov dword [esp + 0x9c], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 8]
test al, al
jne 0x46ec02
movzx eax, byte [esp + 0x3f]
test al, al
je 0x46e8e4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
jmp 0x46e7d4
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x46e8c9
nop
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp ebx, 0x19
jne 0x46e8c9
lea eax, [0x7af280]
mov dword [esp], eax
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040d260
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x46ebb4
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x46eba7
mov dword [esp + 0x88], eax
lea ecx, [0x7af280]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], edx
call fcn.0040d890
mov eax, dword [esp + 0xc]
mov dword [eax], 1
lea eax, [0x7af280]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.0040d260
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x46eb74
mov eax, dword [esp + 0x60]
test eax, eax
ja 0x46eb39
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x64], edx
mov dword [esp], ecx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0044f8d0
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x64]
cmp ecx, edx
ja 0x46eafc
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x50]
mov dword [ebx + eax*4], ebp
mov esi, dword [esp + 0x68]
mov edi, ebp
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
ja 0x46eaa0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
shl esi, 4
mov ebx, dword [esp + 0x8c]
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
lea ecx, [ebx + esi + 4]
mov edx, ecx
mov ecx, dword [0xb91180]
lea ebp, [ebx + esi]
test ecx, ecx
jne 0x46ea7a
mov ecx, dword [esp + 0x9c]
mov dword [ebx + esi], ecx
mov ecx, dword [esp + 0x90]
mov dword [ebx + esi + 4], ecx
movzx eax, byte [esp + 0x3f]
mov ecx, dword [esp + 0x88]
mov edx, ebx
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
jmp 0x46e7d4
mov ecx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x9c]
call fcn.0044f0d0
mov edi, edx
mov eax, dword [esp + 0x90]
call fcn.0044f0d0
mov eax, esi
mov edi, ecx
jmp 0x46ea5f
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x7d0720]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0043a950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
jmp 0x46ea1d
lea ebx, [0x7ab300]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0043a950
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x60]
jmp 0x46e9e4
lea ecx, [0x7ab300]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.0043a950
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
jmp 0x46e9a5
lea eax, [0x7af280]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], edx
call fcn.0040d890
mov eax, dword [esp + 0xc]
mov dword [eax], 2
jmp 0x46e995
call fcn.0040aa60
mov eax, dword [esp]
jmp 0x46e936
lea eax, [0x7af280]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], edx
call fcn.0040d890
mov eax, dword [esp + 0xc]
mov dword [eax], 2
movzx eax, byte [esp + 0x3f]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
jmp 0x46e7d4
lea eax, [0x7af280]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.0040d260
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x46ed97
movzx eax, byte [esp + 0x3f]
test al, al
jne 0x46ed97
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0046e2b0
lea edi, [esp + 0x134]
mov esi, dword [esp + 0xbc]
call fcn.0044f65e
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov eax, dword [esp + 0x60]
test eax, eax
ja 0x46ed5c
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xb0], edx
mov dword [esp], edx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0044f8d0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x15c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x160], edx
lea ebx, [ecx + 1]
cmp ebx, edx
ja 0x46ed1e
mov edx, ecx
lea esi, [ecx + 1]
mov dword [esp + 0x15c], esi
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], esi
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
jmp 0x46e7d4
lea ebp, [0x7ab300]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043a950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x160], edx
mov dword [esp + 0x158], eax
mov edx, dword [esp + 0x60]
jmp 0x46eced
lea ecx, [0x7ab300]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.0043a950
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
jmp 0x46ec9b
lea edi, [esp + 0x134]
lea esi, [0x8bbac0]
call fcn.0044f65e
mov byte [esp + 0x168], 0
add esp, 0x128
ret
mov dword [esp + 0x54], ebx
mov dword [esp + 0x94], ebp
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0xa0]
jmp 0x46e8a1
xor eax, eax
jmp 0x46e8a1
movzx eax, byte [esp + 0x3f]
mov ecx, edi
mov edx, esi
mov ebx, dword [esp + 0x68]
jmp 0x46e6ea
movzx eax, byte [esp + 0x3f]
jmp 0x46e760
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.0046e580