Function at 0x4aad00
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 0x59fe06
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x5e000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x108], edx
xor eax, eax
mov dword [ebp - 0xf4], eax
mov edi, dword [edx + 0x3c]
mov esi, dword [edx + 0x40]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x110], edi
cmp edi, esi
je 0x4ab8f2
lea ecx, [edi + 0x50]
mov dword [ebp - 0x114], ecx
nop word [eax + eax]
cmp dword [ecx - 0x4c], 0
je 0x4ab8c2
mov eax, dword [edi]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], ecx
cmp ecx, esi
je 0x4aae50
lea eax, [ecx - 0x48]
mov edi, ecx
mov dword [ebp - 0xf4], eax
nop dword [eax + eax]
mov ecx, dword [edi]
mov dword [eax - 8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [eax - 4], ecx
mov ecx, dword [eax + 0x50]
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 0x4aae01
cmp dword [eax + 0x7c], 0x10
jb 0x4aadf0
mov ecx, dword [ecx]
push dword [eax + 0x78]
push ecx
mov ecx, edx
call fcn.004122f0
mov eax, dword [ebp - 0xf4]
lea edx, [eax + 0x30]
lea ecx, [eax + 0x80]
cmp edx, ecx
je 0x4aae2d
cmp dword [eax + 0x94], 0x10
jb 0x4aae19
mov ecx, dword [ecx]
push dword [eax + 0x90]
push ecx
mov ecx, edx
call fcn.004122f0
mov eax, dword [ebp - 0xf4]
add edi, 0x50
add eax, 0x50
mov dword [ebp - 0xf4], eax
cmp edi, esi
jne 0x4aadb0
mov ecx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x110]
mov esi, dword [ecx + 0x40]
lea ecx, [esi - 0x50]
call fcn.004a8dd0
mov esi, dword [ebp - 0x108]
lea ecx, [ebp - 0x78]
push 4
xor eax, eax
mov dword [ebp - 0x78], 0
push str.Save
add dword [esi + 0x40], 0xffffffb0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.004039b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
push 9
xor eax, eax
mov dword [ebp - 0x60], 0
push str.QuickSave
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.004039b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 8
xor eax, eax
mov dword [ebp - 0x48], 0
push str.AutoSave
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.004039b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 0xa
xor eax, eax
mov dword [ebp - 0x30], 0
push str.SelectSave
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.004039b0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x1c8], 0x5bf528
call dword [0x5a6424]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x104]
or eax, 1
push 0
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x1c4]
push 0
push eax
call dword [0x5a6354]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1c8]
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 - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1cc], eax
lea ecx, [ebp - 0x1c4]
call dword [0x5a644c]
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 - 0x18c], 0
mov dword [ebp - 0x188], 4
mov byte [ebp - 4], 6
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [ebp - 0x78]
cmp dword [edx + eax*8 + 0x14], 8
lea edx, [edx + eax*8]
mov eax, dword [edx + 0x10]
jb 0x4aafd9
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00420240
add esp, 4
mov esi, eax
lea eax, [ebp - 0x1d8]
push 0
push 3
push eax
call dword [0x5a6300]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004200d0
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 [0x5a634c]
mov byte [ebp - 4], 7
xor eax, eax
mov edx, dword [ebp - 0x188]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0x90], 0
or esi, 4
mov word [ebp - 0x90], ax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0xf4], esi
movq qword [ebp - 0x120], xmm0
cmp al, 2
je 0x4ab098
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ab098
cmp ecx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x1b4]
cmovb ecx, dword [ebp - 0x18c]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4ab0d9
test dl, 4
jne 0x4ab0cd
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x4ab0cd
mov eax, dword [ebp - 0x1b8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, dword [ebp - 0xfc]
sar ecx, 1
jmp 0x4ab0d9
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x120]
test edx, edx
je 0x4ab0ea
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.004039b0
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.00407fc0
mov dword [ebp - 0xa8], 0
xor ecx, ecx
mov dword [ebp - 0x98], 0
or esi, 8
mov dword [ebp - 0x94], 0
movups xmm0, xmmword [eax]
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 edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x4ab199
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab18f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
cmp dword [0x5e1014], 8
mov eax, 0x5e1000
cmovae eax, dword [0x5e1000]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 0xb
xor eax, eax
mov edx, dword [ebp - 0x188]
or esi, 0x20
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
mov word [ebp - 0x90], ax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0xf4], esi
movq qword [ebp - 0x12c], xmm0
cmp al, 2
je 0x4ab220
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ab220
cmp ecx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x1b4]
cmovb ecx, dword [ebp - 0x18c]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4ab261
test dl, 4
jne 0x4ab255
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x4ab255
mov eax, dword [ebp - 0x1b8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, dword [ebp - 0xfc]
sar ecx, 1
jmp 0x4ab261
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
test edx, edx
je 0x4ab272
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.004039b0
and esi, 0xffffffdf
mov dword [ebp - 4], 0xa
or esi, 0x10
push 1
push 0x5bfaf8
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.00407fc0
mov dword [ebp - 0xf0], 0
xor ecx, ecx
mov dword [ebp - 0xe0], 0
or esi, 0x40
mov dword [ebp - 0xdc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x10c]
mov ecx, edx
mov byte [ebp - 4], 0xd
lea eax, [ecx + 2]
mov dword [ebp - 0xfc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab2f5
sub ecx, dword [ebp - 0xfc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xf0]
call fcn.00407fc0
mov dword [ebp - 0xc0], 0
xor ecx, ecx
mov dword [ebp - 0xb0], 0
or esi, 0x80
mov dword [ebp - 0xac], 0
movups xmm0, xmmword [eax]
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 edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0x4ab3a7
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab39d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x4ab405
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab3fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov word [ebp - 0x90], ax
add ecx, 0x24
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push 1
cmovae eax, dword [ebp - 0xa8]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
call fcn.00443310
push 1
xor eax, eax
mov dword [ebp - 0xd8], 0
push 0x5acaf8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.004039b0
mov byte [ebp - 4], 0x11
mov eax, 0x5e0f30
cmp dword [0x5e0f44], 8
cmovae eax, dword [0x5e0f30]
mov ecx, eax
mov dword [ebp - 0xfc], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab4a0
sub ecx, edx
mov eax, 0x7ffffffe
mov edx, dword [ebp - 0xc8]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x4ab916
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
push edx
cmovae eax, dword [ebp - 0xd8]
push eax
push ecx
push dword [ebp - 0xfc]
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x90]
call fcn.00403fa0
or esi, 0x100
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x90]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.00407fc0
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 edx, dword [ebp - 0x94]
movq qword [ebp - 0x100], xmm1
movups xmmword [ebp - 0xe8], xmm0
cmp edx, 8
jb 0x4ab5a2
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab589
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
movups xmm0, xmmword [ebp - 0xe8]
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.00403950
cmp dword [0x5e0f44], 8
mov edx, 0x5e0f30
cmovae edx, dword [0x5e0f30]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xfc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab5e0
sub ecx, dword [ebp - 0xfc]
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0xc8]
sar ecx, 1
cmp eax, ecx
jb 0x4ab916
push dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
push ecx
push edx
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x90]
call fcn.00403fa0
or esi, 0x400
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
lea ecx, [ebp - 0x90]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407fc0
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 edx, dword [ebp - 0xac]
movq qword [ebp - 0x100], xmm1
movups xmmword [ebp - 0xe8], xmm0
cmp edx, 8
jb 0x4ab6ea
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab6d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
movups xmm0, xmmword [ebp - 0xe8]
add esp, 8
movq xmm1, qword [ebp - 0x100]
lea ecx, [ebp - 0x90]
movq qword [ebp - 0xb0], xmm1
movups xmmword [ebp - 0xc0], xmm0
call fcn.00403950
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
mov esi, dword [0x5a66bc]
cmovae eax, dword [ebp - 0xa8]
push eax
call esi
add esp, 4
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
cmovae eax, dword [ebp - 0xc0]
push eax
call esi
mov byte [ebp - 4], 0x10
add esp, 4
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xf4], 1
cmp edx, 8
jb 0x4ab78c
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab782
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x4ab7d0
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab7c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp edx, 8
jb 0x4ab831
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab827
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab910
push edx
push ecx
call fcn.0052f847
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0x1c8]
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 - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1cc], eax
lea ecx, [ebp - 0x1c4]
call fcn.004051c0
lea ecx, [ebp - 0x1c0]
call dword [0x5a6350]
lea ecx, [ebp - 0x178]
call dword [0x5a63f4]
push 0x4036d0
push 4
push 0x18
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0052f4e1
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x114]
mov esi, dword [edx + 0x40]
jmp 0x4ab8d4
add edi, 0x50
add ecx, 0x50
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], ecx
cmp edi, esi
jne 0x4aad80
cmp dword [ebp - 0xf4], 0
je 0x4ab8f2
push dword [edx + 8]
mov ecx, edx
push dword [edx + 4]
call fcn.004a9e80
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.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [0x5a67b8]
call fcn.00402970
int3