Function at 0x478150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x18], 1
jne 0x4786e3
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp ecx, 0x110
jne 0x478193
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
push pe_nt_image_headers32
call fcn.00487c10
jmp 0x47862e
cmp ecx, 0x2f25
jne 0x4781b0
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0xc7f
jne 0x4781cd
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0x2f3a
jne 0x4781ea
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0x2f3b
jne 0x478207
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0x2f2c
jne 0x478224
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0x2f4f
jne 0x478241
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00488f60
jmp 0x47862e
cmp ecx, 0x111
jne 0x4783fb
mov eax, dword [ebp + 0x10]
mov edx, 2
movzx ecx, ax
shr eax, 0x10
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x478286
lea ecx, [ebp + 0x18]
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00487a90
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x5e9
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4783f3
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004875a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov edx, 0x5eb
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4782fb
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004882d0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x5e6
cmp dx, cx
jne 0x478329
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004881a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, 0x5e7
cmp ax, cx
jne 0x47835d
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x5e7
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00488790
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, 0x5ec
cmp ax, cx
jne 0x478391
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x5ec
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00488970
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, 0x5e8
cmp ax, cx
jne 0x4783c5
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x5e8
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00488e50
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov ecx, dword [ebp + 0x1c]
mov eax, 0x5ea
cmp ax, cx
jne 0x47863a
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x5ea
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00487700
jmp 0x47862e
movzx eax, ax
jmp 0x4782c4
cmp ecx, 0x4e
jne 0x47863a
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xfffffffe
jne 0x478432
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
call fcn.00447000
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xfffffffd
jne 0x478467
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00447000
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xfffffffb
jne 0x47849c
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00447000
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xfffffffa
jne 0x4784d1
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00447000
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xffffff6a
jne 0x478505
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004871d0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e1
jne 0x478536
cmp dword [esi + 8], 0xffffff9b
jne 0x478536
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00487490
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e2
jne 0x47863a
cmp dword [esi + 8], 0xfffffffe
jne 0x47856b
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00449d50
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e2
jne 0x47863a
cmp dword [esi + 8], 0xfffffffd
jne 0x4785a0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00449d50
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e2
jne 0x47863a
cmp dword [esi + 8], 0xfffffffb
jne 0x4785d5
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00449d50
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e2
jne 0x47863a
cmp dword [esi + 8], 0xfffffffa
jne 0x478606
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00449d50
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
cmp dword [esi + 4], 0x5e2
jne 0x47863a
cmp dword [esi + 8], 0xffffff6a
jne 0x47863a
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00488420
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4786d7
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xe0]
cmp eax, 5
jne 0x4786b4
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x478684
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x478675
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47868c
test ecx, ecx
jne 0x478687
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47868c
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x4786d1
mov eax, esi
lea ecx, [edi + 0xe0]
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
call fcn.00440bb0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4786e3
cmp dword [ecx + 0x14], 0xffffffff
je 0x4786d1
cmp dword [ecx + 0x18], 0xffffffff
je 0x4786d1
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18