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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4e2ce5
sub esp, 0xa0
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0045e0ab
mov dword [esp], 0
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00448630
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0045e0ab
lea edi, [esp + 0x8c]
call fcn.0045e0ab
mov ecx, dword [0x77cf34]
mov ebx, dword [0x77cf30]
lea ebp, [0x611d37]
mov dword [esp], ebp
mov dword [esp + 4], 0xf
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.0049a0f0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x8c]
lea esi, [esp + 0x18]
call fcn.0045e58e
lea edi, [esp + 0x64]
lea esi, [esp + 0x8c]
call fcn.0045e58e
lea edi, [esp + 0xb0]
lea esi, [esp + 0x64]
call fcn.0045e58e
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4e2c44
mov eax, 0xf
lea ebx, [0x611d37]
test ecx, ecx
jne 0x4e2c2f
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.0045e58e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004979e0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x3c]
cmp edx, eax
je 0x4e2b8b
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x6211f3]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004028b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e2bb1
mov edx, dword [esp + 0x3c]
jmp 0x4e2ad8
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.0045e58e
mov byte [esp + 0x14], 0
call fcn.0049f590
cmp dword [esp + 0x18], 0x802
jge 0x4e2bf1
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc8], eax
add esp, 0xa0
ret
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.0045e58e
mov dword [esp + 0x14], 0xffffff9c
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0049f470
lea edi, [esp + 0xb0]
lea esi, [esp + 0x20]
call fcn.0045e58e
jmp 0x4e2bd4
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0xa0
ret
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045e0ab
lea edi, [esp + 0x8c]
call fcn.0045e0ab
mov ecx, dword [0x77cf34]
mov edx, dword [0x77cf30]
lea ebx, [0x612899]
mov dword [esp], ebx
mov dword [esp + 4], 0x11
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0049a0f0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x8c]
lea esi, [esp + 0x18]
call fcn.0045e58e
lea edi, [esp + 0x78]
lea esi, [esp + 0x8c]
call fcn.0045e58e
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045e58e
mov ecx, dword [esp + 0x34]
mov eax, 0x11
lea ebx, [0x612899]
jmp 0x4e2a90
call fcn.0045c8b0
jmp fcn.004e2990