Function at 0x442200
Capabilities:
Extract resource via kernel32 functions
Get common file path
Get disk information
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4570b0
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x22c], edi
cmp dword [ebp + 8], edi
je 0x4425e3
cmp dword [ebp + 0xc], edi
je 0x4425e3
mov dword [ebp - 4], edi
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x18]
mov dword [0x475950], eax
mov ecx, dword [ebp + 0x1c]
mov dword [0x475370], ecx
mov edx, dword [ebp + 0x20]
mov dword [0x475478], edx
mov dword [0x475a64], edi
mov dword [0x475228], edi
mov dword [0x475a5c], edi
mov dword [0x475a60], edi
push edi
push 8
mov eax, dword [0x477358]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [0x475370], edi
je 0x4422e7
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push 0x8b
mov edx, dword [0x4773fc]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [0x475370]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x475370]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call fcn.0043fb10
call fcn.00433170
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call fcn.00437e70
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov esi, dword [ebp - 0x124]
cmp ebx, dword [ebp + 0xc]
jge 0x4423ca
mov ecx, ebx
shl ecx, 6
add ecx, ebx
mov edx, dword [ebp + 8]
lea edi, [edx + ecx*4]
mov dword [ebp - 0x120], edi
lea edx, [ebp - 0x11c]
or ecx, 0xffffffff
xor eax, eax
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, [ebp - 0x11c]
push ecx
call fcn.00449800
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, 3
neg eax
sbb eax, eax
and al, 0xf7
add eax, 0xa
mov dword [0x47522c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x374], 1
lea edx, [ebp - 0x37c]
push edx
call fcn.00442980
mov esi, eax
mov dword [ebp - 0x124], esi
cmp esi, 1
jne 0x4423c8
inc ebx
mov dword [ebp - 0x230], ebx
xor edi, edi
jmp 0x442318
xor edi, edi
mov eax, esi
dec eax
jne 0x4424d4
cmp dword [0x475370], edi
je 0x442419
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 9
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x11c]
push edx
push edi
push 0xc
mov eax, dword [0x475370]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x475370]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [ebp + 0x24]
cmp ebx, edi
jne 0x442425
call fcn.004445e0
cmp dword [0x475228], 0xc8
jbe 0x442438
call fcn.004329c0
jmp 0x44243d
call fcn.004350a0
call fcn.004347b0
call fcn.004367e0
call fcn.00432f80
call fcn.004327d0
cmp ebx, edi
jne 0x442468
push 1
call fcn.004368e0
mov edx, dword [0x4773e0]
push edx
call fcn.00433610
cmp dword [0x47738c], edi
jne 0x4424d4
cmp dword [0x475a60], edi
je 0x4424d4
push 1
push 0x4611c0
push 0xfa3
call fcn.00440930
test eax, eax
je 0x4424d4
push 5
push 0xab
mov eax, dword [0x4773fc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x380], ebx
push edi
push 0x444840
mov edx, dword [ebp + 0x18]
push edx
push ebx
mov eax, dword [0x4773fc]
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [0x475370], edi
je 0x442523
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
xor edx, edx
cmp esi, 1
setne dl
add edx, 7
push edx
mov eax, dword [0x4773fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x11c]
push ecx
push edi
push 0xc
mov edx, dword [0x475370]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x475370]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 0x14], edi
jne 0x442535
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.00447af0
call fcn.00437ef0
call fcn.00433170
push 0x7f00
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, 2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20