Function at 0x4185e0
Capabilities:
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a008
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x469070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x14]
lea ecx, [ebx + 0x20]
mov eax, dword [ebp + 0xc]
push 0
push 0
push esi
push ecx
push eax
push 0x3ea
mov dword [ebp - 0x2c], ecx
call fcn.0041b2c0
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x4187f4
test esi, esi
je 0x4187f4
push 0
push 0
mov ecx, ebx
call fcn.0041b440
mov edi, eax
push edi
call fcn.00429fed
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
push edi
push esi
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0041b440
cmp eax, edi
jbe 0x4186c3
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.GetAnsiPassphrase___buffer_too_small
mov edi, eax
push 0x226
push str.CDialogsWin.h
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4186c8
push 0x3e9
push dword [ebx + 4]
sub edi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 2
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jne 0x4186fb
mov eax, dword [ebx + 0x70]
add eax, 0x27c
jmp 0x4186fd
xor eax, eax
mov ecx, dword [ebx + 0x20]
mov edx, 1
push eax
push edi
push esi
mov ecx, dword [ecx + 4]
call fcn.0041cfb0
add esp, 0xc
test eax, eax
je 0x418766
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call fcn.00417660
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x41872f
mov ebx, dword [ebx]
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push ebx
mov edi, eax
push 0x228
jmp 0x4186a4
mov ecx, dword [ebx + 0x20]
cmp dword [ecx + 0x34], 8
lea eax, [ecx + 0x20]
jb 0x418774
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
push eax
call fcn.0041fc10
add esp, 4
test eax, eax
je 0x4187e6
cmp eax, 0x391
je 0x4187d8
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x28]
push eax
call fcn.00417660
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x4187a1
mov ebx, dword [ebx]
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push ebx
mov edi, eax
push 0x22d
jmp 0x4186a4
sub esp, 0xc
mov ecx, ebx
call fcn.00418820
xor edi, edi
jmp 0x4187e9
mov edi, dword [ebp - 0x30]
push 1
push esi
call fcn.00429fda
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d08
mov esp, ebp
pop ebp
ret 0x18