Function at 0x403330
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x50
mov eax, dword [0x43a070]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov eax, ebp
call fcn.0040c730
mov bl, al
mov eax, dword [ebp + 0x24]
push 0xfffffffffffffff0
push eax
mov byte [esp + 0x1f], bl
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x400
push eax
mov eax, dword [ebp + 0x24]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x403389
lea esi, [ebp + 0xb8]
mov ebx, eax
call fcn.00413f20
mov bl, byte [esp + 0x17]
mov dword [ebp + 0x4c], 0x19
test bl, bl
je 0x403724
mov eax, dword [ebp + 4]
push 0x5600194c
xor edi, edi
push 0xcb
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x3e8
mov dword [esp + 0x50], 0x1a
call fcn.0040a340
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0x28
push edi
mov dword [ebp + 0xb4], eax
mov ecx, dword [ebp + 0x24]
push 0x1331
push ecx
call esi
mov edx, dword [ebp + 0xb4]
push 1
push edi
push 0x454
push edx
call esi
mov eax, dword [0x43d428]
push 0xe6
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 8
push 8
push 0xff
push 0x10
push 0x10
mov ebx, eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, eax
test edi, edi
je 0x403627
push 0xffffff
push ebx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [ebp + 0xb4]
push edi
push 0
push 0x430
push ecx
call esi
mov ecx, dword [ebp + 0xb4]
xor eax, eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
lea eax, [esp + 0x18]
push eax
push 0x7d01
push 0x440
xor edx, edx
push ecx
mov word [esp + 0x58], dx
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x2c], 0xd
mov byte [esp + 0x39], 0x18
mov byte [esp + 0x38], 4
mov dword [esp + 0x34], 9
call esi
mov eax, dword [ebp + 0xb4]
lea edx, [esp + 0x18]
push edx
push 0x8039
push 0x440
push eax
mov dword [esp + 0x34], 0x13
call esi
mov edx, dword [ebp + 0xb4]
lea ecx, [esp + 0x18]
push ecx
push 0x104
push 0x440
push edx
mov dword [esp + 0x34], 5
call esi
mov ecx, dword [ebp + 0xb4]
lea eax, [esp + 0x18]
push eax
push 0x8005
push 0x440
push ecx
mov dword [esp + 0x34], 2
mov byte [esp + 0x38], 0
call esi
mov eax, dword [ebp + 0xb4]
lea edx, [esp + 0x18]
push edx
push 0xe146
push 0x440
push eax
mov dword [esp + 0x34], 8
mov byte [esp + 0x38], 4
mov byte [esp + 0x39], 0x90
call esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], 0xb
mov byte [esp + 0x29], 0xd0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x30], ecx
xor eax, eax
nop
movzx ecx, word [eax + 0x43433c]
mov word [esp + eax + 0x48], cx
add eax, 2
test cx, cx
jne 0x403550
mov eax, dword [ebp + 0xb4]
lea edx, [esp + 0x18]
push edx
push 0x803b
push 0x440
push eax
call esi
mov edx, dword [esp + 0x30]
mov ecx, 0x43434c
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x403585
mov edx, dword [ebp + 0xb4]
lea ecx, [esp + 0x18]
push ecx
push 0x803c
push 0x440
push edx
call esi
mov edx, dword [esp + 0x30]
mov ecx, 0x43435c
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4035b7
mov ecx, dword [ebp + 0xb4]
lea eax, [esp + 0x18]
push eax
push 0x803d
push 0x440
push ecx
call esi
mov edx, dword [ebp + 0xb4]
push 0
push 0
push 0x418
push edx
call esi
mov edx, dword [ebp + 0xb4]
lea ecx, [esp + 0x38]
push ecx
dec eax
push eax
push 0x41d
push edx
call esi
mov ecx, dword [ebp + 0xb4]
mov eax, dword [esp + 0x40]
push 0
push 0
push 0x421
push ecx
mov dword [ebp + 0x10c], eax
call esi
xor ebx, ebx
jmp 0x40363d
mov edx, dword [ebp + 4]
push 0x10
push 0x43436c
push 0x434374
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x84]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x4036e5
mov edx, dword [ebp + 0x84]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x24]
push eax
call edi
test eax, eax
je 0x4036bf
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x24]
sub eax, dword [ebp + 0x10c]
push 4
push 0x19
add eax, 0x64
push eax
push 1
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
mov edi, dword [ebp + 0x24]
sub edx, dword [ebp + 0x10c]
push 0x1c
add edx, 0x64
push edx
lea eax, [ebp + 0x80]
push eax
call fcn.0042ed40
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [ebp + 0xb4]
push eax
call edi
test eax, eax
je 0x4036e5
mov edi, dword [ebp + 0xb4]
push 0x1a
push 0x320
lea ecx, [ebp + 0x80]
push ecx
call fcn.0042ed40
mov edx, dword [ebp + 0x24]
push 0
push 0
push 0x132d
push edx
call esi
push 0
push 0
push 0x418
push eax
call esi
test ebx, ebx
je 0x40370b
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0041cac6
add esp, 0x50
ret 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0041cac6
add esp, 0x50
ret 4