Function at 0x4231e0
Capabilities:
Check if file exists
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4bea
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4e64ec]
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
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], 1
jne 0x423748
mov eax, dword [ebx + 0xa4]
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x42325e
mov ecx, dword [eax + 0x24]
add eax, 0x24
push 0
push edi
push dword [ebp - 0x78]
push esi
push edx
push dword [ebp - 0x7c]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebx + 0x28]
lea ecx, [ebx + 0x24]
push 0
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push edx
push dword [ebp - 0x7c]
call fcn.00422eb0
mov dword [ebx + 0x28], esi
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x4233d7
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x4233e1
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.00420600
test eax, eax
jne 0x42330c
call fcn.0044bb00
test eax, eax
je 0x4232f8
call fcn.0044bb00
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x4232f8
call fcn.0044bb00
lea ecx, [ebp - 0x118]
mov edi, eax
call fcn.0041f800
mov esi, eax
push 0x4bca7c
push esi
mov dword [ebp - 4], 0
call fcn.0040d9d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x118]
call fcn.0040f980
mov edi, dword [ebp - 0x80]
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4233c7
push 0x4bcaa4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.0040b190
mov eax, dword [0x4e8bd8]
test eax, eax
jne 0x423357
push 0x10
call fcn.0045b947
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x423349
mov ecx, eax
call fcn.00417ac0
jmp 0x42334b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e8bd8], eax
mov ecx, eax
call fcn.00417e50
call fcn.0042c0a0
mov ecx, ebx
call fcn.00421be0
mov ecx, ebx
call fcn.00421830
call fcn.00427ea0
push 0x4bc584
push 0
push 0xca
mov dword [ebx + 0xa4], eax
call fcn.00418660
mov ecx, dword [ebx + 0xa4]
add esp, 0xc
add ecx, 0x24
push 1
mov edx, dword [ecx]
push eax
push 0
push dword [ebx + 4]
push ecx
call dword [edx + 4]
mov ecx, ebx
call fcn.004219e0
mov ecx, ebx
call fcn.00422880
test eax, eax
jne 0x4233c0
mov ecx, ebx
call fcn.00422bb0
mov ecx, ebx
call fcn.00422800
mov dword [edi], 0
cmp dword [ebx + 0x40], 0
je 0x423748
mov eax, 1
jmp 0x42374a
cmp eax, 0x10
jne 0x423410
mov ecx, ebx
mov dword [ebx + 0x40], 1
call fcn.00422010
mov dword [edi], 0
cmp dword [ebx + 0x40], 0
jne 0x4233d7
mov ecx, ebx
mov dword [ebx + 0x40], 1
call fcn.00422010
jmp 0x4233c7
cmp eax, 0x1417
jne 0x4234be
cmp dword [ebp - 0x6c], 0
jne 0x423495
lea eax, [ebp - 0x6c]
push 1
push eax
call fcn.0045d3c0
add esp, 8
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423460
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x423460
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x6c]
push dword [ebx + 0x80]
push str.dumpver
push dword [ebx + 0x84]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x6c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423495
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x74], 0
mov dword [edi], 0
je 0x423748
mov eax, 1
jmp 0x42374a
cmp eax, 0xf
jne 0x42353b
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebx + 0x40], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 0xa8]
test edx, edx
je 0x423529
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0xcc0020
push 0
push 0
push dword [edx]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4233c7
cmp eax, 0x14
jne 0x42354c
mov dword [ebx + 0x40], 1
jmp 0x4233c7
cmp eax, 0x1401
jne 0x423571
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push 0x1401
call dword [eax]
cmp dword [ebp - 0x74], 0
mov dword [edi], eax
jmp 0x4233d1
cmp eax, 0x111
jne 0x4236c9
mov eax, dword [ebp - 0x6c]
movzx esi, ax
mov eax, 1
cmp ax, si
jne 0x4235ae
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.00422bb0
cmp dword [ebp - 0x74], 0
mov dword [edi], 0
jne 0x4233d7
mov eax, 2
cmp ax, si
jne 0x423748
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x423768
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
push dword [ebx + 0xc4]
mov dword [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
js 0x423772
mov eax, dword [ebp - 0x6c]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x423614
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040aa80
mov eax, dword [ebp - 0x6c]
push esi
push eax
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x42363a
mov eax, dword [ebp - 0x6c]
push dword [eax - 8]
push eax
call fcn.0046e803
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x423772
mov eax, dword [ebp - 0x6c]
cmp ecx, dword [eax - 8]
jg 0x423772
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x6c]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 0xc], 5
jge 0x42367e
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x42367e
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0x14]
mov ecx, ebx
call fcn.00422800
jmp 0x42369c
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebx + 0x44]
call fcn.0042a820
mov ecx, ebx
call fcn.00422bb0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x6c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4236ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x74], 0
mov dword [edi], 0
jmp 0x4233d1
cmp eax, 0x1418
jne 0x423748
cmp dword [ebx + 0xf0], 0
jne 0x4236f7
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x74], 0
mov dword [edi], 0
jmp 0x4233d1
lea ecx, [ebp - 0x6d]
call fcn.00425b70
cmp dword [ebx + 0xf4], 0
mov dword [ebp - 4], 3
je 0x42372a
push 0
lea ecx, [ebp - 0x6d]
call fcn.00426730
test eax, eax
je 0x42372a
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x423731
mov ecx, ebx
call fcn.00422bb0
lea ecx, [ebp - 0x6d]
call fcn.00425ca0
cmp dword [ebp - 0x74], 0
mov dword [edi], 0
jmp 0x4233d1
xor eax, eax
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.0045b907
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.004099e0
push 0x80070057
call fcn.004099e0
int3