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

Disassembly:
sub esp, 0x38
push esi
mov esi, ecx
push dword [esi + 4]
call fcn.005c7e58
test eax, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], eax
jne 0x5d0fb9
mov byte [esi + 0x10], 1
jmp 0x5d13e0
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
push dword [eax + 0xf0]
lea ecx, [esp + 0x30]
call fcn.005bed65
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x1c]
shr eax, 2
and al, 1
mov ecx, esi
mov byte [esp + 0x4c], al
call fcn.005c5fdf
test al, al
je 0x5d100c
mov ecx, dword [esi]
push str._n__
push edi
push str.native_thunk_for
add ecx, 0x18
call fcn.005a790d
mov ecx, eax
call fcn.005a7c9b
mov ecx, eax
call fcn.005a790d
push 0x30
push 4
pop ebx
push ebx
push 0x2d
mov ecx, esi
call fcn.005d085a
push ebx
push 0x34
push 1
mov ebp, 0x8b
push ebp
mov ecx, esi
call fcn.005d0b17
push 0
mov ecx, esi
call fcn.005d0753
push 0
mov ecx, esi
call fcn.005d0753
push ebx
push 8
push 2
push 0x8d
mov ecx, esi
call fcn.005d0b17
push 0x52
mov ecx, esi
call fcn.005d02ec
push 0
mov ecx, esi
call fcn.005d0753
push 0
mov ecx, esi
call fcn.005d0753
push ebx
push 0x50
push 6
mov ebx, 0xff
push ebx
mov ecx, esi
call fcn.005d0b17
push 4
push 0x50
push 6
push ebx
mov ecx, esi
call fcn.005d0b17
push fcn.005aed94
call fcn.005c5875
sub eax, dword [esi + 0x44]
pop ecx
sub eax, 5
push eax
mov ecx, esi
call fcn.005d0d78
push 4
push 0x3c
push 2
push ebp
mov ecx, esi
call fcn.005d0b17
cmp byte [esp + 0x4c], 0
je 0x5d1173
push 4
push 0x38
push 1
push ebp
mov ecx, esi
call fcn.005d0b17
push dword [edi + 0x10]
mov ecx, esi
push 1
push 0x3d
call fcn.005d085a
push 1
push 3
mov ecx, esi
call fcn.005d0c06
mov eax, dword [esi + 0x44]
push 0
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.005d0753
push 0
mov ecx, esi
call fcn.005d0753
push 1
mov ecx, esi
call fcn.005d0d1b
mov cl, byte [esi + 0x44]
mov eax, dword [esp + 0x4c]
sub cl, al
mov byte [eax - 1], cl
push dword [edi + 0x10]
mov eax, dword [esi + 0x44]
push 1
push 0x2d
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.005d085a
push 0x51
mov ecx, esi
call fcn.005d02ec
push 2
push 0
push ebp
mov ecx, esi
call fcn.005cff59
push dword [edi + 0x18]
mov ecx, esi
push 0
push 5
call fcn.005d085a
push 0x50
mov ecx, esi
call fcn.005d02ec
cmp dword [edi + 0x14], 0
je 0x5d1165
push dword [edi + 0x10]
mov ecx, esi
push 1
call fcn.005d07b0
mov cl, byte [esi + 0x44]
mov eax, dword [esp + 0x4c]
sub cl, al
mov byte [eax - 1], cl
jmp 0x5d1187
cmp dword [edi + 0x14], 0
je 0x5d1187
push 4
push 0x38
push 1
push ebp
mov ecx, esi
call fcn.005d0b17
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov eax, ecx
sub eax, dword [edi + 0x14]
mov dword [esp + 0x4c], edx
inc eax
test ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
jle 0x5d12d8
mov edx, ecx
sub edx, eax
shl edx, 2
mov dword [esp + 0x14], edx
jmp 0x5d11bc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x30]
mov edx, dword [edx + ecx*4]
and dword [esp + 0x1c], 0
cmp ecx, eax
mov dword [esp + 0x18], edx
jl 0x5d1279
push ecx
push 1
push 0x3d
mov ecx, esi
call fcn.005d085a
push 1
push 3
mov ecx, esi
call fcn.005d0c06
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x18]
test edx, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x34]
mov eax, dword [ecx + eax]
je 0x5d1256
mov ecx, dword [esi]
cmp edx, dword [ecx + 0x80]
je 0x5d1256
cmp edx, dword [ecx + 0x58]
jne 0x5d1217
sar eax, 3
jmp 0x5d1256
cmp edx, dword [ecx + 0x78]
jne 0x5d1224
push eax
call fcn.005481d0
jmp 0x5d122f
cmp edx, dword [ecx + 0x7c]
jne 0x5d1232
push eax
call fcn.0052f060
pop ecx
jmp 0x5d1256
cmp edx, dword [ecx + 0x74]
jne 0x5d1253
push eax
call fcn.005a9a48
fstp qword [esp + 0x20]
pop ecx
push dword [esp + 0x20]
mov ecx, esi
call fcn.005d0753
push dword [esp + 0x1c]
jmp 0x5d1257
and eax, 0xfffffff8
push eax
mov ecx, esi
call fcn.005d0753
push 1
mov ecx, esi
call fcn.005d0d1b
mov eax, dword [esi + 0x44]
mov cl, al
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
sub cl, al
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
cmp ecx, dword [eax + 0x74]
push 2
mov ecx, esi
jne 0x5d12a3
sub dword [esp + 0x50], 8
mov eax, dword [esp + 0x50]
add eax, 4
push eax
push 6
push ebx
call fcn.005d0b17
push 2
mov ecx, esi
jmp 0x5d12a8
sub dword [esp + 0x50], 4
push dword [esp + 0x50]
push 6
push ebx
call fcn.005d0b17
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d12c4
mov cl, byte [esi + 0x44]
sub cl, al
mov byte [eax - 1], cl
dec dword [esp + 0x10]
sub dword [esp + 0x14], 4
cmp dword [esp + 0x10], 0
jg 0x5d11b4
test byte [edi + 0x1f], 0x10
je 0x5d12e8
push dword [edi + 0x3c]
mov ecx, esi
call fcn.005d0753
mov ebx, dword [edi + 0x2c]
push 2
push 0
push 1
push ebp
mov ecx, esi
call fcn.005d0b17
test byte [edi + 0x1e], 4
je 0x5d130c
push 0xfffffffffffffff8
push 1
push 0x25
mov ecx, esi
call fcn.005d085a
mov eax, dword [edi + 0x40]
sub eax, dword [esi + 0x44]
mov ecx, esi
sub eax, 5
push eax
call fcn.005d0d78
push 4
push 0x34
push 1
push ebp
mov ecx, esi
call fcn.005d0b17
mov ecx, dword [esi]
xor ebp, ebp
xor eax, eax
cmp ebx, dword [ecx + 0x74]
je 0x5d1342
push 0x50
mov ecx, esi
call fcn.005d02ec
push 4
pop eax
push 4
push eax
push 2
push 0x8d
mov ecx, esi
call fcn.005d0b17
push 0x52
mov ecx, esi
call fcn.005d02ec
push fcn.005aee08
call fcn.005c5875
sub eax, dword [esi + 0x44]
pop ecx
sub eax, 5
push eax
mov ecx, esi
call fcn.005d0d78
mov eax, dword [esi]
cmp ebx, dword [eax + 0x74]
je 0x5d1385
push 0x58
mov ecx, esi
call fcn.005d02ec
mov eax, dword [esi]
cmp ebx, dword [eax + 0x74]
je 0x5d13b3
cmp ebx, dword [eax + 0x58]
jne 0x5d13a1
push ebp
push ebp
push 0xfb6
mov ecx, esi
call fcn.005d0097
jmp 0x5d13b3
cmp ebx, dword [eax + 0x90]
jne 0x5d13b3
push 4
push ebp
mov ecx, esi
call fcn.005d07b0
push 0x30
push 4
push 5
mov ecx, esi
call fcn.005d085a
push 0xc3
mov ecx, esi
call fcn.005d02ec
push edi
mov ecx, esi
call fcn.005c6716
lea ecx, [esp + 0x2c]
call fcn.005beba6
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x38
ret 4