Function at 0x41796a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00404980
mov esi, eax
call fcn.00404960
mov ebx, eax
call fcn.00404970
mov ecx, dword [esi + 0x2de4]
test ecx, ecx
mov dword [ebp - 0x9c], eax
je 0x4179a5
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0x12e
mov dword [esi + 0x2de4], 0
push dword [ebx + 0x70c]
push dword [ebx + 0x714]
call fcn.00460310
push 0x12e
push dword [ebx + 0x710]
push dword [ebx + 0x718]
call fcn.00460310
mov dword [esi + 0x2118], edi
push dword [ebp - 0x9c]
push ebx
push esi
call fcn.00404c30
add esp, 0x24
push ebx
call fcn.00451258
add esp, 4
test eax, eax
mov dword [ebp - 0x94], eax
je 0x417a1a
push dword [ebp - 0x94]
push esi
call fcn.0041b618
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x90], esi
mov edx, dword [ebp - 0x90]
push 0
mov ecx, dword [edx + 0x35d4]
mov dword [ebp - 0x84], ecx
push dword [ebx + 0x698]
push 0xf1
push 0x1c7
push edi
call dword [sym.imp.USER32.DLL_SendDlgItemMessageA]
push 5
push ebx
push dword [ebp - 0x90]
call fcn.0041194a
mov esi, 0x190
add esp, 0xc
push 0x80
lea edx, [ebp - 0x80]
push edx
push esi
push dword [ebx + 0x58]
call dword [sym.imp.USER32.DLL_LoadStringA]
lea ecx, [ebp - 0x80]
push ecx
push esi
push edi
call dword [sym.imp.USER32.DLL_SetDlgItemTextA]
inc esi
cmp esi, 0x1b2
jbe 0x417a61
push ebx
mov esi, dword [ebp - 0x90]
push edi
call fcn.004182fb
add esp, 8
test eax, eax
js 0x417adb
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x24]
push ecx
push 0
push ebx
mov dword [ebp - 0x98], ecx
push esi
call fcn.004176ad
add esp, 0x10
test eax, eax
mov dword [ebp - 0x94], eax
jne 0x417aed
push dword [ebp - 0x98]
call fcn.00451248
add esp, 4
test eax, eax
mov dword [ebp - 0xa0], eax
jne 0x417b0e
push 0xffffffffffffffdc
push esi
call fcn.0041b618
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call fcn.00411ed8
add esp, 8
push dword [ebp - 0x94]
push esi
call fcn.0041b618
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x10], ecx
push dword [ebp - 0x98]
push esi
push edi
call fcn.004185c8
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x64]
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x28], ecx
push dword [ebp - 0x98]
push 0x1b9
push edi
call fcn.00418828
push 5
push esi
call fcn.00411ed8
add esp, 0x20
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x9c]
mov ecx, 0x1c3
cmp edx, ecx
je 0x417b7e
cmp edx, 0x1c4
je 0x417b7e
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x9c], ecx
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0xa0]
mov ecx, 0x1c5
cmp edx, ecx
je 0x417ba7
cmp edx, 0x1c6
je 0x417ba7
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xa0], ecx
mov dword [ebp - 0x90], esi
mov esi, 0x1c3
push 0
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x9c], esi
sete dl
movzx edx, dl
push edx
push 0xf1
push esi
push edi
call dword [sym.imp.USER32.DLL_SendDlgItemMessageA]
inc esi
cmp esi, 0x1c4
jbe 0x417bb2
mov esi, 0x1c5
push 0
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0xa0], esi
sete dl
movzx edx, dl
push edx
push 0xf1
push esi
push edi
call dword [sym.imp.USER32.DLL_SendDlgItemMessageA]
inc esi
cmp esi, 0x1c6
jbe 0x417be2
push edi
call dword [sym.imp.USER32.DLL_GetDC]
push 0
push 0
push 0x14b
push 0x1cc
mov dword [ebp - 0x8c], eax
push edi
call dword [sym.imp.USER32.DLL_GetDlgItem]
mov dword [ebp - 0x88], eax
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
mov esi, 0x1a9
push 0x80
lea ecx, [ebp - 0x80]
push ecx
push esi
push dword [ebx + 0x58]
call dword [sym.imp.USER32.DLL_LoadStringA]
lea edx, [ebp - 0x80]
push 0x50
push 0x40
push edx
push dword [ebp - 0x8c]
call fcn.00450edc
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0x143
push dword [ebp - 0x88]
call dword [sym.imp.USER32.DLL_SendMessageA]
inc esi
add esp, 0x10
cmp esi, 0x1ac
jbe 0x417c41
push dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
push edi
call dword [sym.imp.USER32.DLL_ReleaseDC]
push 0x1cd
push edi
call dword [sym.imp.USER32.DLL_GetDlgItem]
push 0
push 3
push 0x46d2c0
mov dword [ebp - 0x88], eax
push dword [ebp - 0x84]
call fcn.004604ec
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xa4], eax
je 0x417ce2
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0xb4], 0
jne 0x417ce6
xor ecx, ecx
jmp 0x417ceb
mov ecx, 1
push ecx
push 0xf1
push 0x1cd
push edi
call dword [sym.imp.USER32.DLL_SendDlgItemMessageA]
push dword [ebp - 0xa4]
push dword [ebp - 0x88]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp dword [ebx + 0x690], 0x89e
sete dl
movzx edx, dl
push edx
push 0x1cc
push edi
call dword [sym.imp.USER32.DLL_GetDlgItem]
push eax
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp dword [esi + 0x24d0], 4
jne 0x417d48
cmp dword [esi + 0x24d8], 0x838
je 0x417d52
push ebx
push edi
call fcn.00417d98
add esp, 8
mov dword [ebp - 0x90], esi
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x698]
mov edi, dword [ebp - 0x90]
mov dword [esi + 0x698], eax
mov esi, dword [edi + 0x35d4]
mov edi, dword [edi + 0x35d8]
mov ecx, 0x4b
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x94]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret