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

Disassembly:
pop eax
mov dword [esp + 0x5c], ecx
mov esi, edx
xor ecx, ecx
mov edx, 0x400
mov dword [esp + 0x64], eax
movzx eax, byte [0x94bfc5]
call fcn.0071ee80
test eax, eax
je 0x5a106c
mov dword [esp + 0x44], 0x400
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
xor ecx, ecx
mov edx, 0x50
movzx eax, byte [0x94bfc5]
call fcn.0071ee80
test eax, eax
je 0x5a107b
mov ebp, eax
mov eax, dword [esp + 0xc0]
mov ecx, 0x80000000
mov dword [esp + 0x50], 0x50
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x80], eax
mov eax, ecx
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], ebp
nop dword [eax]
xor ebp, ebp
mov dword [esp + 0x58], 0
mov dword [esp + 8], 0
jmp 0x5a0382
push esi
lea eax, [esp + 0x14]
push eax
call dword [esp + 0x88]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x5a03ed
movzx eax, byte [esp + 0x14]
movzx ecx, al
mov edx, dword [ecx*4 + 0x5a1140]
lea ecx, [esp + 0x15]
add edx, dword [esp + 0x64]
jmp edx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x5a0413
xor eax, eax
nop
movzx ecx, byte [edi + eax]
cmp ecx, 0xa
je 0x5a0442
cmp ecx, 0xd
je 0x5a0442
inc eax
cmp ebx, eax
jne 0x5a0400
mov eax, dword [esp + 0x50]
sub eax, edx
cmp eax, ebx
jb 0x5a04ad
mov eax, dword [esp + 0xc]
add eax, edx
push ebx
push edi
push eax
mov edi, edx
call fcn.007bd9b0
mov eax, edi
add esp, 0xc
add eax, ebx
mov dword [esp + 0x30], 0
jmp 0x5a0483
cmp eax, 0xffffffff
je 0x5a1036
lea esi, [eax + 1]
cmp eax, ebx
jae 0x5a1040
mov ecx, dword [esp + 0x50]
sub ecx, edx
cmp ecx, eax
jbe 0x5a04cb
mov eax, dword [esp + 0xc]
add eax, edx
push esi
push edi
push eax
mov edi, edx
call fcn.007bd9b0
mov eax, edi
add esp, 0xc
add eax, esi
mov ebx, esi
mov esi, dword [esp + 0x38]
mov cl, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x58], eax
push ebx
push esi
mov eax, dword [esp + 0xc8]
call dword [eax + 0x30]
add esp, 8
add ebp, ebx
cmp byte [esp + 0x30], 0
jne 0x5a0500
test ebx, ebx
jne 0x5a0382
jmp 0x5a0500
lea ecx, [esp + 0x50]
push ebx
call fcn.007c16b0
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
jmp 0x5a0421
lea ecx, [esp + 0x50]
push esi
call fcn.007c16b0
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
jmp 0x5a0460
test ebp, ebp
mov ebp, dword [esp + 0xc]
je 0x5a0d25
test ebp, ebp
je 0x5a0d25
mov edi, dword [esp + 8]
cmp edi, 0xb
jb 0x5a0539
push 0xb
push ebp
push str._____BEGIN
call fcn.007be090
mov edi, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x5a0af2
cmp dword [esp + 0x2c], 0x80000000
je 0x5a0610
cmp dword [esp + 0x60], edi
ja 0x5a056a
push dword [esp + 0x60]
push ebp
push dword [esp + 0x30]
call fcn.007be090
mov edi, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x5a061a
test edi, edi
mov eax, ebp
je 0x5a0594
lea eax, [ebp + edi]
mov ebx, ebp
mov edx, 0x80001b
nop dword [eax + eax]
movzx ecx, byte [ebx]
add ecx, 0xfffffff7
cmp ecx, 0x17
ja 0x5a05bc
bt edx, ecx
jae 0x5a05bc
inc ebx
dec edi
jne 0x5a0580
mov esi, dword [esp + 0x4c]
xor edi, edi
mov ebx, eax
mov eax, dword [esp + 0x48]
add eax, esi
push edi
push ebx
push eax
call fcn.007bd9b0
add esp, 0xc
add esi, edi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x38]
jmp 0x5a0340
mov eax, dword [esp + 8]
lea eax, [ebp + eax - 1]
nop word cs:[eax + eax]
nop
movzx ecx, byte [eax]
add ecx, 0xfffffff7
cmp ecx, 0x17
ja 0x5a05ea
bt edx, ecx
jae 0x5a05ea
dec edi
dec eax
test edi, edi
jne 0x5a05d0
mov eax, ebx
jmp 0x5a0594
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
sub eax, esi
cmp eax, edi
jae 0x5a059c
lea ecx, [esp + 0x44]
mov edx, esi
push edi
call fcn.007c16b0
add esp, 4
mov esi, dword [esp + 0x4c]
jmp 0x5a059c
mov eax, 0x80000000
jmp 0x5a0335
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
xor ecx, ecx
mov eax, edi
mov ebp, edi
shr eax, 2
and ebp, 3
setne cl
add ecx, eax
lea ebx, [ecx + ecx*2]
mov dword [esp + 8], ecx
je 0x5a0659
test ebx, ebx
js 0x5a1095
mov ecx, 8
mov edx, ebx
call fcn.0071ee80
test eax, eax
jne 0x5a065e
jmp 0x5a10c3
mov eax, 1
lea ecx, [esp + 0x70]
mov edx, 0x8a5edb
push ebp
mov dword [esp + 0x88], ebx
push ebx
mov dword [esp + 0x38], eax
push eax
push edi
push esi
call fcn.0041f260
add esp, 0x14
cmp dword [esp + 0x70], 2
mov esi, dword [esp + 0x78]
je 0x5a0f88
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0xc]
add eax, 0xfffffff8
cmp eax, 0xb
ja 0x5a0a88
mov eax, dword [eax*4 + 0x5a11e0]
add eax, dword [esp + 0x64]
jmp eax
cmp dword [esp + 0x2c], 0
je 0x5a0aa4
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
test ecx, ecx
je 0x5a0abe
push dword [esp + 0x28]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 8], 0
mov eax, 0x80000000
mov dword [esp + 0x4c], 0
je 0x5a0335
push dword [esp + 0x30]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0x80000000
jmp 0x5a0335
lea ecx, [ebp + edi]
xor eax, eax
mov dword [esp + 4], edi
dec ecx
nop dword [eax]
movzx edx, byte [ecx]
add edx, 0xfffffff6
cmp edx, 0x23
ja 0x5a0b2f
mov edx, dword [edx*4 + 0x5a1150]
add edx, dword [esp + 0x64]
jmp edx
cmp eax, 5
jne 0x5a0ec8
mov esi, dword [esp + 4]
mov edx, dword [esp + 8]
cmp esi, 0xb
jb 0x5a109a
cmp esi, edx
ja 0x5a10ab
add esi, 3
je 0x5a0ca0
js 0x5a1095
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, esi
call fcn.0071ee80
test eax, eax
je 0x5a10b7
mov ecx, dword [esp + 4]
xor ebx, ebx
mov edi, eax
cmp esi, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
jbe 0x5a0cb8
mov byte [edi + ebx + 8], 0x20
mov dword [edi + ebx + 4], 0x444e452d
mov dword [edi + ebx], 0x2d2d2d2d
add ebx, 9
mov eax, esi
add ecx, 0xfffffff5
sub eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 4], ecx
cmp eax, ecx
jb 0x5a0cdd
lea edx, [ebp + 0xb]
lea eax, [edi + ebx]
push ecx
mov dword [esp + 0xc], edx
push edx
push eax
call fcn.007bd9b0
mov edx, dword [esp + 0x10]
add esp, 0xc
add ebx, edx
sub esi, ebx
mov dword [esp + 0x18], ebx
cmp esi, 4
jbe 0x5a0d04
mov byte [edi + ebx + 4], 0x2d
mov dword [edi + ebx], 0x2d2d2d2d
add ebx, 5
test edx, edx
mov dword [esp + 0x18], ebx
je 0x5a0c2f
js 0x5a1095
movzx eax, byte [0x94bfc5]
mov edi, dword [esp + 4]
xor ecx, ecx
mov edx, edi
call fcn.0071ee80
mov edx, edi
mov edi, eax
test eax, eax
jne 0x5a0c34
jmp 0x5a10d9
mov edi, 1
push edx
push dword [esp + 0xc]
push edi
call fcn.007bd9b0
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
cmp eax, 0x80000000
je 0x5a0c7f
test eax, eax
je 0x5a0c66
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x34], 0
je 0x5a0c7f
push dword [esp + 0x28]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edx
jmp 0x5a032c
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
xor edx, edx
push 9
call fcn.007c16b0
mov ecx, dword [esp + 8]
add esp, 4
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x5a0b99
lea ecx, [esp + 0x10]
mov edx, ebx
push dword [esp + 4]
call fcn.007c16b0
mov ecx, dword [esp + 8]
add esp, 4
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x5a0bc7
mov edx, ebx
lea ecx, [esp + 0x10]
push 5
call fcn.007c16b0
mov edx, dword [esp + 8]
add esp, 4
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x5a0bf1
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
je 0x5a0ea7
test eax, eax
je 0x5a0d49
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x70]
mov ecx, esi
push dword [esp + 0x60]
call fcn.00419020
add esp, 4
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], 0x8a5ea0
mov dword [esp + 0x14], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0x418d10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
call fcn.00419280
test dword [esp + 0x70], 0x7fffffff
je 0x5a0dbf
push dword [esp + 0x74]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x94]
call fcn.005a1210
cmp dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0x80000000
je 0x5a0df0
push dword [esp + 0x28]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov dword [edx], 7
cmp dword [esp + 0x50], 0
jne 0x5a0e3b
jmp 0x5a0e4a
push ebp
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
je 0x5a0e83
test eax, eax
je 0x5a0e6a
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x34], 0
je 0x5a0e83
push dword [esp + 0x28]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x44], 0
je 0x5a0e9c
push dword [esp + 0x48]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 6
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
cmp dword [esp + 0x50], 0
jne 0x5a0e3b
jmp 0x5a0e4a
mov ebx, dword [esp + 8]
test ebx, ebx
js 0x5a1095
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, ebx
call fcn.0071ee80
test eax, eax
je 0x5a10c3
mov esi, eax
push ebx
push ebp
push eax
call fcn.007bd9b0
add esp, 0xc
lea edi, [esp + 0x70]
mov edx, esi
mov ecx, edi
push ebx
call fcn.00419020
add esp, 4
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], 0x8a5ec8
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0x418d10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
call fcn.00419280
test dword [esp + 0x70], 0x7fffffff
je 0x5a0f6a
push dword [esp + 0x74]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 0x68]
lea edx, [esp + 0xa0]
call fcn.005a1210
test ebx, ebx
je 0x5a0df0
push esi
jmp 0x5a0de2
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xc]
cmp bl, 4
je 0x5a10ed
cmp dword [esp + 8], 0
mov eax, dword [esp + 0x30]
je 0x5a0fb3
push eax
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x68]
mov dword [esp + 0x10], 0x93d18c
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
lea edx, [esp + 0x10]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x5a0150
mov dword [esp + 0x1c], 1
call fcn.00419280
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
lea ecx, [esp + 0x68]
lea edx, [esp + 0x88]
call fcn.005a1210
jmp 0x5a0df0
mov ecx, 0x8a6030
call fcn.007c21b0
mov ecx, esi
mov edx, ebx
push 0x8a6030
call fcn.007c1c40
mov eax, 4
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
cmp edi, esi
cmovb esi, edi
jmp 0x5a0eac
mov ecx, 1
mov edx, 0x400
call fcn.007c1490
mov ecx, 1
mov edx, 0x50
call fcn.007c1490
mov eax, 2
jmp 0x5a1053
call fcn.00418cb0
mov ecx, 0xb
mov edx, esi
push 0x8a6020
call fcn.007c1e60
mov ecx, esi
push 0x8a6020
call fcn.007c1c40
mov ecx, 1
mov edx, esi
call fcn.007c1490
mov ecx, 1
mov edx, ebx
call fcn.007c1490
mov eax, 3
jmp 0x5a1053
mov ecx, 1
call fcn.007c1490
mov eax, 1
jmp 0x5a1053
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
mov edx, 0x8b15bc
mov dword [esp + 0x3c], 0x8b1548
mov dword [esp + 0x10], 0x93c354
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0x41c480
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
call fcn.007c1b50
mov eax, 5
jmp 0x5a1053