Function at 0x428520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x462700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
cmp esi, eax
je 0x428742
mov ecx, dword [ebp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], ecx
jmp 0x428573
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], 6
jge 0x428795
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x34]
jl 0x428592
add ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
imul eax, edx
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
add ecx, 0x14
add eax, edx
push 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
call fcn.00430f21
add esp, 4
test eax, eax
je 0x4285c7
mov dword [eax], 0
mov esi, eax
jmp 0x4285c9
xor esi, esi
mov eax, dword [0x4644c0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push 0
push eax
mov eax, dword [ebp - 0x10]
add ecx, 0x7d0
push ecx
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
push eax
push ecx
push 0x50000000
push str.checkbox
push 0x452574
push 0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 3
push 0xf4
push eax
mov dword [esi], eax
call ebx
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi]
push 1
push ecx
push 0x30
push edx
call ebx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x428633
mov eax, dword [eax]
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi]
push 0
push 1
push 0xf1
push ecx
call ebx
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x1c]
cmp ecx, eax
jae 0x4286c7
mov edx, dword [edi]
cmp edx, ecx
ja 0x4286c7
mov esi, ecx
mov ecx, dword [edi + 8]
sub esi, edx
sar esi, 2
cmp eax, ecx
jne 0x4286b7
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4287c8
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x4286b7
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x4286a1
xor ecx, ecx
jmp 0x4286a3
add ecx, edx
cmp ecx, eax
jae 0x4286a9
mov ecx, eax
push ecx
mov ecx, edi
call fcn.00428450
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
test eax, eax
je 0x42871c
mov edx, dword [edi]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
jmp 0x42871c
mov ecx, dword [edi + 8]
cmp eax, ecx
jne 0x428713
mov edx, dword [edi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4287c8
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x428713
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x4286fd
xor ecx, ecx
jmp 0x4286ff
add ecx, edx
cmp ecx, eax
jae 0x428705
mov ecx, eax
push ecx
mov ecx, edi
call fcn.00428450
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
test eax, eax
je 0x42871c
mov dword [eax], esi
mov ecx, dword [ebp - 0x24]
add dword [edi + 4], 4
mov eax, 1
add dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
add ecx, 0x1c
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jne 0x428570
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x428784
mov edi, eax
cmp esi, eax
je 0x42877b
mov ebx, 7
cmp dword [esi + 0x14], 8
jb 0x428762
mov ecx, dword [esi]
push ecx
call fcn.00430677
add esp, 4
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x428751
mov esi, dword [ebp + 0x24]
push esi
call fcn.00430677
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004313d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x428784
mov edx, dword [ebp - 0x28]
push edx
lea edx, [ebp + 0x30]
push edx
push eax
push ecx
call fcn.00401cc2
mov eax, dword [ebp + 0x24]
push eax
call fcn.00430677
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004313d1
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.0042f638
int3