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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x4ee0b5
sub esp, 0xd4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x4fd920]
mov dword [esp + 0x5c], eax
lea eax, [0x548f40]
mov dword [esp + 0x60], eax
mov eax, dword [0x5f4878]
lea ecx, [0x549390]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ad150
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00460214
lea ecx, [0x51442e]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0xe
lea ecx, [0x516baf]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x15
lea ecx, [0x5176fc]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0x17
lea ecx, [0x517713]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0x17
lea ecx, [0x5169a2]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0x15
lea ecx, [0x5195c7]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 0x1c
lea ecx, [0x51a525]
mov dword [esp], ecx
mov dword [esp + 4], 0x1f
call fcn.004a6d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x5f4e40]
mov ebx, dword [0x5f4e44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4ede96
mov eax, 0x19
lea ecx, [0x51830c]
jmp 0x4edea1
mov eax, 0x1f
lea ecx, [0x51a525]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
call fcn.0040bf00
mov eax, dword [esp]
mov dword [esp + 0x58], eax
call fcn.004959b0
lea edi, [esp + 0x64]
lea esi, [esp]
call fcn.004606fe
lea edi, [esp]
lea esi, [esp + 0x64]
call fcn.004606fe
lea eax, [0x513081]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xa
call fcn.00492b90
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
lea edi, [esp]
lea esi, [esp + 0x64]
call fcn.004606fe
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.00495410
lea edi, [esp + 0x78]
lea esi, [esp + 0x20]
call fcn.004606fe
lea edi, [esp]
lea esi, [esp + 0x78]
call fcn.004606fe
lea eax, [0x513081]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xa
call fcn.00492b90
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
xor edx, edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
jmp 0x4edf81
mov esi, dword [esp + 0x44]
lea edx, [esi + 1]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
cmp edx, 6
jge 0x4ee0a3
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], edx
lea eax, [esp + edx*8 + 0xa4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0044d360
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x51a525]
mov dword [esp], edx
mov dword [esp + 4], 0x1f
call fcn.004a6d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x5f4e40]
mov ebx, dword [0x5f4e44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4ee022
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
jmp 0x4edf6e
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046021a
lea ecx, [0x4ee0c0]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x94], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x98], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0xa0], esi
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
lea ebp, [esp + 0x8c]
mov dword [esp + 8], ebp
call fcn.004e7970
mov eax, 0x1f
lea ecx, [0x51a525]
jmp 0x4edf6e
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd8], eax
add esp, 0xd4
ret
call fcn.0045ec00
jmp fcn.004edd30