Function at 0x442cb0
Capabilities:
Accept command line arguments
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp dword [esi + 4], ebx
jne 0x442cd0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
push edi
cmp eax, ebx
je 0x442d34
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442d12
cmp dword [esi + 4], 3
jne 0x442f09
cmp dword [esi + 0x1c], ebx
jne 0x442d0a
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x442d0a
mov edi, dword [sym.imp.USER32.dll_GetParent]
nop
push eax
mov dword [esi + 0x1c], eax
call edi
cmp eax, ebx
jne 0x442d00
mov dword [esi + 0x20], ebx
jmp 0x442f09
cmp dword [esi + 4], 3
jne 0x442d2b
push ebx
push ebx
push ebx
push ebx
push str.Specified_window_not_found
call fcn.004263e0
jmp 0x442f03
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push 0x228
mov dword [ebp - 0x330], 0x22c
push ebx
cmp dword [esi + 0x14], ebx
je 0x442d8c
lea eax, [ebp - 0x32c]
push eax
call fcn.004c9b50
mov edi, dword [esi + 0x14]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x442d7e
lea ecx, [ebp - 0x330]
push ecx
push edi
call fcn.004c61f0
add esp, 8
test al, al
je 0x442d7e
mov eax, dword [esi + 0x14]
jmp 0x442dc7
push ebx
push ebx
push ebx
push ebx
push str.Invalid_parent_process_specified
jmp 0x442efb
lea edx, [ebp - 0x32c]
push edx
call fcn.004c9b50
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004c61f0
add esp, 8
test al, al
je 0x442ef2
mov eax, dword [ebp - 0x318]
cmp eax, ebx
je 0x442ef2
push eax
push 0x441fd0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x442dfe
push 1
push 0xffffffffffffffff
push ebx
push 0x114
push str.Cant_find_appropriate_parent_window__n_nContinue_in_normal_mode_
call fcn.004262f0
add esp, 0x14
cmp eax, 6
jne 0x442e3e
mov dword [esi + 4], ebx
jmp 0x442f06
push eax
mov ecx, esi
call fcn.00442050
mov edi, eax
cmp edi, ebx
je 0x442e4f
mov ecx, dword [0x52fe34]
mov dword [ecx + 0x12084], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.__cmd
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebx
je 0x442e31
lea ebx, [eax + 0xc]
mov ecx, dword [0x52fe2c]
push ebx
push edi
call fcn.00415d40
pop edi
mov dword [esi + 0x18], 0xffffffff
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x1c]
push edx
mov ecx, esi
call fcn.004420e0
mov edi, 2
nop
cmp dword [esi + 0x18], ebx
je 0x442e77
cmp dword [esi + 0x20], ebx
jne 0x442f09
cmp dword [esi + 4], edi
jne 0x442f09
push 0xfe
lea ecx, [ebp - 0x102]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x104], ax
call fcn.004c9b50
add esp, 0xc
cmp byte [ebp - 1], bl
je 0x442eaf
lea edx, [ebp - 0x104]
push edx
mov ecx, esi
mov byte [ebp - 1], bl
call fcn.00442b00
test al, al
jne 0x442e60
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xb30]
push str._sCant_find_appropriate_shell_window__nUnrecognized_layout_of_the_Explorer._n_nContinue_in_normal_mode_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
push 1
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xb30]
push 0x114
push edx
call fcn.004262f0
add esp, 0x20
cmp eax, 6
jne 0x442e3e
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], ebx
jmp 0x442f06
push ebx
push ebx
push ebx
push ebx
push str.GetProcessInfo_GetCurrentProcessId____failed
call fcn.004263e0
mov dword [esi + 4], ebx
add esp, 0x14
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x442f1d
pop edi
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea edi, [esi + 0x4e]
push edi
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x442f52
cmp word [esi + eax*2 + 0x4c], 0x5c
jne 0x442f52
xor edx, edx
mov word [esi + eax*2 + 0x4c], dx
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret