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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46d6f9
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0046d710
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x46d6c4
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [0x500ac0]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00436bf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + 4]
lea ebp, [0x500bc0]
mov dword [esp], ebp
inc ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00436bf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
jmp 0x46d604
mov eax, dword [esp + 0x38]
shl eax, 1
mov dword [esp + 0x30], eax
lea eax, [0x500bc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.00436bf0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
test eax, eax
jbe 0x46d6f2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea edx, [esp + 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00468980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46d59b
je 0x46d590
mov edx, dword [ecx + 4]
lea ebx, [0x50ae80]
cmp ebx, edx
jne 0x46d589
mov edx, dword [eax]
cmp edx, 0xea
je 0x46d41e
test ecx, ecx
je 0x46d562
mov edx, dword [ecx + 4]
cmp ebx, edx
jne 0x46d562
mov edx, dword [eax]
cmp edx, 0x103
jne 0x46d562
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x46d537
mov eax, dword [0x5c2d2c]
mov edx, dword [0x5c2d28]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
test ecx, ecx
jmp 0x46d4e9
lea ebx, [0x50ae80]
jmp 0x46d4e9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x46d6eb
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00465bb0
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jg 0x46d653
mov esi, dword [esp + 0x60]
lea edi, [esi + eax*8 + 4]
mov dword [edi], edx
lea eax, [esi + eax*8]
mov edx, dword [0x5d3b70]
test edx, edx
jne 0x46d62d
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x6c]
test ebp, ebp
jle 0x46d618
cmp ebp, edi
je 0x46d69d
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
jmp 0x46d462
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
jmp 0x46d5ef
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
lea edx, [0x500ac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00436d70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x46d5da
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
call fcn.004243c0
ud2
call fcn.00424360
ud2
call fcn.004486e0
jmp fcn.0046d370