Function at 0x460bd0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce45d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x640844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x18]
jne 0x460d26
mov eax, dword [ebp + 0xc]
cmp eax, 5
jne 0x460cb4
mov eax, dword [edi + 0x18]
lea ecx, [edi + 4]
push 0
mov dword [eax + 0x20], 1
call fcn.0041e180
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x80
push dword [0x647e58]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0045fd20
push 0x3020
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x460c7f
push 0x3020
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3027
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x460ca8
push 0x3027
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004606c0
jmp 0x460e46
cmp eax, 0xf
jne 0x460cd7
mov eax, dword [edi + 0x18]
push ecx
mov ecx, esp
mov dword [eax + 0x20], 1
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, edi
call fcn.004609f0
jmp 0x460e46
cmp eax, 0x136
jne 0x460d3c
mov eax, dword [edi + 0x18]
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0x10], esi
mov dword [eax + 0x20], 1
mov eax, dword [edi + 0x7a4]
lea ecx, [edi + 0x7a4]
push str.DialogBackground
mov dword [ebp - 4], 0
call dword [eax + 8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [edi + 0x7a8]
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x460f32
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x138
je 0x460d51
cmp eax, 0x135
je 0x460d51
cmp eax, 0x137
jne 0x460d96
mov eax, dword [edi + 0x18]
push ecx
mov ecx, esp
push ecx
mov dword [eax + 0x20], 1
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, esp
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, edi
call fcn.00460980
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x460d26
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x460e72
cmp dword [ebp + 0x10], 0x1b39
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
jne 0x460e46
cmp dword [edi + 0xa8], 0xc
lea esi, [edi + 0x7bc]
jne 0x460e04
push 0x1b39
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x460de4
mov esi, dword [esi]
mov byte [esi], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 1
push 0x471
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x460e46
mov ecx, esi
call fcn.0048a5a0
cmp eax, 3
jae 0x460e1e
push 0x5e071c
mov ecx, esi
call fcn.00489bf0
jmp 0x460e30
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x460e2d
mov esi, dword [esi]
mov byte [esi], 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x460d26
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x460efe
mov esi, dword [ebp + 0x10]
mov ecx, 2
movzx eax, si
mov dword [ebp + 0x18], eax
cmp cx, ax
je 0x460f2c
push dword [ebp + 0x14]
push esi
push 0x111
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
shr esi, 0x10
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x460ee3
cmp word [ebp + 0x18], 1
jne 0x460ee3
test dword [edi + 0x28], 0x400
je 0x460ee3
push esi
push esi
push 0x476
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x460ee0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x112
jne 0x460f4b
test dword [edi + 0x28], 0x400
je 0x460f6e
mov eax, dword [ebp + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
jne 0x460f6e
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x400
jne 0x460d26
movzx eax, word [ebp + 0x10]
mov ecx, 0x7d0
cmp ax, cx
je 0x460f79
mov ecx, 0x87c0
cmp ax, cx
je 0x460f79
mov dword [ebx], 0
jmp 0x460d26
mov eax, dword [edi + 4]
test eax, eax
jne 0x460f89
mov eax, dword [edi + 0x40]
inc eax
mov dword [edi + 0x40], eax
jmp 0x460f2c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x474
push eax
call esi
push 0
push 0
push 0x130b
push eax
call esi
mov ecx, dword [edi + 4]
inc eax
test ecx, ecx
jne 0x460fb7
mov dword [edi + 0x40], eax
jmp 0x460f2c
push 0
push eax
push 0x465
push ecx
call esi
mov dword [ebx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18