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

Disassembly:
push 0xffffffffffffffff
push 0x7c7330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x9eba88]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], eax
jne 0x585c77
push 1
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00404e60
jmp 0x5861be
mov ebx, dword [esp + 0x78]
mov ebp, dword [sym.imp.kernel32.dll_lstrcmpiA]
mov esi, 0x9e60b4
mov eax, dword [esi]
test eax, eax
jne 0x585c91
mov eax, 0x7e5658
push eax
push ebx
call ebp
test eax, eax
je 0x585cd6
add esi, 0x10
inc edi
cmp esi, 0x9e60f4
jl 0x585c86
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
test ecx, ecx
je 0x5861be
mov al, byte [ecx - 1]
test al, al
je 0x5861b4
cmp al, 0xff
je 0x5861b4
dec al
mov byte [ecx - 1], al
jmp 0x5861be
cmp edi, 3
ja case.default.0x585cdf
jmp dword [edi*4 + 0x5861d4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x586160
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x586160
mov ecx, dword [0x9ea1d4]
cmp dword [ecx + 0x54c], 1
jne 0x586160
mov ecx, eax
call fcn.0053bcf0
jmp 0x586160
mov edx, dword [0x9ea1d4]
mov esi, dword [0x9ea1d0]
lea ecx, [esp + 0x78]
mov eax, dword [edx + 0x494]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esi + 0x38]
mov dword [esp + 0x80], eax
call fcn.00482da0
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x585d6c
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x310]
sub eax, 5
neg eax
sbb eax, eax
and eax, ecx
jmp 0x585d6e
xor eax, eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x586160
test eax, eax
je 0x586160
cmp dword [eax + 0x54c], 1
jne 0x586160
mov ecx, dword [ecx + 0xcc]
test ecx, ecx
je 0x586160
mov edx, dword [eax + 0x518]
push edx
call fcn.0053bd60
jmp 0x586160
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x586160
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x586160
mov ecx, dword [0x9ea1d4]
cmp dword [ecx + 0x54c], 1
jne 0x586160
mov ecx, eax
call fcn.0053d770
jmp 0x586160
mov eax, dword [0x9ea1d4]
mov ebx, 1
cmp dword [eax + 0x53c], ebx
je 0x585e8f
cmp dword [eax + 0x54c], ebx
jne 0x585e13
cmp dword [eax + 0x530], ebx
je 0x585e8f
mov ecx, dword [eax + 0x4f8]
xor esi, esi
cmp ecx, esi
je 0x585e8f
mov dl, byte [esp + 0x78]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x18], dl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
mov byte [esp + 0x60], 7
push eax
push 0x2cf0
call fcn.00709cc0
add esp, 8
lea ecx, [esp + 0x18]
push 0xffffff00
push ecx
mov ecx, dword [0x9eba88]
call fcn.006b8210
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x60], 0
cmp eax, esi
je 0x586160
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5860ed
cmp al, 0xff
je 0x5860ed
dec al
mov byte [ecx], al
jmp 0x586160
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x20]
call fcn.00404eb0
mov eax, dword [0x9ea1d4]
mov esi, dword [0x9ea1d0]
lea edx, [esp + 0x78]
mov byte [esp + 0x60], 1
mov ecx, dword [eax + 0x494]
lea eax, [esp + 0x14]
mov dword [esp + 0x78], ecx
push edx
push eax
lea ecx, [esi + 0x38]
call fcn.00482da0
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x585f8c
mov esi, dword [eax + 0x10]
test esi, esi
je 0x585f8c
mov ecx, dword [0x7e565c]
lea edx, [esi + 0x4cc]
push ecx
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.00404c60
mov eax, dword [0x9ea1d4]
mov edx, dword [esi + 0x4e4]
mov ecx, dword [eax + 0x4e4]
cmp ecx, edx
je 0x585f8c
mov ecx, dword [eax + 0x4f8]
test ecx, ecx
je 0x585f8c
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.00404e60
lea eax, [esp + 0x38]
mov byte [esp + 0x60], 2
push eax
push 0x2cee
call fcn.00709cc0
add esp, 8
lea ecx, [esp + 0x38]
push 0xffffff00
push ecx
mov ecx, dword [0x9eba88]
call fcn.006b8210
mov byte [esp + 0x60], 1
push ebx
lea ecx, [esp + 0x3c]
jmp 0x586141
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5860f8
cmp eax, 0x14
ja 0x5860f8
mov edx, dword [0x9eba88]
mov eax, dword [edx + 0x238]
test eax, eax
je 0x5860c8
mov al, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.00404e60
mov ecx, dword [0x9eba88]
mov edx, dword [0x7e565c]
push edx
lea eax, [esp + 0x1c]
mov ecx, dword [ecx + 0x238]
push 0
add ecx, 4
push eax
mov byte [esp + 0x6c], 4
call fcn.00404c60
lea ecx, [esp + 0x38]
push ecx
push 0x2d09
call fcn.00709cc0
mov dl, byte [esp + 0x80]
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
push 0
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.00401b40
test al, al
je 0x58605c
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [ecx + ebp], 0
push 0
push 0x27
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x58]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x78], bl
call fcn.00763d10
add esp, 0x18
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], bl
call fcn.00404e60
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 4
call fcn.00404e60
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x60], 1
test eax, eax
je 0x5860c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5860bf
cmp al, 0xff
je 0x5860bf
dec al
mov byte [ecx], al
jmp 0x5860c8
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x60], 0
test eax, eax
je 0x586160
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5860ed
cmp al, 0xff
je 0x5860ed
dec al
mov byte [ecx], al
jmp 0x586160
push ecx
call fcn.007a02e0
add esp, 4
jmp 0x586160
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.00404e60
lea eax, [esp + 0x38]
mov byte [esp + 0x60], 3
push eax
push 0x2cef
call fcn.00709cc0
add esp, 8
lea ecx, [esp + 0x38]
push 0xffffff00
push ecx
mov ecx, dword [0x9eba88]
call fcn.006b8210
mov byte [esp + 0x60], 1
push ebx
lea ecx, [esp + 0x3c]
call fcn.00404e60
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0
call fcn.00404e60
jmp 0x586160
cmp edi, 0xffffffff
je 0x585ca5
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
test ecx, ecx
je 0x58619f
mov al, byte [ecx - 1]
test al, al
je 0x586195
cmp al, 0xff
je 0x586195
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret