Function at 0x4083e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4caf6c]
sub esp, 0xb8
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
jne 0x408402
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
mov eax, dword [ebx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebx + 0xa0]
push 0
push 1
push 1
push 0
call fcn.00449910
push 0
mov ecx, ebx
call fcn.004151a0
mov ecx, ebx
call fcn.0041a530
mov ecx, ebx
call fcn.0041a670
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0041a7a0
mov eax, dword [ebx + 0x2a4]
test eax, eax
je 0x408468
mov ecx, ebx
call fcn.00412dd0
mov edx, dword [ebx + 0x90]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x58]
push 0x50
push ecx
push 0xa2
push edx
call esi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x90]
lea eax, [esp + 0x58]
push 0
push eax
push ecx
push edx
call fcn.0043ff40
add esp, 0x10
mov ebp, eax
mov dword [esp + 0x20], ebp
push 0x82
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x71
push ebp
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebx + 0x90]
lea eax, [esp + 0x58]
push 0x50
push eax
push 0x9e
push ecx
call esi
lea edx, [esp + 0x58]
push edx
push 0x71
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x58]
push eax
push ecx
call esi
mov ecx, ebx
call fcn.004082e0
test eax, eax
jne 0x40852f
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0xa4]
push edx
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x32
push 0x402
push edi
call esi
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x28]
lea eax, [ebx + 0x6f4]
push ecx
push edx
push eax
call dword [0x4caf60]
test ax, ax
mov dword [esp + 0x10], eax
je 0x40859f
mov ecx, ebx
call fcn.004083a0
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
movsx eax, word [esp + 0x10]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x90]
push eax
push ecx
push edx
call fcn.00407e60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
push 0
push 0x64
push 0x402
push edi
call esi
mov ecx, ebx
call fcn.0041be70
mov eax, dword [ebx + 8]
push 0
push 0
push 0xb
push eax
mov dword [ebx + 0x6e8], 1
call esi
mov ecx, dword [ebx + 8]
push 0
push 0
push 0x1009
push ecx
call esi
mov ecx, ebx
call fcn.00417700
mov eax, dword [ebx + 0x48c]
test eax, eax
je 0x40861e
mov eax, dword [ebx + 0x484]
xor esi, esi
test eax, eax
jle 0x40861e
cmp esi, eax
jge 0x408607
test esi, esi
jl 0x408607
mov edx, dword [ebx + 0x480]
mov ecx, dword [edx + esi*4]
jmp 0x408609
xor ecx, ecx
test ecx, ecx
je 0x408613
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0x484]
inc esi
cmp esi, eax
jl 0x4085f8
mov ecx, dword [ebx + 0x480]
push ecx
call fcn.00498600
add esp, 4
push 0x80
call fcn.004985f0
mov dword [ebx + 0x480], eax
add esp, 4
movsx eax, word [esp + 0x40]
mov dword [ebx + 0x484], 0
mov dword [ebx + 0x488], 0x1f
lea edx, [eax + eax*4]
mov dword [ebx + 0x490], 0x40
shl edx, 2
push edx
call fcn.004985f0
add esp, 4
mov edi, eax
lea eax, [ebx + 0x6f4]
mov dword [esp + 0x14], edi
push edi
push eax
call dword [0x4caf50]
mov esi, eax
test si, si
je 0x4086cc
cmp si, 0xfc18
je 0x4086cc
lea eax, [ebx + 0x6f4]
push eax
call dword [0x4caf58]
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x90]
movsx eax, si
push eax
push ecx
push edx
call fcn.00407e60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
xor esi, esi
cmp word [esp + 0x40], si
jle 0x4087dc
mov dword [esp + 0x10], edi
push 0x64
call fcn.004985f0
add esp, 4
test eax, eax
je 0x4086f9
push 0
push edi
mov ecx, eax
call fcn.0041d2e0
mov ebp, eax
jmp 0x4086fb
xor ebp, ebp
mov eax, dword [edi + 0x10]
inc esi
mov ecx, ebp
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x30], 0xff
mov dword [esp + 0x1c], esi
mov dword [ebp + 0x58], esi
call fcn.0041d7a0
test ebp, ebp
je 0x4087c0
mov eax, dword [ebx + 0x488]
mov edx, dword [ebx + 0x484]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4087a4
add eax, dword [ebx + 0x490]
lea edx, [eax*4 + 4]
push edx
call fcn.004985f0
mov ecx, dword [ebx + 0x488]
mov esi, dword [ebx + 0x480]
mov edi, eax
add esp, 4
lea ecx, [ecx*4 + 4]
mov dword [esp + 0x24], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x480]
push eax
call fcn.00498600
mov edx, dword [ebx + 0x490]
mov eax, dword [ebx + 0x488]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
add esp, 4
add eax, edx
mov dword [ebx + 0x480], ecx
mov dword [ebx + 0x488], eax
mov eax, dword [ebx + 0x484]
mov ecx, dword [ebx + 0x480]
mov dword [ecx + eax*4], ebp
mov eax, dword [ebx + 0x484]
inc eax
mov dword [ebx + 0x484], eax
movsx edx, word [esp + 0x40]
add edi, 0x14
cmp esi, edx
mov dword [esp + 0x10], edi
jl 0x4086dd
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push edi
call fcn.00498600
add esp, 4
xor edi, edi
mov ecx, ebx
push edi
push edi
call fcn.00416160
push edi
mov ecx, ebx
call fcn.004138b0
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
push 0x4e95
mov ecx, ebx
call fcn.004176c0
mov ecx, dword [str._KDC210_]
lea esi, [ebx + 0xa4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebx + 0x18]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebp
mov dword [ebx + 0x2b8], edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, ebx
mov dword [ebx + 0x6e0], edi
mov dword [ebx + 0x6e4], edi
call fcn.004139f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb8
ret