Function at 0x416761
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x84
mov eax, 0x43c4c7
call fcn.0042816e
mov ebx, dword [ebp + 0x7c]
and dword [ebp - 0x10], 0
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x22b], 0
mov esi, ecx
jne 0x416d3a
and dword [ebp - 0x54], 0
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x54]
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
push 1
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0xb4]
mov eax, dword [eax + 0x138]
test eax, eax
jne 0x4167e4
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x36c]
push eax
mov ecx, esi
call fcn.0040f44d
mov eax, dword [esi + 0xcc]
lea ecx, [eax + 0x354]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov edi, 0x88
cdq
idiv edi
test eax, eax
je 0x416821
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x228], 0
jne 0x416821
push ecx
mov ecx, esi
call fcn.0040f4af
mov eax, dword [ebx + 0xb4]
lea ecx, [eax + 0x120]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
cdq
idiv edi
test eax, eax
je 0x416842
push ecx
mov ecx, esi
call fcn.0040f4af
xor edi, edi
inc edi
push edi
mov ecx, ebx
call fcn.0040c383
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x484], 0
mov ebx, dword [ebx + 0xb4]
mov dword [ebp - 0x14], ebx
jne 0x41689b
cmp dword [ebx + 0x440], 0
jne 0x416875
add eax, 0x1a4
jmp 0x41687b
lea eax, [ebx + 0x42c]
cmp dword [eax + 0x18], 8
jb 0x416886
mov eax, dword [eax + 4]
jmp 0x416889
add eax, 4
push eax
lea ecx, [ebp - 0x44]
call fcn.0040594d
and dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
jmp 0x4168a0
add eax, 0x470
push eax
lea ecx, [ebp + 0x38]
call fcn.00408dcc
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 2
je 0x4168c5
and dword [ebp - 0x10], 0xfffffffe
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.00405613
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x4168d1
lea ecx, [ebp + 0x3c]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push 0xd
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 8]
push 0xb
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
mov dword [ebp - 0x18], eax
call ebx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x468], 0
jne 0x416946
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x45c], 0
jne 0x41691f
add eax, 0x188
jmp 0x416925
lea eax, [ecx + 0x448]
cmp dword [eax + 0x18], 8
jb 0x416930
mov eax, dword [eax + 4]
jmp 0x416933
add eax, 4
push eax
lea ecx, [ebp - 0x74]
call fcn.0040594d
or dword [ebp - 0x10], 2
mov byte [ebp - 4], 3
jmp 0x41694b
add eax, 0x454
push eax
lea ecx, [ebp]
call fcn.00408dcc
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 5
je 0x416971
and dword [ebp - 0x10], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.00405613
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41697d
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x4d1], 0
je 0x41699b
mov eax, dword [eax + 0x4c8]
jmp 0x4169a7
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x2d8]
push 0
push eax
push dword [ebp - 0x18]
lea ecx, [esi + 0x10c]
call fcn.004051be
push 5
push dword [ebp - 0x18]
call ebx
mov eax, dword [esi + 8]
push 0xa2
push eax
call edi
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x4f4], 0
je 0x4169e0
mov eax, dword [eax + 0x4f0]
jmp 0x4169ec
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x2dc]
push 0
push eax
push edi
lea ecx, [esi + 0x10c]
call fcn.004051be
push 0
push edi
call ebx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x4a0], 0
jne 0x416a4c
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x4e8], 0
jne 0x416a22
add eax, 0x1c0
jmp 0x416a28
lea eax, [ecx + 0x4d4]
cmp dword [eax + 0x18], 8
jb 0x416a33
mov eax, dword [eax + 4]
jmp 0x416a36
add eax, 4
push eax
lea ecx, [ebp - 0x90]
call fcn.0040594d
or dword [ebp - 0x10], 4
mov byte [ebp - 4], 6
jmp 0x416a51
add eax, 0x48c
push eax
lea ecx, [ebp + 0x1c]
call fcn.00408dcc
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 8
je 0x416a76
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.00405613
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416a82
lea eax, [ebp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push edi
call ebx
mov edi, dword [ebp - 0x14]
and dword [ebp - 0x10], 0
add edi, 0x13c
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x28]
call fcn.00406c18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push edi
push dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x416b85
push dword [ebp - 0x10]
mov ecx, esi
push 6
push dword [ebp - 0x14]
call fcn.0040b9bd
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x18], eax
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
call fcn.004135b8
cmp dword [eax + 0x44], 8
jb 0x416af9
mov eax, dword [eax + 0x30]
jmp 0x416afc
add eax, 0x30
mov edi, dword [ebp - 0x18]
push eax
push edi
mov ecx, esi
call fcn.0040f3c9
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push edi
call ebx
lea ecx, [ebp - 0x20]
call fcn.004135b8
cmp dword [eax + 0x44], 8
jb 0x416b2b
mov eax, dword [eax + 0x30]
jmp 0x416b2e
add eax, 0x30
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x20]
call fcn.004135b8
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.004135b8
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
push 1
push ecx
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
push ecx
push dword [edi + 0x4c]
push dword [eax + 0x48]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [ebp - 0x18]
call ebx
lea ecx, [ebp - 0x20]
call fcn.0040b77d
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
add eax, 0x13c
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00406c18
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.004135e4
test al, al
je 0x416abd
xor edi, edi
push edi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], 7
call fcn.0040556f
mov eax, dword [esi + 0xcc]
mov byte [ebp - 4], 9
cmp dword [eax + 0x414], edi
jne 0x416bdf
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x478], edi
jne 0x416bd7
add eax, 0x134
jmp 0x416be4
lea eax, [ecx + 0x464]
jmp 0x416be4
add eax, 0x400
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405822
push 0x43eec4
lea ecx, [ebp + 0x54]
call fcn.0040648e
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x430], edi
jne 0x416c25
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x494], edi
jne 0x416c1d
add eax, 0x150
jmp 0x416c2a
lea eax, [ecx + 0x480]
jmp 0x416c2a
add eax, 0x41c
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405e81
push 0x43eec4
lea ecx, [ebp + 0x54]
call fcn.0040648e
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x44c], edi
jne 0x416c6b
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x4b0], edi
jne 0x416c63
add eax, 0x16c
jmp 0x416c70
lea eax, [ecx + 0x49c]
jmp 0x416c70
add eax, 0x438
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405e81
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x414], edi
jne 0x416ca6
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0x4d0], 0
je 0x416c9e
mov eax, dword [ecx + 0x4bc]
jmp 0x416cac
mov eax, dword [eax + 0x2cc]
jmp 0x416cac
mov eax, dword [eax + 0x3ec]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
push 0xa
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
mov dword [ebp - 0x10], eax
call ebx
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x416cce
lea eax, [ebp + 0x58]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x10]
call fcn.004051be
push 5
push dword [ebp - 0x10]
call ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x416cfa
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 0x4d2]
push ecx
push 0xd
push eax
mov ecx, esi
call fcn.0040b616
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.00405613
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00405613
push edi
push esi
lea ecx, [ebp]
call fcn.00405613
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.00405613
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.0042815f
add ebp, 0x74
leave
ret 4