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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672d81
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0x14]
call fcn.004a3130
cmp dword [esi + 8], 0
jne 0x5f17b1
mov edi, 1
jmp 0x5f1a48
push 0xd
lea ecx, [ebp - 0x154]
call fcn.00523a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x154]
cmp byte [esi + 4], 0
je 0x5f18d7
push 0x1388
call fcn.00523b80
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x48]
mov dword [ebp - 0x160], eax
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x164], ecx
push eax
call fcn.0040f2f0
mov byte [ebp - 4], 2
push eax
call fcn.0062d0d0
add esp, 0x10
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407b80
test bl, bl
je 0x5f1a34
mov ebx, dword [ebp - 0x15c]
xor edi, edi
mov esi, dword [ebx + 0x3c]
cmp esi, dword [ebx + 0x40]
je 0x5f1a00
lea ecx, [ebp - 0xbc]
call fcn.005ef710
mov byte [ebp - 4], 3
cmp byte [ebx + 0x78], 0
jne 0x5f18ee
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
call fcn.005f2870
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00485c00
or dword [ebp - 0x158], 1
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00407b00
push edi
lea eax, [ebp - 0xd4]
push esi
push eax
call fcn.0040f2f0
mov ecx, eax
mov byte [ebp - 4], 6
movzx eax, byte [ebx + 0x120]
push eax
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebp - 0xbc]
push eax
push ecx
call fcn.005f45c0
add esp, 0x1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.00407b80
and dword [ebp - 0x158], 0xfffffffe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
jmp 0x5f1977
call fcn.00523c30
test al, al
je 0x5f17dc
mov edi, 1
jmp 0x5f1a39
mov byte [ebp - 4], 7
lea eax, [ebp - 0x104]
push eax
call fcn.004f5370
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00485c00
or dword [ebp - 0x158], 2
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x104]
call fcn.00407b00
push edi
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.0040f2f0
mov ecx, eax
mov byte [ebp - 4], 9
movzx eax, byte [ebx + 0x120]
push eax
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebp - 0xbc]
push eax
push ecx
call fcn.005f43f0
add esp, 0x1c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.00407b80
and dword [ebp - 0x158], 0xfffffffd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407b80
mov al, byte [esi + 0x18]
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x5f199f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5f1993
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040cbc0
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.005f4820
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.00407b80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x74]
call fcn.00407b80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.00407b80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa4]
call fcn.00407b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00407b80
add esi, 0x1c
cmp esi, dword [ebx + 0x40]
jne 0x5f1830
push dword [ebp - 0x160]
lea eax, [ebp - 0x40]
push dword [ebp - 0x164]
push eax
call fcn.0040f2f0
mov byte [ebp - 4], 0xf
push eax
call fcn.0062d190
add esp, 0x10
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407b80
test bl, bl
jne 0x5f1a39
mov edi, 0xfffffda6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.00523b20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5f1a6e
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x30], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret 0x2c