Function at 0x462010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, ecx
lea eax, [ebx + 0x120ac]
push eax
push 0x5e7
push esi
mov dword [ebp - 8], ebx
call edi
lea ecx, [ebx + 0x12108]
push ecx
push 0x5ea
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp dword [ebx + 0xf36dc], eax
mov dword [ebp - 0xc], eax
jle 0x4620fb
mov dword [ebp + 8], eax
mov ebx, dword [ebx + 0xf36e8]
add ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4620dc
push 0
push 0
push 0
push 0
call fcn.0042fba0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
add ebx, 0x210
push ebx
push 0
push 0x143
push 0x5e7
push esi
mov dword [ebp - 4], eax
call edi
xor ecx, ecx
cmp dword [ebp - 4], ecx
setne cl
push ecx
push eax
push 0x151
push 0x5e7
push esi
mov dword [ebp - 4], ecx
call edi
push ebx
push 0
push 0x143
push 0x5ea
push esi
call edi
mov ecx, dword [ebp - 4]
push ecx
push eax
push 0x151
push 0x5ea
push esi
call edi
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add dword [ebp + 8], 0x25c
inc eax
cmp eax, dword [edx + 0xf36dc]
mov dword [ebp - 0xc], eax
mov ebx, edx
jl 0x462062
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x460d90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xf36d0], eax
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [ebx*4 + 0x4f9c90]
push ecx
lea edx, [ebp - 0x218]
push 0x4e4a24
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test ebx, ebx
jbe 0x462157
lea eax, [ebp - 0x218]
push eax
push 0
push 0x143
push 0x5e8
push esi
call edi
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0x143
push 0x8e7
push esi
call edi
lea edx, [ebp - 0x218]
push edx
push 0
push 0x143
push 0x8ec
push esi
call edi
lea eax, [ebp - 0x218]
push eax
push 0
push 0x143
push 0x8f2
push esi
call edi
inc ebx
cmp ebx, 0x17
jb 0x462120
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x14b
push 0x629
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push 0x8fc
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push 0x8fd
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
nop
mov ecx, dword [ebx + 0x510d14]
push ecx
push 0
push 0x143
push 0x629
push esi
call edi
mov edx, dword [ebx + 0x510d14]
push edx
push 0
push 0x143
push 0x8fc
push esi
call edi
mov eax, dword [ebx + 0x510d14]
push eax
push 0
push 0x143
push 0x8fd
push esi
call edi
add ebx, 8
cmp ebx, 0x88
jb 0x4621f0
mov ecx, dword [0x52fe30]
movzx edx, byte [ecx + 0xb8d]
push edx
push 0x628
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [0x52fe30]
mov al, byte [eax + 0xb8f]
mov ecx, 0x4fae54
cmp al, 0x10
jb 0x462270
mov ecx, str.None
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
movzx edx, al
push edx
push ecx
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push 0x629
push esi
call fcn.0045c2f0
mov edx, dword [0x52fe30]
mov al, byte [edx + 0xb90]
add esp, 0x18
mov ecx, 0x4fae54
cmp al, 0x10
jb 0x4622b3
mov ecx, str.None
movzx eax, al
push eax
push ecx
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x218]
push edx
push 0x8fc
push esi
call fcn.0045c2f0
mov eax, dword [0x52fe30]
mov al, byte [eax + 0xb8e]
add esp, 0x18
mov ecx, 0x4fae54
cmp al, 0x10
jb 0x4622ef
mov ecx, str.None
movzx edx, al
push edx
push ecx
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push 0x8fd
push esi
call fcn.0045c2f0
mov edx, dword [0x52fe30]
movzx eax, byte [edx + 0xee0]
add esp, 0x18
push eax
push 0x61e
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [0x52fe30]
mov edx, dword [ecx + 0x120c]
push edx
lea eax, [ebp - 0x218]
push 0x4e4a24
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push 0x5e8
push esi
call fcn.0045c2f0
mov edx, dword [0x52fe30]
mov eax, dword [edx + 0x1210]
push eax
lea ecx, [ebp - 0x218]
push 0x4e4a24
push ecx
call ebx
lea edx, [ebp - 0x218]
push edx
push 0x8e7
push esi
call fcn.0045c2f0
mov eax, dword [0x52fe30]
mov ecx, dword [eax + 0x1214]
push ecx
lea edx, [ebp - 0x218]
push 0x4e4a24
push edx
call ebx
lea eax, [ebp - 0x218]
push eax
push 0x8ec
push esi
call fcn.0045c2f0
mov ecx, dword [0x52fe30]
mov edx, dword [ecx + 0x1218]
add esp, 0x48
push edx
lea eax, [ebp - 0x218]
push 0x4e4a24
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push 0x8f2
push esi
call fcn.0045c2f0
add esp, 0x18
mov byte [ebp + 0xb], 4
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx*8 + 0x510c5c]
push eax
push 0
push 0x143
push 0x5e9
push esi
call edi
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x120a7]
mov eax, dword [ebp - 0xc]
cmp dword [eax*8 + 0x510c58], edx
jne 0x462423
mov byte [ebp + 0xb], al
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x13
jb 0x4623f0
movzx eax, byte [ebp + 0xb]
push 0
push eax
push 0x14e
push 0x5e9
push esi
call edi
mov ecx, dword [0x52fe30]
add ecx, 0xf42
push ecx
push 0x6a1
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xf2b74]
push 1
push 0x97a
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [ebp - 8]
call fcn.0045a0f0
mov ecx, dword [0x52fe30]
movzx edx, byte [ecx + 0xf41]
and edx, 3
push edx
push 0x6a3
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [0x52fe30]
movzx ecx, byte [eax + 0x114a]
push ecx
lea edx, [ebp - 0x418]
push 0x4e4a24
push edx
call ebx
add esp, 0xc
xor ebx, ebx
push ebx
push 3
push 0xc5
push 0x6a2
push esi
call edi
lea eax, [ebp - 0x418]
push eax
push 0x6a2
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0xff0000
push 1
push 0x406
push 0x8ed
push esi
call edi
mov ecx, dword [0x52fe30]
movzx edx, byte [ecx + 0x114a]
push edx
push 1
push 0x405
push 0x8ed
push esi
call edi
mov eax, dword [0x52fe30]
movzx ecx, byte [eax + 0x1150]
push 0x923
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
mov edi, eax
push 0x14b
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x462540
mov edx, dword [ebx*8 + 0x510ab4]
push edx
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
cmp dword [ebx*8 + 0x510ab0], eax
jne 0x462565
mov dword [ebp + 8], ebx
inc ebx
cmp ebx, 9
jb 0x462540
mov ecx, dword [ebp + 8]
push 0
push ecx
push 0x14e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x52fe30]
movzx eax, byte [edx + 0x1151]
and eax, 3
push eax
push 0x6c6
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [0x52fe30]
mov ecx, 0x6a1
mov word [ebp + 8], cx
movzx ecx, byte [eax + 0xf41]
mov edx, 0x8f3
mov word [ebp + 0xa], dx
mov dword [ebp - 4], ecx
mov ebx, 2
lea edi, [ebp + 8]
movzx eax, word [edi]
dec ebx
test ax, ax
je 0x4625e9
mov edx, dword [ebp - 4]
movzx eax, ax
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add edi, 2
test ebx, ebx
jne 0x4625c3
mov ebx, dword [ebp - 8]
mov al, byte [ebx + 0x120aa]
cmp al, 6
jne 0x4625fd
mov eax, 0x4b4
jmp 0x46260c
xor ecx, ecx
cmp al, 4
sete cl
add ecx, 0x4b2
mov eax, ecx
push eax
push 0x4b4
push 0x4b2
push esi
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov edx, dword [0x52fe30]
movzx eax, byte [edx + 0x11287]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 3
push eax
push 0x8eb
push esi
call edi
xor ecx, ecx
cmp dword [ebx + 0x120a0], 0x2bc
sete cl
push ecx
push 0x8e6
push esi
call edi
xor edx, edx
cmp byte [ebx + 0x120a4], dl
setne dl
push edx
push 0x8e8
push esi
call edi
mov eax, dword [0x52fe30]
movzx ecx, byte [eax + 0x1238]
and ecx, 3
push ecx
push 0x4b7
push esi
call edi
pop edi
xor edx, edx
pop esi
mov word [ebx + 0xf36d4], dx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4