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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b0cf0
sub esp, 0x78
lea edi, [esp + 0x64]
lea esi, [esp + 0x88]
call fcn.0045ed5e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
test ecx, 0x80000000
je 0x5b0875
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov eax, edx
shl edx, 1
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5b087d
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
test edx, edx
sete cl
test ebx, ebx
sete dl
and edx, ecx
test dl, dl
je 0x5b08b2
test eax, 0x3fffffff
jne 0x5b08b2
lea eax, [0x656464]
mov dword [esp + 0x9c], eax
lea eax, [0x656408]
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.005b06c0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
test edx, edx
je 0x5b08ed
mov ebp, edx
mov esi, ebx
jmp 0x5b0900
nop
mov ebp, dword [0x7eea3c]
mov esi, ebx
mov ebx, ebp
mov ebp, edx
lea edx, [0x6a32e4]
mov edi, ecx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x5b090d
test ebp, ebp
jmp 0x5b0917
test al, al
jne 0x5b0bdf
test ebp, ebp
mov dword [esp + 0x58], ecx
jne 0x5b092c
nop
mov ebx, dword [0x7eea3c]
lea ebp, [0x6a32e4]
mov esi, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], esi
lea edi, [esp]
mov eax, esi
lea esi, [esp + 0x88]
call fcn.0045ed5e
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.005b0620
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x5b095f
xor edx, edx
jmp 0x5b09ad
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x88]
call fcn.0045ed5e
call fcn.004c4dd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 0x78], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b09a5
mov dword [ebx + 0x7c], eax
jmp 0x5b09ad
lea edi, [ebx + 0x7c]
call fcn.0045e5d0
mov dword [esp + 0x40], edx
lea eax, [0x6077c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404620
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b09e2
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x70], eax
jmp 0x5b09ee
mov ecx, dword [esp + 0x7c]
lea edi, [ecx + 0x70]
call fcn.0045e5d0
lea eax, [0x61e400]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5b0ed0]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b0a1b
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5b0a2b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045e5d0
mov eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b0a56
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
jmp 0x5b0a73
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045e5d0
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.0045e5d0
lea eax, [0x6077c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404620
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x61bb80]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
lea ecx, [0x61e4c0]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x5b0e20]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b0ae6
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
jmp 0x5b0b0c
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045e5d0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x38]
call fcn.0045e5d0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x40]
call fcn.0045e5d0
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0045ed5e
call fcn.0049fa90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0049d9d0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea ecx, [0x60d300]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp], 0x14
lea ecx, [0x656468]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
call fcn.0043e530
lea eax, [0x614320]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5e3770]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b0bb9
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
jmp 0x5b0bc9
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0045ed5e
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.005b0620
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5b0cd2
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x88]
call fcn.0045ed5e
call fcn.004c4dd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 0x78], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5b0c5a
mov dword [ebx + 0x7c], eax
jmp 0x5b0c62
lea edi, [ebx + 0x7c]
call fcn.0045e5d0
lea eax, [0x614aa0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5b0f50]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5b0c97
lea esi, [esp + 0x88]
call fcn.0045ed5e
jmp 0x5b0cbc
mov dword [esp + 0x48], eax
lea eax, [0x639de0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00410bf0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
lea eax, [0x656464]
mov dword [esp + 0x9c], eax
lea eax, [0x656408]
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
call fcn.0045d190
jmp fcn.005b0810