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

Disassembly:
push 0xffffffffffffffff
push 0x57a769
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
movzx ebx, ax
mov dword [esp + 0x18], esi
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
mov dword [esp + 0xb4], 0x4442f8
mov eax, dword [edi + 0x28]
and eax, 3
mov dword [esp + 0xdc], 0
dec eax
je 0x50edb4
dec eax
je 0x50ee7b
dec eax
jne 0x50ee51
push 0xffffffffffffffff
push esi
push ebp
push ebx
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.0050e010
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 1
call fcn.004ba3a0
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x78], 0x4442f8
jb 0x50ee03
push dword [esp + 0x7c]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
call fcn.0050ba30
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0xb4], 0x4442f8
jb 0x50ee51
push dword [esp + 0xb8]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0054a992
add esp, 0xcc
ret 0xc
push 0xffffffffffffffff
push esi
push ebp
push ebx
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.0050e010
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 2
call fcn.004ba3a0
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x24], 0x4442f8
jb 0x50eec4
push dword [esp + 0x28]
call fcn.00549eaf
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x3c], 0xf
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
push ecx
lea ecx, [edi + 0x88]
mov byte [esp + 0x30], 0
call fcn.0050f570
push dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.0050db90
add esp, 0x10
cmp dword [esp + 0x14], 0
jne 0x50f00e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x9c]
call fcn.0050da80
movzx ecx, byte [0x5a219c]
push ecx
push eax
push 0
lea eax, [esp + 0x28]
mov byte [esp + 0xe8], 3
push eax
lea ecx, [edi + 0x88]
call fcn.0050de10
cmp dword [esp + 0xac], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x94], 0x4442f8
jb 0x50ef8d
push dword [esp + 0x98]
call fcn.00549eaf
add esp, 4
push 0
push esi
push ebp
push ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0xbc], 0xf
push eax
mov ecx, edi
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.0050e010
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 4
call fcn.004ba3a0
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x5c], 0x4442f8
jb 0x50eff4
push dword [esp + 0x60]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x50ee1e
lea eax, [esp + 0xb4]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x88]
call fcn.0050f8a0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
mov ecx, edi
push dword [esi + 0x2c]
push dword [esp + 0x1c]
push ebp
push ebx
push eax
call fcn.0050e010
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 5
call fcn.004ba3a0
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x40], 0x4442f8
jb 0x50f07f
push dword [esp + 0x44]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
inc dword [esi + 0x2c]
jmp 0x50ee1e