Function at 0x43566c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
sub edx, 0x2b
je 0x435ba0
sub edx, 0xe5
je 0x43569a
dec edx
je 0x435dab
jmp 0x436468
xor ecx, ecx
mov dword [0x187f968], ecx
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 8], eax
test eax, eax
je 0x43570e
push 1
push 0x100
push 0x187e41c
call fcn.004353cc
add esp, 0xc
push 0x187e41c
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0
push 0x100
push 0x187e41c
call fcn.004353cc
add esp, 0xc
cmp dword [0x187e620], 0
jle 0x43570e
push 0
push dword [0x187e620]
push 0xc5
push dword [ebp - 8]
call sub.USER32.DLL_SendMessageA
cmp dword [0x187e40c], 0
je 0x435b94
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x435b94
cmp byte [0x666ab0], 0
setne dl
and edx, 1
mov dword [0x187f964], edx
push dword [0x460b3c]
push 0x669edc
call fcn.00444310
add esp, 8
test eax, eax
setne cl
and ecx, 1
mov dword [0x187f96c], ecx
mov al, byte [0x66c24c]
cmp al, byte [0x45e8b5]
jne 0x435794
push dword [0x460b34]
push 0x669de0
call fcn.00444570
add esp, 8
test eax, eax
sete dl
and edx, 1
mov dword [0x187f968], edx
jmp 0x4357b5
push dword [0x460b24]
push 0x669de0
call fcn.00444570
add esp, 8
test eax, eax
sete cl
and ecx, 1
mov dword [0x187f968], ecx
cmp dword [0x187f964], 0
je 0x4357ea
push 0
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_ShowWindow
push 0
push 0xa16
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_ShowWindow
jmp 0x4357ff
push 0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_ShowWindow
mov byte [ebp - 0x450], 0
mov eax, 4
cmp dword [0x187f964], 0
jne 0x435817
add eax, 0xfffffffc
mov edx, 2
cmp dword [0x187f968], 0
jne 0x435828
add edx, 0xfffffffe
add eax, edx
mov ecx, 1
cmp dword [0x187f96c], 0
jne 0x435839
dec ecx
add eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax*8 + 0x460cc0], 0
je 0x435896
mov edx, dword [ebp - 0x34]
cmp dword [edx*8 + 0x460cc4], 0
je 0x435882
push 0x46446c
lea ecx, [ebp - 0x450]
push ecx
call fcn.0044435c
add esp, 8
push 0x4644ac
lea eax, [ebp - 0x450]
push eax
call fcn.00444280
add esp, 8
jmp 0x435896
push str.Messung_des_Differenzstromes_kann_nicht_durchgef
lea edx, [ebp - 0x450]
push edx
call fcn.0044435c
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp dword [ecx*8 + 0x460cc4], 0
je 0x4358b7
push 0x4644f2
lea eax, [ebp - 0x450]
push eax
call fcn.00444280
add esp, 8
lea edx, [ebp - 0x450]
push edx
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0x663e64
call fcn.0040340c
pop ecx
test al, 4
jne 0x4358e1
mov byte [0x663c6c], 0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax*4 + 0x45fdc0]
mov ecx, edx
shl edx, 6
sub edx, ecx
cmp byte [edx*4 + 0x655fec], 0
jne 0x43590a
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 6
jl 0x4358e6
cmp dword [ebp - 0x34], 6
jl 0x435919
cmp byte [0x187e41c], 0
je 0x435934
push 0x663e64
call fcn.0040340c
pop ecx
push eax
push 0
push dword [ebp + 8]
call fcn.004355a4
add esp, 0xc
jmp 0x435958
mov byte [0x663e64], 0
push 0
mov eax, 0xa15
cmp dword [0x187f964], 0
jne 0x43594c
dec eax
push eax
push dword [ebp + 8]
call fcn.004355a4
add esp, 0xc
cmp byte [0x66387c], 0
setne dl
and edx, 1
push edx
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x663978], 0
setne cl
and ecx, 1
push ecx
push 0xa10
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x663a74], 0
setne al
and eax, 1
push eax
push 0xa11
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x663c6c], 0
setne dl
and edx, 1
push edx
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x663f60], 0
setne cl
and ecx, 1
push ecx
push 0xa1b
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x66405c], 0
setne al
and eax, 1
push eax
push 0xa1c
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
push eax
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp byte [0x187e41c], 0
setne dl
and edx, 1
push edx
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp dword [0x187e628], 0
je 0x435aab
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 0xa16
push eax
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x435ace
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 4
jl 0x435ab0
xor edx, edx
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x38], 4
setl cl
and ecx, 1
push ecx
mov eax, dword [ebp - 0x34]
push dword [eax*4 + 0x45fda4]
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 7
jl 0x435ad3
cmp dword [ebp - 0x38], 4
setl dl
and edx, 1
push edx
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x435b54
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
jmp 0x435b94
push 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
mov byte [0x663c6c], 0
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
mov dword [ebp - 4], 1
jmp 0x436468
push 0x500
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 8], eax
test eax, eax
je 0x436468
xor edx, edx
mov dword [ebp - 0x34], edx
push 0x468af8
lea ecx, [ebp - 0x450]
push ecx
call fcn.0044435c
add esp, 8
mov eax, dword [ebp - 0x34]
inc eax
push eax
push str.PCDOCWH_d.DLL
lea edx, [ebp - 0x450]
push edx
call fcn.0044438c
pop ecx
lea ecx, [ebp - 0x450]
add eax, ecx
push eax
call fcn.00447d04
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x435c24
push 2
movzx edx, word [0x187e624]
push edx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_FindResourceA
test eax, eax
jne 0x435c3b
cmp dword [ebp - 0x40], 0
je 0x435c32
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_FreeLibrary
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 4
jl 0x435bbd
cmp dword [ebp - 0x34], 4
jge 0x436468
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 8]
call sub.USER32.DLL_GetWindowRect
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call sub.USER32.DLL_ScreenToClient
lea edx, [ebp - 0x48]
push edx
push dword [ebp + 8]
call sub.USER32.DLL_ScreenToClient
movzx ecx, word [0x187e624]
push ecx
push dword [ebp - 0x40]
call sub.USER32.DLL_LoadBitmapA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436468
push dword [ebp - 8]
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x435d93
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
push eax
push 0x18
push dword [ebp - 0x14]
call sub.GDI32.DLL_GetObjectA
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x435cf5
mov ecx, 2
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x2c], edx
jmp 0x435d09
mov ecx, dword [ebp - 0x1c]
neg ecx
sar ecx, 1
jns 0x435d01
adc ecx, 0
mov dword [ebp - 0x24], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x60]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jl 0x435d3c
mov ecx, 2
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x30], edx
jmp 0x435d50
mov ecx, dword [ebp - 0x20]
neg ecx
sar ecx, 1
jns 0x435d48
adc ecx, 0
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x20], eax
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call sub.GDI32.DLL_BitBlt
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call sub.GDI32.DLL_SelectObject
cmp dword [ebp - 0x14], 0
je 0x435d8b
push dword [ebp - 0x14]
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x10]
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 0xc]
push dword [ebp - 8]
call sub.USER32.DLL_ReleaseDC
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_FreeLibrary
jmp 0x436468
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 2
jne 0x435de1
cmp dword [0x187e628], 0
jne 0x435df3
xor ecx, ecx
mov dword [0x187e61c], ecx
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x436468
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 1
jne 0x43613a
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x435e6c
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x435e26
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x435e53
push 0xff
push 0x187e41c
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItemTextA
push 0
push 0x100
push 0x187e41c
call fcn.004353cc
add esp, 0xc
jmp 0x435e6c
mov byte [0x187e41c], 0
push 0x464552
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x187e40c], 0
je 0x43611a
cmp dword [0x187e2cc], 0
jne 0x43611a
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x43611a
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x435f70
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x435f70
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
push dword [ecx*4 + 0x45fda4]
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x435ee9
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 7
jl 0x435eca
cmp dword [ebp - 0x34], 6
jl 0x435f17
cmp byte [0x187e41c], 0
jne 0x435f17
push 0x30
call sub.USER32.DLL_MessageBeep
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_SetFocus
jmp 0x436468
push str.Sie_verzichten_auf_eine_der_in_dieser_Norm_vorgegebenen_Pr
lea eax, [ebp - 0x450]
push eax
call fcn.0044435c
add esp, 8
push str._n_nSie_als_Pr
lea edx, [ebp - 0x450]
push edx
call fcn.00444280
add esp, 8
push str._n_nDiese_Entscheidung_begr
lea ecx, [ebp - 0x450]
push ecx
call fcn.00444280
add esp, 8
lea eax, [ebp - 0x450]
push eax
push 0x14
push dword [ebp + 8]
call fcn.00411b5c
add esp, 0xc
cmp eax, 6
jne 0x436468
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x435fa7
push 0x4646be
push 0x66387c
call fcn.0044435c
add esp, 8
push 0x4646c1
push 0x66387c
call fcn.00444280
add esp, 8
jmp 0x435fae
mov byte [0x66387c], 0
push 0xa10
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x435fe5
push 0x4646ee
push 0x663978
call fcn.0044435c
add esp, 8
push 0x4646f1
push 0x663978
call fcn.00444280
add esp, 8
jmp 0x435fec
mov byte [0x663978], 0
push 0xa11
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x436023
push 0x464713
push 0x663a74
call fcn.0044435c
add esp, 8
push 0x464716
push 0x663a74
call fcn.00444280
add esp, 8
jmp 0x43602a
mov byte [0x663a74], 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x43604f
push 0x46472d
push 0x663c6c
call fcn.0044435c
add esp, 8
jmp 0x436056
mov byte [0x663c6c], 0
push 0xa1b
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x43608d
push 0x46479c
push 0x663f60
call fcn.0044435c
add esp, 8
push 0x46479f
push 0x663f60
call fcn.0044435c
add esp, 8
jmp 0x436094
mov byte [0x663f60], 0
push 0xa1c
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4360cb
push 0x4647b8
push 0x66405c
call fcn.0044435c
add esp, 8
push 0x4647bb
push 0x66405c
call fcn.0044435c
add esp, 8
jmp 0x4360d2
mov byte [0x66405c], 0
xor edx, edx
mov dword [ebp - 0x3c], edx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
add eax, 0xa16
push eax
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4360ff
mov ecx, dword [ebp - 0x34]
mov dl, 1
shl dl, cl
xor eax, eax
mov al, dl
or dword [ebp - 0x3c], eax
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 4
jl 0x4360dc
push 0xa
push 0x663e64
push dword [ebp - 0x3c]
call fcn.0044bb3c
add esp, 0xc
mov dword [0x187e61c], 1
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x436468
cmp dword [0x187e40c], 0
je 0x4363d6
cmp dword [0x187e2cc], 0
jne 0x4363d6
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa14
je 0x4361b4
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa15
je 0x4361b4
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0xa16
je 0x4361b4
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa17
je 0x4361b4
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa18
je 0x4361b4
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0xa19
jne 0x4363d6
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa14
je 0x4361d4
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa15
jne 0x4361ed
push 0
mov ax, word [ebp + 0x10]
and ax, 0xffff
movzx edx, ax
push edx
push dword [ebp + 8]
call fcn.004355a4
add esp, 0xc
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x436224
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
jmp 0x436239
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp dword [0x187e628], 0
je 0x4362ae
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
xor ecx, ecx
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
add edx, 0xa16
push edx
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4362dc
mov ecx, dword [ebp - 0x34]
mov al, 1
shl al, cl
xor edx, edx
mov dl, al
or dword [ebp - 0x38], edx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 4
jl 0x4362b8
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x38], 0
setne al
and eax, 1
push eax
mov edx, dword [ebp - 0x34]
push dword [edx*4 + 0x45fda4]
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp dword [ebp - 0x38], 0
jne 0x436327
push 0
mov ecx, dword [ebp - 0x34]
push dword [ecx*4 + 0x45fda4]
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 7
jl 0x4362ea
cmp dword [ebp - 0x38], 0
setne al
and eax, 1
push eax
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp dword [ebp - 0x38], 0
jne 0x436388
push 0x4647ea
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0
mov edx, 0xa15
cmp dword [0x187f964], 0
jne 0x436377
dec edx
push edx
push dword [ebp + 8]
call fcn.004355a4
add esp, 0xc
jmp 0x436468
push dword [ebp - 0x38]
push 0
push dword [ebp + 8]
call fcn.004355a4
add esp, 0xc
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x436468
push 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
push 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
jmp 0x436468
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa13
jne 0x436410
mov byte [0x187e41c], 0
push 0x4647eb
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
jmp 0x436468
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0x501
jne 0x436468
mov edx, dword [ebp + 0x10]
shr edx, 0x10
cmp dx, 0x300
jne 0x436468
push 0xff
push 0x187e41c
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItemTextA
push 0x187e41c
call fcn.0040288c
pop ecx
cmp byte [0x187e41c], 0
setne cl
and ecx, 1
push ecx
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10