Function at 0x41109b
Capabilities:
Get common file path
Get file size

Disassembly:
mov eax, 0x44c65f
call fcn.0042c4cc
sub esp, 0x394
mov al, byte [ebp - 0xe]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x50], al
call fcn.00404cfe
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov ax, word [0x45f804]
push 0x40
mov word [ebp - 0x198], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x196]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebp - 0xe]
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x74], al
call fcn.004151e3
lea eax, [ebp - 0x74]
lea ecx, [esi + 0x1c8]
push eax
push 0x45f5ac
mov byte [ebp - 4], 1
call fcn.0041b56e
test eax, eax
je 0x411131
mov eax, dword [ebp - 0x70]
cmp eax, ebx
jne 0x411121
mov eax, 0x44f48c
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.0042cc90
pop ecx
jmp 0x41113d
lea eax, [ebp - 0x198]
push eax
call fcn.0041d215
pop ecx
lea eax, [ebp - 0x50]
push dword [esi + 0x518]
push eax
lea eax, [ebp - 0x198]
push eax
push 0x4623d0
call fcn.004208e7
add esp, 0x10
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x64]
push eax
lea eax, [ebp - 0xd]
push ebx
push eax
call fcn.00413dc2
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
mov edi, dword [eax]
cmp edi, eax
je 0x4111d5
mov esi, dword [edi + 0xc]
cmp esi, ebx
jne 0x411186
mov esi, 0x44f48c
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.004151e3
push esi
call fcn.0042cc10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00401879
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x64]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 3
call fcn.00413de8
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004151e3
mov edi, dword [edi]
cmp edi, dword [ebp - 0x4c]
jne 0x41117a
mov esi, dword [ebp - 0x18]
mov eax, dword [0x46640c]
mov dword [ebp - 0x1c], eax
mov edi, 0x104
lea ecx, [ebp - 0x1c]
push edi
mov byte [ebp - 4], 4
call fcn.00443919
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x44]
push str._Y_b_d__H_M_S
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0043ee48
mov ecx, eax
call fcn.0043ee5b
mov eax, dword [0x46640c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push dword [ebp - 0x1c]
push str._sICESIZES_s.LOG
push eax
call fcn.0043ed51
add esp, 0x10
lea ecx, [ebp - 0x88]
push 0x5001
push dword [ebp - 0x24]
call fcn.00444ad3
mov eax, dword [esi + 0x51c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x411271
movzx ecx, word [ebp - 0x48]
shl ecx, 0x10
push ecx
push ebx
push 0x401
push dword [eax + 0x27c]
call dword [0x46a910]
mov al, byte [ebp - 0xd]
push ebx
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00404cfe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 8
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x4113fb
mov esi, 0x45ffd4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x51c]
cmp eax, ebx
je 0x4112c0
push ebx
push ebx
push 0x405
push dword [eax + 0x27c]
call dword [0x46a910]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp eax, ebx
jne 0x4112cf
mov eax, 0x44f48c
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4112f0
push eax
jmp 0x411304
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
push edi
jne 0x41130f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4113e4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push ebx
push ebx
push dword [ebp - 0x54]
call fcn.0042d7c0
xor ecx, ecx
add eax, dword [ebp - 0x20]
adc edx, ecx
push edx
push eax
lea eax, [ebp - 0x3a0]
push str._10.10I64u
push eax
call fcn.0042c4eb
mov al, byte [ebp - 0xd]
add esp, 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
push ebx
call fcn.004151e3
lea eax, [ebp - 0x3a0]
push eax
call fcn.0042cc10
pop ecx
push eax
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401879
push esi
mov byte [ebp - 4], 9
call fcn.0042cc10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00404b64
mov eax, dword [ebp - 0x14]
mov edi, 0x44f48c
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x411390
mov edi, eax
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00404b64
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp - 0x90]
push dword [ebp - 0x2c]
push eax
call fcn.00404cc4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x51c]
cmp ecx, ebx
je 0x4113d6
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x4113d0
mov eax, 0x44f48c
push eax
call fcn.00442c08
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.004151e3
lea ecx, [ebp - 0x14]
call fcn.004143cb
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x60]
jne 0x4112a0
mov esi, dword [ebp - 0x18]
push str.sort
lea ecx, [esi + 0x1c8]
call fcn.00402867
test eax, eax
je 0x41141f
lea ecx, [ebp - 0x30]
call fcn.004138ea
lea ecx, [ebp - 0x30]
call fcn.00413a1c
mov eax, dword [esi + 0x51c]
cmp eax, ebx
je 0x411443
movzx ecx, word [ebp - 0x28]
shl ecx, 0x10
push ecx
push ebx
push 0x401
push dword [eax + 0x27c]
call dword [0x46a910]
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
cmp edi, eax
je 0x411497
mov eax, dword [edi + 0xc]
cmp eax, ebx
jne 0x411458
mov eax, 0x44f48c
push eax
lea ecx, [ebp - 0x88]
call fcn.00444d22
push 0x462364
lea ecx, [ebp - 0x88]
call fcn.00444d22
mov ecx, dword [esi + 0x51c]
cmp ecx, ebx
je 0x411490
mov eax, dword [edi + 0xc]
cmp eax, ebx
jne 0x41148a
mov eax, 0x44f48c
push eax
call fcn.00442c08
mov edi, dword [edi]
cmp edi, dword [ebp - 0x2c]
jne 0x41144c
lea ecx, [ebp - 0x88]
call fcn.00444edf
mov esi, str.notepad.exe
lea edi, [ebp - 0x29c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x3d
xor eax, eax
pop ecx
lea edi, [ebp - 0x28f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x88]
push eax
call fcn.0044504e
push dword [eax]
lea eax, [ebp - 0x29c]
push eax
call fcn.0042cca0
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call fcn.004435ed
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x29c]
push ebx
push eax
call fcn.0041d40e
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.0040496f
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00444b6c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004435ed
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004435ed
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004435ed
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00413a66
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.004151e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040496f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret