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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x655f55
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x22bc
call fcn.0063fe40
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x22b8], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x22d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ecx, [esp + 0x184]
push ecx
push str..map
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x5aaaca
push eax
call dword [sym.imp.kernel32.dll_FindClose]
call fcn.005c86a0
mov dword [esp + 0x38], eax
mov byte [eax + 0x31], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x22d8], ebx
call fcn.005c8b00
mov dword [esp + 0x2c], eax
mov byte [eax + 0x35], 1
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov dword [esp + 0x30], ebx
push 1
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x22e4], 1
call fcn.0055d670
cmp dword [esp + 0xdc], ebx
jne 0x5aa058
lea ecx, [esp + 0xe0]
mov byte [esp + 0x22d8], 1
call fcn.0055d750
lea ecx, [esp + 0xe0]
push ecx
mov dword [esp + 0xe4], vtable.std::ios_base.0
call fcn.00612eb6
add esp, 4
lea eax, [esp + 0x28]
mov byte [esp + 0x22d8], bl
call fcn.005aab30
lea eax, [esp + 0x34]
mov dword [esp + 0x22d8], 0xffffffff
call fcn.005aaaf0
jmp 0x5aaaca
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
mov byte [esp + 0x22d8], 3
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 4]
mov ecx, dword [esp + edx + 0x8c]
add eax, 4
test cl, 1
jne 0x5aa5bb
jmp 0x5aa0a0
mov ecx, dword [eax]
push 0xa
lea ecx, [esp + ecx + 0x88]
call fcn.00565470
lea ecx, [esp + 0x84]
push eax
lea eax, [esp + 0x2c8]
push eax
push ecx
call fcn.005c4390
lea eax, [esp + 0x2c4]
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x5aa0f0
sub eax, edx
push eax
lea edx, [esp + 0x2c8]
push edx
lea ecx, [esp + 0x11c]
call fcn.00405590
mov byte [esp + 0x22d8], 4
mov eax, dword [esp + 0x128]
cmp eax, 0x16
jbe 0x5aa2b4
cmp eax, 5
jae 0x5aa132
call fcn.0062472f
cmp dword [esp + 0x12c], 0x10
mov eax, dword [esp + 0x118]
jae 0x5aa14a
lea eax, [esp + 0x118]
cmp byte [eax + 5], 0x3a
jne 0x5aa2b4
push 4
mov ecx, 1
lea esi, [esp + 0x150]
lea edx, [esp + 0x118]
call fcn.00446c30
push 8
mov ecx, 6
lea esi, [esp + 0x134]
lea edx, [esp + 0x118]
mov byte [esp + 0x22dc], 5
call fcn.00446c30
lea ebx, [esp + 0x40]
lea edi, [esp + 0x14c]
mov byte [esp + 0x22d8], 6
call fcn.005a9e90
test al, al
je 0x5aa259
lea ebx, [esp + 0x20]
mov edi, esi
call fcn.005a9e90
test al, al
je 0x5aa259
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x11c]
push ecx
mov eax, 0x15
mov byte [esp + 0x20], 0x20
call fcn.005474b0
push 0x14
lea ecx, [esp + 0x118]
mov esi, eax
call fcn.0055be00
cmp byte [eax], 0x20
jne 0x5aa259
test esi, esi
jl 0x5aa259
add esi, 0xffffffeb
push esi
mov ecx, 0x15
lea esi, [esp + 0x60]
lea edx, [esp + 0x118]
call fcn.00446c30
mov esi, eax
mov byte [esp + 0x22d8], 7
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.005c2c90
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00405660
lea ecx, [esp + 0x5c]
call fcn.00405480
mov esi, 0x10
cmp dword [esp + 0x148], esi
jb 0x5aa277
mov edx, dword [esp + 0x134]
push edx
call fcn.0062414c
add esp, 4
xor eax, eax
cmp dword [esp + 0x164], esi
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], eax
mov byte [esp + 0x134], al
jb 0x5aa57c
mov eax, dword [esp + 0x150]
push eax
call fcn.0062414c
add esp, 4
jmp 0x5aa57c
push 0xc
xor ecx, ecx
lea esi, [esp + 0x150]
lea edx, [esp + 0x118]
call fcn.00446c30
cmp dword [eax + 0x18], 0x10
jb 0x5aa2d6
mov eax, dword [eax + 4]
jmp 0x5aa2d9
add eax, 4
xor edx, edx
mov edi, str.Line_numbers
mov esi, eax
mov ecx, 0xd
repe cmpsb byte [esi], byte es:[edi]
sete byte [esp + 0x14]
cmp dword [esp + 0x164], 0x10
jb 0x5aa308
mov eax, dword [esp + 0x150]
push eax
call fcn.0062414c
add esp, 4
cmp byte [esp + 0x14], bl
je 0x5aa3a8
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x118]
mov byte [esp + 0x18], 0x29
call fcn.0045f240
mov esi, eax
cmp esi, 0xffffffff
jne 0x5aa336
mov esi, dword [esp + 0x128]
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x11c]
push eax
xor eax, eax
mov byte [esp + 0x20], 0x28
call fcn.005474b0
sub esi, eax
sub esi, 1
push esi
lea ecx, [eax + 1]
lea esi, [esp + 0x150]
lea edx, [esp + 0x118]
call fcn.00446c30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x22e4], 8
call fcn.00405660
cmp dword [esp + 0x164], 0x10
jb 0x5aa57e
mov ecx, dword [esp + 0x150]
push ecx
call fcn.0062414c
add esp, 4
jmp 0x5aa57e
cmp dword [esp + 0x17c], ebx
jbe 0x5aa57e
cmp dword [esp + 0x128], 0x50
jne 0x5aa57e
mov edi, 0xc
mov dword [esp + 0x18], edi
jmp 0x5aa3d4
mov edi, dword [esp + 0x18]
push 6
lea ecx, [edi - 0xc]
lea esi, [esp + 0x60]
lea edx, [esp + 0x118]
mov ebx, 0x10
call fcn.00446c30
cmp dword [eax + 0x18], ebx
jb 0x5aa3f8
mov eax, dword [eax + 4]
jmp 0x5aa3fb
add eax, 4
push eax
call fcn.006281bf
add esp, 4
cmp dword [esp + 0x74], ebx
mov dword [esp + 0x1c], eax
jb 0x5aa41b
mov edx, dword [esp + 0x60]
push edx
call fcn.0062414c
add esp, 4
push 4
lea ecx, [edi - 5]
lea esi, [esp + 0x150]
lea edx, [esp + 0x118]
call fcn.00446c30
push 8
mov ecx, edi
lea esi, [esp + 0x134]
lea edx, [esp + 0x118]
mov byte [esp + 0x22dc], 9
call fcn.00446c30
lea ebx, [esp + 0x44]
lea edi, [esp + 0x14c]
mov byte [esp + 0x22d8], 0xa
call fcn.005a9e90
test al, al
je 0x5aa50e
lea ebx, [esp + 0x4c]
mov edi, esi
call fcn.005a9e90
test al, al
je 0x5aa50e
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00405660
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov byte [esp + 0x22d8], 0xb
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.005c2dd0
push 0xffffffffffffffff
mov esi, eax
push ebx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.00405660
mov eax, dword [esp + 0x78]
mov dword [esi + 0x1c], eax
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x5aa515
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0062414c
add esp, 4
jmp 0x5aa515
xor ebx, ebx
mov esi, 0x10
cmp dword [esp + 0x148], esi
jb 0x5aa52e
mov edx, dword [esp + 0x134]
push edx
call fcn.0062414c
add esp, 4
mov byte [esp + 0x22d8], 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
jb 0x5aa568
mov eax, dword [esp + 0x150]
push eax
call fcn.0062414c
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0x14
cmp eax, 0x5c
mov dword [esp + 0x18], eax
jl 0x5aa3d0
xor ebx, ebx
mov byte [esp + 0x22d8], 3
cmp dword [esp + 0x12c], 0x10
jb 0x5aa5a0
mov ecx, dword [esp + 0x118]
push ecx
call fcn.0062414c
add esp, 4
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 4]
add eax, 4
test byte [esp + edx + 0x8c], 1
je 0x5aa0a0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
cmp eax, ebx
jle 0x5aa9fc
mov ecx, dword [esp + 0x24]
add ecx, 4
mov edi, 0xfffffffc
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], edi
mov edi, edi
lea esi, [edi + 4]
cmp eax, esi
ja 0x5aa5ec
call fcn.006129dc
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x18], 0x10
mov eax, dword [esp + 0x40]
jb 0x5aa5fc
mov eax, dword [eax]
cmp byte [esi + eax], 0x3a
jne 0x5aa9e3
push 4
mov ecx, edi
lea esi, [esp + 0x150]
mov ebx, edx
call fcn.00446c30
push 8
lea ecx, [edi + 5]
lea esi, [esp + 0x134]
mov edx, ebx
mov byte [esp + 0x22dc], 0xc
call fcn.00446c30
lea ebx, [esp + 0x20]
lea edi, [esp + 0x14c]
mov byte [esp + 0x22d8], 0xd
call fcn.005a9e90
test al, al
je 0x5aa980
lea ebx, [esp + 0x1c]
mov edi, esi
call fcn.005a9e90
test al, al
je 0x5aa980
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
cmp byte [eax + 0x31], 0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, edx
jne 0x5aa69d
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
ja 0x5aa68e
jb 0x5aa693
cmp dword [eax + 0x10], ebx
jae 0x5aa693
mov eax, dword [eax + 8]
jmp 0x5aa697
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x5aa680
cmp esi, edx
lea edi, [esp + 0x34]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
je 0x5aa6cb
cmp esi, dword [edx]
je 0x5aa6cb
cmp dword [esi + 0x10], ebx
je 0x5aa6cb
lea esi, [esp + 0x4c]
call fcn.005c6e10
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
test edi, edi
mov ebx, edx
je 0x5aa6d9
lea ecx, [esp + 0x34]
cmp edi, ecx
je 0x5aa6de
call fcn.0062472f
cmp esi, ebx
je 0x5aa980
test edi, edi
jne 0x5aa6ef
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x5aa6f9
call fcn.0062472f
mov edx, dword [esp + 0x20]
cmp dword [esi + 0xc], edx
jne 0x5aa980
cmp esi, dword [edi + 4]
jne 0x5aa710
call fcn.0062472f
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esi + 0x10]
cmp ebx, 0xffffffff
je 0x5aa980
cmp esi, dword [edi + 4]
jne 0x5aa72a
call fcn.0062472f
cmp dword [esi + 0x2c], 0x10
lea edi, [esi + 0x18]
jb 0x5aa737
mov eax, dword [edi]
jmp 0x5aa739
mov eax, edi
push 0x388
push 0x1000
lea ecx, [esp + 0x2cc]
push ecx
push eax
call dword [0x6ba0c0]
test eax, eax
jne 0x5aa77e
cmp dword [esi + 0x2c], 0x10
jb 0x5aa760
mov ecx, dword [edi]
jmp 0x5aa762
mov ecx, edi
lea edx, [esp + 0x2c4]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5aa770
test ebx, ebx
je 0x5aa7b1
lea eax, [esp + 0x2c4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5aa790
sub eax, edx
push ebx
lea edx, [esp + eax + 0x2c8]
push str.0x_X
push edx
call fcn.0062549e
add esp, 0xc
lea eax, [esp + 0x2c4]
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], 0
mov byte [esp + 0x118], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5aa7e0
sub eax, edx
push eax
lea eax, [esp + 0x2c8]
push eax
lea ecx, [esp + 0x11c]
call fcn.00405590
mov byte [esp + 0x22d8], 0xe
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
cmp byte [eax + 0x35], 0
mov ebx, dword [esp + 0x1c]
mov esi, edx
jne 0x5aa83d
mov edi, dword [esp + 0x20]
nop
mov ecx, dword [eax + 0xc]
cmp edi, ecx
ja 0x5aa82e
jb 0x5aa833
cmp dword [eax + 0x10], ebx
jae 0x5aa833
mov eax, dword [eax + 8]
jmp 0x5aa837
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0x35], 0
je 0x5aa820
cmp esi, edx
lea edi, [esp + 0x28]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
je 0x5aa86b
cmp esi, dword [edx]
je 0x5aa86b
cmp dword [esi + 0x10], ebx
je 0x5aa86b
lea esi, [esp + 0x44]
call fcn.005ca420
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
test edi, edi
mov ebx, edx
je 0x5aa879
lea ecx, [esp + 0x28]
cmp edi, ecx
je 0x5aa87e
call fcn.0062472f
cmp esi, ebx
je 0x5aa920
test edi, edi
jne 0x5aa88f
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x5aa899
call fcn.0062472f
mov edx, dword [esp + 0x20]
cmp dword [esi + 0xc], edx
jne 0x5aa920
cmp esi, dword [edi + 4]
jne 0x5aa8b6
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x5aa8b6
call fcn.0062472f
cmp esi, dword [edi + 4]
mov ebx, dword [esi + 0x30]
jne 0x5aa8c3
call fcn.0062472f
mov eax, dword [esp + 0x1c]
sub eax, dword [esi + 0x10]
cmp dword [esi + 0x2c], 0x10
jb 0x5aa8d5
mov esi, dword [esi + 0x18]
jmp 0x5aa8d8
add esi, 0x18
push eax
push ebx
push esi
lea eax, [esp + 0x12d0]
push str._r_n_____s_line__d_0x_X
push eax
call fcn.0062549e
lea eax, [esp + 0x12d8]
add esp, 0x14
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5aa900
sub eax, edx
push eax
lea ecx, [esp + 0x12c8]
push ecx
lea ecx, [esp + 0x11c]
call fcn.0041fe30
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push 0xd
push edi
mov ecx, ebx
call fcn.00405740
cmp dword [esp + 0x12c], 0x10
mov edx, dword [esp + 0x118]
jae 0x5aa94a
lea edx, [esp + 0x118]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5aa950
sub eax, esi
push eax
push edx
mov eax, edi
mov ecx, ebx
call fcn.005c4140
cmp dword [esp + 0x12c], 0x10
jb 0x5aa980
mov edx, dword [esp + 0x118]
push edx
call fcn.0062414c
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x148], esi
jb 0x5aa99e
mov eax, dword [esp + 0x134]
push eax
call fcn.0062414c
add esp, 4
mov byte [esp + 0x22d8], 3
cmp dword [esp + 0x164], esi
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], 0
mov byte [esp + 0x134], 0
jb 0x5aa9dd
mov ecx, dword [esp + 0x150]
push ecx
call fcn.0062414c
add esp, 4
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
add edi, 1
lea ecx, [edi + 4]
cmp ecx, eax
mov dword [esp + 0x18], edi
jl 0x5aa5e0
cmp dword [esp + 0x180], 0x10
jb 0x5aaa16
mov edx, dword [esp + 0x16c]
push edx
call fcn.0062414c
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
mov byte [esp + 0x22d8], 1
call fcn.0055d750
lea eax, [esp + 0xe0]
push eax
mov dword [esp + 0xe4], vtable.std::ios_base.0
call fcn.00612eb6
add esp, 4
mov byte [esp + 0x22d8], bl
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x64]
push ecx
mov edi, esi
call fcn.005c6b50
mov edx, dword [esp + 0x2c]
push edx
call fcn.0062414c
add esp, 4
mov dword [esp + 0x22d8], 0xffffffff
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x64]
push eax
mov edi, ecx
call fcn.005c67b0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0062414c
add esp, 4
mov ecx, dword [esp + 0x22d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22b8]
xor ecx, esp
call fcn.00626d59
mov esp, ebp
pop ebp
ret