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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d3f42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [0x9bb1c8]
cmp edx, eax
jg 0x50bf1e
mov eax, dword [ebp + 0x10]
add edx, 0x40
cmp edx, eax
jle 0x50bf0e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], 0
lea edx, [eax - 0x200]
mov dword [ebp - 0x18], edx
push 0xd0
call fcn.005caba4
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x50c07a
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
push dword [0xaca344]
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx + ebx*4 - 0xa00]
add ebx, ebx
mov ecx, eax
add ebx, ebx
sub ebx, dword [ebp - 0x18]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, dword [0xa72ccc]
call fcn.008193cc
mov esi, dword [ebp - 0x14]
mov dword [esi], 0xaff308
mov edx, dword [0x9ba90c]
mov dword [esi + 0x44], 0x3f800000
mov ecx, 0x3f800000
mov dword [esi + 4], edx
mov dword [esi + 0x48], 0x3f800000
mov edx, 0x3f800000
xor eax, eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x4c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x6c], edi
mov ebx, dword [ebx + 4]
mov dword [esi + 0x70], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 8]
mov dword [esi + 0x74], ebx
movzx ebx, word [ebp + 0x14]
mov word [esi + 0x2c], bx
mov word [esi + 0x2e], ax
mov ebx, 0xffff
mov word [esi + 0x30], bx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [esi + 0x78], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 8]
mov dword [esi + 0x80], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 4]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
movzx eax, word [ebp + 0x14]
test eax, 0x800
je 0x50bede
movzx eax, word [ebp + 0x14]
test eax, 0x4000
je 0x50bed2
mov eax, dword [0xaca328]
mov ebx, esi
mov dword [ebx + 0x5c], eax
jmp 0x50bee8
mov eax, dword [0xaca344]
mov ebx, esi
mov dword [ebx + 0x5c], eax
jmp 0x50bee8
mov eax, dword [0xaca344]
mov ebx, esi
mov dword [ebx + 0x5c], eax
mov eax, ebx
mov dword [ebp - 0x34], 0
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], ecx
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], 0
push 0xd0
call fcn.005caba4
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x50c084
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 1
push dword [0xaca344]
mov eax, dword [ebp + 0x10]
lea ebx, [eax + eax*4]
add ebx, ebx
mov ecx, dword [ebp - 0x18]
add ebx, ebx
sub ebx, eax
add ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, dword [0xa72cd0]
call fcn.008193cc
mov esi, dword [ebp - 0x18]
mov dword [esi], 0xaff308
mov edx, dword [0x9ba90c]
mov dword [esi + 0x44], 0x3f800000
mov ecx, 0x3f800000
mov dword [esi + 4], edx
mov dword [esi + 0x48], 0x3f800000
mov edx, 0x3f800000
xor eax, eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x4c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x6c], edi
mov ebx, dword [ebx + 4]
mov dword [esi + 0x70], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 8]
mov dword [esi + 0x74], ebx
movzx ebx, word [ebp + 0x14]
mov word [esi + 0x2c], bx
mov word [esi + 0x2e], ax
mov ebx, 0xffff
mov word [esi + 0x30], bx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [esi + 0x78], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 8]
mov dword [esi + 0x80], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 4]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
movzx eax, word [ebp + 0x14]
test eax, 0x800
je 0x50c04a
movzx eax, word [ebp + 0x14]
test eax, 0x4000
je 0x50c03e
mov eax, dword [0xaca328]
mov ebx, esi
mov dword [ebx + 0x5c], eax
jmp 0x50c054
mov eax, dword [0xaca344]
mov ebx, esi
mov dword [ebx + 0x5c], eax
jmp 0x50c054
mov eax, dword [0xaca344]
mov ebx, esi
mov dword [ebx + 0x5c], eax
mov eax, ebx
mov dword [ebp - 0x2c], 0
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], ecx
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x50bef7
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x50c063