Function at 0x4730b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x490], ecx
jne 0x47338c
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x110
jne 0x473137
mov eax, dword [esi + 0x18]
sub esp, 8
mov ecx, esi
mov dword [eax + 0x20], 1
mov eax, esp
mov dword [eax], edi
call fcn.004733b0
mov ecx, dword [ebp - 0x48c]
mov dword [ecx], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
je 0x473232
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x473232
movzx eax, di
mov edx, 0x131
mov dword [ebp - 0x494], eax
cmp dx, ax
jne 0x4732a1
mov eax, dword [esi + 0x18]
push ecx
push str.EXE_Files__.exe_
push 0x1004
push 0x515bb0
push str..exe
push 1
lea ecx, [ebp - 0x488]
mov dword [eax + 0x20], 1
call fcn.0041adc0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x438], str.Select_Executable_File
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x488]
call fcn.00418cc0
cmp eax, 1
jne 0x4731c6
lea eax, [ebp - 0x20c]
push eax
push 0xda
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x4731d6
push eax
call fcn.004c39de
mov eax, dword [ebp - 0x48c]
mov dword [eax], 0
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x473374
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x494]
mov edx, 1
cmp dx, ax
jne 0x473232
mov eax, dword [esi + 0x18]
push ecx
mov dword [eax + 0x20], edx
mov eax, esp
push edx
push ecx
mov dword [eax], ecx
mov ecx, esi
call fcn.00473430
mov eax, dword [ebp - 0x48c]
mov dword [eax], 0
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x473374
lea eax, [ebp - 0x494]
mov dword [ebp - 0x494], 1
push eax
push dword [ebp - 0x490]
mov ecx, esi
push edi
push ebx
call fcn.00419800
cmp dword [ebp - 0x494], 0
mov ecx, dword [ebp - 0x48c]
mov dword [ecx], eax
jne 0x473374
lea ecx, [esi + 0x20]
cmp ebx, 5
jne 0x473345
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x473303
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x4732f4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x473308
mov edx, 2
cmp dx, ax
jne 0x4731fb
mov eax, dword [esi + 0x18]
push edx
mov dword [eax + 0x20], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x48c]
mov dword [eax], 0
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
je 0x473232
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
test edi, edi
jne 0x473303
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x473308
cmp edi, 1
je 0x473368
mov ecx, dword [ebp - 0x490]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x20]
push eax
call fcn.004739e0
mov eax, dword [ebp - 0x48c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x47338c
cmp dword [ecx + 0x14], 0xffffffff
je 0x473368
cmp dword [ecx + 0x18], 0xffffffff
je 0x473368
mov edx, dword [ebp - 0x490]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x48c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18