Function at 0x502234b3
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, dword [esi + 8]
and dword [0x5029f92c], 0
and dword [0x5029f930], 0
push edi
xor edi, edi
inc edi
mov dword [0x5029f91c], edi
mov dword [0x5029f920], edi
mov dword [0x5029f924], edi
mov dword [0x5029f928], edi
mov dword [0x5029f934], edi
mov dword [0x5029f93c], edi
mov dword [0x5029f940], edi
mov dword [0x5029f938], edi
mov dword [0x5029f944], edi
mov dword [0x5029f948], edi
push dword [esi]
mov ebx, ecx
push 0x147
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi], 0
je 0x50223b2b
cmp dword [0x5029f9d0], edi
jle 0x5022355b
push 0xc
pop esi
mov edx, dword [0x5029f9cc]
mov eax, dword [ebx + 4]
push dword [esi + edx + 8]
add eax, 0x20
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc edi
add esi, 0xc
cmp edi, dword [0x5029f9d0]
jl 0x50223539
mov esi, dword [0x5029f9cc]
xor edx, edx
xor eax, eax
inc edx
cmp dword [0x5029f9d0], edx
push 0x19
setg al
pop ecx
mov edi, ebp
lea eax, [eax + eax*2]
mov esi, dword [esi + eax*4 + 8]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [ebp + 0x18], edi
je 0x5022359c
mov dword [esp + 0x1c], edx
mov dword [0x5029f92c], edx
mov dword [0x5029f930], edx
mov dword [0x5029f918], edx
jmp 0x502235a0
mov dword [esp + 0x1c], edi
mov eax, dword [0x5029f9d0]
cmp eax, 2
jle 0x502236ce
mov esi, dword [0x5029f9cc]
add esi, 0x20
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [ebp + 0x24]
je 0x502235ce
mov dword [0x5029f91c], edi
mov ecx, dword [eax + 0x28]
cmp ecx, dword [ebp + 0x28]
je 0x502235dc
mov dword [0x5029f920], edi
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [ebp + 0x2c]
je 0x502235ea
mov dword [0x5029f924], edi
mov ecx, dword [eax + 0x30]
cmp ecx, edi
je 0x502235fa
cmp ecx, edx
je 0x502235fa
cmp dword [eax + 0x1c], edi
je 0x50223605
cmp ecx, dword [ebp + 0x30]
je 0x50223605
mov dword [0x5029f928], edi
cmp dword [eax + 0x18], edi
je 0x5022366d
cmp dword [esp + 0x1c], edi
je 0x5022363c
mov ecx, dword [eax + 0x34]
cmp ecx, dword [ebp + 0x34]
je 0x5022361e
mov dword [0x5029f92c], edi
mov ecx, dword [eax + 0x38]
cmp ecx, dword [ebp + 0x38]
je 0x5022362c
mov dword [0x5029f930], edi
mov ecx, dword [eax + 0x20]
cmp ecx, dword [ebp + 0x38]
je 0x5022366d
mov dword [0x5029f918], edi
jmp 0x5022366d
mov dword [0x5029f92c], edx
mov dword [0x5029f930], edx
mov dword [0x5029f918], edx
mov ecx, dword [eax + 0x34]
mov dword [0x5029f994], ecx
mov ecx, dword [eax + 0x38]
mov dword [0x5029f998], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x1c], edx
mov dword [0x5029f980], ecx
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [ebp + 0x3c]
je 0x5022367b
mov dword [0x5029f934], edi
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0x44]
je 0x50223689
mov dword [0x5029f93c], edi
mov ecx, dword [eax + 0x48]
cmp ecx, dword [ebp + 0x48]
je 0x50223697
mov dword [0x5029f940], edi
mov ecx, dword [eax + 0x40]
cmp ecx, dword [ebp + 0x40]
je 0x502236a5
mov dword [0x5029f938], edi
mov ecx, dword [eax + 0x4c]
cmp ecx, dword [ebp + 0x4c]
je 0x502236b3
mov dword [0x5029f944], edi
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp + 0x50]
je 0x502236c1
mov dword [0x5029f948], edi
add esi, 0xc
dec dword [esp + 0x14]
jne 0x502235be
cmp dword [ebx + 8], edi
jne 0x50223840
cmp dword [0x5029f91c], edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
je 0x502236fb
push dword [ebp + 0x24]
push 0xec
push dword [ebx]
call esi
jmp 0x50223704
push 0xec
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f920], eax
push eax
je 0x5022371d
push dword [ebp + 0x28]
push 0xed
push dword [ebx]
call esi
jmp 0x50223726
push 0xed
push dword [ebx]
call edi
cmp dword [0x5029f924], 0
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, 0xf1
je 0x5022376b
xor eax, eax
cmp dword [ebp + 0x2c], eax
push 0
setne al
push 1
push esi
add eax, 0xee
push eax
push dword [ebx]
call edi
mov eax, dword [ebp + 0x2c]
push 0
neg eax
push 0
sbb eax, eax
push esi
add eax, 0xef
push eax
push dword [ebx]
call edi
xor ebp, ebp
jmp 0x50223785
xor ebp, ebp
push ebp
push ebp
push esi
push 0xef
push dword [ebx]
call edi
push ebp
push ebp
push esi
push 0xee
push dword [ebx]
call edi
cmp dword [0x5029f924], ebp
mov eax, 0x50005e98
jne 0x50223795
lea eax, [ebx + 0x24]
push eax
push 0x1b6e
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 1
push 0xf2
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x5029f928], ebp
je 0x502237ce
cmp dword [0x5029f990], ebp
jne 0x502237ce
xor eax, eax
inc eax
jmp 0x502237d0
xor eax, eax
push ebp
push eax
push esi
push 0xf0
push dword [ebx]
call edi
cmp dword [0x5029f928], ebp
je 0x502237ef
xor eax, eax
inc eax
cmp dword [0x5029f990], eax
je 0x502237f1
xor eax, eax
push ebp
push eax
push esi
push esi
push dword [ebx]
call edi
cmp dword [0x5029f928], ebp
je 0x5022380f
cmp dword [0x5029f990], 2
jne 0x5022380f
xor eax, eax
inc eax
jmp 0x50223811
xor eax, eax
push ebp
push eax
push esi
push 0xf2
push dword [ebx]
call edi
cmp dword [0x5029f928], ebp
mov eax, 0x50005e98
jne 0x5022382d
lea eax, [ebx + 0x24]
push eax
push 0x1b6d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x50223e07
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0xcb
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0xf7
push dword [ebx]
call edi
push eax
call esi
push 1
push 0x12b
push dword [ebx]
call edi
push eax
call esi
and dword [esp + 0x14], 0
xor eax, eax
inc eax
cmp dword [0x5029f9d0], eax
mov dword [esp + 0x10], eax
jle 0x502238cd
mov dword [esp + 0x1c], 0xc
mov eax, dword [0x5029f9cc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax + 8]
add eax, 0x54
push eax
mov ecx, ebx
call fcn.50272bbe
test al, al
jne 0x502238c5
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], 0xc
cmp eax, dword [0x5029f9d0]
jl 0x50223892
jmp 0x502238cd
mov dword [esp + 0x14], 1
push dword [esp + 0x14]
push pe_nt_image_headers32
push dword [ebx]
call edi
push eax
call esi
xor eax, eax
cmp dword [0x5029f92c], eax
mov ecx, ebx
sete al
push eax
push 0xcb
call fcn.50223216
cmp dword [0x5029f92c], 0
je 0x50223903
mov eax, dword [ebp + 0x34]
jmp 0x50223906
push 2
pop eax
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push eax
mov esi, 0xf1
push esi
push 0xcb
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f930], eax
mov ecx, ebx
sete al
push eax
push 0xf7
call fcn.50223216
cmp dword [0x5029f930], 0
je 0x50223944
mov eax, dword [ebp + 0x38]
jmp 0x50223947
push 2
pop eax
push 0
push eax
push esi
push 0xf7
push dword [ebx]
call edi
cmp dword [esp + 0x14], 0
je 0x50223994
xor eax, eax
cmp dword [0x5029f918], eax
mov ecx, ebx
sete al
push eax
push pe_nt_image_headers32
call fcn.50223216
cmp dword [0x5029f918], 0
je 0x50223981
mov eax, dword [ebp + 0x20]
jmp 0x50223984
push 2
pop eax
xor ebp, ebp
push ebp
push eax
push esi
push pe_nt_image_headers32
push dword [ebx]
call edi
jmp 0x502239a4
push 0
push 0
push esi
push pe_nt_image_headers32
push dword [ebx]
call edi
xor ebp, ebp
xor eax, eax
cmp dword [0x5029f934], ebp
mov ecx, ebx
sete al
push eax
push 0xfa
call fcn.50223216
cmp dword [0x5029f934], ebp
je 0x502239cb
mov eax, dword [0x5029f99c]
jmp 0x502239ce
push 2
pop eax
push ebp
push eax
push esi
push 0xfa
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f938], ebp
mov ecx, ebx
sete al
push eax
push 0x3e9
call fcn.50223216
cmp dword [0x5029f938], ebp
je 0x50223a01
mov eax, dword [0x5029f9a0]
jmp 0x50223a04
push 2
pop eax
push ebp
push eax
push esi
push 0x3e9
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f93c], ebp
mov ecx, ebx
sete al
push eax
push 0xfb
call fcn.50223216
cmp dword [0x5029f93c], ebp
je 0x50223a37
mov eax, dword [0x5029f9a4]
jmp 0x50223a3a
push 2
pop eax
push ebp
push eax
push esi
push 0xfb
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f944], ebp
mov ecx, ebx
sete al
push eax
push 0x12b
call fcn.50223216
cmp dword [0x5029f944], ebp
je 0x50223a6d
mov eax, dword [0x5029f9ac]
jmp 0x50223a70
push 2
pop eax
push ebp
push eax
push esi
push 0x12b
push dword [ebx]
call edi
xor eax, eax
cmp dword [0x5029f948], ebp
mov ecx, ebx
sete al
push eax
push 0x12a
call fcn.50223216
cmp dword [0x5029f948], ebp
je 0x50223aa3
mov eax, dword [0x5029f9b0]
jmp 0x50223aa6
push 2
pop eax
push ebp
push eax
push esi
push 0x12a
push dword [ebx]
call edi
cmp dword [0x5029f87c], ebp
je 0x50223afa
push 0x129
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push ebp
push esi
push 0x129
push dword [ebx]
mov dword [esp + 0x30], eax
call edi
push 0xfffffffffffffff0
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x50223e07
xor eax, eax
cmp dword [0x5029f940], ebp
mov ecx, ebx
sete al
push eax
push 0x129
call fcn.50223216
cmp dword [0x5029f940], ebp
je 0x50223b21
mov eax, dword [0x5029f9a8]
jmp 0x50223b24
push 2
pop eax
push ebp
push eax
jmp 0x50223dfd
mov eax, dword [ebx + 4]
mov esi, dword [0x5029f9cc]
lea ecx, [eax + 0x20]
mov eax, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
push dword [esi + eax*4 + 8]
push ecx
call dword [edx + 0x58]
xor esi, esi
cmp dword [ebx + 8], esi
jne 0x50223c0a
push esi
push dword [ebp + 0x24]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0xec
push dword [ebx]
call esi
push 0
push dword [ebp + 0x28]
push 0xed
push dword [ebx]
call esi
xor eax, eax
cmp dword [ebp + 0x2c], eax
push 0
setne al
push edi
mov esi, 0xf1
push esi
add eax, 0xee
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [ebp + 0x2c]
push 0
neg eax
push 0
sbb eax, eax
push esi
add eax, 0xef
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push dword [ebp + 0x1c]
push 0xf2
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp dword [ebp + 0x30], eax
push 0
sete al
push eax
push esi
push 0xf0
push dword [ebx]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor eax, eax
cmp dword [ebp + 0x30], edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
sete al
push 0
push eax
push esi
push esi
push dword [ebx]
call edi
xor eax, eax
cmp dword [ebp + 0x30], 2
push 0
sete al
push eax
push esi
push 0xf2
jmp 0x50223e03
push esi
push 0xcb
mov ecx, ebx
call fcn.50223216
cmp dword [ebp + 0x18], esi
je 0x50223c21
cmp dword [ebp + 0x34], esi
jne 0x50223c23
xor edi, edi
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, 0xf1
push esi
push 0xcb
push dword [ebx]
call edi
push 0
push 0xf7
mov ecx, ebx
call fcn.50223216
cmp dword [ebp + 0x18], 0
je 0x50223c5a
cmp dword [ebp + 0x38], 0
je 0x50223c5a
xor eax, eax
inc eax
jmp 0x50223c5c
xor eax, eax
push 0
push eax
push esi
push 0xf7
push dword [ebx]
call edi
push 0
push pe_nt_image_headers32
mov ecx, ebx
call fcn.50223216
lea eax, [ebp + 0x54]
push eax
mov ecx, ebx
call fcn.50272bbe
test al, al
je 0x50223c91
cmp dword [ebp + 0x20], 0
je 0x50223c91
xor eax, eax
inc eax
jmp 0x50223c93
xor eax, eax
push 0
push eax
push esi
push pe_nt_image_headers32
push dword [ebx]
call edi
push dword [ebp + 0x18]
push 0xcb
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 0x18]
push 0xf7
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp + 0x54]
push eax
mov ecx, ebx
call fcn.50272bbe
movzx eax, al
push eax
push pe_nt_image_headers32
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0xfa
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x3c]
push esi
push 0xfa
push dword [ebx]
call edi
push 0
push 0x3e9
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x40]
push esi
push 0x3e9
push dword [ebx]
call edi
push 0
push 0xfb
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x44]
push esi
push 0xfb
push dword [ebx]
call edi
push 0
push 0x12b
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x4c]
push esi
push 0x12b
push dword [ebx]
call edi
lea eax, [ebp + 0x54]
push eax
mov ecx, ebx
call fcn.50272bbe
movzx eax, al
push eax
push 0x12b
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x12a
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x50]
push esi
push 0x12a
push dword [ebx]
call edi
lea eax, [ebp + 0x54]
push eax
mov ecx, ebx
call fcn.50272bbe
movzx eax, al
push eax
push 0x12a
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x5029f87c], 0
je 0x50223dea
mov ebp, 0x129
push ebp
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push esi
push ebp
jmp 0x50223acf
push 0
push 0x129
mov ecx, ebx
call fcn.50223216
push 0
push dword [ebp + 0x48]
push esi
push 0x129
push dword [ebx]
call edi
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
pop ecx
ret 4