Function at 0x461570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5893ce
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa4], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jle 0x4615ce
mov eax, dword [esi + 4]
push 0x456
push eax
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x456
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call ebx
jmp 0x4615d4
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0xa4]
dec eax
je 0x4618c3
dec eax
je 0x46164a
sub eax, 2
jne 0x461aa6
mov eax, dword [esi + 0x9c]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x461616
mov edx, dword [eax + 4]
push edx
call edi
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x461616
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x461639
mov eax, dword [eax + 4]
push eax
call edi
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x461639
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x461aa6
cmp dword [esi + 0x94], 0
je 0x4617e5
push 0
push 0
push 1
push 4
lea edx, [esi + 0x60]
push edx
push 0x3fd
lea ecx, [esi + 0x40]
call fcn.00449be0
test eax, eax
je 0x4616aa
push 0
push 0
push 1
push 4
lea eax, [esi + 0x64]
push eax
push 0x3ea
lea ecx, [esi + 0x40]
call fcn.00449be0
test eax, eax
je 0x4616aa
push 0
push 0
push 1
push 4
lea ecx, [esi + 0x68]
push ecx
push 0x43e
lea ecx, [esi + 0x40]
call fcn.00449be0
mov edx, dword [esi + 0x64]
cmp dword [edx - 0xc], 0
jg 0x461720
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
push 0
push 0x8b
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4616f0
push 0x8b
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
push 0x30
push 0x5a081c
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d60
jmp 0x461aa6
mov edx, dword [esi + 0x24]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x9c], 0
jne 0x461781
push 0x2d64
call fcn.0055549a
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 3
test ebx, ebx
je 0x461772
push ecx
lea eax, [esi + 0x64]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00404d10
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.0042c000
jmp 0x461774
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x9c]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4617a5
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.004613b0
mov edx, dword [esi + 0x9c]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 1
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x456
push edx
call edi
push 0
push eax
call ebx
inc dword [esi + 0xa4]
jmp 0x461a94
mov eax, dword [esi + 0xa0]
push pe_nt_image_headers32
push 1
push 1
push 4
lea ecx, [eax + 0x2dc]
push ecx
push 0x3f2
lea ecx, [eax + 0x258]
call fcn.00457fb0
mov eax, dword [esi + 0xa0]
push pe_nt_image_headers32
push 1
push 1
push 4
lea edx, [eax + 0x2e0]
push edx
push 0x3f8
lea ecx, [eax + 0x258]
call fcn.00457fb0
mov eax, dword [esi + 0xa0]
lea ecx, [eax + 0x2e0]
push ecx
add eax, 0x2dc
push eax
call fcn.00402d50
add esp, 8
test al, al
je 0x46188e
mov eax, dword [0x5fd7c0]
push 0x80
lea edx, [ebp - 0x218]
push edx
push 0x8c
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
push 0x30
push 0x5a081c
lea ecx, [ebp - 0x218]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x461aa6
mov ecx, dword [esi + 0xa0]
push 0
call fcn.00458d00
mov eax, dword [esi + 4]
push 1
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x456
push ecx
call edi
push 0
push eax
call ebx
inc dword [esi + 0xa4]
jmp 0x461a94
lea ebx, [esi + 0x90]
test ebx, ebx
je 0x4618d2
lea eax, [ebx - 0x20]
jmp 0x4618d4
xor eax, eax
mov eax, dword [eax + 4]
push 0x466
push eax
call edi
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], eax
mov ecx, dword [ebx - 0x1c]
push 0x467
push ecx
call edi
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x94], eax
mov edx, dword [esi + 0x74]
push 0
push edx
call ebx
cmp dword [esi + 0x94], 0
je 0x4619a7
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x24]
add eax, 0x918
push ecx
mov dword [esi + 0x58], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x461952
mov edx, dword [esi + 4]
push eax
lea ecx, [esi + 0x20]
push edx
call fcn.00461350
push 0
lea ecx, [esi + 0x24]
call fcn.00401ce0
mov eax, dword [esi + 0x24]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc dword [esi + 0xa4]
mov edx, dword [0x5fd7c0]
push 0x80
lea ecx, [ebp - 0x118]
push ecx
push 0x10e
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
push 1
push eax
call edi
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x461aa6
cmp dword [esi + 0xa0], 0
jne 0x4619f0
push 0x6210
call fcn.0055549a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4619e1
mov edx, dword [esi + 0xa8]
add edx, 0x604
push edx
mov ecx, eax
call fcn.0045d5c0
jmp 0x4619e3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x461a25
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0xa0]
call fcn.00461410
mov edx, dword [esi + 4]
push 1
push edx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0xa0]
call fcn.00457550
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 4]
push 1
push 0
push 0
push 5
push 5
push 1
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 4]
push 5
push eax
call ebx
inc dword [esi + 0xa4]
mov edx, dword [0x5fd7c0]
push 0x80
lea ecx, [ebp - 0x118]
push ecx
push 0x10d
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
push 1
push eax
call edi
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0x456
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10