Function at 0x40fc20
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d64e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call dword [sym.imp.user32.dll_GetFocus]
mov edi, eax
push 0x7f02
push 0
mov dword [esp + 0x3c], edi
call dword [sym.imp.user32.dll_LoadCursorA]
push eax
call dword [sym.imp.user32.dll_SetCursor]
mov ecx, dword [ebx + 0x200]
lea eax, [esp + 0x64]
push 0x50
push eax
push 0x7a
push ecx
call dword [sym.imp.user32.dll_LoadStringA]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x200]
lea edx, [esp + 0x66]
push 0
push edx
push eax
push ecx
call fcn.0044bd70
add esp, 0x10
mov ebp, eax
mov dword [esp + 0x38], ebp
push 5
push ebp
call dword [sym.imp.user32.dll_ShowWindow]
push ebp
call dword [sym.imp.user32.dll_UpdateWindow]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
push 0x208
push ebp
call esi
push 0x1fb
push ebp
mov dword [esp + 0x44], eax
call esi
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.user32.dll_SetWindowTextA]
push 0x80
xor esi, esi
mov dword [esp + 0x14], 0x4d86f4
call fcn.004c7e90
xor ecx, ecx
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x24], pe_nt_image_headers32
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x2c8], ecx
cmp edi, eax
mov dword [esp + 0x20], 1
jne 0x40fd48
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00418060
cmp dword [eax + 0xc], 1
jne 0x410004
mov edx, dword [esp + 0x2d0]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push ebp
call fcn.00405630
add esp, 0x10
mov esi, eax
jmp 0x410004
mov eax, dword [ebx + 0x10]
cmp edi, eax
jne 0x40fdc6
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push ecx
push 8
push 0x110a
push eax
call edi
test eax, eax
jne 0x40fd72
mov ecx, dword [ebx + 0x10]
push eax
push 9
push 0x110a
push ecx
call edi
mov edx, dword [ebx + 0x10]
push eax
push edx
call fcn.00404b60
add esp, 8
test eax, eax
je 0x410004
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1b8]
push ecx
push edx
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
test eax, eax
je 0x410004
mov ecx, dword [esp + 0x2d0]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x1bc]
push ecx
push edx
push ebp
call fcn.00405630
add esp, 0x10
mov esi, eax
jmp 0x410004
lea ecx, [esp + 0x44]
call fcn.0041e520
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
mov byte [esp + 0x2cc], 1
call fcn.00412540
mov esi, dword [esp + 0x4c]
xor edi, edi
xor ecx, ecx
test esi, esi
jle 0x40fe1f
mov edx, dword [esp + 0x48]
cmp ecx, esi
jge 0x40fdff
test ecx, ecx
jl 0x40fdff
mov eax, dword [edx]
jmp 0x40fe01
xor eax, eax
cmp dword [eax + 0xc], 0
je 0x40fe10
cmp dword [eax + 8], 2
je 0x40fe10
add edi, 2
cmp dword [eax + 0x3c], 0
jl 0x40fe17
inc edi
inc ecx
add edx, 4
cmp ecx, esi
jl 0x40fdf7
xor eax, eax
cmp edi, 2
setl al
test eax, eax
je 0x40fe4f
mov edx, dword [esp + 0x2d0]
lea ecx, [esp + 0x10]
push ecx
lea eax, [ebx + 0x20c]
push edx
push eax
push ebp
call fcn.00405630
add esp, 0x10
mov esi, eax
jmp 0x40fff3
xor edi, edi
test esi, esi
mov dword [esp + 0x30], edi
jle 0x40ff7a
cmp edi, esi
mov dword [esp + 0x2c], edi
jge 0x40fe72
test edi, edi
jl 0x40fe72
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + edi*4]
jmp 0x40fe74
xor eax, eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jl 0x40ff39
mov eax, dword [eax + 0x68]
lea edx, [ebx + 0x20c]
push eax
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00442e30
lea ecx, [esp + 0xc0]
push ecx
call fcn.00442c90
add esp, 0x10
mov dword [esp + 0x40], eax
test eax, eax
je 0x40ff35
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea edx, [ecx + 1]
cmp esi, edx
jne 0x40ff21
mov eax, dword [esp + 0x24]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.004c7e90
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ebp, eax
lea ecx, [edx*4 + 4]
mov edi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c7e56
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
add esp, 8
add eax, edx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x4c]
test ebp, ebp
je 0x40ff62
mov eax, dword [esp + 0x2c]
push 0
cdq
idiv esi
push eax
mov eax, dword [esp + 0x44]
push 0x402
push eax
call dword [sym.imp.user32.dll_SendMessageA]
push ebp
call dword [sym.imp.user32.dll_UpdateWindow]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
inc edi
add ecx, 0x64
cmp edi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
jl 0x40fe65
xor edi, edi
test esi, esi
jle 0x40ffe5
cmp edi, esi
jge 0x40ff91
test edi, edi
jl 0x40ff91
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + edi*4]
jmp 0x40ff93
xor ecx, ecx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x40ffe0
cmp dword [ecx + 8], 2
je 0x40ffe0
lea edx, [esp + 0xb4]
push 1
lea eax, [ebx + 0x20c]
push edx
push eax
call fcn.0041df30
test eax, eax
je 0x40ffdc
mov edx, dword [esp + 0x2d0]
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
push ebp
call fcn.00405630
add esp, 0x10
test eax, eax
je 0x40ffe5
mov esi, dword [esp + 0x4c]
inc edi
cmp edi, esi
jl 0x40ff84
mov eax, dword [0x4fc004]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 0
call fcn.0041e630
push ebp
call dword [sym.imp.user32.dll_DestroyWindow]
test esi, esi
je 0x410068
mov eax, dword [esp + 0x18]
test eax, eax
je 0x410028
mov edx, dword [ebx]
push 1
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, ebx
call dword [edx]
jmp 0x410068
mov eax, dword [esp + 0x2d0]
xor ecx, ecx
test eax, eax
setne cl
add ecx, 0x75
xor edx, edx
test eax, eax
mov eax, dword [ebx + 8]
push 0
setne dl
add edx, 0x209
push ecx
mov ecx, dword [ebx + 0x200]
push edx
push eax
push ecx
call fcn.00443760
mov edx, dword [esp + 0x48]
add esp, 0x14
push edx
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c8], 0xffffffff
test eax, eax
mov dword [esp + 0x10], 0x4d86f4
je 0x4100b2
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x4100b2
cmp esi, eax
jge 0x41009e
test esi, esi
jl 0x41009e
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
jmp 0x4100a0
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x410091
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c7e56
mov ecx, dword [esp + 0x2c4]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2bc
ret 4