Function at 0x41d237
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push ebx
push esi
sub eax, 0x19
push edi
mov ebx, ecx
je 0x41d99b
sub eax, 0xf7
je 0x41d5b8
dec eax
jne 0x41d94e
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, 0x1a86
jg 0x41d55b
cmp eax, 0x1a82
jge 0x41d59a
sub eax, 3
je 0x41d4c2
dec eax
je 0x41d2ad
sub eax, 0x1a4a
je 0x41d2a1
sub eax, 0xc
je 0x41d59a
sub eax, 3
jne 0x41d5a9
shr ecx, 0x10
cmp cx, 1
jmp 0x41d5a0
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
mov edi, 0x147
push 0
push edi
push 0x1a4e
push dword [ebp + 8]
call esi
mov ecx, dword [ebx + 0xc0]
cmp dword [ecx + 0x2b4], 0
je 0x41d2f7
shl eax, 3
mov edx, dword [eax + 0x458860]
mov dword [ecx + 0x224], edx
mov ecx, dword [ebx + 0xc0]
mov eax, dword [eax + 0x458864]
mov dword [ecx + 0x228], eax
push 0
push 0
push edi
mov edi, dword [ebp + 8]
push 0x1a5d
push edi
call esi
mov ecx, dword [ebx + 0xc0]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x1aa2
push edi
mov dword [ecx + 0x22c], eax
call esi
mov ecx, dword [ebx + 0xc0]
push 0x1a99
push edi
mov dword [ecx + 0x230], eax
call esi
test eax, eax
mov eax, dword [ebx + 0xc0]
je 0x41d34b
mov dword [eax + 0x234], 1
jmp 0x41d352
and dword [eax + 0x234], 0
push 0x1a94
push edi
call esi
mov ecx, dword [ebx + 0xc0]
mov dword [ecx + 0x238], eax
cmp dword [ebx + 0xc4], 0
jne 0x41d37e
mov eax, dword [ebx + 0xc0]
and dword [eax + 0x23c], 0
jmp 0x41d392
push 0x1aa1
push edi
call esi
mov ecx, dword [ebx + 0xc0]
mov dword [ecx + 0x23c], eax
push 0x1a9e
push edi
call esi
test eax, eax
je 0x41d3ba
mov eax, dword [ebx + 0xc0]
and dword [eax + 0x244], 0
mov eax, dword [ebx + 0xc0]
and dword [eax + 0x248], 0
jmp 0x41d41e
push 0x1a9f
push edi
call esi
test eax, eax
je 0x41d3e2
mov eax, dword [ebx + 0xc0]
or dword [eax + 0x244], 0xffffffff
mov eax, dword [ebx + 0xc0]
or dword [eax + 0x248], 0xffffffff
jmp 0x41d41e
lea eax, [ebp + 0x10]
push 1
push eax
push 0x1a9c
push edi
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, dword [ebx + 0xc0]
push 1
mov dword [ecx + 0x244], eax
lea eax, [ebp + 0x10]
push eax
push 0x1a9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, dword [ebx + 0xc0]
mov dword [ecx + 0x248], eax
push 0x1a5a
push edi
call esi
mov ecx, dword [ebx + 0xc0]
push 0x1a83
push edi
mov dword [ecx + 0x250], eax
call esi
test eax, eax
je 0x41d453
mov eax, dword [ebx + 0xc0]
mov dword [eax + 0x24c], 1
jmp 0x41d94e
push 0x1a85
push edi
call esi
test eax, eax
je 0x41d474
mov eax, dword [ebx + 0xc0]
mov dword [eax + 0x24c], 3
jmp 0x41d94e
push 0x1a84
push edi
call esi
test eax, eax
je 0x41d495
mov eax, dword [ebx + 0xc0]
mov dword [eax + 0x24c], 2
jmp 0x41d94e
push 0x1a86
push edi
call esi
test eax, eax
mov eax, dword [ebx + 0xc0]
je 0x41d4b6
mov dword [eax + 0x24c], 4
jmp 0x41d94e
and dword [eax + 0x24c], 0
jmp 0x41d94e
mov esi, dword [sym.imp.USER32.dll_GetDlgItemInt]
lea eax, [ebp + 0x10]
push 1
mov edi, 0x1a9c
push eax
push edi
push dword [ebp + 8]
call esi
cmp dword [ebp + 0x10], 0
je 0x41d53f
cmp eax, 0xffffffff
jl 0x41d53f
lea eax, [ebp + 0x10]
push 1
inc edi
push eax
push edi
push dword [ebp + 8]
call esi
cmp dword [ebp + 0x10], 0
je 0x41d500
cmp eax, 0xffffffff
jge 0x41d94e
mov ecx, dword [ebx + 4]
push 0x2a2
call fcn.0042aa45
push 0
call fcn.00406be4
push eax
push str.Please_enter_a_valid_number_of_ending_full_sized_pages.
mov eax, dword [ebx + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
jmp 0x41d9a8
mov ecx, dword [ebx + 4]
push 0x2a2
call fcn.0042aa45
push 0
call fcn.00406be4
push eax
push str.Please_enter_a_valid_number_of_initial_full_sized_pages.
jmp 0x41d51a
cmp eax, 0x1a94
je 0x41d59a
cmp eax, 0x1a97
jle 0x41d5a9
cmp eax, 0x1a99
jle 0x41d59a
cmp eax, 0x1a9b
jle 0x41d5a9
cmp eax, 0x1a9d
jle 0x41d587
cmp eax, 0x1aa2
jle 0x41d59a
jmp 0x41d5a9
shr ecx, 0x10
cmp cx, 0x300
jne 0x41d5a9
cmp dword [0x4612cc], 0
jmp 0x41d5a0
shr ecx, 0x10
test cx, cx
jne 0x41d5a9
mov ecx, ebx
call fcn.0041cc50
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041d9af
jmp 0x41d94e
mov edi, dword [ebp + 8]
push ebx
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
inc dword [0x4612cc]
mov eax, dword [ebx + 0xc0]
mov eax, dword [eax + 0x2b4]
neg eax
sbb eax, eax
and eax, 7
inc eax
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x41d76c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x458860
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jmp 0x41d606
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0xc0]
cmp dword [eax + 0x2b4], 0
je 0x41d61f
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx]
jmp 0x41d625
push 1
pop eax
mov dword [ebp + 0x14], eax
and byte [ebp - 0x4c], 0
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x4c]
push 0xa
push eax
call edi
lea eax, [ebp + eax - 0x4c]
push eax
push dword [ebp + 0xc]
call fcn.004367bf
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x4587cc
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
call edi
push 0x40
pop ecx
sub ecx, eax
lea eax, [ebp + eax - 0x4c]
push ecx
push eax
xor eax, eax
cmp dword [ebp + 0xc], 1
setne al
add eax, 0x1a5f
push eax
push dword [0x45fb8c]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x4c]
push 0x4588a8
push eax
call esi
lea eax, [ebp - 0x4c]
push 0xa
push eax
call edi
lea eax, [ebp + eax - 0x4c]
push eax
push dword [ebp + 0x14]
call fcn.004367bf
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x4587cc
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
call edi
push 0x40
pop ecx
sub ecx, eax
lea eax, [ebp + eax - 0x4c]
push ecx
push eax
xor eax, eax
cmp dword [ebp + 0x14], 1
setne al
add eax, 0x1a61
push eax
push dword [0x45fb8c]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x4c]
push 0x4587cc
push eax
call esi
lea eax, [ebp - 0x4c]
push 0x4588ac
push eax
call esi
lea eax, [ebp - 0x4c]
push 0xa
push eax
call edi
lea eax, [ebp + eax - 0x4c]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x14]
push eax
call fcn.004367bf
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x4587cc
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
call edi
push 0x40
pop ecx
sub ecx, eax
lea eax, [ebp + eax - 0x4c]
push ecx
push eax
push 0x1a63
push dword [0x45fb8c]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x4c]
push 0x4588b0
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x143
push 0x1a4e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x41d603
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0xc0]
xor edx, edx
cmp dword [ecx + 0x2b4], edx
je 0x41d7b1
cmp eax, edx
mov dword [ebp + 8], edx
jle 0x41d7c4
mov edx, 0x458864
mov esi, dword [ecx + 0x224]
cmp esi, dword [edx - 4]
jne 0x41d79d
mov esi, dword [ecx + 0x228]
cmp esi, dword [edx]
je 0x41d7aa
inc dword [ebp + 8]
add edx, 8
cmp dword [ebp + 8], eax
jl 0x41d788
jmp 0x41d7c4
push 0
push dword [ebp + 8]
jmp 0x41d7b3
push edx
push edx
push 0x14e
push 0x1a4e
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, 0x1a5d
push 0x1a68
push esi
push edi
call fcn.0041b71d
push 0x1a6a
push esi
push edi
call fcn.0041b71d
mov eax, dword [ebx + 0xc0]
add esp, 0x18
push 0
push dword [eax + 0x22c]
push 0x14e
push esi
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [ebx + 0xc0]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [eax + 0x230]
push 0x1aa2
push edi
call esi
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax + 0x234]
mov eax, 0x1a98
add ecx, eax
push ecx
push 0x1a99
push eax
push edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
cmp dword [ebx + 0xc4], 0
jne 0x41d86f
push 0
push 0x1aa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x1aa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41d883
mov eax, dword [ebx + 0xc0]
push dword [eax + 0x23c]
push 0x1aa1
push edi
call esi
mov eax, dword [ebx + 0xc0]
push dword [eax + 0x238]
push 0x1a94
push edi
call esi
mov eax, dword [ebx + 0xc0]
and dword [ebp + 8], 0
mov ecx, dword [eax + 0x244]
test ecx, ecx
jne 0x41d8b3
cmp dword [eax + 0x248], ecx
je 0x41d8cf
cmp ecx, 0xffffffff
jne 0x41d952
cmp dword [eax + 0x248], ecx
jne 0x41d952
mov dword [ebp + 8], 1
push 0x4588a4
push 0x1a9c
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4588a0
push 0x1a9d
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp + 8]
add eax, 0x1a9e
push eax
push 0x1aa0
push 0x1a9e
push edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov eax, dword [ebx + 0xc0]
push dword [eax + 0x250]
push 0x1a5a
push edi
call esi
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax + 0x24c]
mov eax, 0x1a82
add ecx, eax
push ecx
push 0x1a86
push eax
push edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
push edi
mov ecx, ebx
call fcn.0041d9af
dec dword [0x4612cc]
xor eax, eax
jmp 0x41d9a8
lea eax, [ebp - 0x4c]
push 0xa
push eax
push ecx
mov dword [ebp + 8], 2
call fcn.004367bf
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push 0x1a9c
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x4c]
push 0xa
push eax
mov eax, dword [ebx + 0xc0]
push dword [eax + 0x248]
call fcn.004367bf
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
jmp 0x41d8e5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0041b4cb
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10