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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff04
mov dword [esp], eax
mov eax, dword [esp]
mov ebx, dword [eax]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp + 0x58], eax
xor edx, edx
mov dword [esp + 0x5c], edx
xor ecx, ecx
mov dword [esp + 0x60], ecx
xor eax, eax
mov dword [esp + 0x64], eax
mov edx, dword [esp]
mov eax, dword [edx + 0x1c]
call fcn.005fb758
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x6c], 0
je 0x5fbfc1
mov eax, dword [esp + 0x6c]
jmp 0x5fcada
cmp dword [ebx + 0x24], 0
je 0x5fbfce
xor eax, eax
jmp 0x5fcada
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
add dword [ebx + 0x30], 1
adc dword [ebx + 0x34], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
push 0
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.005fbe14
mov dword [esp + 4], eax
xor eax, eax
mov edi, dword [ebx + 0x70]
mov dword [esp + 0x18], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0xc], ecx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
cmp dword [esp + 4], 0
jne 0x5fc44a
cmp dword [esp + 8], 0
jne 0x5fc44a
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov eax, dword [esp]
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x64]
sub eax, dword [ebx + 0x60]
mov dword [esp + 0x74], eax
test esi, esi
jne 0x5fc0a1
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx]
mov esi, eax
add edx, 0x10
call dword [esi]
mov esi, eax
test esi, esi
jne 0x5fc088
mov dword [esp + 0xc], 1
mov edi, 1
jmp 0x5fc42c
xor eax, eax
mov dword [esi], eax
cmp dword [esp + 0x70], 0
je 0x5fc09b
mov edx, dword [esp + 0x70]
mov dword [edx], esi
jmp 0x5fc0a1
mov ecx, dword [esp]
mov dword [ecx + 8], esi
lea eax, [esi + 0x10]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
cmp dword [esp + 0x74], 0
je 0x5fc0ea
mov eax, dword [esp + 0x74]
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov edx, dword [ebx + 0x5c]
add edx, dword [ebx + 0x60]
add edx, 0x10
mov dword [esp + 0x7c], edx
jmp 0x5fc1d7
mov ecx, dword [ebx]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x78]
mov eax, dword [ebx + 0xc]
call fcn.005fb8f0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
xor edx, edx
add dword [esp + 0x28], eax
adc dword [esp + 0x2c], edx
cmp dword [esp + 0x70], 0
jne 0x5fc12d
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x80]
xor edx, edx
add dword [ebx + 0x68], eax
adc dword [ebx + 0x6c], edx
mov ecx, dword [esp + 0x80]
cmp ecx, dword [ebx]
setne al
and eax, 1
mov edi, eax
test edi, edi
je 0x5fc158
mov dword [ebx + 0x70], 1
cmp dword [esp + 4], 0
je 0x5fc178
mov eax, dword [esp + 4]
mov edi, 1
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x70], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edx, 0
jne 0x5fc190
cmp eax, 1
jb 0x5fc1d7
push 0
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.005fbe14
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x5fc42c
cmp dword [esp + 8], 0
jne 0x5fc42c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x70], 0
sete al
and eax, 1
mov dword [esp + 0xdc], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xe0], edx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edi
mov dword [esp + 0xf0], 1
lea ecx, [esp + 0xdc]
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
call dword [ebp]
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x64], edx
cmp dword [esp + 0xec], 1
jne 0x5fc28a
mov dword [esp + 0x10], 1
cmp dword [esp + 0x74], 0
mov edi, 1
je 0x5fc27b
mov eax, dword [esp + 0x80]
push eax
mov edx, dword [esp + 0x80]
push edx
mov ecx, dword [esp + 0x80]
push ecx
call fcn.005f8910
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x60], eax
xor edx, edx
mov dword [ebx + 0x64], edx
jmp 0x5fc42c
cmp dword [esp + 0x74], 0
je 0x5fc2bb
mov ecx, dword [esp + 0xe4]
push ecx
mov eax, dword [esp + 0x80]
push eax
mov edx, dword [esp + 0x80]
push edx
call fcn.005f8910
add esp, 0xc
mov ecx, dword [esp + 0xe4]
add dword [ebx + 0x60], ecx
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x5fc2ce
test edi, edi
je 0x5fc3ec
cmp eax, 3
jne 0x5fc2d8
mov edi, 1
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0xe4]
cmp eax, dword [esp + 0x80]
jne 0x5fc2ff
xor edx, edx
mov dword [ebx + 0x60], edx
xor ecx, ecx
mov dword [ebx + 0x64], ecx
jmp 0x5fc42c
cmp dword [esp + 0xec], 3
jne 0x5fc362
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0xe4]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x80]
sub edx, dword [esp + 0xe4]
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x74], 0
je 0x5fc339
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x5c]
xor edx, edx
sub dword [esp + 0x28], eax
sbb dword [esp + 0x2c], edx
cmp dword [esp + 0x70], 0
jne 0x5fc42c
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x24], ecx
jmp 0x5fc42c
cmp dword [esp + 0x74], 0
je 0x5fc37c
mov eax, dword [esp + 0xe4]
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x5fc3d6
mov eax, ebx
call fcn.005fbf3c
mov esi, eax
test esi, esi
jne 0x5fc39b
mov dword [esp + 0xc], 1
mov edi, 1
jmp 0x5fc42c
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0xe4]
mov eax, ecx
xor edx, edx
sub dword [esp + 0x28], eax
sbb dword [esp + 0x2c], edx
mov dword [ebx + 0x64], ecx
xor eax, eax
mov dword [ebx + 0x60], eax
push ecx
mov edx, dword [esp + 0x80]
add edx, dword [esp + 0xe8]
push edx
push esi
call fcn.005f8910
add esp, 0xc
cmp dword [esp + 0x70], 0
jne 0x5fc3e8
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x24], ecx
xor edi, edi
jmp 0x5fc42c
mov eax, dword [esp + 0xe4]
cmp eax, dword [esp + 0x80]
je 0x5fc406
mov dword [esp + 4], 0xb
jmp 0x5fc42c
mov dword [esp + 0x70], esi
cmp dword [esp + 0x74], 0
mov esi, dword [esi]
je 0x5fc060
xor edx, edx
mov dword [esp + 0x74], edx
xor ecx, ecx
mov dword [ebx + 0x60], ecx
xor eax, eax
mov dword [ebx + 0x64], eax
jmp 0x5fc060
cmp dword [esp + 4], 0
jne 0x5fc44a
push dword [esp + 0x34]
push dword [esp + 0x34]
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.005fbdb8
mov dword [esp + 4], eax
xor esi, esi
cmp dword [esp + 4], 0
jne 0x5fc481
cmp dword [esp + 0x18], 0
je 0x5fc481
cmp dword [esp + 8], 0
jne 0x5fc481
mov eax, dword [esp]
mov esi, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x1c]
call dword [esi + 4]
mov esi, eax
test esi, esi
je 0x5fc481
xor eax, eax
mov edi, 1
mov dword [esp + 0x18], eax
cmp dword [esp + 4], 0
jne 0x5fc48f
cmp dword [esp + 8], 0
je 0x5fc494
mov edi, 1
xor eax, eax
xor edx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], edx
test edi, edi
jne 0x5fc56c
mov ecx, dword [ebx + 0x58]
cmp ecx, dword [ebx + 0x54]
jae 0x5fc506
cmp dword [esp + 0x64], 0
je 0x5fc506
mov eax, dword [ebx + 0x58]
shl eax, 3
lea eax, [eax + eax*4]
add eax, ebx
add eax, 0xc8
call fcn.005fbcd8
mov dword [esp + 0x84], eax
cmp dword [esp + 0x84], 0
jne 0x5fc4e2
inc dword [ebx + 0x58]
jmp 0x5fc506
cmp dword [ebx + 0x58], 1
jne 0x5fc500
mov edi, 1
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x14], edx
jmp 0x5fc506
mov ecx, dword [ebx + 0x58]
mov dword [ebx + 0x54], ecx
test edi, edi
jne 0x5fc56c
mov eax, dword [esp]
mov edx, dword [eax + 4]
inc edx
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x88]
cmp ecx, dword [ebx + 0x58]
jb 0x5fc528
xor eax, eax
jmp 0x5fc52f
mov eax, dword [esp + 0x88]
mov edx, eax
shl edx, 3
lea edx, [edx + edx*4]
add edx, ebx
add edx, 0xc8
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x68]
add eax, 0x1c
call fcn.005fb800
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x8c], 0
je 0x5fc56c
mov eax, dword [esp + 0x8c]
jmp 0x5fcada
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
cmp dword [esp + 4], 0
jne 0x5fc79e
cmp dword [esp + 0x18], 0
je 0x5fc79e
test esi, esi
jne 0x5fc79e
mov eax, 1
mov edx, dword [esp]
mov ecx, dword [edx + 8]
mov dword [esp + 0x90], ecx
test eax, eax
je 0x5fc5e6
mov ecx, dword [esp + 0x24]
jmp 0x5fc625
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
xor edx, edx
mov ecx, dword [ebx]
cmp edx, dword [esp + 0x9c]
mov eax, ecx
jne 0x5fc61a
cmp eax, dword [esp + 0x98]
jbe 0x5fc625
mov eax, dword [esp + 0x98]
mov ecx, eax
mov eax, ecx
xor edx, edx
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
mov dword [esp + 0x94], 1
push ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x30]
jne 0x5fc64f
cmp eax, dword [esp + 0x2c]
sete cl
and ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xa4]
push ecx
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x18]
mov ecx, dword [esp + 0xa4]
add ecx, 0x10
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x1c]
call dword [esi + 8]
mov esi, eax
test esi, esi
je 0x5fc69c
push dword [esp + 0x34]
push dword [esp + 0x34]
mov eax, ebx
call fcn.005fbedc
jmp 0x5fc79e
cmp dword [esp + 0x94], 0
jne 0x5fc79e
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x2c]
jne 0x5fc6c2
cmp eax, dword [esp + 0x28]
je 0x5fc79e
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
cmp dword [esp + 0xa4], 0
jne 0x5fc710
cmp dword [esp + 0xa0], 1
jae 0x5fc726
cmp dword [esp + 0xac], 0
jne 0x5fc724
cmp dword [esp + 0xa8], 1
jb 0x5fc787
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0x44]
push dword [esp + 0x44]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.005fbe14
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x5fc79e
cmp dword [esp + 8], 0
jne 0x5fc79e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x90]
xor eax, eax
mov ecx, dword [edx]
mov dword [esp + 0x90], ecx
jmp 0x5fc5dc
mov edx, dword [esp]
mov eax, dword [edx + 0x20]
call fcn.005fb758
mov dword [esp + 0xb0], eax
cmp dword [esp + 0xb0], 0
je 0x5fc7c6
mov eax, dword [esp + 0xb0]
jmp 0x5fcada
xor edx, edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xbc], ecx
cmp dword [ebx + 0x24], 0
je 0x5fc7f2
xor eax, eax
jmp 0x5fcada
cmp dword [ebx + 0x50], 0
je 0x5fc802
mov dword [esp + 8], 1
jmp 0x5fc877
test esi, esi
je 0x5fc81d
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x4c], esi
cmp esi, 2
jne 0x5fc81d
mov dword [esp + 0xc], 1
cmp dword [esp + 0x14], 0
je 0x5fc83b
mov dword [ebx + 0x50], 1
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [ebx + 0x40], edx
mov dword [esp + 0xbc], ecx
cmp dword [esp + 0xc], 0
je 0x5fc859
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x38], 1
xor eax, eax
mov dword [esp + 0xbc], eax
cmp dword [esp + 0x10], 0
je 0x5fc877
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x3c], 1
xor edx, edx
mov dword [esp + 0xbc], edx
cmp dword [esp + 0x18], 0
je 0x5fc910
cmp dword [esp + 8], 0
je 0x5fc8a9
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
lea eax, [ebx + 0x98]
call fcn.005fbc0c
mov dword [esp + 4], eax
mov edx, edi
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x1c], 0
je 0x5fc9b3
mov eax, dword [esp + 0x58]
push eax
mov edx, dword [esp + 0x60]
push edx
mov ecx, dword [esp + 0x68]
push ecx
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0xc8]
push edx
cmp dword [esp + 0x18], 0
jne 0x5fc95c
cmp dword [esp + 0xd0], 0
je 0x5fc95c
cmp dword [esp + 0x1c], 0
je 0x5fc960
xor ecx, ecx
jmp 0x5fc965
mov ecx, 1
mov eax, dword [esp + 0x14]
mov ebp, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x1c]
call dword [ebp + 0xc]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x5fc992
mov dword [esp + 0xb4], 1
mov dword [ebx + 0x50], 1
cmp dword [esp + 4], 0
jne 0x5fc9a4
cmp dword [esp + 0x20], 0
jne 0x5fc9b3
test edi, edi
jne 0x5fc9b3
push dword [esp + 0x34]
push dword [esp + 0x34]
mov eax, ebx
call fcn.005fbedc
cmp dword [esp + 0xb8], 0
je 0x5fca37
cmp dword [esp + 0x18], 0
je 0x5fc9ef
cmp dword [esp + 4], 0
jne 0x5fc9ef
cmp dword [ebx + 0x50], 0
jne 0x5fc9ef
test esi, esi
jne 0x5fc9ef
cmp dword [esp + 8], 0
jne 0x5fc9ef
cmp dword [ebx + 0x84], 0
jne 0x5fc9ef
cmp dword [esp + 0xb4], 0
je 0x5fca37
cmp dword [ebx + 0x84], 0
jne 0x5fca04
mov edx, dword [esp]
mov ecx, dword [edx + 4]
mov dword [ebx + 0x80], ecx
cmp dword [esp + 0x2c], 0
jne 0x5fca16
cmp dword [esp + 0x28], 0
jne 0x5fca16
test edi, edi
jne 0x5fca37
mov eax, dword [esp]
mov edx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x14], eax
inc dword [ebx + 0x84]
test edi, edi
jne 0x5fca6a
mov eax, dword [esp + 0x68]
add eax, 0x20
call fcn.005fb800
mov dword [esp + 0xd0], eax
cmp dword [esp + 0xd0], 0
je 0x5fbf7a
mov eax, dword [esp + 0xd0]
jmp 0x5fcada
cmp dword [esp + 0x20], 0
je 0x5fca98
lea eax, [ebx + 0xe8]
call fcn.005fb800
mov dword [esp + 0xd4], eax
cmp dword [esp + 0xd4], 0
je 0x5fcaac
mov eax, dword [esp + 0xd4]
jmp 0x5fcada
mov edx, dword [esp]
cmp dword [edx + 4], 0
jne 0x5fcaa5
xor eax, eax
jmp 0x5fcada
mov dword [ebx + 0x24], 1
lea eax, [ebx + 0xe4]
call fcn.005fb800
mov dword [esp + 0xd8], eax
cmp dword [esp + 0xd8], 0
je 0x5fbf7a
mov eax, dword [esp + 0xd8]
jmp 0x5fcada
add esp, 0xfc
pop ebp
pop edi
pop esi
pop ebx
ret