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

Disassembly:
push 0xffffffffffffffff
push 0x5798ef
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x4442f8
lea ecx, [esp + 0x9c]
mov dword [esp + 0xc4], 0
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0xa3]
push eax
call fcn.00514260
push 0
push 0x444144
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00465aa0
mov dword [esp + 0xc], 0x4442f8
push 1
push 0x445e4c
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 1
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00465aa0
mov dword [esp + 0x28], 0x4442f8
lea eax, [esp + 0xc]
mov byte [esp + 0xc4], 2
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa4]
call fcn.004bede0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0x4442f8
jb 0x5044fd
push dword [esp + 0x2c]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0xc4], 0
mov dword [esp + 0xc], 0x4442f8
jb 0x504535
push dword [esp + 0x10]
call fcn.00549eaf
add esp, 4
push 0x40
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xac]
call fcn.004bd830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0], 3
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
call fcn.004658c0
mov dword [esp + 0x7c], 0x4442f8
cmp dword [esp + 0x20], 0x10
mov byte [esp + 0xc4], 5
jb 0x5045a4
push dword [esp + 0xc]
call fcn.00549eaf
add esp, 4
mov esi, 0x40
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp dword [esp + 0xb0], esi
jbe 0x5046ff
jmp 0x5045d0
push 1
push 0x44e644
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.00465aa0
mov dword [esp + 0x60], 0x4442f8
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x6c]
mov byte [esp + 0xcc], 6
push eax
lea ecx, [esp + 0x8c]
call fcn.004656b0
cmp dword [esp + 0x78], 0x10
mov byte [esp + 0xc4], 5
mov dword [esp + 0x60], 0x4442f8
jb 0x504640
push dword [esp + 0x64]
call fcn.00549eaf
add esp, 4
push 0x40
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xac]
call fcn.004bd830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 7
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.004658c0
mov dword [esp + 0x44], 0x4442f8
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x50]
mov byte [esp + 0xcc], 8
push eax
lea ecx, [esp + 0x8c]
call fcn.004656b0
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x44], 0x4442f8
jb 0x5046bf
push dword [esp + 0x48]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0xc4], 5
jb 0x5046ef
push dword [esp + 0x28]
call fcn.00549eaf
add esp, 4
add esi, 0x40
cmp esi, dword [esp + 0xb0]
jb 0x5045d0
mov edx, dword [esp + 0x90]
or eax, 0xffffffff
sub eax, edx
cmp eax, 1
ja 0x50471a
push 0x444504
call fcn.00545f8e
lea esi, [edx + 1]
cmp esi, 0xfffffffe
jbe 0x50472c
push 0x444504
call fcn.00545f8e
mov ecx, dword [esp + 0x94]
cmp ecx, esi
jae 0x504841
push edx
push esi
lea ecx, [esp + 0x88]
call fcn.00463c40
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
test esi, esi
je 0x50479a
cmp ecx, 0x10
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
mov byte [eax + edx], 0
lea eax, [esp + 0x80]
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x90], esi
cmovae eax, dword [esp + 0x80]
mov byte [eax + esi], 0
mov ecx, dword [esp + 0x94]
cmp ecx, 0x10
lea eax, [esp + 0x80]
push 0
cmovae eax, dword [esp + 0x84]
mov ecx, edi
push eax
call fcn.004eecd0
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x7c], 0x4442f8
jb 0x5047d7
push dword [esp + 0x80]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0xb4], 0x10
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
mov dword [esp + 0x9c], 0x4442f8
jb 0x504819
push dword [esp + 0xa0]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0054a992
add esp, 0xbc
ret 8
test esi, esi
jne 0x50475b
cmp ecx, 0x10
mov dword [esp + 0x90], esi
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
mov byte [eax], 0
jmp 0x504793