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

Disassembly:
push 0xffffffffffffffff
push 0x5ac8ee
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebp
push esi
push edi
mov eax, dword [0x628d00]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x10], 0
call fcn.004f3bc0
mov esi, eax
test esi, esi
jne 0x511451
call fcn.004f82a0
mov esi, dword [esp + 0xf0]
push eax
mov ecx, esi
call fcn.004f7f10
mov eax, esi
jmp 0x511717
mov edi, dword [esp + 0xfc]
push edi
lea ecx, [esp + 0x7c]
call fcn.004f9b10
mov eax, dword [esp + 0xf8]
push edi
push eax
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0xf4], 1
call fcn.004a2fb0
add esp, 0xc
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0xf0], 2
call fcn.004b8850
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
xor eax, eax
mov edx, ecx
mov ebp, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov byte [esp + 0xe8], 4
push ebp
cmp eax, 0x10
jb 0x5114c9
call fcn.00493180
jmp 0x5114ce
call fcn.00493190
add esp, 4
call fcn.004f82a0
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x80]
call fcn.004b8850
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 5
call fcn.004f7f10
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0xf0], 6
call fcn.004f3e50
push eax
lea ecx, [esp + 0x80]
call fcn.004f9a20
push eax
lea ecx, [esp + 0x2c]
call fcn.004f7f10
dec esi
mov byte [esp + 0xe8], 7
je 0x511616
mov ecx, dword [esp + 0xf4]
dec esi
push esi
call fcn.004f3a90
test al, al
je 0x5115af
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x84]
call fcn.004f4eb0
push eax
lea ecx, [esp + 0x80]
call fcn.004f9a20
push eax
lea ecx, [esp + 0x18]
call fcn.004f6e90
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x80]
call fcn.004f3e50
push eax
lea ecx, [esp + 0x80]
call fcn.004f9a20
lea ecx, [esp + 0x28]
jmp 0x511608
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x84]
call fcn.004f4eb0
push eax
lea ecx, [esp + 0x80]
call fcn.004f9a20
push eax
lea ecx, [esp + 0x2c]
call fcn.004f6e90
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x80]
call fcn.004f3e50
push eax
lea ecx, [esp + 0x80]
call fcn.004f9a20
lea ecx, [esp + 0x14]
push eax
call fcn.004f6e90
test esi, esi
jne 0x511542
mov ebp, dword [esp + 0xf0]
lea eax, [esp + 0x14]
push eax
push ebp
lea ecx, [esp + 0x80]
call fcn.004f8a10
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
mov dword [esp + 0x10], 1
mov byte [esp + 0xe8], 6
push esi
cmp ecx, 0x10
jb 0x511663
call fcn.00493180
jmp 0x511668
call fcn.00493190
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov edx, ecx
add edx, edx
add esp, 4
mov esi, edi
xor eax, eax
add edx, edx
mov byte [esp + 0xe8], 5
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x511694
call fcn.00493180
jmp 0x511699
call fcn.00493190
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea eax, [edx*4]
mov byte [esp + 0xe8], 4
push esi
cmp eax, 0x10
jb 0x5116c8
call fcn.00493180
jmp 0x5116cd
call fcn.00493190
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
mov byte [esp + 0xe8], 1
push esi
cmp ecx, 0x10
jb 0x5116fc
call fcn.00493180
jmp 0x511701
call fcn.00493190
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xe8], 0
call fcn.004b8700
mov eax, ebp
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xdc
ret