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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f2d3a
sub esp, 0x60
call fcn.004f4f20
mov eax, dword [esp]
mov dword [esp + 0x48], eax
mov byte [eax + 0x80], 1
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
call fcn.004faea0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458180
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x88]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x4f2af1
cmp ecx, 1
je 0x4f2a1d
movzx ebp, byte [eax + 0x7c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f29dc
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
nop
nop
lea ebp, [0x621de0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.0048c5c0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
mov ebp, dword [eax + 0x84]
mov dword [esp + 0x5c], ebp
mov esi, dword [eax + 0x88]
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
jmp 0x4f2b7f
lea eax, [0x5bc680]
mov dword [esp], eax
call fcn.00410f90
mov eax, dword [esp + 4]
mov dword [eax + 8], 0
mov ecx, dword [0x78be40]
test ecx, ecx
jne 0x4f2a46
mov edx, dword [esp + 0x44]
jmp 0x4f2a5c
mov edx, dword [eax + 0xc]
call fcn.0046ff00
mov dword [edi], edx
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
mov ebx, dword [eax]
mov dword [edi + 8], ebx
mov dword [eax + 0xc], 0
mov ebx, dword [esp + 0x20]
mov dword [eax + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x88]
test ebx, ebx
jbe 0x4f2b5d
mov ebx, dword [edx + 0x84]
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jbe 0x4f2b56
mov ecx, dword [esp + 0x6c]
lea ecx, [ecx + ebx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test ebx, ebx
je 0x4f2acc
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ecx
lea eax, [0x742f78]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040e920
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ebx
mov ebx, dword [0x78be40]
test ebx, ebx
je 0x4f2ae6
call fcn.0046fef0
mov dword [edi], ecx
mov ebx, dword [eax + 0xc]
mov dword [edi + 4], ebx
mov dword [eax + 0xc], ecx
lea ecx, [0x621ed4]
jmp 0x4f2b32
nop
lea eax, [0x5b95e0]
mov dword [esp], eax
call fcn.00410f90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x78be40]
test ecx, ecx
jne 0x4f2b1b
mov ecx, dword [esp + 0x44]
jmp 0x4f2b26
call fcn.0046fee0
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
mov edx, dword [esp + 0x48]
lea ecx, [0x621e98]
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov dword [esp], edx
call fcn.004f4fc0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov eax, ebx
call fcn.0046ff60
xor eax, eax
mov ecx, eax
call fcn.0046ff60
inc edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
cmp edx, esi
jge 0x4f2cc8
mov ebx, dword [ebp + edx*4]
test edx, edx
jle 0x4f2bcd
mov ebp, dword [eax + 0x88]
lea esi, [edx - 1]
cmp ebp, esi
jbe 0x4f2d30
mov ebp, dword [eax + 0x84]
lea ebp, [ebp + edx*4 - 4]
cmp dword [ebp], ebx
jne 0x4f2bc5
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x4f2b66
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
cmp ecx, ebx
jbe 0x4f2d29
lea ebx, [edi + ebx*8]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x54], ebx
test edi, edi
je 0x4f2c13
lea eax, [0x742f88]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040e920
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x4f2cbb
mov ebp, dword [esp + 0x28]
inc ebp
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jae 0x4f2c78
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5b8820]
mov dword [esp + 0x10], eax
call fcn.004544e0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov esi, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
lea ecx, [edx + ebp*8 - 8]
mov dword [ecx], edi
mov edi, dword [0x78be40]
lea ecx, [edx + ebp*8 - 4]
test edi, edi
je 0x4f2ca0
call fcn.0046fef0
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
mov ebx, ebp
mov edi, esi
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
jmp 0x4f2b66
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x4f2b66
lea eax, [0x5bc6e0]
mov dword [esp], eax
call fcn.00410f90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x78be40]
test ecx, ecx
jne 0x4f2cf5
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
jmp 0x4f2d07
call fcn.0046fef0
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0x10], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
lea ecx, [0x621ee8]
jmp 0x4f2b32
mov eax, ebx
call fcn.0046ff60
mov eax, esi
mov ecx, ebp
call fcn.0046ff60
nop
call fcn.0046eae0
jmp fcn.004f2900