Function at 0x432bec
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 0x433120
sub edx, 0xe5
je 0x432c1a
dec edx
je 0x43332b
jmp 0x4339e8
xor ecx, ecx
mov dword [0x187be94], ecx
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 8], eax
test eax, eax
je 0x432c8e
push 1
push 0x100
push 0x187a948
call fcn.0043294c
add esp, 0xc
push 0x187a948
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0
push 0x100
push 0x187a948
call fcn.0043294c
add esp, 0xc
cmp dword [0x187ab4c], 0
jle 0x432c8e
push 0
push dword [0x187ab4c]
push 0xc5
push dword [ebp - 8]
call sub.USER32.DLL_SendMessageA
cmp dword [0x187a938], 0
je 0x433114
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x433114
cmp byte [0x663080], 0
setne dl
and edx, 1
mov dword [0x187be90], edx
push dword [0x45d27c]
push 0x6664ac
call fcn.0044157c
add esp, 8
test eax, eax
setne cl
and ecx, 1
mov dword [0x187be98], ecx
mov al, byte [0x66881c]
cmp al, byte [0x45aff5]
jne 0x432d14
push dword [0x45d274]
push 0x6663b0
call fcn.004417dc
add esp, 8
test eax, eax
sete dl
and edx, 1
mov dword [0x187be94], edx
jmp 0x432d35
push dword [0x45d264]
push 0x6663b0
call fcn.004417dc
add esp, 8
test eax, eax
sete cl
and ecx, 1
mov dword [0x187be94], ecx
cmp dword [0x187be90], 0
je 0x432d6a
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 0x432d7f
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 [0x187be90], 0
jne 0x432d97
add eax, 0xfffffffc
mov edx, 2
cmp dword [0x187be94], 0
jne 0x432da8
add edx, 0xfffffffe
add eax, edx
mov ecx, 1
cmp dword [0x187be98], 0
jne 0x432db9
dec ecx
add eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax*8 + 0x45d400], 0
je 0x432e16
mov edx, dword [ebp - 0x34]
cmp dword [edx*8 + 0x45d404], 0
je 0x432e02
push 0x460bae
lea ecx, [ebp - 0x450]
push ecx
call fcn.004415c8
add esp, 8
push 0x460bee
lea eax, [ebp - 0x450]
push eax
call fcn.004414ec
add esp, 8
jmp 0x432e16
push str.Messung_des_Differenzstromes_kann_nicht_durchgef
lea edx, [ebp - 0x450]
push edx
call fcn.004415c8
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp dword [ecx*8 + 0x45d404], 0
je 0x432e37
push 0x460c34
lea eax, [ebp - 0x450]
push eax
call fcn.004414ec
add esp, 8
lea edx, [ebp - 0x450]
push edx
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0x660434
call fcn.004033f4
pop ecx
test al, 4
jne 0x432e61
mov byte [0x66023c], 0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax*4 + 0x45c500]
mov ecx, edx
shl edx, 6
sub edx, ecx
cmp byte [edx*4 + 0x6525bc], 0
jne 0x432e8a
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 6
jl 0x432e66
cmp dword [ebp - 0x34], 6
jl 0x432e99
cmp byte [0x187a948], 0
je 0x432eb4
push 0x660434
call fcn.004033f4
pop ecx
push eax
push 0
push dword [ebp + 8]
call fcn.00432b24
add esp, 0xc
jmp 0x432ed8
mov byte [0x660434], 0
push 0
mov eax, 0xa15
cmp dword [0x187be90], 0
jne 0x432ecc
dec eax
push eax
push dword [ebp + 8]
call fcn.00432b24
add esp, 0xc
cmp byte [0x65fe4c], 0
setne dl
and edx, 1
push edx
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x65ff48], 0
setne cl
and ecx, 1
push ecx
push 0xa10
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x660044], 0
setne al
and eax, 1
push eax
push 0xa11
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x66023c], 0
setne dl
and edx, 1
push edx
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x660530], 0
setne cl
and ecx, 1
push ecx
push 0xa1b
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp byte [0x66062c], 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 [0x187a948], 0
setne dl
and edx, 1
push edx
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
cmp dword [0x187ab54], 0
je 0x43302b
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 0x43304e
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 4
jl 0x433030
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 + 0x45c4e4]
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 0x433053
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 0x4330d4
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 0x433114
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 [0x66023c], 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 0x4339e8
push 0x500
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 8], eax
test eax, eax
je 0x4339e8
xor edx, edx
mov dword [ebp - 0x34], edx
push 0x4650c8
lea ecx, [ebp - 0x450]
push ecx
call fcn.004415c8
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.004415f8
pop ecx
lea ecx, [ebp - 0x450]
add eax, ecx
push eax
call fcn.00444f70
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 0x4331a4
push 2
movzx edx, word [0x187ab50]
push edx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_FindResourceA
test eax, eax
jne 0x4331bb
cmp dword [ebp - 0x40], 0
je 0x4331b2
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_FreeLibrary
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 4
jl 0x43313d
cmp dword [ebp - 0x34], 4
jge 0x4339e8
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 [0x187ab50]
push ecx
push dword [ebp - 0x40]
call sub.USER32.DLL_LoadBitmapA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4339e8
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 0x433313
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 0x433275
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 0x433289
mov ecx, dword [ebp - 0x1c]
neg ecx
sar ecx, 1
jns 0x433281
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 0x4332bc
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 0x4332d0
mov ecx, dword [ebp - 0x20]
neg ecx
sar ecx, 1
jns 0x4332c8
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 0x43330b
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 0x4339e8
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 2
jne 0x433361
cmp dword [0x187ab54], 0
jne 0x433373
xor ecx, ecx
mov dword [0x187ab48], ecx
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x4339e8
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 1
jne 0x4336ba
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x4333ec
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x4333a6
push 0xa13
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4333d3
push 0xff
push 0x187a948
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItemTextA
push 0
push 0x100
push 0x187a948
call fcn.0043294c
add esp, 0xc
jmp 0x4333ec
mov byte [0x187a948], 0
push 0x460c94
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x187a938], 0
je 0x43369a
cmp dword [0x187a7f8], 0
jne 0x43369a
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x43369a
push 0xa14
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x4334f0
push 0xa15
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x4334f0
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
push dword [ecx*4 + 0x45c4e4]
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x433469
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 7
jl 0x43344a
cmp dword [ebp - 0x34], 6
jl 0x433497
cmp byte [0x187a948], 0
jne 0x433497
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 0x4339e8
push str.Sie_verzichten_auf_eine_der_in_dieser_Norm_vorgegebenen_Pr
lea eax, [ebp - 0x450]
push eax
call fcn.004415c8
add esp, 8
push str._n_nSie_als_Pr
lea edx, [ebp - 0x450]
push edx
call fcn.004414ec
add esp, 8
push str._n_nDiese_Entscheidung_begr
lea ecx, [ebp - 0x450]
push ecx
call fcn.004414ec
add esp, 8
lea eax, [ebp - 0x450]
push eax
push 0x14
push dword [ebp + 8]
call fcn.0041124c
add esp, 0xc
cmp eax, 6
jne 0x4339e8
push 0xa0f
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x433527
push 0x460e00
push 0x65fe4c
call fcn.004415c8
add esp, 8
push 0x460e03
push 0x65fe4c
call fcn.004414ec
add esp, 8
jmp 0x43352e
mov byte [0x65fe4c], 0
push 0xa10
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x433565
push 0x460e30
push 0x65ff48
call fcn.004415c8
add esp, 8
push 0x460e33
push 0x65ff48
call fcn.004414ec
add esp, 8
jmp 0x43356c
mov byte [0x65ff48], 0
push 0xa11
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4335a3
push 0x460e55
push 0x660044
call fcn.004415c8
add esp, 8
push 0x460e58
push 0x660044
call fcn.004414ec
add esp, 8
jmp 0x4335aa
mov byte [0x660044], 0
push 0xa12
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4335cf
push 0x460e6f
push 0x66023c
call fcn.004415c8
add esp, 8
jmp 0x4335d6
mov byte [0x66023c], 0
push 0xa1b
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x43360d
push 0x460ede
push 0x660530
call fcn.004415c8
add esp, 8
push 0x460ee1
push 0x660530
call fcn.004415c8
add esp, 8
jmp 0x433614
mov byte [0x660530], 0
push 0xa1c
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x43364b
push 0x460efa
push 0x66062c
call fcn.004415c8
add esp, 8
push 0x460efd
push 0x66062c
call fcn.004415c8
add esp, 8
jmp 0x433652
mov byte [0x66062c], 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 0x43367f
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 0x43365c
push 0xa
push 0x660434
push dword [ebp - 0x3c]
call fcn.00448da8
add esp, 0xc
mov dword [0x187ab48], 1
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x4339e8
cmp dword [0x187a938], 0
je 0x433956
cmp dword [0x187a7f8], 0
jne 0x433956
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa14
je 0x433734
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa15
je 0x433734
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0xa16
je 0x433734
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa17
je 0x433734
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa18
je 0x433734
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0xa19
jne 0x433956
mov dx, word [ebp + 0x10]
and dx, 0xffff
cmp dx, 0xa14
je 0x433754
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa15
jne 0x43376d
push 0
mov ax, word [ebp + 0x10]
and ax, 0xffff
movzx edx, ax
push edx
push dword [ebp + 8]
call fcn.00432b24
add esp, 0xc
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4337a4
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 0x4337b9
push 1
push 0xa17
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp dword [0x187ab54], 0
je 0x43382e
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 0x43385c
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 0x433838
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 + 0x45c4e4]
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
cmp dword [ebp - 0x38], 0
jne 0x4338a7
push 0
mov ecx, dword [ebp - 0x34]
push dword [ecx*4 + 0x45c4e4]
push dword [ebp + 8]
call sub.USER32.DLL_CheckDlgButton
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 7
jl 0x43386a
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 0x433908
push 0x460f2c
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
push 0
mov edx, 0xa15
cmp dword [0x187be90], 0
jne 0x4338f7
dec edx
push edx
push dword [ebp + 8]
call fcn.00432b24
add esp, 0xc
jmp 0x4339e8
push dword [ebp - 0x38]
push 0
push dword [ebp + 8]
call fcn.00432b24
add esp, 0xc
push 0xa18
push dword [ebp + 8]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
jne 0x4339e8
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 0x4339e8
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 0xa13
jne 0x433990
mov byte [0x187a948], 0
push 0x460f2d
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 0x4339e8
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 0x501
jne 0x4339e8
mov edx, dword [ebp + 0x10]
shr edx, 0x10
cmp dx, 0x300
jne 0x4339e8
push 0xff
push 0x187a948
push 0x501
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItemTextA
push 0x187a948
call fcn.00402874
pop ecx
cmp byte [0x187a948], 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