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

Disassembly:
sub esp, 0x58
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ebx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ebp
dec dword [eax]
mov esi, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edi
cmp dword [eax], edi
jle case.0x581321.12
mov dword [esp + 0x38], 0x86
mov dword [esp + 0x3c], 0x88
mov dword [esp + 0x40], 0x84
nop word [eax + eax]
movzx eax, word [ebx]
cmp eax, 0x76
jne 0x580a5d
add ebx, 8
jmp 0x580a50
nop dword [eax]
cmp eax, 0x77
jne 0x580a6e
movzx eax, word [ebx + 6]
lea ebx, [ebx + eax*2]
jmp 0x580a50
cmp eax, 0x78
jne 0x580a85
movzx eax, word ds:[ebx + 2]
lea ebx, [ebx + eax*2]
movzx eax, word [ebx]
cmp eax, 0x78
je 0x580a73
movzx edi, ax
cmp edi, 0x97
ja case.0x580aa0.4
movzx eax, byte [edi + 0x5814b4]
nop dword [eax + eax]
jmp dword [eax*4 + 0x5814a0]
cmp dword [ecx + 4], 0
je case.0x581321.12
movzx ecx, word ds:[ebx + 2]
mov eax, ebx
add ecx, ecx
sub eax, ecx
movzx eax, word [eax]
add eax, 0xffffff82
cmp eax, 0x10
ja case.0x580acc.134
movzx eax, byte [eax + 0x581560]
jmp dword [eax*4 + 0x58154c]
cmp dword [ebp + 0xb8], 0
jne case.0x581321.12
mov ecx, dword [esp + 0x10]
movzx eax, byte [edi + 0x5f7690]
lea ebx, [ebx + eax*2]
jmp 0x580a50
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, 0x1d
je 0x580ae0
cmp eax, 0x1e
je 0x580ae0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00583f7f
add esp, 0x58
ret 0x14
lfence
movzx eax, word [ebx + 2]
cmp word [ebx + eax*2], 0x78
lea esi, [ebx + eax*2]
movzx eax, byte [edi + 0x5f7690]
lea ebx, [ebx + eax*2]
jne 0x580b66
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push edx
push ecx
push ebp
push dword [esp + 0x30]
mov edx, edi
mov ecx, ebx
call fcn.005809e0
test eax, eax
je case.0x581321.12
movzx eax, word [esi + 2]
lea ebx, [esi + 4]
cmp word [esi + eax*2], 0x78
lea esi, [esi + eax*2]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
je 0x580b35
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], 1
jmp 0x580a50
movzx eax, word ds:[ebx + 2]
lea ecx, [ebx + 2]
cmp ax, word [esp + 0x38]
je 0x580ba0
cmp ax, word [esp + 0x3c]
je 0x580ba0
cmp ax, word [esp + 0x40]
jne case.0x581321.12
nop dword [eax]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x580ba0
push dword [esp + 0x28]
add ecx, 4
push edx
mov edx, dword [esp + 0x18]
push edx
push ebp
push dword [esp + 0x30]
mov edx, esi
call fcn.005809e0
test eax, eax
je case.0x581321.12
movzx eax, byte [edi + 0x5f7690]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ebx, [ebx + eax*2]
jmp 0x580a50
lea eax, [esp + 0x44]
mov edx, esi
push eax
push dword [ebp + 8]
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00580600
mov ebx, eax
test ebx, ebx
je case.0x581321.12
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
cmp edi, 0x1d
jne 0x580c1c
lea edi, [ecx + 8]
lea esi, [esp + 0x44]
jmp 0x580c2f
mov esi, dword [esp + 0x44]
cmp esi, 0x1d
jne 0x580fe5
lea edi, [esp + 0x4c]
mov esi, ecx
mov ecx, dword [edi]
mov edx, dword [esi]
lea eax, [edx - 6]
cmp eax, 0x6a
ja case.0x581321.12
movzx eax, byte [eax + 0x5815c0]
jmp dword [eax*4 + 0x581574]
mov eax, dword [esi + 8]
lea edx, [esi + 8]
cmp ecx, eax
je case.0x581321.12
mov eax, dword [edx + 4]
add edx, 4
cmp eax, 0xffffffff
jne 0x580c53
jmp case.default.0x580e92
mov eax, dword [esi + 8]
lea edx, [esi + 8]
cmp ecx, eax
je 0x580c8a
mov eax, dword ds:[edx + 4]
add edx, 4
cmp eax, 0xffffffff
jne 0x580c71
jmp case.0x581321.12
cmp dword [edx], 0xffffffff
je case.0x581321.12
jmp case.default.0x580e92
nop dword [eax + eax]
cmp ecx, 0x100
jae case.default.0x580e92
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 8
jmp 0x580fb3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581321.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 8
je case.0x581321.12
jmp case.default.0x580e92
nop
cmp ecx, 0x100
jae case.default.0x580e92
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 1
jmp 0x580fb3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581321.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 1
je case.0x581321.12
jmp case.default.0x580e92
nop
cmp ecx, 0xff
jae case.default.0x580e92
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 0x10
jmp 0x580fb3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581321.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 0x10
je case.0x581321.12
jmp case.default.0x580e92
nop
cmp ecx, 0x2000
ja 0x580dbd
je case.0x581321.12
cmp ecx, 0xa0
ja 0x580d97
je case.0x581321.12
nop dword [eax]
cmp ecx, 9
je case.0x581321.12
cmp ecx, 0x20
je case.0x581321.12
jmp case.default.0x580e92
nop word [eax + eax]
cmp ecx, 0x1680
je case.0x581321.12
cmp ecx, 0x180e
je case.0x581321.12
jmp case.default.0x580e92
nop dword [eax]
cmp ecx, 0x3000
ja case.default.0x580e92
je case.0x581321.12
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.default.0x580e92
movzx eax, byte [ecx + 0x581634]
jmp dword [eax*4 + 0x58162c]
cmp ecx, 0x2000
ja 0x580e3c
nop
je case.default.0x580e92
cmp ecx, 0xa0
ja 0x580e25
je case.default.0x580e92
cmp ecx, 9
je case.default.0x580e92
cmp ecx, 0x20
jmp 0x580fb3
cmp ecx, 0x1680
je case.default.0x580e92
cmp ecx, 0x180e
jmp 0x580fb3
nop dword [eax]
cmp ecx, 0x3000
ja case.0x581321.12
je case.default.0x580e92
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x581321.12
movzx eax, byte [ecx + 0x58169c]
jmp dword [eax*4 + 0x581694]
cmp ecx, 0x85
ja 0x580e99
nop
je case.0x581321.12
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x580e92
jmp dword [ecx*4 + 0x5816fc]
nop dword [eax]
sub ecx, 0x2028
je case.0x581321.12
sub ecx, 1
je case.0x581321.12
jmp case.default.0x580e92
nop word [eax + eax]
cmp ecx, 0x85
ja 0x580ee7
je case.default.0x580e92
add ecx, 0xfffffff6
cmp ecx, 3
ja case.0x581321.12
nop word [eax + eax]
jmp dword [ecx*4 + 0x58170c]
sub ecx, 0x2028
je case.default.0x580e92
sub ecx, 1
jmp 0x580fb3
nop dword [eax + eax]
cmp ecx, 0x85
ja 0x580e99
je case.0x581321.12
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x580e92
nop word [eax + eax]
jmp dword [ecx*4 + 0x58171c]
xor eax, eax
cmp edx, 0xf
mov edx, dword [esi + 8]
sete al
push eax
push dword [esi + 0xc]
call fcn.005802a0
nop dword [eax + eax]
test eax, eax
je case.0x581321.12
jmp case.default.0x580e92
cmp ecx, 0xff
ja case.0x581321.12
jmp 0x580f68
nop dword [eax + eax]
cmp ecx, 0xff
ja case.default.0x580e92
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
cmp esi, eax
mov eax, ecx
cmove edx, ebx
shr eax, 3
add edx, eax
and ecx, 7
mov eax, dword [esi + 8]
add eax, eax
sub edx, eax
mov eax, 1
shl eax, cl
test byte [edx], al
jmp 0x580fb3
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push dword [esp + 0x1c]
cmp esi, eax
mov eax, dword [esi + 8]
cmove edx, ebx
add eax, eax
sub edx, eax
add edx, 2
call fcn.0057f360
test eax, eax
jne case.0x581321.12
mov ecx, dword ds:[edi + 4]
add edi, 4
cmp ecx, 0xffffffff
jne 0x580c31
cmp dword [esp + 0x48], 0
je 0x581485
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a50
cmp edi, 0x6e
je 0x5812fb
cmp esi, 0x6e
je 0x5812f3
cmp edi, 0x10
je 0x581033
nop dword [eax]
cmp edi, 0xf
je 0x581033
lea eax, [edi - 6]
cmp eax, 0x10
ja case.0x581321.12
lea eax, [esi - 6]
cmp eax, 0x14
ja case.0x581321.12
imul eax, edi, 0x15
cmp byte [eax + esi + 0x5f960c], 0
je case.0x581321.12
jmp 0x5812d6
cmp esi, 0x18
je 0x5812d6
nop dword [eax]
cmp esi, 0x10
je 0x58104e
cmp esi, 0xf
jne case.0x581321.12
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0x24], eax
xor eax, eax
cmp edi, 0x10
sete al
mov dword [esp + 0x2c], eax
xor eax, eax
cmp esi, 0x10
sete al
mov dword [esp + 0x30], eax
cmp edi, 0x10
jne 0x58107f
cmp esi, edi
jne 0x58107f
lea edx, [edi - 0xf]
jmp 0x581081
xor edx, edx
mov eax, dword ds:[ecx + 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x4c]
movzx ebp, byte [eax + ecx*2 + 0x5f9800]
lea eax, [ebp - 1]
cmp eax, 0x10
ja case.0x581321.12
movzx eax, byte [eax + 0x581750]
jmp dword [eax*4 + 0x58172c]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [ecx + 0xc]
cmp eax, dword [esp + 0x50]
sete dl
xor edx, dword [esp + 0x24]
jmp 0x5810d8
xor edx, edx
cmp edi, esi
setne dl
mov ecx, dword [esp + 0x10]
nop dword [eax + eax]
test edx, edx
je case.0x581321.12
jmp 0x5812d2
cmp esi, 0x10
jne case.0x581321.12
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 0xc]
shl ecx, 4
sub ecx, dword [edx + 0xc]
movzx eax, byte [eax + ecx*2 + 0x5f95b0]
cmp eax, dword [esp + 0x24]
jne case.0x581321.12
mov ecx, edx
jmp 0x5812d2
cmp edi, 0x10
jne case.0x581321.12
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
shl ecx, 4
sub ecx, dword [esp + 0x50]
mov eax, dword [edx + 0xc]
jmp 0x581107
cmp esi, 0x10
jne case.0x581321.12
movzx eax, byte [ebp*4 + 0x5f966c]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
je 0x581185
movzx eax, byte [ebp*4 + 0x5f966d]
cmp ecx, eax
je 0x581185
movzx eax, byte [ebp*4 + 0x5f966e]
cmp ecx, eax
jne 0x581177
cmp edi, esi
je 0x581185
mov eax, 1
cmp dword [esp + 0x2c], eax
jmp 0x5812c8
xor eax, eax
cmp dword [esp + 0x2c], eax
jmp 0x5812c8
cmp edi, 0x10
jne case.0x581321.12
mov edx, dword [esp + 0x10]
movzx eax, byte [ebp*4 + 0x5f9660]
mov ecx, dword [edx + 0xc]
cmp ecx, eax
je 0x5811d6
movzx eax, byte [ebp*4 + 0x5f9661]
cmp ecx, eax
je 0x5811d6
movzx eax, byte [ebp*4 + 0x5f9662]
cmp ecx, eax
jne 0x5811c8
cmp esi, edi
je 0x5811d6
mov eax, 1
cmp dword [esp + 0x30], eax
jmp 0x581113
xor eax, eax
cmp dword [esp + 0x30], eax
jmp 0x581113
cmp esi, 0x10
jne case.0x581321.12
lfence
movzx eax, byte [ebp*4 + 0x5f9654]
mov edx, dword [esp + 0x50]
mov ecx, eax
shl ecx, 4
sub ecx, eax
cmp byte [edx + ecx*2 + 0x5f95b0], 0
je 0x581185
lfence
movzx ecx, byte [ebp*4 + 0x5f9655]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp byte [edx + eax*2 + 0x5f95b0], 0
je 0x581185
movzx eax, byte [ebp*4 + 0x5f9657]
nop word [eax + eax]
cmp edx, eax
jne 0x581177
cmp edi, esi
je 0x581185
mov eax, 1
cmp dword [esp + 0x2c], eax
jmp 0x5812c8
nop
cmp edi, 0x10
jne case.0x581321.12
mov edx, dword [esp + 0x10]
lfence
movzx eax, byte [ebp*4 + 0x5f9648]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [edx + 0xc]
cmp byte [eax + ecx*2 + 0x5f95b0], 0
je 0x5812c2
lfence
movzx ecx, byte [ebp*4 + 0x5f9649]
mov edx, dword [edx + 0xc]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp byte [edx + eax*2 + 0x5f95b0], 0
je 0x5812c2
movzx eax, byte [ebp*4 + 0x5f964b]
cmp edx, eax
jne 0x5812bb
cmp esi, edi
je 0x5812c2
mov eax, 1
jmp 0x5812c4
xor eax, eax
cmp dword [esp + 0x30], eax
jne case.0x581321.12
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp dword ds:[esp + 0x48], 0
je 0x581485
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a50
mov eax, dword [esp + 0x4c]
mov edx, ebx
jmp 0x581308
mov eax, dword [ecx + 8]
mov edi, esi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x44]
add eax, eax
add edi, 0xfffffffa
sub edx, eax
xor ebp, ebp
cmp edi, 0x6a
ja case.0x581321.12
movzx eax, byte [edi + 0x581788]
jmp dword [eax*4 + 0x581764]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x44]
cmp ecx, eax
mov eax, dword [ecx + 8]
cmove esi, ebx
add eax, eax
sub esi, eax
lea edi, [edx + 0x20]
nop
mov al, byte [edx]
lea esi, [esi + 1]
and al, byte [esi - 1]
inc edx
test al, al
jne case.0x581321.12
cmp edx, edi
jb 0x581340
cmp dword ds:[esp + 0x48], 0
je 0x581485
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a50
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x44]
cmp ecx, eax
mov eax, dword [ecx + 8]
cmove esi, ebx
add eax, eax
sub esi, eax
movzx eax, word [esi + 2]
test al, 4
jne case.0x581321.12
test al, 2
jne 0x5813bf
nop
cmp dword [esp + 0x48], ebp
je 0x58146b
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a50
add esi, 4
jmp 0x58133c
mov ebp, 1
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
add esi, 0x40
jmp 0x5813f8
mov ebp, 1
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
jmp 0x5813f8
mov ebp, 1
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
add esi, 0xa0
lea edi, ds:[edx + 0x20]
test ebp, ebp
je 0x581340
sub esi, edx
nop word [eax + eax]
movzx ecx, byte ds:[esi + edx]
mov al, byte [edx]
not ecx
inc edx
test al, cl
jne case.0x581321.12
cmp edx, edi
jb 0x581410
jmp 0x581355
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00583f7f
add esp, 0x58
ret 0x14
pop edi
xor eax, eax
cmp dword [ecx + 4], eax
pop esi
pop ebp
setne al
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00583f7f
add esp, 0x58
ret 0x14
pop edi
pop esi
not eax
pop ebp
and eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00583f7f
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x64]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x58
ret 0x14