Function at 0x40232e
Capabilities:
Create thread
Get graphical window text

Disassembly:
push 0x4ac
mov eax, 0x41867c
call fcn.004172e4
mov ebx, ecx
mov esi, edx
xor edi, edi
push ebx
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b8], esi
mov dword [ebp - 4], edi
call fcn.00402df8
mov dword [esi], edi
mov dword [ebp - 0x428], 0xce
mov dword [ebp - 0x424], 0xcf
mov dword [ebp - 0x420], 0xd0
xor esi, esi
cmp esi, 3
jae 0x4023ae
push dword [ebp + esi*4 - 0x428]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [ebx + esi*4 + 0xa4], eax
cmp ecx, edi
jne 0x4023ab
push 0x80004005
call fcn.00408eef
inc esi
jmp 0x40237a
push 0xffffffffffffffec
push dword [0x42444c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, 0x400000
and ecx, eax
cmp ecx, eax
sete al
mov byte [ebx + 0x135], al
lea eax, [ebp - 0x448]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
call dword [sym.imp.USER32.dll_GetClientRect]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
mov eax, dword [ebp - 0x43c]
sub eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x440]
sub ecx, dword [ebp - 0x448]
push 0x39
push 0xae
push edi
mov dword [ebx + 0x104], eax
push edi
lea eax, [ebp - 0x448]
push eax
mov dword [ebx + 0x100], ecx
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x448]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x440]
sub eax, dword [ebp - 0x444]
sub ecx, dword [ebp - 0x448]
push 0x35
push 0xab
push 0x18
push 3
lea esi, [ebx + 0x120]
push esi
mov dword [ebx + 0x108], ecx
mov dword [ebx + 0x10c], eax
call dword [sym.imp.USER32.dll_SetRect]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
cmp byte [ebx + 0x135], 0
jne 0x402540
lea esi, [ebx + 0x110]
push esi
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
push esi
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
call esi
test eax, eax
je 0x4024f0
lea eax, [ebx + 0x118]
push eax
push dword [ebx + 4]
call esi
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x4023a1
mov dword [ebp - 0x424], 0xcf
mov dword [ebp - 0x420], 0xd0
mov dword [ebp - 0x4b0], ebx
lea esi, [ebp - 0x424]
lea eax, [ebp - 0x41c]
cmp esi, eax
je 0x40264a
push dword [esi]
lea eax, [ebp - 0x4b0]
push eax
call fcn.004028c7
add esi, 4
jmp 0x40251f
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 0x108]
mov eax, edx
sub eax, dword [esi]
sub ecx, edx
mov dword [esi], ecx
add ecx, eax
mov dword [esi + 8], ecx
xor esi, esi
mov dword [ebp - 0x420], esi
cmp esi, 3
jge 0x4024ff
lea eax, [ebp - 0x438]
push eax
push dword [ebx + esi*4 + 0xa4]
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
lea eax, [ebp - 0x438]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4025bf
lea eax, [ebp - 0x430]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x4023a1
mov ecx, dword [ebp - 0x430]
mov eax, dword [ebx + 0x100]
sub eax, dword [ebp - 0x430]
sub ecx, dword [ebp - 0x438]
mov dword [ebp - 0x438], eax
add ecx, eax
mov dword [ebp - 0x430], ecx
cmp esi, 1
jne 0x402611
lea edi, [ebx + 0x110]
lea esi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x420]
xor edi, edi
mov edx, dword [ebp - 0x42c]
sub edx, dword [ebp - 0x434]
push 0x11
push edx
sub ecx, eax
push ecx
push dword [ebp - 0x434]
push eax
push edi
push dword [ebx + esi*4 + 0xa4]
call dword [sym.imp.USER32.dll_SetWindowPos]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
inc esi
jmp 0x402558
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x420], edi
mov eax, dword [ebp - 0x420]
cmp eax, 4
jge 0x4026e5
push edi
push 0x41b89c
push dword [ebp - 0x4b0]
lea esi, [ebx + eax*4 + 0xb0]
push dword [0x42444c]
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
sbb eax, eax
neg eax
je 0x4023a1
mov esi, dword [esi]
mov dword [ebp - 0x4b0], esi
cmp dword [0x424438], edi
jne 0x4026da
cmp dword [ebp - 0x420], 2
jg 0x4026da
push edi
push edi
push pe_nt_image_headers32
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x420]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x10
add ecx, ecx
mov dword [ebx + ecx*8 + 0xc8], eax
inc dword [ebp - 0x420]
jmp 0x402656
lea esi, [ebx + 0xb0]
lea eax, [ebx + 0xb8]
cmp esi, eax
je 0x402733
push 0x200
lea eax, [ebp - 0x41c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x402724
push dword [0x424444]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x402729
add esi, 4
jmp 0x4026eb
lea eax, [ebx + 0xb8]
cmp esi, eax
jne 0x40273d
push 0x80004004
jmp 0x4023a6
xor ecx, ecx
lea eax, [ebx + 0xb0]
cmp esi, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
setne cl
push edi
push edi
push 0x31
push dword [ebx + 0xa4]
inc ecx
mov dword [ebx + 0x28], ecx
call esi
lea ecx, [ebp - 0x4ac]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jle 0x4027c2
mov eax, dword [0x424448]
mov eax, dword [eax - 0xc]
cmp eax, 0x13
jge 0x40278d
mov dword [ebp - 0x49c], 0x2bc
jmp 0x4027a5
xor eax, eax
cmp dword [ebp - 0x4ac], edi
setl al
lea eax, [eax*8 - 4]
add dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4ac]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, edi
je 0x4027c2
push edi
push eax
push 0x30
push dword [ebx + 0xa4]
call esi
push edi
push edi
push edi
push 0x402224
push edi
push edi
call fcn.0040b469
xor ecx, ecx
add esp, 0x18
cmp eax, edi
setne cl
mov dword [ebx + 0xa0], eax
cmp ecx, edi
je 0x4023a1
cmp dword [0x424438], edi
je 0x402896
lea esi, [ebx + 0x13c]
push esi
push dword [0x42444c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor eax, eax
cmp dword [esi], edi
setne al
cmp eax, edi
je 0x4023a1
push dword [0x42444c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
mov dword [ebx + 0x140], eax
call esi
push 0x13
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebx + 4]
mov dword [ebx + 0x144], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
push edi
push edi
push 0x401633
push edi
push 3
push 3
mov byte [ebx + 0x148], 1
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebx + 0x138]
cmp eax, edi
je 0x402877
push eax
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov eax, dword [ebp - 0x4b0]
mov dword [ebx + 0x138], eax
xor eax, eax
cmp dword [ebx + 0x138], edi
setne al
cmp eax, edi
je 0x4023a1
mov esi, ebx
call fcn.00401c8a
mov eax, dword [ebp - 0x4b8]
mov dword [eax], 1
xor eax, eax
inc eax
call fcn.00417340
ret