Function at 0x4abc70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50257a
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5e0f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x368], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x370], edi
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x360], esi
cmp dword [ebp + 0x20], 4
mov dword [ebp - 4], esi
jb 0x4abe89
mov ecx, dword [ebp + 0x24]
lea eax, [ebp + 0x10]
mov edx, dword [ebp + 0x10]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax], 0x5c
jne 0x4abe89
cmp ecx, 0x10
lea eax, [ebp + 0x10]
cmovae eax, edx
cmp byte [eax + 1], 0x5c
jne 0x4abe89
cmp ecx, 0x10
lea eax, [ebp + 0x10]
cmovae eax, edx
cmp byte [eax + 2], 0x3f
jne 0x4abe89
cmp ecx, 0x10
lea eax, [ebp + 0x10]
cmovae eax, edx
cmp byte [eax + 3], 0x5c
jne 0x4abe89
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp + 0x10]
call fcn.00422b90
cmp dword [ebp - 0x220], 4
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 1
jb 0x4abe2c
cmp ecx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp byte [eax], 0x55
jne 0x4abe2c
cmp ecx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp byte [eax + 1], 0x4e
jne 0x4abe2c
cmp ecx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp byte [eax + 2], 0x43
jne 0x4abe2c
cmp ecx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp byte [eax + 3], 0x5c
jne 0x4abe2c
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00422b90
push 0x5c
push 1
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004c4cd0
lea ecx, [ebp - 0x230]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], esi
mov esi, 0x1000
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x278]
push eax
movq qword [ebp - 0x268], xmm0
call fcn.00405710
lea ecx, [ebp - 0x278]
call fcn.00404db0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.00404db0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x230]
cmp ecx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, edx
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.004ad530
add esp, 8
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x280], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax]
movups xmmword [ebp - 0x270], xmm0
test al, al
je 0x4abe7a
shr eax, 8
test al, al
je 0x4abe7a
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp + 0x10]
call fcn.00405750
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00404db0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x2c0]
shr eax, 2
and eax, 0xffffff01
mov byte [ebp - 0x359], 0
mov dword [ebp - 0x2dc], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00404150
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call fcn.00493eb0
add esp, 8
lea eax, [ebp - 0x278]
push eax
call fcn.00491f60
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
call fcn.004942e0
mov ecx, dword [ebp - 0x264]
or esi, 0x80
add esp, 0x24
mov dword [ebp - 0x360], esi
mov byte [ebp - 4], 3
cmp ecx, 8
jb 0x4abf3c
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4abf32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad008
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], al
cmp ecx, 0x10
jb 0x4abf96
mov edx, dword [ebp - 0x2c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4abf8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad008
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00493eb0
add esp, 8
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x4ac009
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4abfff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad00d
push ecx
push edx
call fcn.004d36cd
add esp, 8
cmp byte [0x607531], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
jne 0x4ac3ea
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x36c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4ac1cc
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x278]
push eax
call fcn.00493f50
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 9
jb 0x4ac08b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004311c0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 8
call fcn.00421b80
push 0x3a
lea ecx, [ebp - 0x248]
call fcn.00431680
mov ecx, dword [ebp - 0x36c]
xor eax, eax
mov dword [ebp - 0x2dc], eax
cmp dword [ecx + 0x2c], eax
jbe 0x4ac1cc
lea edx, [ecx + 4]
mov dword [ebp - 0x364], edx
test eax, eax
je 0x4ac0ed
push 0x3b
lea ecx, [ebp - 0x248]
call fcn.00431680
mov edx, dword [ebp - 0x364]
xor eax, eax
mov dword [ebp - 0x2f8], 0
push 0xffffffffffffffff
push dword [edx]
mov word [ebp - 0x2f8], ax
or esi, 0x40
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x360], esi
call fcn.00493fd0
add esp, 0xc
lea eax, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x248]
cmovae eax, dword [ebp - 0x2f8]
push dword [ebp - 0x2e8]
push eax
call fcn.004311c0
mov ecx, dword [ebp - 0x2e4]
and esi, 0xffffffbf
mov byte [ebp - 4], 8
cmp ecx, 8
jb 0x4ac1a1
mov edx, dword [ebp - 0x2f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ac197
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad012
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 0x36c]
inc eax
mov edx, dword [ebp - 0x364]
add edx, 4
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x364], edx
cmp eax, dword [ecx + 0x2c]
jb 0x4ac0d6
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2dc], esp
mov ecx, esp
push eax
call fcn.00424e80
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2a8]
mov ecx, esp
push eax
call fcn.00424e80
push dword [ebp - 0x368]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xb
push eax
call fcn.004b7a30
add esp, 0x38
test al, al
je 0x4ac366
mov eax, dword [ebp - 0x220]
mov edi, dword [ebp - 0x224]
mov byte [ebp - 0x359], 1
mov dword [ebp - 0x2dc], eax
cmp edi, eax
je 0x4ac398
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ac27b
mov eax, dword [edi]
push dword [edi + 0x10]
mov dword [ebp - 0x2f8], 0
or esi, 0x20
push eax
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0xf
mov byte [ebp - 0x2f8], 0
mov dword [ebp - 0x360], esi
call fcn.00494410
and esi, 0xffffffdf
mov dword [ebp - 4], 0xb
add esp, 0xc
or esi, 0x10
mov eax, dword [ebp - 0x370]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x4ac308
movups xmm0, xmmword [ebp - 0x2f8]
mov byte [ebp - 0x2f8], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x2e8]
movq qword [ecx + 0x10], xmm0
mov ecx, 0xf
add dword [eax + 4], 0x18
jmp 0x4ac31d
lea edx, [ebp - 0x2f8]
push edx
push ecx
mov ecx, eax
call fcn.004020b0
mov ecx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x4ac355
mov edx, dword [ebp - 0x2f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ac34b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad012
push ecx
push edx
call fcn.004d36cd
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x2dc]
jne 0x4ac271
jmp 0x4ac398
cmp byte [0x607531], 0
je 0x4ac398
push dword [ebp - 0x36c]
lea eax, [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404150
push dword [ebp - 0x368]
push edi
call fcn.004abc70
add esp, 0x24
mov byte [ebp - 0x359], al
lea ecx, [ebp - 0x224]
call fcn.004269d0
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x4acc4b
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acc41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad012
jmp 0x4acc41
cmp byte [0x607532], 0
mov eax, dword [ebp - 0x2dc]
jne 0x4ac579
test al, al
je 0x4ac579
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d65b0
add esp, 0xc
mov dword [ebp - 0x2fc], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], str.Choose_Folder
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e0]
push eax
push 0x47c6c0
mov dword [ebp - 0x2dc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x2dc]
cmp dword [ebp - 0x294], 8
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push str.explorerframe.dll
mov dword [ebp - 0x2f0], 0x261
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2ec], 0x47c710
call fcn.004a4f90
add esp, 4
test eax, eax
je 0x4ac544
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4ac544
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x2dc], eax
test eax, eax
je 0x4ac539
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4ac52d
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
mov byte [ebp - 0x359], 1
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00494380
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00422720
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.00404db0
push dword [ebp - 0x2dc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4acc4b
push dword [ebp - 0x36c]
lea eax, [ebp + 0x10]
mov byte [0x607532], 1
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404150
push dword [ebp - 0x368]
push edi
call fcn.004abc70
add esp, 0x24
mov byte [ebp - 0x359], al
jmp 0x4acc4b
cmp byte [0x607533], 0
jne 0x4acc4b
test al, al
jne 0x4acc4b
push 0x10008
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.00430fc0
mov edx, eax
mov dword [ebp - 0x220], 0x10000
xor eax, eax
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x21c], 0x10007
mov ecx, 0x8000
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx + 0x20000], ax
push 0x58
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.004d65b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e0]
push eax
push 0x47c6c0
mov dword [ebp - 0x2dc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x2dc]
mov edx, 0x10081a00
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
test cl, 8
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x338], eax
mov eax, 0x10081800
cmovne eax, edx
mov dword [ebp - 0x358], 0x58
and ecx, 2
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x368], ecx
je 0x4ac690
or eax, 2
mov dword [ebp - 0x324], eax
xor eax, eax
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov eax, dword [ebp - 0x36c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4ac853
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x278]
push eax
call fcn.00493f50
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x12
jb 0x4ac6ea
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.004311c0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x11
call fcn.00421b80
push 0
lea ecx, [ebp - 0x2f8]
call fcn.00431680
mov eax, dword [ebp - 0x36c]
xor edi, edi
cmp dword [eax + 0x2c], edi
jbe 0x4ac826
lea ecx, [eax + 4]
mov dword [ebp - 0x364], ecx
nop
test edi, edi
je 0x4ac747
push 0x3b
lea ecx, [ebp - 0x2f8]
call fcn.00431680
mov ecx, dword [ebp - 0x364]
xor eax, eax
mov dword [ebp - 0x248], 0
push 0xffffffffffffffff
push dword [ecx]
mov word [ebp - 0x248], ax
or esi, 0x100
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x360], esi
call fcn.00493fd0
add esp, 0xc
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
push eax
call fcn.004311c0
mov ecx, dword [ebp - 0x234]
and esi, 0xfffffeff
mov dword [ebp - 0x360], esi
mov byte [ebp - 4], 0x11
cmp ecx, 8
jb 0x4ac807
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ac7fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad01c
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [ebp - 0x36c]
inc edi
mov ecx, dword [ebp - 0x364]
add ecx, 4
mov dword [ebp - 0x364], ecx
cmp edi, dword [eax + 0x2c]
jb 0x4ac730
push 0
lea ecx, [ebp - 0x2f8]
call fcn.00431680
cmp dword [ebp - 0x2e4], 8
lea eax, [ebp - 0x2f8]
mov ecx, dword [ebp - 0x368]
cmovae eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x34c], eax
mov eax, dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test ecx, ecx
lea ecx, [ebp - 0x358]
cmovne eax, dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
push ecx
call eax
test eax, eax
je 0x4acb89
test dword [ebp - 0x324], 0x200
lea eax, [ebp - 0x230]
mov byte [ebp - 0x359], 1
je 0x4acb4c
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0047cf40
cmp dword [ebp - 0x21c], 8
lea edi, [ebp - 0x230]
mov esi, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2c0]
cmovae edi, dword [ebp - 0x230]
push 1
push 0x5b6844
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x2dc], edi
call fcn.004311c0
lea eax, [esi*2 + 2]
add edi, eax
sar eax, 1
cmp eax, dword [ebp - 0x220]
jae 0x4acade
mov esi, dword [ebp - 0x360]
nop dword [eax]
cmp word [edi], 0
je 0x4acade
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ac910
sub ecx, edx
mov eax, 0x7ffffffe
mov edx, dword [ebp - 0x2b0]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x4ad017
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push ecx
cmovae eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x278]
push edi
push edx
push eax
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2dc]
call fcn.0047cf90
or esi, 0x200
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push dword [ebp - 0x268]
mov dword [ebp - 0x248], 0
or esi, 0x800
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x16
push eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x360], esi
call fcn.00494410
and esi, 0xfffff7ff
mov dword [ebp - 4], 0x15
or esi, 0x400
add esp, 0xc
mov dword [ebp - 0x360], esi
mov eax, dword [ebp - 0x370]
mov byte [ebp - 4], 0x17
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x4aca1d
movups xmm0, xmmword [ebp - 0x248]
mov byte [ebp - 0x248], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [ecx + 0x10], xmm0
mov ecx, 0xf
add dword [eax + 4], 0x18
jmp 0x4aca32
lea edx, [ebp - 0x248]
push edx
push ecx
mov ecx, eax
call fcn.004020b0
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x15
cmp ecx, 0x10
jb 0x4aca6a
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4aca60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad01c
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x14
cmp ecx, 8
jb 0x4acaae
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acaa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad01c
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4acab3
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
mov eax, edi
sub eax, dword [ebp - 0x2dc]
sar eax, 1
cmp eax, dword [ebp - 0x220]
jb 0x4ac900
mov esi, dword [ebp - 0x370]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4acb39
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00494380
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00422720
lea ecx, [ebp - 0x278]
call fcn.00404db0
lea ecx, [ebp - 0x2c0]
call fcn.00421b80
mov esi, dword [ebp - 0x360]
jmp 0x4acba6
cmp dword [ebp - 0x21c], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00494380
add esp, 0xc
mov ecx, dword [ebp - 0x370]
push eax
mov byte [ebp - 4], 0x19
call fcn.00422720
lea ecx, [ebp - 0x278]
call fcn.00404db0
jmp 0x4acba6
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
movzx ecx, byte [0x607533]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov byte [0x607533], cl
mov ecx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 0x10
cmp ecx, 8
jb 0x4acbea
mov edx, dword [ebp - 0x2f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acbe0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad01c
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x4acc4b
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acc41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad01c
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov eax, dword [ebp - 0x370]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x368], eax
cmp edi, eax
je 0x4acf5a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4acf4b
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x4acc7b
mov ecx, dword [edi]
cmp byte [eax + ecx - 1], 0x20
jne 0x4acf4b
mov ecx, edi
cmp edx, 0x10
jb 0x4acc8f
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0
xor edx, edx
mov byte [ebp - 4], 0x1a
or esi, 8
mov dword [ebp - 0x250], 0
push eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], dx
mov dword [ebp - 0x360], esi
call fcn.00493fd0
and esi, 0xfffffff7
mov dword [ebp - 4], 7
or esi, 4
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x260]
sub esp, 0xc
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x24c], 8
mov ecx, esp
mov dword [ebp - 0x364], ecx
cmovae edx, dword [ebp - 0x260]
mov dword [ebp - 0x370], edx
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp eax, 0x7ffffffe
ja 0x4ad017
mov dword [ecx + 0x14], 7
cmp eax, 8
jae 0x4acd46
push 0x10
push edx
push ecx
mov dword [ecx + 0x10], eax
call fcn.004d6030
jmp 0x4acda3
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4acd57
mov eax, 0x7ffffffe
jmp 0x4acd62
cmp eax, 0xa
mov edx, 0xa
cmovb eax, edx
mov dword [ebp - 0x2dc], eax
inc eax
push eax
call fcn.00430fc0
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp - 0x250]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x2dc]
mov dword [ecx], eax
mov dword [ecx + 0x14], edx
mov ecx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x370]
push eax
call fcn.004d6030
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
call fcn.004926a0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2dc], eax
add esp, 0x1c
cmp ecx, eax
je 0x4acdfa
call fcn.00421b80
mov eax, dword [ebp - 0x2dc]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x264]
cmp ecx, 8
jb 0x4ace3a
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ace30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad008
push ecx
push edx
call fcn.004d36cd
add esp, 8
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push dword [ebp - 0x250]
mov dword [ebp - 0x248], 0
or esi, 2
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x1c
push eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x360], esi
call fcn.00494410
and esi, 0xfffffffd
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x248]
add esp, 0xc
or esi, 1
cmp edi, eax
je 0x4acecd
mov ecx, edi
call fcn.00404db0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [edi + 0x10], xmm0
jmp 0x4acf07
mov ecx, dword [ebp - 0x234]
cmp ecx, 0x10
jb 0x4acf07
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4acefd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad021
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x4acf4b
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acf41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad021
push ecx
push edx
call fcn.004d36cd
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x368]
jne 0x4acc64
mov ecx, dword [ebp - 0x294]
cmp ecx, 8
jb 0x4acf9a
mov edx, dword [ebp - 0x2a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4acf90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad021
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov ecx, dword [ebp + 0x24]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
cmp ecx, 0x10
jb 0x4acfe7
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4acfdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad021
push ecx
push edx
call fcn.004d36cd
add esp, 8
mov al, byte [ebp - 0x359]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d3b35
mov esp, ebp
pop ebp
ret
call fcn.004d826f
call fcn.004d826f
call fcn.004d826f
call fcn.00421be0
call fcn.004d826f
call fcn.004d826f
int3