Function at 0x580a00
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.0x581341.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 0x580a7d
add ebx, 8
jmp 0x580a70
nop dword [eax]
cmp eax, 0x77
jne 0x580a8e
movzx eax, word [ebx + 6]
lea ebx, [ebx + eax*2]
jmp 0x580a70
cmp eax, 0x78
jne 0x580aa5
movzx eax, word ds:[ebx + 2]
lea ebx, [ebx + eax*2]
movzx eax, word [ebx]
cmp eax, 0x78
je 0x580a93
movzx edi, ax
cmp edi, 0x97
ja case.0x580ac0.4
movzx eax, byte [edi + 0x5814d4]
nop dword [eax + eax]
jmp dword [eax*4 + 0x5814c0]
cmp dword [ecx + 4], 0
je case.0x581341.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.0x580aec.134
movzx eax, byte [eax + 0x581580]
jmp dword [eax*4 + 0x58156c]
cmp dword [ebp + 0xb8], 0
jne case.0x581341.12
mov ecx, dword [esp + 0x10]
movzx eax, byte [edi + 0x5f7690]
lea ebx, [ebx + eax*2]
jmp 0x580a70
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, 0x1d
je 0x580b00
cmp eax, 0x1e
je 0x580b00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00583f9f
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 0x580b86
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.00580a00
test eax, eax
je case.0x581341.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 0x580b55
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], 1
jmp 0x580a70
movzx eax, word ds:[ebx + 2]
lea ecx, [ebx + 2]
cmp ax, word [esp + 0x38]
je 0x580bc0
cmp ax, word [esp + 0x3c]
je 0x580bc0
cmp ax, word [esp + 0x40]
jne case.0x581341.12
nop dword [eax]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x580bc0
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.00580a00
test eax, eax
je case.0x581341.12
movzx eax, byte [edi + 0x5f7690]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ebx, [ebx + eax*2]
jmp 0x580a70
lea eax, [esp + 0x44]
mov edx, esi
push eax
push dword [ebp + 8]
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00580620
mov ebx, eax
test ebx, ebx
je case.0x581341.12
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
cmp edi, 0x1d
jne 0x580c3c
lea edi, [ecx + 8]
lea esi, [esp + 0x44]
jmp 0x580c4f
mov esi, dword [esp + 0x44]
cmp esi, 0x1d
jne 0x581005
lea edi, [esp + 0x4c]
mov esi, ecx
mov ecx, dword [edi]
mov edx, dword [esi]
lea eax, [edx - 6]
cmp eax, 0x6a
ja case.0x581341.12
movzx eax, byte [eax + 0x5815e0]
jmp dword [eax*4 + 0x581594]
mov eax, dword [esi + 8]
lea edx, [esi + 8]
cmp ecx, eax
je case.0x581341.12
mov eax, dword [edx + 4]
add edx, 4
cmp eax, 0xffffffff
jne 0x580c73
jmp case.default.0x580eb2
mov eax, dword [esi + 8]
lea edx, [esi + 8]
cmp ecx, eax
je 0x580caa
mov eax, dword ds:[edx + 4]
add edx, 4
cmp eax, 0xffffffff
jne 0x580c91
jmp case.0x581341.12
cmp dword [edx], 0xffffffff
je case.0x581341.12
jmp case.default.0x580eb2
nop dword [eax + eax]
cmp ecx, 0x100
jae case.default.0x580eb2
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 8
jmp 0x580fd3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581341.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 8
je case.0x581341.12
jmp case.default.0x580eb2
nop
cmp ecx, 0x100
jae case.default.0x580eb2
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 1
jmp 0x580fd3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581341.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 1
je case.0x581341.12
jmp case.default.0x580eb2
nop
cmp ecx, 0xff
jae case.default.0x580eb2
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 0x10
jmp 0x580fd3
nop dword [eax + eax]
cmp ecx, 0xff
ja case.0x581341.12
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 0x10
je case.0x581341.12
jmp case.default.0x580eb2
nop
cmp ecx, 0x2000
ja 0x580ddd
je case.0x581341.12
cmp ecx, 0xa0
ja 0x580db7
je case.0x581341.12
nop dword [eax]
cmp ecx, 9
je case.0x581341.12
cmp ecx, 0x20
je case.0x581341.12
jmp case.default.0x580eb2
nop word [eax + eax]
cmp ecx, 0x1680
je case.0x581341.12
cmp ecx, 0x180e
je case.0x581341.12
jmp case.default.0x580eb2
nop dword [eax]
cmp ecx, 0x3000
ja case.default.0x580eb2
je case.0x581341.12
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.default.0x580eb2
movzx eax, byte [ecx + 0x581654]
jmp dword [eax*4 + 0x58164c]
cmp ecx, 0x2000
ja 0x580e5c
nop
je case.default.0x580eb2
cmp ecx, 0xa0
ja 0x580e45
je case.default.0x580eb2
cmp ecx, 9
je case.default.0x580eb2
cmp ecx, 0x20
jmp 0x580fd3
cmp ecx, 0x1680
je case.default.0x580eb2
cmp ecx, 0x180e
jmp 0x580fd3
nop dword [eax]
cmp ecx, 0x3000
ja case.0x581341.12
je case.default.0x580eb2
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x581341.12
movzx eax, byte [ecx + 0x5816bc]
jmp dword [eax*4 + 0x5816b4]
cmp ecx, 0x85
ja 0x580eb9
nop
je case.0x581341.12
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x580eb2
jmp dword [ecx*4 + 0x58171c]
nop dword [eax]
sub ecx, 0x2028
je case.0x581341.12
sub ecx, 1
je case.0x581341.12
jmp case.default.0x580eb2
nop word [eax + eax]
cmp ecx, 0x85
ja 0x580f07
je case.default.0x580eb2
add ecx, 0xfffffff6
cmp ecx, 3
ja case.0x581341.12
nop word [eax + eax]
jmp dword [ecx*4 + 0x58172c]
sub ecx, 0x2028
je case.default.0x580eb2
sub ecx, 1
jmp 0x580fd3
nop dword [eax + eax]
cmp ecx, 0x85
ja 0x580eb9
je case.0x581341.12
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x580eb2
nop word [eax + eax]
jmp dword [ecx*4 + 0x58173c]
xor eax, eax
cmp edx, 0xf
mov edx, dword [esi + 8]
sete al
push eax
push dword [esi + 0xc]
call fcn.005802c0
nop dword [eax + eax]
test eax, eax
je case.0x581341.12
jmp case.default.0x580eb2
cmp ecx, 0xff
ja case.0x581341.12
jmp 0x580f88
nop dword [eax + eax]
cmp ecx, 0xff
ja case.default.0x580eb2
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 0x580fd3
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.0057f380
test eax, eax
jne case.0x581341.12
mov ecx, dword ds:[edi + 4]
add edi, 4
cmp ecx, 0xffffffff
jne 0x580c51
cmp dword [esp + 0x48], 0
je 0x5814a5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a70
cmp edi, 0x6e
je 0x58131b
cmp esi, 0x6e
je 0x581313
cmp edi, 0x10
je 0x581053
nop dword [eax]
cmp edi, 0xf
je 0x581053
lea eax, [edi - 6]
cmp eax, 0x10
ja case.0x581341.12
lea eax, [esi - 6]
cmp eax, 0x14
ja case.0x581341.12
imul eax, edi, 0x15
cmp byte [eax + esi + 0x5f960c], 0
je case.0x581341.12
jmp 0x5812f6
cmp esi, 0x18
je 0x5812f6
nop dword [eax]
cmp esi, 0x10
je 0x58106e
cmp esi, 0xf
jne case.0x581341.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 0x58109f
cmp esi, edi
jne 0x58109f
lea edx, [edi - 0xf]
jmp 0x5810a1
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.0x581341.12
movzx eax, byte [eax + 0x581770]
jmp dword [eax*4 + 0x58174c]
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 0x5810f8
xor edx, edx
cmp edi, esi
setne dl
mov ecx, dword [esp + 0x10]
nop dword [eax + eax]
test edx, edx
je case.0x581341.12
jmp 0x5812f2
cmp esi, 0x10
jne case.0x581341.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.0x581341.12
mov ecx, edx
jmp 0x5812f2
cmp edi, 0x10
jne case.0x581341.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 0x581127
cmp esi, 0x10
jne case.0x581341.12
movzx eax, byte [ebp*4 + 0x5f966c]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
je 0x5811a5
movzx eax, byte [ebp*4 + 0x5f966d]
cmp ecx, eax
je 0x5811a5
movzx eax, byte [ebp*4 + 0x5f966e]
cmp ecx, eax
jne 0x581197
cmp edi, esi
je 0x5811a5
mov eax, 1
cmp dword [esp + 0x2c], eax
jmp 0x5812e8
xor eax, eax
cmp dword [esp + 0x2c], eax
jmp 0x5812e8
cmp edi, 0x10
jne case.0x581341.12
mov edx, dword [esp + 0x10]
movzx eax, byte [ebp*4 + 0x5f9660]
mov ecx, dword [edx + 0xc]
cmp ecx, eax
je 0x5811f6
movzx eax, byte [ebp*4 + 0x5f9661]
cmp ecx, eax
je 0x5811f6
movzx eax, byte [ebp*4 + 0x5f9662]
cmp ecx, eax
jne 0x5811e8
cmp esi, edi
je 0x5811f6
mov eax, 1
cmp dword [esp + 0x30], eax
jmp 0x581133
xor eax, eax
cmp dword [esp + 0x30], eax
jmp 0x581133
cmp esi, 0x10
jne case.0x581341.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 0x5811a5
lfence
movzx ecx, byte [ebp*4 + 0x5f9655]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp byte [edx + eax*2 + 0x5f95b0], 0
je 0x5811a5
movzx eax, byte [ebp*4 + 0x5f9657]
nop word [eax + eax]
cmp edx, eax
jne 0x581197
cmp edi, esi
je 0x5811a5
mov eax, 1
cmp dword [esp + 0x2c], eax
jmp 0x5812e8
nop
cmp edi, 0x10
jne case.0x581341.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 0x5812e2
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 0x5812e2
movzx eax, byte [ebp*4 + 0x5f964b]
cmp edx, eax
jne 0x5812db
cmp esi, edi
je 0x5812e2
mov eax, 1
jmp 0x5812e4
xor eax, eax
cmp dword [esp + 0x30], eax
jne case.0x581341.12
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp dword ds:[esp + 0x48], 0
je 0x5814a5
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a70
mov eax, dword [esp + 0x4c]
mov edx, ebx
jmp 0x581328
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.0x581341.12
movzx eax, byte [edi + 0x5817a8]
jmp dword [eax*4 + 0x581784]
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.0x581341.12
cmp edx, edi
jb 0x581360
cmp dword ds:[esp + 0x48], 0
je 0x5814a5
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a70
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.0x581341.12
test al, 2
jne 0x5813df
nop
cmp dword [esp + 0x48], ebp
je 0x58148b
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x580a70
add esi, 4
jmp 0x58135c
mov ebp, 1
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
add esi, 0x40
jmp 0x581418
mov ebp, 1
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
jmp 0x581418
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 0x581360
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.0x581341.12
cmp edx, edi
jb 0x581430
jmp 0x581375
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.00583f9f
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.00583f9f
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.00583f9f
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.00583f9f
add esp, 0x58
ret 0x14