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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47009b
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
movzx eax, byte [esp + 0x84]
mov byte [esp + 4], al
call fcn.0046fb80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
lea edi, [esp + 0x6c]
mov dword [esp + 0x6c], edi
test eax, eax
jl 0x470082
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
sub ebp, esi
cmp eax, ebp
jg 0x46ffcc
test ecx, ecx
jle 0x46fea9
xor eax, eax
jmp 0x46fe26
mov ebp, dword [esp + 0x68]
lea ebx, [ebp + 0xc]
mov edx, dword [esp + 0x2c]
lea edi, [esp + 0x6c]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
nop
nop
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x46ffc3
cmp edi, edx
jne 0x47006a
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x74]
lea edi, [ebp + edx]
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
cmp ebx, edi
jb 0x46ff80
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], ecx
lea eax, [ecx + edx]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0045a190
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
inc eax
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jg 0x46fe17
nop
nop
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x46ff73
lea ecx, [esp + 0x6c]
cmp ecx, eax
jne 0x470052
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
cmp edx, ebx
ja 0x46ff3c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x64], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0045a190
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
add esp, 0x7c
ret
mov dword [esp + 0x48], eax
lea ecx, [0x51e700]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004419d0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x46fede
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], eax
jmp 0x46fec3
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], esi
lea eax, [0x51e700]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.004419d0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
jmp 0x46fe65
mov dword [esp + 0x6c], edi
jmp 0x46fe41
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], esi
lea ecx, [0x51e700]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov edx, dword [esp + 0x4c]
lea eax, [eax + edx*2]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.00441920
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
jge 0x47004e
mov dword [esp + 0x60], eax
cmp eax, ecx
je 0x470021
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045a190
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x58]
lea edi, [esp + 0x6c]
jmp 0x46fe0b
mov edx, ebx
jmp 0x470009
lea eax, [0x51e540]
mov dword [esp], eax
lea eax, [0x5808f0]
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x51e540]
mov dword [esp], eax
lea eax, [0x5808e8]
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x51e540]
mov dword [esp], eax
lea eax, [0x5808e0]
mov dword [esp + 4], eax
call fcn.0042f780
nop
call fcn.00458300
jmp fcn.0046fd60