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

Disassembly:
push 0xffffffffffffffff
push 0x5e3964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], al
call fcn.00401850
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 1
mov dword [esp + 0x14], ebx
xor esi, esi
call fcn.00558520
test ax, ax
jle 0x5a5ee9
mov ecx, dword [ebp + 0x14]
push esi
mov eax, dword [ecx + 0xcc]
lea ecx, [esp + 0xbc]
cmp eax, ebx
je 0x5a5e9b
call fcn.00558380
and eax, 0xff
lea edx, [esp + 0x4c]
push eax
push str._02x
push edx
jmp 0x5a5eb0
call fcn.00558380
and eax, 0xff
push eax
lea eax, [esp + 0x50]
push 0x609488
push eax
call fcn.005bcf3d
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
call fcn.00502fe0
lea ecx, [esp + 0xb8]
inc esi
call fcn.00558520
movsx edx, ax
cmp esi, edx
jl 0x5a5e6f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x5a5ef6
mov eax, 0x5e514c
push 0x10
push ebx
push eax
call fcn.005be1df
add esp, 0xc
lea eax, [esp + 0x53]
lea ecx, [esp + 0x52]
push eax
push ebx
push ecx
lea ecx, [esp + 0x48]
call fcn.005a6b80
mov eax, dword [ebp + 4]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0xb0], 2
jbe 0x5a60c6
xor ebx, ebx
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x58]
mov eax, dword [ebx + edx]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00597de0
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xbc], 3
mov byte [esp + 0x1f], 0x2a
call fcn.00556aa0
cmp eax, dword [0x5e5150]
je 0x5a6010
lea eax, [esp + 0x58]
lea ecx, [esp + 0x80]
push eax
call fcn.00411fd0
mov dword [esp + 0x90], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 4
push ecx
lea ecx, [esp + 0x98]
call fcn.00411fd0
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa4], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 5
call fcn.005a6bc0
lea edx, [esp + 0x7c]
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.005adfc0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xb4], 4
call fcn.00401850
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 3
call fcn.00401850
jmp 0x5a60a2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0056bf40
test eax, eax
je 0x5a6125
push str.0000
lea ecx, [esp + 0x5c]
call fcn.0055f9c0
test eax, eax
jne 0x5a6062
mov edi, 0x60af04
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
push ecx
push 0x60af04
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.005030a0
test eax, eax
je 0x5a6125
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
cmp eax, edx
ja 0x5a6070
mov edx, eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x5a607d
mov ecx, 0x5e514c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5a608a
mov eax, 0x5e514c
push edx
push ecx
push eax
mov ecx, ebp
call fcn.005a5d80
cmp eax, dword [esp + 0x28]
jbe 0x5a60a2
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 2
call fcn.00401850
mov eax, dword [ebp + 4]
inc esi
add ebx, 0x24
cmp esi, eax
jb 0x5a5f2d
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x54], ecx
je 0x5a6197
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x20]
cmp edx, eax
jbe 0x5a60e5
mov edx, eax
mov eax, dword [ecx + 0x10]
mov ecx, 0x5e514c
cmp eax, ebx
je 0x5a60f3
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x5a6100
mov eax, 0x5e514c
push edx
push ecx
push eax
mov ecx, ebp
call fcn.005a5dc0
test eax, eax
jne 0x5a6164
lea ecx, [esp + 0x54]
call fcn.005a7640
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jne 0x5a60d8
jmp 0x5a6197
push 1
lea ecx, [esp + 0x5c]
mov dword [ebp + 0x18], esi
mov byte [esp + 0xb4], 2
call fcn.00401850
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 1
call fcn.005a6ad0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 0
call fcn.00401850
jmp 0x5a6778
mov eax, dword [esp + 0x54]
mov byte [esp + 0xb0], 1
mov ecx, dword [eax + 0x1c]
mov dword [ebp + 0x18], ecx
lea ecx, [esp + 0x3c]
call fcn.005a6ad0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 0
call fcn.00401850
jmp 0x5a6778
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5a61a4
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x5a64a2
mov ecx, dword [eax + 0x2018]
test ecx, ecx
jne 0x5a64a2
lea eax, [esp + 0x2c]
push 0xc
push eax
mov ecx, 0x626e68
call fcn.0056aec0
mov edi, 0x6119bc
or ecx, 0xffffffff
xor eax, eax
mov bl, 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xb0], bl
push ecx
push 0x6119bc
lea ecx, [esp + 0x34]
call fcn.00502fe0
mov ecx, dword [0x5e5150]
lea edx, [esp + 0x18]
push ecx
push 0
push edx
lea ecx, [esp + 0x38]
call fcn.00510800
mov edi, 0x6119bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6119bc
lea ecx, [esp + 0x34]
call fcn.00502fe0
lea eax, [esp + 0x58]
push 0xd
push eax
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x5e5150]
mov byte [esp + 0xb0], 7
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00510800
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], bl
call fcn.00401850
push 0
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x2c], esp
push 0xf
push edx
call fcn.0056aec0
sub esp, 0x10
lea eax, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x50], esp
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 8
call fcn.0044c990
push eax
mov ecx, esi
call fcn.00404ee0
mov ecx, 0x619a58
mov byte [esp + 0xd8], bl
call fcn.00543a40
lea ecx, [esp + 0x58]
push 0xe
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x2c]
push edx
push 0
push eax
mov byte [esp + 0xbc], 9
call fcn.004120f0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], bl
call fcn.00401850
mov edi, 0x6119bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x5e5150]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x5a631d
call fcn.005bc520
test esi, esi
jbe 0x5a636a
mov ecx, dword [esp + 0x34]
push 0
lea eax, [ecx + esi]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x1c], eax
call fcn.004018c0
test al, al
je 0x5a636a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x6119bc
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004018a0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax*8]
mov eax, dword [edx + ecx*4]
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00597de0
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x2c]
push edx
push 0
push eax
mov byte [esp + 0xbc], 0xa
call fcn.00510800
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], bl
call fcn.00401850
mov edi, 0x6119bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x5e5150]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x5a63d6
call fcn.005bc520
test esi, esi
jbe 0x5a6423
mov ecx, dword [esp + 0x34]
push 0
lea eax, [ecx + esi]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x1c], eax
call fcn.004018c0
test al, al
je 0x5a6423
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x6119bc
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004018a0
push 0
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xf
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
sub esp, 0x10
lea edx, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x50], esp
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 0xb
call fcn.0044c990
push eax
mov ecx, esi
call fcn.00404ee0
mov ecx, 0x619a58
mov byte [esp + 0xd8], bl
call fcn.00543a40
mov eax, dword [esp + 0x30]
mov byte [esp + 0xb0], 2
test eax, eax
je 0x5a64a2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a6499
cmp al, 0xff
je 0x5a6499
dec al
mov byte [ecx], al
jmp 0x5a64a2
push ecx
call fcn.005bc500
add esp, 4
lea eax, [esp + 0x68]
mov ecx, ebp
push eax
call fcn.005a6a70
mov eax, dword [esp + 0x70]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xb0], 0xc
je 0x5a66be
cmp dword [ebp + 0x14], esi
je 0x5a65e6
mov dl, byte [esp + 0x68]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x5e5150]
lea edx, [esp + 0x78]
push eax
push esi
push edx
call fcn.004120f0
mov ecx, dword [ebp + 0x14]
call fcn.00572ca0
mov edi, eax
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5a6525
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a651c
cmp al, 0xff
je 0x5a651c
dec al
mov byte [ecx], al
jmp 0x5a6525
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0xb8], 1
call fcn.005a6bb0
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.005a6e20
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005bc500
mov eax, dword [0x628720]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x628720], eax
jne 0x5a6597
mov eax, dword [0x62871c]
mov dword [0x62871c], esi
cmp eax, esi
je 0x5a6597
push eax
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x5a65bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a65b3
cmp al, 0xff
je 0x5a65b3
dec al
mov byte [ecx], al
jmp 0x5a65bc
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0xb0], 0xffffffff
call fcn.005581a0
mov eax, edi
jmp 0x5a6794
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5a660b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a6602
cmp al, 0xff
je 0x5a6602
dec al
mov byte [ecx], al
jmp 0x5a660b
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 1
call fcn.005a6e20
mov eax, dword [esp + 0x40]
push eax
call fcn.005bc500
mov eax, dword [0x628720]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x628720], eax
jne 0x5a666f
mov eax, dword [0x62871c]
mov dword [0x62871c], esi
cmp eax, esi
je 0x5a666f
push eax
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x5a6694
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a668b
cmp al, 0xff
je 0x5a668b
dec al
mov byte [ecx], al
jmp 0x5a6694
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0xb0], 0xffffffff
call fcn.005581a0
xor eax, eax
jmp 0x5a6794
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5a66e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a66da
cmp al, 0xff
je 0x5a66da
dec al
mov byte [ecx], al
jmp 0x5a66e3
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 1
call fcn.005a6e20
mov edx, dword [esp + 0x40]
push edx
call fcn.005bc500
mov eax, dword [0x628720]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x628720], eax
jne 0x5a6747
mov eax, dword [0x62871c]
mov dword [0x62871c], esi
cmp eax, esi
je 0x5a6747
push eax
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x5a676c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a6763
cmp al, 0xff
je 0x5a6763
dec al
mov byte [ecx], al
jmp 0x5a676c
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005581a0
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4