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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672a5f
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x178], esi
xor edi, edi
mov dword [ebp - 0x174], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x28]
push eax
call fcn.004cf3e0
mov byte [ebp - 4], 1
push eax
call fcn.0049b960
add esp, 8
mov byte [ebp - 0x16d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407b80
cmp byte [ebp - 0x16d], 0
jne 0x5f062b
mov edi, 0xfffffd44
jmp 0x5f0de9
push 0xd
lea ecx, [ebp - 0x16c]
call fcn.00523a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
push 0x1388
call fcn.00523b80
test al, al
jne 0x5f065f
mov dword [ebp - 0x17c], 0xfffffd52
jmp 0x5f0dd4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
cmp byte [esi + 0x94], 1
jne 0x5f0674
call fcn.004a3130
xor ecx, ecx
lea eax, [esi + 0x60]
push eax
mov dword [ebp - 0x17c], ecx
lea ecx, [esi + 0x48]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x194], ecx
call fcn.0040f2f0
mov byte [ebp - 4], 3
push eax
call fcn.0062d0d0
add esp, 0x10
mov byte [ebp - 0x16d], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00407b80
cmp byte [ebp - 0x16d], 0
jne 0x5f06d0
mov dword [ebp - 0x17c], 0xfffffda6
jmp 0x5f0dd4
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x178]
mov esi, dword [esi + 0x3c]
cmp esi, dword [eax + 0x40]
je 0x5f0a5e
add eax, 0xa4
mov dword [ebp - 0x184], eax
nop
lea ecx, [ebp - 0xd4]
call fcn.005ef710
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x178]
cmp byte [eax + 0x78], 0
jne 0x5f07cf
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.005f2870
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00485c00
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0x174]
or eax, 1
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00407b00
push edi
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040f2f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
movzx ecx, byte [ecx + 0x120]
push ecx
push dword [ebp - 0x184]
lea ecx, [ebp - 0xd4]
push ecx
push eax
call fcn.005f45c0
add esp, 0x1c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00407b80
mov edi, dword [ebp - 0x174]
and edi, 0xfffffffe
mov dword [ebp - 0x174], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x104]
call fcn.00407b80
jmp 0x5f08ab
mov byte [ebp - 4], 9
lea eax, [ebp - 0x11c]
push eax
call fcn.004f5370
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00485c00
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0x174]
or eax, 2
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00407b00
push edi
lea eax, [ebp - 0x134]
push esi
push eax
call fcn.0040f2f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
movzx ecx, byte [ecx + 0x120]
push ecx
push dword [ebp - 0x184]
lea ecx, [ebp - 0xd4]
push ecx
push eax
call fcn.005f43f0
add esp, 0x1c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x134]
call fcn.00407b80
mov edi, dword [ebp - 0x174]
and edi, 0xfffffffd
mov dword [ebp - 0x174], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.00407b80
mov eax, dword [ebp - 0x178]
cmp dword [eax + 0x8c], 0
je 0x5f08ab
add eax, 0x7c
lea ecx, [ebp - 0xd4]
cmp ecx, eax
je 0x5f08ab
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x5f089c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0040cbc0
cmp dword [ebp - 0xc4], 0
jne 0x5f08e7
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x74]
call fcn.00407b80
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
call fcn.00407b80
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa4]
call fcn.00407b80
mov byte [ebp - 4], 0xc
jmp 0x5f0985
mov al, byte [esi + 0x18]
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x74]
cmp eax, esi
je 0x5f090a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5f08fe
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x74]
push eax
call fcn.0040cbc0
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0xd4]
push eax
call fcn.005efb30
mov dword [ebp - 0x17c], eax
test eax, eax
jle 0x5f0957
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0xd4]
push ecx
cmp dword [ebp - 0x198], eax
je 0x5f094b
mov ecx, eax
call fcn.005ef670
add dword [ebp - 0x19c], 0x7c
jmp 0x5f0957
push eax
lea ecx, [ebp - 0x1a0]
call fcn.005eec90
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x74]
call fcn.00407b80
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8c]
call fcn.00407b80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa4]
call fcn.00407b80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xbc]
call fcn.00407b80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.00407b80
mov eax, dword [ebp - 0x178]
add esi, 0x1c
cmp esi, dword [eax + 0x40]
jne 0x5f0710
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
jle 0x5f0a5e
mov esi, dword [eax + 0x98]
cmp esi, dword [eax + 0x9c]
je 0x5f0a5e
mov eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0x19c]
je 0x5f0a37
mov edi, dword [esi + 0x10]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x5f09ec
mov ecx, dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x5f09f6
mov edx, dword [esi]
cmp edi, dword [eax + 0x10]
jne 0x5f0a2c
cmp dword [esi + 0x10], 0
jbe 0x5f0a43
sub edx, ecx
mov dword [ebp - 0x184], edx
nop dword [eax]
mov dx, word [edx + ecx]
cmp dx, word [ecx]
jne 0x5f0a29
add ecx, 2
sub edi, 1
je 0x5f0a43
mov edx, dword [ebp - 0x184]
jmp 0x5f0a10
mov edi, dword [esi + 0x10]
add eax, 0x7c
cmp eax, dword [ebp - 0x19c]
jne 0x5f09e2
mov ecx, dword [ebp - 0x178]
push esi
call fcn.005f4820
mov eax, dword [ebp - 0x178]
add esi, 0x7c
cmp esi, dword [eax + 0x9c]
jne 0x5f09d1
mov edi, dword [ebp - 0x174]
push dword [ebp - 0x180]
mov esi, dword [ebp - 0x194]
lea eax, [ebp - 0xec]
push esi
push eax
call fcn.0040f2f0
mov byte [ebp - 4], 0x16
push eax
call fcn.0062d190
add esp, 0x10
mov byte [ebp - 0x16d], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00407b80
cmp byte [ebp - 0x16d], 0
jne 0x5f0ab1
mov dword [ebp - 0x17c], 0xfffffda6
jmp 0x5f0dc5
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0x18
push eax
push 1
lea eax, [ebp - 0x190]
push eax
push esi
call fcn.0049b530
mov esi, dword [ebp - 0x190]
add esp, 0x10
cmp esi, dword [ebp - 0x18c]
je 0x5f0d23
mov byte [ebp - 4], 0x19
xor eax, eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x180]
or edi, 4
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x10]
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00421d50
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5f0b60
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00421790
mov ecx, dword [ebp - 0x180]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x5f0b7c
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00421790
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x5f0bc2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5f0bb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f0e2e
push edx
push ecx
call fcn.005e9c93
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
and edi, 0xfffffffb
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 7
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x174], edi
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x2c], 7
call fcn.0049b960
add esp, 4
test al, al
je 0x5f0d14
mov byte [ebp - 4], 0x1a
xor eax, eax
mov ecx, dword [ebp - 0x194]
or edi, 8
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x174], edi
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x10]
add eax, ecx
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00421d50
mov ecx, dword [ebp - 0x194]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x5f0c81
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00421790
mov ecx, dword [ebp - 0x180]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x5f0c9d
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00421790
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00498bc0
and edi, 0xfffffff7
add esp, 8
mov dword [ebp - 0x174], edi
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5f0d00
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5f0cf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f0e2e
push edx
push ecx
call fcn.005e9c93
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x5f0b12
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x190]
test esi, esi
je 0x5f0db9
mov edi, dword [ebp - 0x18c]
cmp esi, edi
je 0x5f0d54
nop
mov ecx, esi
call fcn.00407b80
add esi, 0x18
cmp esi, edi
jne 0x5f0d40
mov esi, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x188]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5f0d91
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f0e2e
push ecx
push esi
call fcn.005e9c93
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00407b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.005ef890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.00523b20
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5f0e0f
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret 0x2c
call fcn.0060ad39
int3