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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x5bf3f8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bfec0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005bf07c
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x5bfe8d
lea edx, [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp word [ebp - 0x1e], 0xd8ff
jne 0x5bfe8d
lea edx, [ebp - 0x12]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp word [ebp - 0x12], 0xe0ff
jne 0x5bf486
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x14
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x12]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp word [ebp - 0x12], 0xe1ff
je 0x5bf513
xor ebx, ebx
xor eax, eax
push ebp
push 0x5bf4be
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bf4cd
inc ebx
cmp ebx, 0x3e8
jg 0x5bf4de
cmp word [ebp - 0x1e], 0xe1ff
jne 0x5bf494
cmp word [ebp - 0x1e], 0xe1ff
jne 0x5bf513
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004241c0
mov edx, eax
sub edx, 2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x12]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp word [ebp - 0x12], 0xe1ff
jne 0x5bfe8d
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004241c0
inc eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x33]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 0xb
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp word [ebp - 0x32], 0x4d4d
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x88], al
test al, al
je 0x5bf571
mov eax, dword [ebp - 0x2e]
call fcn.005beb44
mov dword [ebp - 0x2e], eax
mov ax, word [ebp - 0x2a]
xchg al, ah
mov word [ebp - 0x2a], ax
cmp dword [ebp - 0x2e], 8
je 0x5bf59e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004241c0
mov ecx, eax
mov eax, dword [ebp - 0x2e]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov edx, ecx
sub edx, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp word [ebp - 0x2a], 0
jne 0x5bf5ab
mov word [ebp - 0x2a], 0x64
movzx eax, word [ebp - 0x2a]
test eax, eax
jle 0x5bf810
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x3f]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005beb48
movzx eax, word [ebp - 0x3f]
cmp eax, 0x11b
jg 0x5bf61b
je 0x5bf7f0
cmp eax, 0x110
jg 0x5bf602
je 0x5bf6b2
sub eax, 1
jb 0x5bf810
sub eax, 0x10d
je 0x5bf65a
dec eax
je 0x5bf686
jmp 0x5bf807
sub eax, 0x112
je 0x5bf6de
sub eax, 8
je 0x5bf7d7
jmp 0x5bf807
cmp eax, 0x13b
jg 0x5bf63f
je 0x5bf7a0
sub eax, 0x131
je 0x5bf777
dec eax
je 0x5bf71f
jmp 0x5bf807
sub eax, 0x8298
je 0x5bf74b
sub eax, 0x4d1
je 0x5bf7c9
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 4]
mov bl, byte [ebp - 0x37]
mov byte [eax + 0x10], bl
mov eax, ebx
dec eax
sub al, 8
jae 0x5bf709
mov eax, dword [ebp - 4]
add eax, 0x14
xor edx, edx
mov dl, bl
mov edx, dword [edx*4 + 0x6db28c]
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [0x6db2b0]
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
add eax, 0x78
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
add eax, 0x7c
call fcn.00404bf4
jmp 0x5bf807
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x37]
mov dword [eax + 0x84], edx
jmp 0x5bf807
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005becf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
jmp 0x5bf807
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005becf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
dec dword [ebp - 0x28]
jne 0x5bf5ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
test eax, eax
jbe 0x5bfe8d
mov edx, eax
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x5bf85a
mov ax, word [ebp - 0x20]
xchg al, ah
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
test eax, eax
jle 0x5bfe8d
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x3f]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005beb48
movzx eax, word [ebp - 0x3f]
cmp eax, 0x9201
jg 0x5bf8e4
je 0x5bfa19
cmp eax, 0x8827
jg 0x5bf8c2
je 0x5bfae2
sub eax, 1
jb 0x5bfe8d
sub eax, 0x8299
je 0x5bf93c
sub eax, 3
je 0x5bf997
sub eax, 0x585
je 0x5bfe35
jmp 0x5bfe84
sub eax, 0x9003
je 0x5bf9c1
dec eax
je 0x5bf9ed
sub eax, 0xfe
je 0x5bf96b
jmp 0x5bfe84
cmp eax, 0x9209
jg 0x5bf91a
je 0x5bfd98
sub eax, 0x9202
je 0x5bfaf2
sub eax, 3
je 0x5bfb22
sub eax, 2
je 0x5bfb84
dec eax
je 0x5bfbdf
jmp 0x5bfe84
sub eax, 0x9286
je 0x5bfb52
sub eax, 0xd7c
je 0x5bfe70
dec eax
je 0x5bfe7b
jmp 0x5bfe84
push 0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bed88
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
add eax, 0x30
mov ecx, 0x5bfed8
call fcn.00404ed8
jmp 0x5bfe84
push 1
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bed88
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
add eax, 0x80
call fcn.00404bf4
jmp 0x5bfe84
push 1
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bed88
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404bf4
jmp 0x5bfe84
xor eax, eax
push ebp
push 0x5bfac8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005befa4
fstp dword [ebp - 0x1c]
wait
fld dword [ebp - 0x1c]
fcomp dword [0x5bfee4]
fnstsw ax
sahf
jae 0x5bfaab
push 0x4000
push 0x80000000
push 0
fld dword [ebp - 0x1c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00435928
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x170]
xor edx, edx
mov eax, 1
call fcn.004035fc
lea edx, [ebp - 0x170]
lea eax, [ebp - 0x24]
call fcn.00404e14
push 0x5bfef0
push dword [ebp - 0x24]
push 0x5bfed8
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 3
call fcn.00404f4c
jmp 0x5bfabb
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 0x5bfefc
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov dx, word [ebp - 0x37]
mov word [eax + 0x74], dx
jmp 0x5bfe84
push 1
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bed88
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00404bf4
jmp 0x5bfe84
push 1
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bed88
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 0x3b]
push eax
lea eax, [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x37]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bebd4
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x37]
mov byte [eax + 0x5c], dl
mov ebx, dword [ebp - 0x37]
mov eax, ebx
sub eax, 7
jae 0x5bfbae
mov eax, dword [ebp - 4]
add eax, 0x60
mov edx, dword [ebx*4 + 0x6db2d8]
call fcn.00404bf4
jmp 0x5bfe84
cmp ebx, 7
jne 0x5bfbc9
mov eax, dword [ebp - 4]
add eax, 0x60
mov edx, dword [0x6db2f4]
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x60
mov edx, dword [0x6db2d8]
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x37]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 0x37]
cmp eax, 0x12
jg 0x5bfc4e
je 0x5bfd05
cmp eax, 0x11
ja case.0x5bfbff.4
jmp dword [eax*4 + 0x5bfc06]
cmp eax, 0x15
jg 0x5bfc6e
je 0x5bfd44
sub eax, 0x13
je 0x5bfd1a
dec eax
je 0x5bfd2f
jmp case.0x5bfbff.4
sub eax, 0x16
je 0x5bfd59
sub eax, 0xe9
je 0x5bfd6e
jmp case.0x5bfbff.4
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff10
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff20
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff34
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff48
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff5c
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff6c
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff88
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bffa4
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bffc0
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bffcc
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bffd8
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bffe4
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 0x5bff10
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x37]
mov byte [eax + 0x6c], dl
mov eax, dword [ebp - 0x37]
cmp eax, 5
jg 0x5bfdb4
je 0x5bfdea
sub eax, 1
jb 0x5bfdc0
je 0x5bfdd5
jmp 0x5bfe23
sub eax, 7
je 0x5bfdff
sub eax, 0x12
je 0x5bfe11
jmp 0x5bfe23
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5bfff4
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5bff5c
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5c0008
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5c0020
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5c0038
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x70
mov edx, 0x5bfff4
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x37]
mov byte [eax + 0x44], dl
mov ebx, dword [ebp - 0x37]
mov eax, ebx
dec eax
sub eax, 8
jae 0x5bfe5d
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebx*4 + 0x6db2b0]
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [0x6db2d4]
call fcn.00404bf4
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x37]
mov dword [eax + 0x4c], edx
jmp 0x5bfe84
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x37]
mov dword [eax + 0x50], edx
dec dword [ebp - 0x28]
jne 0x5bf869
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bfec7
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x70]
mov edx, 0xc
call fcn.00404bc4
lea eax, [ebp - 0x24]
call fcn.00404ba0
ret