Function at 0x4158c1
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, 0x43b93f
call fcn.0042779a
mov ebx, dword [ebp + 0x7c]
and dword [ebp - 0x10], 0
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x1bf], 0
mov esi, ecx
jne 0x415e9a
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 0x415944
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x368]
push eax
mov ecx, esi
call fcn.0040cd31
mov eax, dword [esi + 0xcc]
lea ecx, [eax + 0x350]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov edi, 0x88
cdq
idiv edi
test eax, eax
je 0x415981
mov eax, dword [ebx + 0xb4]
cmp byte [eax + 0x1bc], 0
jne 0x415981
push ecx
mov ecx, esi
call fcn.0040cd93
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 0x4159a2
push ecx
mov ecx, esi
call fcn.0040cd93
xor edi, edi
inc edi
push edi
mov ecx, ebx
call fcn.0040a230
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x480], 0
mov ebx, dword [ebx + 0xb4]
mov dword [ebp - 0x14], ebx
jne 0x4159fb
cmp dword [ebx + 0x3d4], 0
jne 0x4159d5
add eax, 0x1a0
jmp 0x4159db
lea eax, [ebx + 0x3c0]
cmp dword [eax + 0x18], 8
jb 0x4159e6
mov eax, dword [eax + 4]
jmp 0x4159e9
add eax, 4
push eax
lea ecx, [ebp - 0x44]
call fcn.004059cf
and dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
jmp 0x415a00
add eax, 0x46c
push eax
lea ecx, [ebp + 0x38]
call fcn.00407193
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 2
je 0x415a25
and dword [ebp - 0x10], 0xfffffffe
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.00405695
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x415a31
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 + 0x464], 0
jne 0x415aa6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x3f0], 0
jne 0x415a7f
add eax, 0x184
jmp 0x415a85
lea eax, [ecx + 0x3dc]
cmp dword [eax + 0x18], 8
jb 0x415a90
mov eax, dword [eax + 4]
jmp 0x415a93
add eax, 4
push eax
lea ecx, [ebp - 0x74]
call fcn.004059cf
or dword [ebp - 0x10], 2
mov byte [ebp - 4], 3
jmp 0x415aab
add eax, 0x450
push eax
lea ecx, [ebp]
call fcn.00407193
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 5
je 0x415ad1
and dword [ebp - 0x10], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.00405695
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x415add
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 + 0x465], 0
je 0x415afb
mov eax, dword [eax + 0x45c]
jmp 0x415b07
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x2d4]
push 0
push eax
push dword [ebp - 0x18]
lea ecx, [esi + 0x10c]
call fcn.0040524c
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 + 0x488], 0
je 0x415b40
mov eax, dword [eax + 0x484]
jmp 0x415b4c
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x2d8]
push 0
push eax
push edi
lea ecx, [esi + 0x10c]
call fcn.0040524c
push 0
push edi
call ebx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x49c], 0
jne 0x415bac
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x47c], 0
jne 0x415b82
add eax, 0x1bc
jmp 0x415b88
lea eax, [ecx + 0x468]
cmp dword [eax + 0x18], 8
jb 0x415b93
mov eax, dword [eax + 4]
jmp 0x415b96
add eax, 4
push eax
lea ecx, [ebp - 0x90]
call fcn.004059cf
or dword [ebp - 0x10], 4
mov byte [ebp - 4], 6
jmp 0x415bb1
add eax, 0x488
push eax
lea ecx, [ebp + 0x1c]
call fcn.00407193
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 8
je 0x415bd6
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.00405695
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x415be2
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.00409e75
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 0x415ce5
push dword [ebp - 0x10]
mov ecx, esi
push 6
push dword [ebp - 0x14]
call fcn.00409b36
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.00408938
cmp dword [eax + 0x44], 8
jb 0x415c59
mov eax, dword [eax + 0x30]
jmp 0x415c5c
add eax, 0x30
mov edi, dword [ebp - 0x18]
push eax
push edi
mov ecx, esi
call fcn.0040cc7b
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.00408938
cmp dword [eax + 0x44], 8
jb 0x415c8b
mov eax, dword [eax + 0x30]
jmp 0x415c8e
add eax, 0x30
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x20]
call fcn.00408938
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.00408938
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.004098d2
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
add eax, 0x13c
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00409e75
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401454
test al, al
je 0x415c1d
xor edi, edi
push edi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], 7
call fcn.004055f1
mov eax, dword [esi + 0xcc]
mov byte [ebp - 4], 9
cmp dword [eax + 0x410], edi
jne 0x415d3f
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x40c], edi
jne 0x415d37
add eax, 0x130
jmp 0x415d44
lea eax, [ecx + 0x3f8]
jmp 0x415d44
add eax, 0x3fc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.004058a4
push 0x43ecdc
lea ecx, [ebp + 0x54]
call fcn.00406510
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x42c], edi
jne 0x415d85
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x428], edi
jne 0x415d7d
add eax, 0x14c
jmp 0x415d8a
lea eax, [ecx + 0x414]
jmp 0x415d8a
add eax, 0x418
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405f03
push 0x43ecdc
lea ecx, [ebp + 0x54]
call fcn.00406510
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x448], edi
jne 0x415dcb
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x444], edi
jne 0x415dc3
add eax, 0x168
jmp 0x415dd0
lea eax, [ecx + 0x430]
jmp 0x415dd0
add eax, 0x434
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x54]
call fcn.00405f03
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x410], edi
jne 0x415e06
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0x464], 0
je 0x415dfe
mov eax, dword [ecx + 0x450]
jmp 0x415e0c
mov eax, dword [eax + 0x2c8]
jmp 0x415e0c
mov eax, dword [eax + 0x3e8]
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 0x415e2e
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.0040524c
push 5
push dword [ebp - 0x10]
call ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x415e5a
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 0x466]
push ecx
push 0xd
push eax
mov ecx, esi
call fcn.0040976b
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.00405695
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00405695
push edi
push esi
lea ecx, [ebp]
call fcn.00405695
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.00405695
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.0042778b
add ebp, 0x74
leave
ret 4