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

Disassembly:
sub esp, 0x10
push ebx
push esi
lea eax, [esp + 0x16]
push edi
push ebp
mov edi, ecx
mov esi, dword [esp + 0x24]
push 2
mov byte [edi + 4], 0xa
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea ecx, [edi + 0x10]
push 2
push ecx
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xc]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xe]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x12]
push 2
push eax
push esi
call fcn.004f0400
lea eax, [esp + 0x24]
add esp, 0xc
push 2
push eax
push esi
call fcn.004f0400
lea eax, [esp + 0x26]
add esp, 0xc
push 2
push eax
push esi
call fcn.004f0400
lea eax, [esp + 0x28]
add esp, 0xc
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x20]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x22]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x24]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x28]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x2c]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea ebx, [edi + 0x34]
lea ebp, [edi + 0x30]
nop
push 4
push ebp
push esi
call fcn.004f0400
add esp, 0xc
push 4
push ebx
push esi
call fcn.004f0400
lea eax, [esp + 0x22]
add esp, 0xc
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x44]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x46]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x47]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
push 2
lea eax, [edi + 0x48]
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x4a]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x4c]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x4e]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x50]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x52]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x54]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x56]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x58]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x5c]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
push 1
lea eax, [edi + 0x60]
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x61]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x62]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x64]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x78]
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x7c]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x87]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x88]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x89]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x8a]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
push 1
lea eax, [edi + 0x8b]
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x80]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x8c]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x94]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x98]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x9c]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa0]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa1]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa2]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa3]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
mov eax, dword [0x543058]
cmp eax, 0x40e147ae
jl 0x4e5148
push 1
lea eax, [edi + 0xa4]
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa5]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xa8]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xac]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0xb0]
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
jmp 0x4e5170
xor eax, eax
mov ecx, dword [edi + 0x2c]
mov edx, dword [ebp]
mov byte [edi + 0xa4], al
mov byte [edi + 0xa5], al
mov dword [edi + 0xa8], ecx
mov eax, dword [ebx]
mov dword [edi + 0xac], edx
mov dword [edi + 0xb0], eax
xor bx, bx
movsx ebp, bx
inc bx
push 2
lea eax, [edi + ebp*2]
add eax, 0x66
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + ebp*4]
add eax, 0x6c
nop
push 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [ebp + edi]
add eax, 0x84
nop
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
cmp bx, 3
jl 0x4e5173
push 1
lea eax, [edi + 0x8f]
push eax
push esi
call fcn.004f0400
add esp, 0xc
mov al, byte [edi + 0x8f]
test al, al
je 0x4e528b
push 8
xor ecx, ecx
xor bx, bx
mov cl, al
push ecx
call fcn.00513f50
add esp, 8
mov cl, byte [edi + 0x8f]
mov dword [edi + 0x90], eax
cmp cl, bl
je 0x4e5295
lea eax, [esp + 0x10]
push 2
push eax
push esi
call fcn.004f0400
movsx eax, bx
add esp, 0xc
nop
lea ebp, [eax*8]
mov eax, dword [edi + 0x90]
push 2
add eax, ebp
add eax, 4
push eax
push esi
call fcn.004f0400
add esp, 0xc
mov eax, dword [edi + 0x90]
add eax, ebp
add eax, 5
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
cmp word [esp + 0x10], 0
jl 0x4e5267
mov ecx, dword [esp + 0x28]
movsx eax, word [esp + 0x10]
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x90]
mov dword [eax + ebp], edx
jmp 0x4e5274
mov eax, dword [edi + 0x90]
mov dword [eax + ebp], 0
inc bx
xor eax, eax
movsx ecx, bx
mov al, byte [edi + 0x8f]
cmp eax, ecx
jg 0x4e51ff
jmp 0x4e5295
mov dword [edi + 0x90], 0
lea eax, [esp + 0x12]
push 2
push eax
push esi
call fcn.004f0400
lea eax, [esp + 0x20]
add esp, 0xc
push 2
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x8d]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
lea eax, [edi + 0x8e]
push 1
push eax
push esi
call fcn.004f0400
add esp, 0xc
cmp word [esp + 0x1e], 0
jle 0x4e5309
movsx eax, word [esp + 0x1e]
push 1
push eax
call fcn.00513f50
add esp, 8
mov dword [edi + 8], eax
movsx eax, word [esp + 0x1e]
push eax
mov eax, dword [edi + 8]
push eax
push esi
call fcn.004f0400
add esp, 0xc
jmp 0x4e5310
mov dword [edi + 8], 0
cmp word [esp + 0x12], 0
jl 0x4e5329
mov ecx, dword [esp + 0x2c]
movsx eax, word [esp + 0x12]
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x38], edx
jmp 0x4e5334
mov dword [edi + 0x38], 0
mov ecx, dword [esp + 0x2c]
cmp word [esp + 0x14], 0
jl 0x4e5349
movsx eax, word [esp + 0x14]
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x40], edx
jmp 0x4e5350
mov dword [edi + 0x40], 0
cmp word [esp + 0x16], 0
jl 0x4e5365
movsx eax, word [esp + 0x16]
mov ecx, dword [ecx + eax*4]
mov dword [edi + 0x3c], ecx
jmp 0x4e536c
mov dword [edi + 0x3c], 0
cmp word [esp + 0x18], 0
jl 0x4e5385
mov ecx, dword [esp + 0x28]
movsx eax, word [esp + 0x18]
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x14], edx
jmp 0x4e538c
mov dword [edi + 0x14], 0
cmp word [esp + 0x1a], 0
jl 0x4e53a5
mov ecx, dword [esp + 0x28]
movsx eax, word [esp + 0x1a]
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x18], edx
jmp 0x4e53ac
mov dword [edi + 0x18], 0
cmp word [esp + 0x1c], 0
jl 0x4e53c5
mov ecx, dword [esp + 0x28]
movsx eax, word [esp + 0x1c]
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x1c], edx
jmp 0x4e53cc
mov dword [edi + 0x1c], 0
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc