Function at 0x442600
Capabilities:
Enumerate files on windows
Extract resource via kernel32 functions
Get disk information
Set current directory

Disassembly:
sub esp, 0x390
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push ebx
call fcn.0041d240
push 1
mov dword [0x475a60], ebx
call fcn.00432e90
call fcn.00437e70
mov ebp, dword [esp + 0x3a4]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
push ebp
mov dword [0x475950], eax
mov dword [0x475370], eax
mov dword [0x475478], eax
mov dword [0x475a64], eax
mov dword [0x475228], eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, 3
lea edx, [esp + 0x10]
neg eax
sbb eax, eax
push edx
and al, 0xf7
add eax, 0xa
mov dword [0x47522c], eax
call fcn.00448e70
mov edi, 0x4611d4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x442724
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x114]
push edx
push esi
mov ebx, 1
call edi
test eax, eax
je 0x44271d
lea eax, [esp + 0x114]
inc ebx
push eax
push esi
call edi
test eax, eax
jne 0x44270d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00448e70
mov edi, 0x4611cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4427c6
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x114]
push edx
push esi
inc ebx
call edi
test eax, eax
je 0x4427bf
lea eax, [esp + 0x114]
inc ebx
push eax
push esi
call edi
test eax, eax
jne 0x4427af
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x47738c]
test eax, eax
je 0x442875
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00448e70
mov edi, 0x45a16c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x442875
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x114]
push edx
push esi
inc ebx
call edi
test eax, eax
je 0x44286e
lea eax, [esp + 0x114]
inc ebx
push eax
push esi
call edi
test eax, eax
jne 0x44285e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x442881
push ebx
push 0
call fcn.0041d3e0
lea ecx, [esp + 0x254]
mov dword [esp + 0x254], 0
push ecx
mov dword [esp + 0x260], 1
call fcn.00442980
mov edi, eax
cmp edi, 1
jne 0x4428c9
mov eax, dword [0x475228]
test eax, eax
je 0x4428c9
call fcn.004350a0
mov eax, dword [0x475228]
test eax, eax
je 0x4428c9
push 0
call fcn.00438100
call fcn.0041d410
test ebx, ebx
jne 0x4428db
mov eax, dword [0x475228]
test eax, eax
je 0x4428e0
call fcn.004442a0
call fcn.00437ef0
call fcn.00433170
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [0x47738c]
test eax, eax
jne 0x44296b
mov eax, dword [0x475a60]
test eax, eax
je 0x44296b
push 1
push 0x4611c0
push 0xfa3
call fcn.00440930
test eax, eax
je 0x44296b
mov edx, dword [0x4773fc]
push 5
push 0xab
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x4773fc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0x444840
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x4773fc]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
cmp edi, 1
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x390
ret 4