Function at 0x45a7d0
Capabilities:
Hide graphical window
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcb4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
test esi, esi
jne 0x45a957
push 0xa2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
jne 0x45a957
mov eax, dword [ebp + 0x10]
cmp eax, 0x110
je 0x45a823
cmp eax, dword [edi + 0xf3648]
jne 0x45a95a
push 0
push fcn.004538b0
push ebx
push 0xa2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
je 0x45bea1
push 0xa2
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x931
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
push 0x935
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
lea edx, [ebp - 0x20]
push edx
push esi
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
xor eax, eax
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
movzx eax, word [0x4ec49a]
lea edx, [ebp - 0x30]
push edx
push eax
push esi
mov dword [ebp - 0x4c], 0x1c
mov dword [ebp - 0x48], 0x17
mov dword [ebp - 0x40], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
push 0
lea edx, [ebp - 0x4c]
push edx
push 1
push esi
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
sub ecx, eax
push 0
push ecx
mov ecx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 5
push esi
call edi
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
cmp eax, 0x110
je 0x45bbf3
cmp eax, dword [edi + 0xf3648]
je 0x45bbf3
cmp eax, 0x8020
ja 0x45b950
je 0x45b839
cmp eax, 0x4e
je 0x45b80d
cmp eax, 0x111
jne case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
test ax, ax
jne 0x45b1d7
cmp byte [0x50db7b], al
jne 0x45a9c8
push 0
push 0
push 0x188
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
test eax, eax
jge 0x45a9cf
xor ecx, ecx
mov dword [ebp + 0x10], ecx
jmp 0x45a9e2
mov ecx, dword [0x50b3a0]
push 0
push eax
call fcn.00443100
mov dword [ebp + 0x10], eax
mov ecx, eax
movzx eax, word [ebp + 0x14]
cmp eax, 0x858
jg 0x45ab19
je 0x45aa8c
cmp eax, 0x628
jg 0x45aa53
je 0x45aa2b
cmp eax, 0x4ba
je case.0x45b1d0.2530
cmp eax, 0x5f2
jne case.0x45b1d0.2540
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
push esi
mov ecx, edi
call fcn.004535b0
jmp 0x45b2de
test ecx, ecx
je case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00450a20
mov edx, dword [ebp + 0x10]
add esp, 8
test eax, eax
setne cl
mov byte [edx + 0x115], cl
jmp 0x45b2de
sub eax, 0x677
je case.0x45b1d0.2530
sub eax, 0x2c
jne case.0x45b1d0.2540
test ecx, ecx
je case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00450a20
mov ecx, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
mov byte [ecx + 0x12f], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push 0
push 0x18b
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
push 1
push eax
mov dword [ebp + 0x18], eax
call fcn.00443100
mov eax, dword [edi + 0xf3648]
movzx edx, byte [0x50db7b]
push 0
push 0
push eax
push 0
push ebx
mov ecx, edi
mov byte [ebp + 0x17], dl
mov byte [0x50db7b], 1
call fcn.0045a7d0
mov ecx, dword [ebp + 0x18]
push 0
push ecx
push 0x186
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
movzx edx, byte [ebp + 0x17]
mov byte [0x50db7b], dl
push 0
push 0x1090e
push 0x111
push esi
mov ecx, edi
push ebx
call fcn.0045a7d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x9de
jg 0x45b1bb
je 0x45b192
sub eax, 0x859
cmp eax, 0xe4
ja case.0x45b1d0.2540
movzx eax, byte [eax + 0x45befc]
jmp dword [eax*4 + 0x45beb8]
mov ecx, dword [0x50b39c]
push 0x34
call fcn.004059f0
mov ecx, dword [0x50bb90]
push eax
push str.Warning__All_unsaved_changes_will_be_lost__n_nReload_Apps_from_settings_
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x45b1d0.2540
mov ecx, dword [0x50b3a0]
push 1
push 0
call fcn.00446350
push 1
push ebx
mov ecx, edi
call fcn.0044ec00
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push 0
push 0x188
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp + 0x18], eax
test eax, eax
jl case.0x45b1d0.2540
mov ecx, dword [0x50b3a0]
push 0
mov edx, eax
push edx
call fcn.00443100
test eax, eax
je case.0x45b1d0.2540
mov eax, dword [eax + 4]
mov ecx, dword [0x50bb90]
push 0x24
push eax
push str.Delete_application_
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x45b1d0.2540
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x50b3a0]
push edx
call fcn.00443290
mov ecx, dword [edi + 0xf3648]
mov al, byte [0x50db7b]
push 0
push 0
push ecx
push 0
push ebx
mov ecx, edi
mov byte [ebp + 0x17], al
mov byte [0x50db7b], 1
call fcn.0045a7d0
push 0
push 0
push 0x18b
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dl, byte [ebp + 0x17]
dec eax
cmp dword [ebp + 0x18], eax
mov byte [0x50db7b], dl
jge 0x45ac48
mov eax, dword [ebp + 0x18]
push 0
push eax
push 0x186
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x45aaf9
push 0
push 0
push 0x188
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp + 0x18], eax
test eax, eax
jl case.0x45b1d0.2540
mov ecx, 0x85a
cmp word [ebp + 0x14], cx
jne 0x45ac99
test eax, eax
je case.0x45b1d0.2540
mov esi, eax
dec esi
jmp 0x45acba
mov esi, dword [ebp + 0x18]
push 0
push 0
push 0x18b
push 0x90e
push ebx
inc esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp esi, eax
jge case.0x45b1d0.2540
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x50b3a0]
push esi
push edx
call fcn.00443330
test al, al
je case.0x45b1d0.2540
mov ecx, dword [edi + 0xf3648]
mov al, byte [0x50db7b]
push 0
push 0
push ecx
push 0
push ebx
mov ecx, edi
mov byte [ebp + 0x17], al
mov byte [0x50db7b], 1
call fcn.0045a7d0
mov dl, byte [ebp + 0x17]
push 0
push esi
push 0x186
push 0x90e
push ebx
mov byte [0x50db7b], dl
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
push 0x85d
push ebx
call fcn.00450a20
add esp, 8
test eax, eax
je 0x45ad4b
mov ecx, dword [ebp + 0x10]
mov eax, 1
mov byte [ecx + 0xc], al
mov byte [ebp - 2], al
jmp 0x45b2de
push 0x85e
push ebx
call fcn.00450a20
mov ecx, dword [ebp + 0x10]
add esp, 8
neg eax
sbb eax, eax
and eax, 2
mov byte [ecx + 0xc], al
mov byte [ebp - 2], 1
jmp 0x45b2de
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.00450a20
add esp, 8
push 0x862
push ebx
push 0x8020
push esi
push ebx
mov ecx, edi
mov dword [ebp + 0x14], eax
call fcn.0045a7d0
cmp dword [ebp + 0x10], 0
je case.0x45b1d0.2540
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x10]
setne al
mov byte [ecx + 0xd], al
jmp 0x45b2de
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.00450a20
add esp, 8
push 0x861
push ebx
push 0x8020
push esi
push ebx
mov ecx, edi
mov dword [ebp + 0x14], eax
call fcn.0045a7d0
cmp dword [ebp + 0x10], 0
je case.0x45b1d0.2540
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x10]
setne al
mov byte [ecx + 0x119], al
jmp 0x45b2de
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.00450a20
add esp, 8
push 0x860
push ebx
push 0x8020
push esi
push ebx
mov ecx, edi
call fcn.0045a7d0
cmp byte [0x50db7b], 0
jne case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00450a20
mov edx, dword [ebp + 0x10]
add esp, 8
test eax, eax
setne cl
mov byte [edx + 0x114], cl
jmp 0x45b2de
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00450a20
add esp, 8
push 0x87c
push ebx
push 0x8020
push esi
push ebx
mov ecx, edi
call fcn.0045a7d0
cmp byte [0x50db7b], 0
jne case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
pop edi
setne dl
pop esi
mov byte [eax + 0x124], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
pop edi
setne dl
pop esi
mov byte [eax + 0x12a], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
pop edi
setne dl
pop esi
mov byte [eax + 0x12b], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
pop edi
setne dl
pop esi
mov byte [eax + 0x125], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
pop edi
setne dl
pop esi
mov byte [eax + 0x126], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
mov edx, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
mov byte [edx + 0x127], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00450a20
mov ecx, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
mov byte [ecx + 0x12c], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.00450a20
add esp, 8
push 0x92e
push ebx
push 0x8020
push esi
mov ecx, edi
push ebx
call fcn.0045a7d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
push 0x104
lea eax, [ebp - 0x4b4]
push eax
push 0x6a1
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
test eax, eax
jne 0x45aff7
xor ecx, ecx
mov word [ebp - 0x4b4], cx
push 0x104
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x58
lea ecx, [ebp - 0xa4]
push 0
push ecx
call fcn.004b03e0
mov edx, dword [0x50bb90]
add esp, 0xc
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0x2ac]
push ecx
mov dword [ebp - 0xa4], 0x58
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], str.All_images__.bmp_.jpg_.png_
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0x104
mov dword [ebp - 0x74], str.Choose_background_image
mov dword [ebp - 0x70], 0x88180c
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je case.0x45b1d0.2540
mov ebx, dword [0x50b39c]
add ebx, 0x3be
mov eax, ebx
mov byte [ebp + 0x17], 0
lea edx, [eax + 2]
jmp 0x45b0a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b0a0
sub eax, edx
lea ecx, [ebp - 0x2ac]
sar eax, 1
lea edi, [ecx + 2]
jmp 0x45b0c0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45b0c0
sub ecx, edi
sar ecx, 1
cmp ecx, eax
jbe 0x45b154
cmp word [ebp + eax*2 - 0x2ac], 0x5c
lea edi, [ebp + eax*2 - 0x2ac]
jne 0x45b154
push ebx
lea eax, [ebp - 0x2ac]
xor edx, edx
push eax
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov al, 1
je 0x45b105
mov al, byte [ebp + 0x17]
mov ecx, 0x5c
mov word [edi], cx
test al, al
je 0x45b154
mov edi, dword [ebp + 0x10]
add edi, 0x130
push 0x4da134
push edi
call fcn.0040f0b0
mov eax, dword [0x50b39c]
add esp, 8
add eax, 0x3be
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b135
sub eax, edx
sar eax, 1
lea edx, [ebp + eax*2 - 0x2ac]
push edx
push edi
call fcn.0040f110
jmp 0x45b16a
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x2ac]
add edi, 0x130
push eax
push edi
call fcn.0040f0b0
add esp, 8
push edi
push 0x6a1
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.00450a20
mov edx, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
mov byte [edx + 0x12d], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
sub eax, 0x9e2
cmp eax, 0xf
ja case.0x45b1d0.2540
movzx eax, byte [eax + 0x45bfec]
jmp dword [eax*4 + 0x45bfe4]
mov edx, 0x300
cmp ax, dx
jne 0x45b428
cmp byte [0x50db7b], 0
jne case.0x45b1d0.2540
push 0
push 0
push 0x188
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp + 0x10], eax
test eax, eax
jl case.0x45b1d0.2540
mov ecx, dword [0x50b3a0]
push 0
push eax
call fcn.00443100
mov dword [ebp + 0xc], eax
test eax, eax
je case.0x45b1d0.2540
movzx eax, word [ebp + 0x14]
cmp eax, 0x942
jg 0x45b3fc
je 0x45b40c
cmp eax, 0x6a1
je 0x45b378
cmp eax, 0x857
je 0x45b268
cmp eax, 0x940
je 0x45b40c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [0x50db7a], 0
jne case.0x45b1d0.2540
mov ecx, dword [ebp + 0x10]
push 0
push ecx
mov ecx, dword [0x50b3a0]
call fcn.00443100
mov esi, eax
test esi, esi
je case.0x45b1d0.2540
cmp dword [esi + 4], 0
je case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push 0
lea edx, [ebp + 0x18]
push edx
push eax
push ebx
mov dword [ebp + 0x18], 0
call fcn.004544d0
mov edi, dword [ebp + 0x18]
add esp, 0x10
test eax, eax
je 0x45b2cb
push edi
mov ecx, esi
call fcn.00451970
mov byte [ebp - 1], 1
mov byte [ebp - 2], 1
test edi, edi
je 0x45b2d8
push edi
call fcn.00441300
add esp, 4
cmp byte [ebp - 1], 0
je 0x45b2eb
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
cmp byte [ebp - 2], 0
je case.0x45b1d0.2540
movzx ecx, byte [0x50db7b]
movzx edx, byte [0x50db79]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x188
push 0x90e
push ebx
mov byte [ebp + 0x17], cl
mov byte [0x50db7b], 1
mov byte [ebp + 0x1b], dl
mov byte [0x50db79], 1
call edi
mov ecx, dword [0x50b3a4]
push 0
push 0
mov esi, eax
mov eax, dword [ecx + 0xf3648]
push eax
push 0
push ebx
call fcn.0045a7d0
push 0
push esi
push 0x186
push 0x90e
push ebx
call edi
movzx ecx, byte [ebp + 0x17]
movzx edx, byte [ebp + 0x1b]
pop edi
pop esi
mov byte [0x50db7b], cl
mov byte [0x50db79], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x104
lea ecx, [ebp - 0x4b4]
push ecx
push 0x6a1
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov esi, dword [ebp + 0xc]
add esi, 0x130
mov ecx, esi
lea eax, [ebp - 0x4b4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45b3c7
test dx, dx
je 0x45b3c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45b3c7
add eax, 4
add ecx, 4
test dx, dx
jne 0x45b3a1
xor eax, eax
jmp 0x45b3cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je case.0x45b1d0.2540
lea edx, [ebp - 0x4b4]
push edx
push esi
call fcn.0040f0b0
mov ecx, dword [0x50b39c]
add esp, 8
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
sub eax, 0x9ec
je 0x45b40c
sub eax, 3
jne case.0x45b1d0.2540
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.0044f120
mov byte [ebp - 1], al
jmp 0x45b2d8
cmp ax, 1
jne case.0x45b1d0.2540
mov eax, 0x90e
cmp cx, ax
jne 0x45b51c
cmp byte [0x50db7b], 0
jne case.0x45b1d0.2540
push 0
push 0
push 0x188
push eax
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
test eax, eax
jl 0x45b4c1
mov ecx, dword [0x50b3a0]
push eax
call fcn.004430b0
mov dword [ebp + 0x18], eax
test eax, eax
je 0x45b4c1
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x45b4c1
cmp byte [0x50db79], 0
jne 0x45b4ac
mov dl, byte [0x50db7a]
push eax
push 0x857
push ebx
mov byte [ebp + 0x17], dl
mov byte [0x50db7a], 1
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov al, byte [ebp + 0x17]
mov byte [0x50db7a], al
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
push 0x8021
push esi
push ebx
mov ecx, edi
call fcn.0045a7d0
jmp 0x45b4e8
push 0x4c1318
push 0x857
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x85f
push 0x85f
push 0x85d
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov dl, byte [0x50db7b]
push 0
push ebx
push 0x8020
push esi
push ebx
mov ecx, edi
mov byte [ebp + 0x17], dl
mov byte [0x50db7b], 1
call fcn.0045a7d0
mov al, byte [ebp + 0x17]
pop edi
pop esi
mov byte [0x50db7b], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [0x50db7b], 0
jne case.0x45b1d0.2540
push 0
push 0
push 0x188
push 0x90e
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp + 0x10], eax
test eax, eax
jl case.0x45b1d0.2540
mov ecx, dword [0x50b3a0]
push 0
push eax
call fcn.00443100
mov edi, eax
xor edx, edx
cmp edi, edx
je case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
movzx eax, cx
cmp eax, 0x8fd
jg 0x45b778
cmp eax, 0x8fc
jge 0x45b71a
cmp eax, 0x629
je 0x45b71a
cmp eax, 0x863
jne case.0x45b1d0.2540
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
mov dword [ebp + 0x18], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jl case.0x45b1d0.2540
mov ecx, dword [ebp + 0x18]
push 0
push esi
push 0x149
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle case.0x45b1d0.2540
inc eax
push 2
push eax
call fcn.004412c0
add esp, 8
mov dword [ebp + 0x14], eax
test eax, eax
je case.0x45b1d0.2540
mov edx, eax
mov eax, dword [ebp + 0x18]
push edx
push esi
push 0x148
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x45b60c
or esi, 0xffffffff
mov eax, 0x4c1318
jmp 0x45b628
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [0x50b3a0]
call fcn.00442790
mov esi, eax
test esi, esi
jl case.0x45b1d0.2540
mov eax, dword [ebp + 0x14]
push 0x80
push eax
lea edx, [edi + 0xe]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [0x50b3a0]
push esi
call fcn.004426e0
mov esi, eax
test esi, esi
je case.0x45b1d0.2540
mov ecx, dword [0x50b3a0]
mov edx, dword [ecx + 0xed8]
push 0x80
lea eax, [esi + 0xc]
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + eax*4]
push ecx
call fcn.004b0bb0
mov al, byte [esi + 7]
add esp, 0xc
cmp byte [edi + 0x110], al
jne 0x45b68c
mov dl, byte [edi + 0x111]
cmp dl, byte [esi + 8]
jne 0x45b68c
xor ecx, ecx
jmp 0x45b691
mov ecx, 1
mov byte [edi + 0x110], al
movzx eax, byte [esi + 8]
mov byte [edi + 0x111], al
mov al, byte [esi + 9]
cmp byte [edi + 0x112], al
jne 0x45b6bb
mov dl, byte [edi + 0x113]
cmp dl, byte [esi + 0xa]
jne 0x45b6bb
xor edx, edx
jmp 0x45b6c0
mov edx, 1
mov byte [edi + 0x112], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 0x113], al
movzx eax, byte [esi + 5]
mov byte [edi + 0x10e], al
movzx eax, byte [esi + 6]
mov esi, dword [ebp + 0x10]
mov byte [edi + 0x10f], al
mov eax, dword [0x50b3a0]
mov eax, dword [eax + 0xed8]
mov eax, dword [eax + esi*4]
mov byte [eax + 0x100], 0
test ecx, ecx
jne 0x45b708
test edx, edx
je 0x45b2de
push edx
push ecx
mov ecx, dword [0x50b3a4]
call fcn.0044ebe0
jmp 0x45b2de
mov edx, 0x8fd
cmp cx, dx
jne 0x45b733
push edx
push esi
call fcn.00450ac0
mov byte [edi + 0x116], al
jmp 0x45b763
mov eax, 0x629
cmp cx, ax
jne 0x45b74c
push eax
push esi
call fcn.00450ac0
mov byte [edi + 0x117], al
jmp 0x45b763
mov edx, 0x8fc
cmp cx, dx
jne 0x45b766
push edx
push esi
call fcn.00450ac0
mov byte [edi + 0x118], al
add esp, 8
cmp byte [edi + 0x115], 0
je case.0x45b1d0.2540
jmp 0x45b2de
sub eax, 0x923
je 0x45b7c4
sub eax, 0x1c
jne case.0x45b1d0.2540
lea eax, [ebp + 0x14]
push eax
push 0x4d90ec
push 0x4ec30c
push 3
push 0x93f
push esi
mov dword [ebp + 0x14], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov cl, byte [ebp + 0x14]
add esp, 0x14
mov byte [edi + 0x128], cl
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp + 0x14], edx
lea edx, [ebp + 0x14]
push edx
push 0x4d8fd4
push 0x4ec240
push 6
push 0x923
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov al, byte [ebp + 0x14]
add esp, 0x14
mov byte [edi + 0x338], al
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
cmp dword [eax + 8], 0xfffffdee
jne case.0x45b1d0.2540
mov ecx, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [0x50b3a4]
push 0x4e
push ebx
call fcn.0044f740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], ebx
jne case.0x45b1d0.2540
push 0
push 0
push 0x188
push 0x90e
push ebx
mov byte [ebp + 0x17], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
test eax, eax
jl 0x45b879
mov ecx, dword [0x50b3a0]
push eax
call fcn.004430b0
test eax, eax
je 0x45b879
cmp dword [eax + 4], 0
je 0x45b879
mov byte [ebp + 0x17], 1
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp + 0x10], edi
test ax, ax
je 0x45b893
cmp ax, word [edi + 0x4ec458]
jne 0x45b928
cmp byte [ebp + 0x17], 0
je 0x45b8bd
movzx eax, word [edi + 0x4ec458]
test ax, ax
je 0x45b8b4
push eax
push esi
call fcn.00450a20
add esp, 8
mov dword [ebp + 0xc], eax
jmp 0x45b8c4
mov dword [ebp + 0xc], 1
jmp 0x45b8c4
mov dword [ebp + 0xc], 0
movzx eax, word [edi + 0x4ec458]
mov edi, esi
test ax, ax
jne 0x45b8d6
mov edi, ebx
jmp 0x45b909
movzx edx, byte [ebp + 0x17]
movzx eax, ax
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebp + 0x17], 0
jne 0x45b909
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x4ec458]
push 0
push edx
push edi
call fcn.00450a00
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
push 0x20
lea edx, [ecx + str.__b_b__b]
push edx
push edi
call fcn.00450a70
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
add esp, 0x10
add edi, 0x42
mov dword [ebp + 0x10], edi
cmp edi, 0x18c
jb 0x45b881
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x8021
jne case.0x45b1d0.2540
cmp dword [ebp + 0x14], ebx
jne case.0x45b1d0.2540
mov edi, dword [ebp + 0x18]
test edi, edi
je case.0x45b1d0.2540
mov al, byte [edi + 0xc]
cmp al, 1
jne 0x45b97d
mov eax, 0x85d
jmp 0x45b98c
xor ecx, ecx
cmp al, 2
setne cl
add ecx, 0x85e
mov eax, ecx
push eax
push 0x85f
push 0x85d
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
movzx edx, byte [edi + 0x114]
push edx
push 0x860
push esi
call fcn.00450a00
movzx eax, byte [edi + 0x115]
push eax
push 0x628
push esi
call fcn.00450a00
mov al, byte [edi + 0x117]
add esp, 0x18
mov ecx, 0x4d9e88
cmp al, 0x10
jb 0x45b9db
mov ecx, str.None
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
movzx edx, al
push edx
push ecx
lea eax, [ebp - 0x2ac]
push eax
call ebx
lea ecx, [ebp - 0x2ac]
push ecx
push 0x629
push esi
call fcn.00450b90
mov al, byte [edi + 0x118]
add esp, 0x18
mov ecx, 0x4d9e88
cmp al, 0x10
jb 0x45ba18
mov ecx, str.None
movzx edx, al
push edx
push ecx
lea eax, [ebp - 0x2ac]
push eax
call ebx
lea ecx, [ebp - 0x2ac]
push ecx
push 0x8fc
push esi
call fcn.00450b90
mov al, byte [edi + 0x116]
add esp, 0x18
mov ecx, 0x4d9e88
cmp al, 0x10
jb 0x45ba4f
mov ecx, str.None
movzx edx, al
push edx
push ecx
lea eax, [ebp - 0x2ac]
push eax
call ebx
lea ecx, [ebp - 0x2ac]
push ecx
push 0x8fd
push esi
call fcn.00450b90
movzx edx, byte [edi + 0x119]
push edx
push 0x861
push esi
call fcn.00450a00
mov ecx, dword [ebp - 8]
add esp, 0x24
push edi
push esi
call fcn.00452100
movzx eax, byte [edi + 0xd]
push eax
push 0x862
push esi
call fcn.00450a00
lea ecx, [edi + 0xe]
push ecx
push 0x863
push esi
call fcn.00450b90
movzx edx, byte [edi + 0x124]
push edx
push 0x87c
push esi
call fcn.00450a00
movzx eax, byte [edi + 0x125]
push eax
push 0x936
push esi
call fcn.00450a00
movzx ecx, byte [edi + 0x126]
push ecx
push 0x937
push esi
call fcn.00450a00
movzx edx, byte [edi + 0x127]
push edx
push 0x93d
push esi
call fcn.00450a00
movzx eax, byte [edi + 0x128]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x48
push 0
lea ecx, [ebp + 0x14]
push ecx
push 0x4d90ec
push 0x4ec30c
push 3
push 0x93f
push esi
mov dword [ebp + 0x14], eax
call ebx
push eax
call fcn.00451280
movzx edx, byte [edi + 0x12a]
push edx
push 0x878
push esi
call fcn.00450a00
movzx eax, byte [edi + 0x12b]
push eax
push 0x87a
push esi
call fcn.00450a00
movzx ecx, byte [edi + 0x12c]
push ecx
push 0x928
push esi
call fcn.00450a00
movzx edx, byte [edi + 0x12d]
push edx
push 0x9de
push esi
call fcn.00450a00
movzx eax, byte [edi + 0x12e]
add esp, 0x48
push eax
push 0x92e
push esi
call fcn.00450a00
movzx ecx, byte [edi + 0x12f]
and ecx, 3
push ecx
push 0x6a3
push esi
call fcn.00450a00
add esp, 0x18
lea edx, [edi + 0x130]
push edx
push 0x6a1
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
movzx eax, byte [edi + 0x338]
push 0
lea ecx, [ebp + 0x14]
push ecx
push 0x4d8fd4
push 0x4ec240
push 6
push 0x923
push esi
mov dword [ebp + 0x14], eax
call ebx
push eax
call fcn.00451280
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0x110
mov dl, byte [0x50db7b]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov byte [ebp + 0x17], dl
mov byte [0x50db7b], 1
je 0x45bc1f
cmp byte [0x50db79], 0
jne 0x45bd99
mov ecx, dword [0x50b3a0]
push 0xffffffffffffffff
call fcn.004426e0
test eax, eax
je 0x45bea1
push 0x8c
push eax
push 0x50bb98
call fcn.004b0bb0
add esp, 0xc
cmp dword [0x50bb98], 0
jne 0x45bc5a
mov dword [0x50bb98], 0x4da07c
push 0
push 0
push 0x14b
push 0x863
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x50bb98]
push eax
push 0
push 0x143
push 0x863
push esi
call edi
mov ecx, dword [0x50b3a0]
push 0
mov dword [ebp + 0x18], 0
call fcn.004426e0
test eax, eax
je 0x45bccc
mov ecx, dword [eax]
push ecx
push 0
push 0x143
push 0x863
push esi
call edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [0x50b3a0]
inc eax
push eax
mov dword [ebp + 0x18], eax
call fcn.004426e0
test eax, eax
jne 0x45bca3
push 0
push 0
push 0x14e
push 0x863
push esi
call edi
push 0
push 0
push 0x14b
push 0x629
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push 0x8fc
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push 0x8fd
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0x18], 0
jmp 0x45bd40
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x4ec318]
push eax
push 0
push 0x143
push 0x629
push esi
call edi
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x4ec318]
push edx
push 0
push 0x143
push 0x8fc
push esi
call edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x4ec318]
push ecx
push 0
push 0x143
push 0x8fd
push esi
call edi
mov eax, dword [ebp + 0x18]
add eax, 4
mov dword [ebp + 0x18], eax
cmp eax, 0x44
jb 0x45bd40
push 0
push 0
push 0x184
push 0x90e
push ebx
call edi
mov ecx, dword [0x50b3a0]
push 0
mov dword [ebp + 0x10], 0
call fcn.004430b0
mov dword [ebp + 0x18], eax
test eax, eax
je 0x45be74
lea esp, [esp]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 4], 0
je 0x45be74
mov al, byte [eax + 0xc]
cmp al, 1
jne 0x45bdeb
mov eax, 0x4da130
jmp 0x45bdf9
cmp al, 2
mov eax, 0x4da12c
je 0x45bdf9
mov eax, 0x4d0fc8
mov ecx, dword [ebp + 0x10]
push eax
inc ecx
push ecx
lea edx, [ebp - 0xcb4]
push str._i_t_s_t
push edx
mov dword [ebp + 0x10], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xcb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 0x18]
mov ecx, 0x400
sub ecx, eax
push ecx
mov ecx, dword [edx + 4]
push ecx
lea edx, [ebp + eax*2 - 0xcb4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0xcb4]
push eax
push 0
push 0x180
push 0x90e
push ebx
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x50b3a0]
push eax
mov dword [ebp + 0x10], eax
call fcn.004430b0
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x45bdd0
mov al, byte [ebp + 0x17]
mov byte [0x50db7b], al
test al, al
jne case.0x45b1d0.2540
mov ecx, dword [ebp - 8]
push 0
push 0x1090e
push 0x111
push esi
push ebx
call fcn.0045a7d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14