Function at 0x408820
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4eb878]
sub esp, 0xf0
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x408844
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf0
ret 4
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x40885e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf0
ret 4
mov ecx, esi
call fcn.00420450
mov ecx, dword [esi + 0x200]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x20]
push 0x50
push eax
push 0x9d
push ecx
call ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x200]
lea edx, [esp + 0x20]
push 0x1f4
push edx
push eax
push ecx
call fcn.004539e0
add esp, 0x10
mov edi, eax
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x200]
lea edx, [esp + 0x20]
push 0x50
push edx
push 0x9e
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
push 0x1fb
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x104]
lea edx, [esp + 0x70]
push 0
push edx
mov cx, word [eax + 0x64]
push 0
lea ebp, [esi + 0x9a0]
push 0
push ecx
push ebp
call dword [0x4eb870]
test ax, ax
je 0x4089d3
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0x200]
movsx eax, ax
cmp eax, 0xfffffc0d
jg 0x408965
je 0x40895e
add eax, 0x403
cmp eax, 0xe
ja case.0x408975.1005
xor edx, edx
mov dl, byte [eax + 0x408bc0]
jmp dword [edx*4 + 0x408ba4]
mov eax, 0x217
jmp 0x4089a4
mov eax, 0x21a
jmp 0x4089a4
mov eax, 0x21b
jmp 0x4089a4
mov eax, 0x21c
jmp 0x4089a4
mov eax, 0x21d
jmp 0x4089a4
mov eax, 0x21e
jmp 0x4089a4
mov eax, 0x219
jmp 0x4089a4
test eax, eax
jg case.0x408975.1005
je 0x40899f
add eax, 0x3ee
cmp eax, 6
ja case.0x408975.1005
jmp dword [eax*4 + 0x408bd0]
mov eax, 0x213
jmp 0x4089a4
mov eax, 0x214
jmp 0x4089a4
mov eax, 0x215
jmp 0x4089a4
mov eax, 0x216
jmp 0x4089a4
mov eax, 0x218
jmp 0x4089a4
mov eax, 0x212
push 0
push 0xa2
push eax
push ecx
push ebp
call fcn.0044adc0
add esp, 0x14
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.004204e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf0
ret 4
mov eax, dword [esp + 0x84]
push eax
mov dword [esp + 0x18], eax
call fcn.004be967
mov ecx, dword [esi + 0x200]
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push 0x50
push eax
push 0xa1
push ecx
mov dword [esp + 0x28], 0x408c40
mov dword [esp + 0x2c], edi
call ebx
lea edx, [esp + 0x20]
push edx
push 0x1fb
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
push ebp
call dword [0x4eb874]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_DestroyWindow]
test bx, bx
je 0x408b16
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x200]
movsx eax, bx
cmp eax, 0xfffffc0d
jg 0x408aaf
je 0x408aa8
add eax, 0x403
cmp eax, 0xe
ja case.0x408abf.1005
xor edx, edx
mov dl, byte [eax + 0x408c08]
jmp dword [edx*4 + 0x408bec]
mov eax, 0x217
jmp 0x408aee
mov eax, 0x21a
jmp 0x408aee
mov eax, 0x21b
jmp 0x408aee
mov eax, 0x21c
jmp 0x408aee
mov eax, 0x21d
jmp 0x408aee
mov eax, 0x21e
jmp 0x408aee
mov eax, 0x219
jmp 0x408aee
test eax, eax
jg case.0x408abf.1005
je 0x408ae9
add eax, 0x3ee
cmp eax, 6
ja case.0x408abf.1005
jmp dword [eax*4 + 0x408c18]
mov eax, 0x213
jmp 0x408aee
mov eax, 0x214
jmp 0x408aee
mov eax, 0x215
jmp 0x408aee
mov eax, 0x216
jmp 0x408aee
mov eax, 0x218
jmp 0x408aee
mov eax, 0x212
push 0
push 0xa2
push eax
push ecx
push edi
call fcn.0044adc0
add esp, 0x14
mov ecx, esi
call fcn.004204e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf0
ret 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0xac]
mov edi, 1
call fcn.00459e10
mov edx, dword [esi + 0x208]
mov ecx, dword [esi + 8]
push ecx
mov eax, dword [edx + 0x6d0]
mov edx, dword [esi + 0x200]
push edx
push 0
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00453aa0
add esp, 0x14
test eax, eax
jne 0x408b7f
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x200]
push eax
push 0x203
push 0x203
push ecx
push edx
call fcn.0044adc0
add esp, 0x14
xor edi, edi
mov ecx, esi
call fcn.004204e0
lea ecx, [esp + 0xa4]
call fcn.00459f00
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 4