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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e176
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x5de040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], ecx
xor eax, eax
mov dword [ebp - 0xf4], eax
mov edi, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x40]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x110], edi
cmp edi, esi
je 0x4a9646
nop
cmp dword [edi + 4], 0
lea eax, [edi + 0x50]
mov dword [ebp - 0x10c], eax
je 0x4a961f
mov ecx, dword [edi]
mov dword [ebp - 0xfc], ecx
cmp eax, esi
je 0x4a8bde
lea eax, [edi + 8]
mov edi, dword [ebp - 0x10c]
mov dword [ebp - 0xf4], eax
mov ecx, dword [edi]
mov dword [eax - 8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [eax - 4], ecx
lea ecx, [eax + 0x50]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [eax + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov dword [eax + 0x10], ecx
lea ecx, [eax + 0x68]
mov dword [eax + 0x14], edx
lea edx, [eax + 0x18]
cmp edx, ecx
je 0x4a8b9b
cmp dword [eax + 0x7c], 0xf
jbe 0x4a8b8a
mov ecx, dword [ecx]
push dword [eax + 0x78]
push ecx
mov ecx, edx
call fcn.00412800
mov eax, dword [ebp - 0xf4]
lea edx, [eax + 0x30]
lea ecx, [eax + 0x80]
cmp edx, ecx
je 0x4a8bc1
cmp dword [eax + 0x94], 0xf
jbe 0x4a8bb3
mov ecx, dword [ecx]
push dword [eax + 0x90]
push ecx
mov ecx, edx
call fcn.00412800
mov eax, dword [ebp - 0x10c]
add edi, 0x50
mov dword [ebp - 0xf4], eax
cmp edi, esi
jne 0x4a8b42
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp - 0x108]
mov ecx, dword [esi + 0x40]
sub ecx, 0x50
call fcn.004a6cf0
add dword [esi + 0x40], 0xffffffb0
lea ecx, [ebp - 0x78]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push str.Save
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
call fcn.00403ce0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.QuickSave
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
call fcn.00403ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.AutoSave
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.00403ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.SelectSave
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.00403ce0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x1c0], 0x5bd9e0
call dword [0x5a4438]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x104]
or eax, 1
push 0
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x1bc]
push 0
push eax
call dword [0x5a4364]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1c4], eax
lea ecx, [ebp - 0x1bc]
call dword [0x5a445c]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 4
mov byte [ebp - 4], 6
lea edx, [ebp - 0x78]
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [edx + eax*8]
mov eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
jbe 0x4a8d51
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00420770
add esp, 4
mov esi, eax
lea eax, [ebp - 0x1d0]
push 0
push 3
push eax
call dword [0x5a430c]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004204c0
push dword [ebp - 0xfc]
mov edx, 0x30
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov word [ecx + eax + 0x40], dx
mov ecx, eax
call dword [0x5a435c]
mov byte [ebp - 4], 7
xor eax, eax
mov edx, dword [ebp - 0x180]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x104]
movups xmmword [ebp - 0x90], xmm0
mov word [ebp - 0x90], ax
or esi, 4
mov eax, edx
mov dword [ebp - 0x80], 0
and al, 0x22
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0xf4], esi
movq qword [ebp - 0x11c], xmm0
cmp al, 2
je 0x4a8e0d
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a8e0d
cmp ecx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x1ac]
cmovb ecx, dword [ebp - 0x184]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4a8e43
test dl, 4
jne 0x4a8e37
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a8e37
mov eax, dword [ebp - 0x1b0]
mov edx, dword [eax]
mov eax, dword [ebp - 0x190]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x4a8e43
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x11c]
test edx, edx
je 0x4a8e54
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00403a80
and esi, 0xfffffffb
mov dword [ebp - 4], 6
or esi, 2
push 4
push str..png
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00408590
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 8
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x4a8f03
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8ef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
cmp dword [0x5df054], 7
mov eax, 0x5df040
cmova eax, dword [0x5df040]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 0xb
xor eax, eax
mov edx, dword [ebp - 0x180]
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov word [ebp - 0x90], ax
or esi, 0x20
mov eax, edx
mov dword [ebp - 0x80], 0
and al, 0x22
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0xf4], esi
movq qword [ebp - 0x128], xmm0
cmp al, 2
je 0x4a8f87
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a8f87
cmp ecx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x1ac]
cmovb ecx, dword [ebp - 0x184]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4a8fbd
test dl, 4
jne 0x4a8fb1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a8fb1
mov eax, dword [ebp - 0x1b0]
mov edx, dword [eax]
mov eax, dword [ebp - 0x190]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x4a8fbd
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
test edx, edx
je 0x4a8fce
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00403a80
and esi, 0xffffffdf
mov dword [ebp - 4], 0xa
or esi, 0x10
push 1
push 0x5bdcf4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.00408590
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 0x40
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xfc]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xfc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9051
sub ecx, dword [ebp - 0xfc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00408590
mov dword [ebp - 0xb0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 0x80
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xc4]
cmp ecx, 7
jbe 0x4a9103
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a90f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x4a9161
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9157
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov word [ebp - 0x90], ax
add ecx, 0x24
cmp dword [ebp - 0x94], 7
lea eax, [ebp - 0xa8]
push 1
cmova eax, dword [ebp - 0xa8]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
call fcn.00442bd0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0
push 0x5aaa70
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
call fcn.00403ce0
mov byte [ebp - 4], 0x11
mov eax, 0x5defb0
cmp dword [0x5defc4], 7
cmova eax, dword [0x5defb0]
mov ecx, eax
mov dword [ebp - 0xfc], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a91f1
sub ecx, edx
mov eax, 0x7ffffffe
mov edx, dword [ebp - 0xe0]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x4a966a
cmp dword [ebp - 0xdc], 7
lea eax, [ebp - 0xf0]
push edx
cmova eax, dword [ebp - 0xf0]
push eax
push ecx
push dword [ebp - 0xfc]
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x90]
call fcn.00403e60
or esi, 0x100
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 7
lea ecx, [ebp - 0x90]
push dword [ebp - 0x98]
cmova eax, dword [ebp - 0xa8]
push eax
call fcn.00408590
xor ecx, ecx
or esi, 0x200
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x94]
movq qword [ebp - 0x100], xmm1
movups xmmword [ebp - 0xd0], xmm0
cmp ecx, 7
jbe 0x4a92f3
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a92da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
movups xmm0, xmmword [ebp - 0xd0]
add esp, 8
movq xmm1, qword [ebp - 0x100]
lea ecx, [ebp - 0x90]
movq qword [ebp - 0x98], xmm1
movups xmmword [ebp - 0xa8], xmm0
mov byte [ebp - 4], 0x11
call fcn.00403a20
cmp dword [0x5defc4], 7
mov edx, 0x5defb0
cmova edx, dword [0x5defb0]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xfc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9330
sub ecx, dword [ebp - 0xfc]
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0xe0]
sar ecx, 1
cmp eax, ecx
jb 0x4a966a
push dword [ebp - 0xe0]
cmp dword [ebp - 0xdc], 7
lea eax, [ebp - 0xf0]
cmova eax, dword [ebp - 0xf0]
push eax
push ecx
push edx
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x90]
call fcn.00403e60
or esi, 0x400
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 7
lea ecx, [ebp - 0x90]
push dword [ebp - 0xb0]
cmova eax, dword [ebp - 0xc0]
push eax
call fcn.00408590
xor ecx, ecx
or esi, 0x800
mov dword [ebp - 0x104], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0xac]
movq qword [ebp - 0x100], xmm1
movups xmmword [ebp - 0xd0], xmm0
cmp ecx, 7
jbe 0x4a943a
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9421
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
movups xmm0, xmmword [ebp - 0xd0]
add esp, 8
movq xmm1, qword [ebp - 0x100]
lea ecx, [ebp - 0x90]
movq qword [ebp - 0xb0], xmm1
movups xmmword [ebp - 0xc0], xmm0
call fcn.00403a20
cmp dword [ebp - 0x94], 7
lea eax, [ebp - 0xa8]
mov esi, dword [0x5a46e8]
cmova eax, dword [ebp - 0xa8]
push eax
call esi
add esp, 4
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 7
cmova eax, dword [ebp - 0xc0]
push eax
call esi
mov byte [ebp - 4], 0x10
add esp, 4
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xf4], 1
cmp ecx, 7
jbe 0x4a94dc
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a94d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xac]
cmp ecx, 7
jbe 0x4a9520
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9516
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp ecx, 7
jbe 0x4a9581
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9577
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9664
push ecx
push edx
call fcn.0052d5b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x94], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1c4], eax
lea ecx, [ebp - 0x1bc]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004056a0
lea ecx, [ebp - 0x1bc]
call dword [0x5a4430]
lea ecx, [ebp - 0x1b8]
call dword [0x5a4360]
lea ecx, [ebp - 0x170]
call dword [0x5a4408]
push 0x4037a0
push 4
push 0x18
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0052d251
mov ecx, dword [ebp - 0x108]
jmp 0x4a9627
mov edi, eax
mov dword [ebp - 0x110], edi
mov esi, dword [ecx + 0x40]
cmp edi, esi
jne 0x4a8b10
cmp dword [ebp - 0xf4], 0
je 0x4a9646
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.004a7b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d235
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [0x5a47c4]
call fcn.00402a30
int3