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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47a0c2
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], 0x80000002
lea eax, [0x4b1bd4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x37
mov dword [esp + 0xc], 9
call fcn.004708f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x479f49
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [0x47a0d0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x2b], 1
mov dword [esp], eax
call fcn.004709e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x479f20
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ebp
xor eax, eax
jmp 0x479f74
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
cmp eax, ebp
jge 0x47a006
mov dword [esp + 0x3c], eax
lea ecx, [ebx + eax*8]
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
call fcn.00479ab0
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x479f65
test al, al
je 0x479f65
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
mov dword [esp], 0
lea eax, [0x4ae549]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
lea eax, [0x4ad1af]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x17
call fcn.0044bfa0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
lea edx, [0x49f240]
mov dword [esp], edx
call fcn.0040b5c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x568ef0]
test eax, eax
jne 0x47a081
mov eax, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x47a08a
mov eax, dword [esp + 0x48]
call fcn.0045ebe0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x4c9024]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
call fcn.0045d7d0
jmp fcn.00479e40