Function at 0x412f89
Capabilities:
Hide graphical window

Disassembly:
push 0xe4
mov eax, 0x437acd
call fcn.00425136
and dword [ebp - 0x84], 0
mov esi, edx
mov eax, dword [esi + 0xb4]
cmp byte [eax + 0x2a0], 0
mov ebx, ecx
mov dword [ebp - 0x8c], ebx
jne 0x4135af
and dword [ebp - 0xd4], 0
xor eax, eax
lea edi, [ebp - 0xd0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0xd4]
stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 8]
push 1
lea ecx, [ebp - 0xd4]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0xb4]
mov eax, dword [eax + 0x2a4]
test eax, eax
jne 0x41300e
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + 0x2d8]
mov edi, ebx
call fcn.0040bc6d
mov eax, dword [ebx + 0xcc]
lea ecx, [eax + 0x2c0]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov edi, 0x88
cdq
idiv edi
test eax, eax
je 0x41303a
push ecx
push ebx
call fcn.0040bcc5
mov eax, dword [esi + 0xb4]
lea ecx, [eax + 0x258]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
cdq
idiv edi
test eax, eax
je 0x41305a
push ecx
push ebx
call fcn.0040bcc5
push 1
push esi
call fcn.00408c8f
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0x3ec], 0
mov esi, dword [esi + 0xb4]
mov dword [ebp - 0x88], esi
jne 0x4130bd
cmp dword [esi + 0x3d0], 0
jne 0x41308d
add eax, 0x180
jmp 0x413093
lea eax, [esi + 0x3bc]
cmp dword [eax + 0x18], 8
jb 0x41309e
mov eax, dword [eax + 4]
jmp 0x4130a1
add eax, 4
push eax
lea esi, [ebp - 0xbc]
call fcn.004052d9
and dword [ebp - 4], 0
mov dword [ebp - 0x84], 1
jmp 0x4130c2
add eax, 0x3d8
push eax
lea esi, [ebp - 0x48]
call fcn.0040728a
mov dword [ebp - 4], 2
test byte [ebp - 0x84], 1
je 0x4130f1
and dword [ebp - 0x84], 0xfffffffe
push 0
push 1
lea esi, [ebp - 0xbc]
call fcn.00405329
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x4130fd
lea ecx, [ebp - 0x44]
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push 0xd
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 8]
push 0xb
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
mov dword [ebp - 0x98], eax
call edi
mov eax, dword [ebx + 0xcc]
xor ebx, ebx
cmp dword [eax + 0x3d0], ebx
jne 0x41317e
mov ecx, dword [ebp - 0x88]
cmp dword [ecx + 0x3ec], ebx
jne 0x413151
add eax, 0x164
jmp 0x413157
lea eax, [ecx + 0x3d8]
cmp dword [eax + 0x18], 8
jb 0x413162
mov eax, dword [eax + 4]
jmp 0x413165
add eax, 4
push eax
lea esi, [ebp - 0xf0]
call fcn.004052d9
mov byte [ebp - 4], 3
or dword [ebp - 0x84], 2
jmp 0x413183
add eax, 0x3bc
push eax
lea esi, [ebp - 0x64]
call fcn.0040728a
mov dword [ebp - 4], 5
test byte [ebp - 0x84], 2
je 0x4131b1
and dword [ebp - 0x84], 0xfffffffd
push ebx
push 1
lea esi, [ebp - 0xf0]
call fcn.00405329
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x4131bd
lea eax, [ebp - 0x60]
mov ebx, dword [ebp - 0x98]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x88]
push dword [eax + 0x458]
call fcn.00404ef5
push 5
push ebx
call edi
mov esi, dword [ebp - 0x8c]
mov eax, dword [esi + 8]
push 0xc
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [ebp - 0x88]
push dword [eax + 0x480]
call fcn.00404ef5
push 0
push ebx
call edi
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x408], 0
jne 0x41325d
mov ecx, dword [ebp - 0x88]
cmp dword [ecx + 0x478], 0
jne 0x413230
add eax, 0x19c
jmp 0x413236
lea eax, [ecx + 0x464]
cmp dword [eax + 0x18], 8
jb 0x413241
mov eax, dword [eax + 4]
jmp 0x413244
add eax, 4
push eax
lea esi, [ebp - 0xbc]
call fcn.004052d9
mov byte [ebp - 4], 6
or dword [ebp - 0x84], 4
jmp 0x413262
add eax, 0x3f4
push eax
lea esi, [ebp - 0x80]
call fcn.0040728a
mov dword [ebp - 4], 8
test byte [ebp - 0x84], 4
je 0x41328a
push 0
push 1
lea esi, [ebp - 0xbc]
call fcn.00405329
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x413296
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push ebx
call edi
mov edi, dword [ebp - 0x88]
mov ebx, dword [edi + 0x27c]
and dword [ebp - 0x84], 0
add edi, 0x270
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x98], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
mov edi, dword [ebp - 0x98]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0xc4]
call fcn.0040bf3e
mov eax, dword [ebp - 0x94]
xor esi, esi
cmp eax, esi
je 0x41330d
cmp eax, dword [ebp - 0xc4]
je 0x413312
call fcn.004231d4
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xc0]
je 0x41341c
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
push 6
call fcn.00409181
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [ebp - 0xb0], esi
xor eax, eax
lea edi, [ebp - 0xac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebp - 0x94]
stosd dword es:[edi], eax
call fcn.0040ab3f
add eax, 0x2c
cmp dword [eax + 0x18], 8
jb 0x413374
mov eax, dword [eax + 4]
jmp 0x413377
add eax, 4
push eax
mov eax, dword [ebp - 0x8c]
mov edi, ebx
call fcn.0040beb7
lea eax, [ebp - 0xb0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call edi
lea esi, [ebp - 0x94]
call fcn.0040ab3f
add eax, 0x2c
cmp dword [eax + 0x18], 8
jb 0x4133b7
mov eax, dword [eax + 4]
jmp 0x4133ba
add eax, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [ebp - 0x94]
call fcn.0040ab3f
mov dword [ebp - 0x9c], eax
call fcn.0040ab3f
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp - 0xac]
push 1
push ecx
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x9c]
push dword [ecx + 0x4c]
push dword [eax + 0x48]
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push ebx
call edi
call fcn.0040ab95
inc dword [ebp - 0x84]
jmp 0x4132e5
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov edi, dword [ebp - 0x8c]
mov byte [ebp - 4], 9
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0x37c], esi
mov esi, dword [ebp - 0x88]
jne 0x413462
cmp dword [esi + 0x408], 0
jne 0x41345a
add eax, 0x110
jmp 0x413467
lea eax, [esi + 0x3f4]
jmp 0x413467
add eax, 0x368
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
call fcn.004053ef
mov ebx, 0x43d1b0
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00405c17
mov eax, dword [edi + 0xcc]
xor ecx, ecx
cmp dword [eax + 0x398], ecx
jne 0x4134aa
cmp dword [esi + 0x424], ecx
jne 0x4134a2
add eax, 0x12c
jmp 0x4134af
lea eax, [esi + 0x410]
jmp 0x4134af
add eax, 0x384
push 0xffffffffffffffff
push ecx
lea esi, [ebp - 0x2c]
call fcn.00405f52
push ebx
mov eax, esi
push eax
call fcn.00405c17
mov eax, dword [edi + 0xcc]
mov ebx, dword [ebp - 0x88]
xor ecx, ecx
cmp dword [eax + 0x3b4], ecx
jne 0x4134f0
cmp dword [ebx + 0x440], ecx
jne 0x4134e8
add eax, 0x148
jmp 0x4134f5
lea eax, [ebx + 0x42c]
jmp 0x4134f5
add eax, 0x3a0
push 0xffffffffffffffff
push ecx
lea esi, [ebp - 0x2c]
call fcn.00405f52
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0x37c], 0
jne 0x413517
mov eax, dword [ebx + 0x44c]
jmp 0x41351d
mov eax, dword [eax + 0x354]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 8]
push 0xa
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
push 0
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x413548
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x8c]
call fcn.00404ef5
push 5
push ebx
call esi
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x41356c
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x88]
movzx ecx, byte [ecx + 0x460]
push ecx
push eax
mov esi, edi
call fcn.0040a51f
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x2c]
call fcn.00405329
push ebx
push edi
lea esi, [ebp - 0x80]
call fcn.00405329
push ebx
push edi
lea esi, [ebp - 0x64]
call fcn.00405329
push ebx
push edi
lea esi, [ebp - 0x48]
call fcn.00405329
call fcn.004251b9
ret