Function at 0x41589c
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x44ad18]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x84
mov eax, 0x43aac3
call fcn.004267ff
mov ebx, dword [ebp + 0x7c]
and dword [ebp - 0x10], 0
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x2a0], 0
mov esi, ecx
jne 0x415e35
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 + 0x2a4]
test eax, eax
jne 0x41591f
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x328]
push eax
mov ecx, esi
call fcn.0040cd97
mov eax, dword [esi + 0xcc]
lea ecx, [eax + 0x310]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov edi, 0x88
cdq
idiv edi
test eax, eax
je 0x41595c
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x140], 0
jne 0x41595c
push ecx
mov ecx, esi
call fcn.0040cdf9
mov eax, dword [ebx + 0xb4]
lea ecx, [eax + 0x258]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
cdq
idiv edi
test eax, eax
je 0x41597d
push ecx
mov ecx, esi
call fcn.0040cdf9
xor edi, edi
inc edi
push edi
mov ecx, ebx
call fcn.0040a0ad
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x43c], 0
mov ebx, dword [ebx + 0xb4]
mov dword [ebp - 0x18], ebx
jne 0x4159d6
cmp dword [ebx + 0x3d4], 0
jne 0x4159b0
add eax, 0x198
jmp 0x4159b6
lea eax, [ebx + 0x3c0]
cmp dword [eax + 0x18], 8
jb 0x4159c1
mov eax, dword [eax + 4]
jmp 0x4159c4
add eax, 4
push eax
lea ecx, [ebp - 0x44]
call fcn.00405965
and dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
jmp 0x4159db
add eax, 0x428
push eax
lea ecx, [ebp + 0x38]
call fcn.00407249
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 2
je 0x415a00
and dword [ebp - 0x10], 0xfffffffe
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.00405621
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x415a0c
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 - 0x14], eax
call ebx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x420], 0
jne 0x415a81
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3f0], 0
jne 0x415a5a
add eax, 0x17c
jmp 0x415a60
lea eax, [ecx + 0x3dc]
cmp dword [eax + 0x18], 8
jb 0x415a6b
mov eax, dword [eax + 4]
jmp 0x415a6e
add eax, 4
push eax
lea ecx, [ebp - 0x74]
call fcn.00405965
or dword [ebp - 0x10], 2
mov byte [ebp - 4], 3
jmp 0x415a86
add eax, 0x40c
push eax
lea ecx, [ebp]
call fcn.00407249
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 5
je 0x415aac
and dword [ebp - 0x10], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.00405621
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x415ab8
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x18]
push 0
push dword [eax + 0x45c]
lea ecx, [esi + 0xf8]
push dword [ebp - 0x14]
call fcn.004051ec
push 5
push dword [ebp - 0x14]
call ebx
mov eax, dword [esi + 8]
push 0xa2
push eax
call edi
mov edi, dword [ebp - 0x18]
push 0
push dword [edi + 0x484]
lea ecx, [esi + 0xf8]
push eax
mov dword [ebp - 0x14], eax
call fcn.004051ec
push 0
push dword [ebp - 0x14]
call ebx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x458], 0
jne 0x415b57
cmp dword [edi + 0x47c], 0
jne 0x415b2d
add eax, 0x1b4
jmp 0x415b33
lea eax, [edi + 0x468]
cmp dword [eax + 0x18], 8
jb 0x415b3e
mov eax, dword [eax + 4]
jmp 0x415b41
add eax, 4
push eax
lea ecx, [ebp - 0x90]
call fcn.00405965
or dword [ebp - 0x10], 4
mov byte [ebp - 4], 6
jmp 0x415b5c
add eax, 0x444
push eax
lea ecx, [ebp + 0x1c]
call fcn.00407249
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 8
je 0x415b81
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.00405621
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x415b8d
lea eax, [ebp + 0x20]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [ebp - 0x14]
call ebx
and dword [ebp - 0x10], 0
add edi, 0x270
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x28]
call fcn.00407106
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 0x415c91
push dword [ebp - 0x10]
mov ecx, esi
push 6
push dword [ebp - 0x18]
call fcn.00409b03
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 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.004127d8
cmp dword [eax + 0x44], 8
jb 0x415c05
mov eax, dword [eax + 0x30]
jmp 0x415c08
add eax, 0x30
mov edi, dword [ebp - 0x14]
push eax
push edi
mov ecx, esi
call fcn.0040cd13
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.004127d8
cmp dword [eax + 0x44], 8
jb 0x415c37
mov eax, dword [eax + 0x30]
jmp 0x415c3a
add eax, 0x30
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x20]
call fcn.004127d8
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.004127d8
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 - 0x14]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [ebp - 0x14]
call ebx
lea ecx, [ebp - 0x20]
call fcn.0040986b
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x10]
add eax, 0x270
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00407106
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406828
test al, al
je 0x415bc9
xor edi, edi
push edi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], 7
call fcn.0040557d
mov eax, dword [esi + 0xcc]
mov byte [ebp - 4], 9
cmp dword [eax + 0x3cc], edi
jne 0x415ceb
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x40c], edi
jne 0x415ce3
add eax, 0x128
jmp 0x415cf0
lea eax, [ecx + 0x3f8]
jmp 0x415cf0
add eax, 0x3b8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.0040583a
push 0x43dcd0
lea ecx, [ebp + 0x54]
call fcn.004064c6
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x3e8], edi
jne 0x415d31
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x428], edi
jne 0x415d29
add eax, 0x144
jmp 0x415d36
lea eax, [ecx + 0x414]
jmp 0x415d36
add eax, 0x3d4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405eb9
push 0x43dcd0
lea ecx, [ebp + 0x54]
call fcn.004064c6
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x404], edi
jne 0x415d77
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x444], edi
jne 0x415d6f
add eax, 0x160
jmp 0x415d7c
lea eax, [ecx + 0x430]
jmp 0x415d7c
add eax, 0x3f0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405eb9
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x3cc], edi
jne 0x415da1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x450]
jmp 0x415da7
mov eax, dword [eax + 0x3a4]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
push 0xa
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
mov dword [ebp - 0x14], eax
call ebx
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x415dc9
lea eax, [ebp + 0x58]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
call fcn.004051ec
push 5
push dword [ebp - 0x14]
call ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x415df5
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + 0x464]
push ecx
push 0xd
push eax
mov ecx, esi
call fcn.00409704
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.00405621
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00405621
push edi
push esi
lea ecx, [ebp]
call fcn.00405621
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.00405621
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.004267f0
add ebp, 0x74
leave
ret 4