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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 2
jne 0x5f9c41
mov eax, dword [ecx + 0x864]
cmp eax, ebx
jne 0x5f9c41
mov eax, dword [ecx + 0xc74]
cmp eax, ebx
je 0x5f9cba
mov eax, dword [eax + 0xb4]
cmp eax, ebx
je 0x5f9cba
mov eax, dword [eax + 0x2c]
cmp eax, ebx
je 0x5f9cba
mov eax, dword [eax + 0xac]
cmp eax, ebx
je 0x5f9cba
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x5f9c64
mov eax, dword [ecx + 0x23c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc4], ebx
je 0x5fa216
mov esi, dword [esp + 0xc8]
cmp byte [esi], bl
je 0x5fa216
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edi
call dword [edx + 8]
test eax, eax
mov edi, 1
je 0x5f9cc0
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0x14], ebx
call dword [eax + 8]
mov ebp, dword [eax + 0x54]
cmp ebp, ebx
jne 0x5f9cb1
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
jmp 0x5f9cc4
mov dword [esp + 0x2c], ebx
jmp 0x5f9c5a
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x560]
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x5f9cdf
cmp byte [eax + 0x38], bl
je 0x5f9cdf
mov ecx, edi
jmp 0x5f9ce1
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], ecx
je 0x5f9cf3
cmp byte [eax + 0x39], 6
mov dword [esp + 0x38], ebx
jb 0x5f9cf7
mov dword [esp + 0x38], edi
xor eax, eax
cmp ecx, ebx
mov ecx, dword [edx + 0xc74]
movzx edx, byte [ecx + 0x215]
sete al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
jne 0x5f9d9f
cmp byte [esi], 0x2f
jne 0x5f9d9f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x5f9d8f
cmp dword [esp + 0x28], eax
je 0x5f9d8f
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5f9d51
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x5f9d4c
call fcn.005d85cc
cmp eax, 6
jg 0x5f9d72
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x5f9d85
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x5f9d6d
call fcn.005d85cc
cmp eax, 6
jle 0x5f9d85
mov al, byte [ebp + 0x54]
test al, al
jns 0x5f9d85
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xcac], ebx
je 0x5f9d8f
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x5f9d2d
inc esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov al, byte [esi]
cmp al, bl
je 0x5fa1d5
lea ecx, [ecx]
xor ecx, ecx
cmp al, bl
je 0x5f9e1f
cmp ecx, 0x7f
jge 0x5f9e1f
cmp al, 0x2f
je 0x5f9e13
test byte [esp + 0xd0], 1
jne 0x5f9de4
cmp al, 0x3a
jne 0x5f9de4
mov esi, dword [esp + 0xcc]
cmp byte [esi + 1], 0x2f
je 0x5f9deb
inc esi
cmp ecx, ebx
mov dword [esp + 0xcc], esi
jne 0x5f9e1f
jmp 0x5f9e0b
mov esi, dword [esp + 0xcc]
cmp dword [esp + 0x24], ebx
je 0x5f9dfe
cmp al, 0x2e
jne 0x5f9dfe
cmp byte [esi + 1], al
jne 0x5f9e17
mov dword [esp + 0x24], ebx
mov byte [esp + ecx + 0x44], al
inc ecx
inc esi
mov dword [esp + 0xcc], esi
mov al, byte [esi]
cmp al, bl
jne 0x5f9db2
jmp 0x5f9e1f
mov dword [esp + 0x24], ebx
inc esi
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], ebx
mov byte [esp + ecx + 0x44], bl
jne 0x5fa0db
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
je 0x5f9e9e
push edi
lea edx, [esp + 0x48]
push 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.005eb11c
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x5f9e9e
cmp esi, 0x7efffffd
jl 0x5f9e74
mov ecx, dword [edi + 0x860]
cmp ecx, ebx
je 0x5fa15a
call fcn.005bd4dc
test eax, eax
je 0x5fa15a
mov eax, dword [edi + 0x584]
push esi
push eax
call fcn.005ed7fc
add esp, 8
cmp eax, ebx
je 0x5fa15a
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x5fa15a
mov ebp, eax
jmp 0x5fa1c4
mov esi, dword [esp + 0x40]
cmp esi, ebx
jne 0x5f9f58
mov al, byte [esp + 0x44]
cmp al, 0x5f
jne 0x5f9f5c
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push 0x5fb290
push edx
call fcn.005731cc
add esp, 0xc
test al, al
je 0x5f9f58
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5f9ee8
mov ebp, eax
mov dword [esp + 0x20], ebx
jmp 0x5fa1c4
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x5f9f4f
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x5f9f4f
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5f9f15
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x5f9f10
call fcn.005d85cc
cmp eax, 6
jg 0x5f9f36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x5f9f45
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x5f9f31
call fcn.005d85cc
cmp eax, 6
jle 0x5f9f45
mov al, byte [ebp + 0x54]
test al, al
jns 0x5f9f45
cmp dword [edi + 0xcac], ebx
je 0x5f9f4f
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x5f9ef3
mov dword [esp + 0x20], ebx
jmp 0x5fa1c4
mov al, byte [esp + 0x44]
cmp al, 0x2e
jne 0x5f9f70
cmp byte [esp + 0x45], al
jne 0x5f9f70
cmp byte [esp + 0x46], bl
je 0x5fa148
cmp esi, ebx
jne 0x5f9f9b
cmp al, 0x5f
jne 0x5f9f9b
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push 0x5fa070
push edx
call fcn.005731cc
add esp, 0xc
test al, al
jne 0x5fa148
mov al, byte [esp + 0x44]
cmp dword [esp + 0x38], ebx
je 0x5f9fe7
cmp al, 0x5f
jne 0x5f9fe7
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push 0x5fa158
push ecx
call fcn.005731cc
add esp, 0xc
test al, al
je 0x5f9fe7
push 1
mov ecx, edi
call fcn.005f729c
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x5fa15a
xor ebp, ebp
mov dword [esp + 0x14], 1
jmp 0x5fa1c4
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.005f742c
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x5fa0b5
mov edi, dword [esp + 0x3c]
jmp 0x5fa00c
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x5fa026
cmp eax, 0x61
je 0x5fa026
cmp eax, 9
je 0x5fa026
cmp eax, 2
jne 0x5fa084
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
or eax, 1
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x5fa04b
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x5fa055
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x5fa084
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc74]
xor eax, eax
mov al, byte [ecx + 0x215]
push eax
push edx
push edi
call fcn.0055dd4c
add esp, 0xc
test al, al
je 0x5fa084
mov al, 1
jmp 0x5fa086
xor al, al
mov ecx, dword [esp + 0x18]
test cl, 2
je 0x5fa096
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
test cl, 1
je 0x5fa0a2
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp al, bl
jne 0x5fa144
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x5fa00c
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5fa15a
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0xc8], ecx
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x14], 1
jne 0x5fa1c4
test byte [esp + 0xd0], 2
jne 0x5fa15a
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc74]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x5fa109
call fcn.005d85cc
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.005f66fc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
cmp eax, ebx
mov eax, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
je 0x5fa169
call fcn.005fb79c
jmp 0x5fa16e
mov ebp, esi
jmp 0x5fa0d7
cmp ebp, dword [esp + 0x30]
je 0x5fa15a
mov ebp, dword [ebp + 8]
cmp ebp, ebx
je 0x5fa15a
cmp dword [ebp + 0x20], ebx
jne 0x5fa1c4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10
call fcn.005fab0c
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x5fa15a
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.005f800c
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x5fa15a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x5fa1c4
mov ecx, dword [esp + 0x10]
push 1
call fcn.005f729c
cmp dword [esp + 0xc8], eax
je 0x5fa1c4
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0xcc]
mov al, byte [esi]
cmp al, bl
jne 0x5f9dac
cmp dword [esp + 0x14], ebx
jne 0x5fa20c
xor esi, esi
cmp ebp, ebx
je 0x5fa1ee
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5fa1ee
mov esi, dword [eax + 0xb4]
push ebx
mov ecx, dword [esp + 0x14]
push esi
call fcn.005456bc
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x10
mov esi, dword [esp + 0xc8]
push ebx
jmp 0x5fa1ef
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10