Function at 0x408010
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x560
mov eax, dword [0x449238]
xor eax, esp
mov dword [esp + 0x55c], eax
mov eax, dword [0x45410c]
mov ecx, dword [eax + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x56c]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x229
push ecx
mov dword [esp + 0x30], ebp
call esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x98], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x78]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x454100]
mov edx, dword [esp + 0x84]
sub edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
push 0
push ecx
push 0
push ebp
push edx
push eax
push 0
push 0
push 0x50800215
push 0x43da48
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x400
lea ecx, [esp + 0x170]
mov edi, eax
push 0x30
push ecx
mov dword [0x4530bc], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 2
call fcn.004238f0
add esp, 0xc
xor eax, eax
jmp 0x408100
movzx ecx, word [eax + str.00:00:0000000000]
mov word [esp + eax + 0x16c], cx
add eax, 2
test cx, cx
jne 0x408100
mov ebx, dword [sym.imp.USER32.dll_GetDC]
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esp + 0x174]
push eax
push edi
call ebx
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push eax
call edi
mov eax, dword [0x4530c0]
test eax, eax
jne 0x40816b
push str.Arial_Cyr
push eax
mov ecx, dword [esp + 0x1c]
push 2
push eax
push eax
push 0xcc
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4530c0], eax
mov edx, dword [0x4530bc]
push eax
push edx
call ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x4530c0]
push eax
push ebp
call ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x45410c]
call fcn.0040c5e0
mov edx, 0x3cac
xor ebp, ebp
mov dword [esp + 0x18], edx
jmp 0x4081b0
mov ecx, dword [0x45410c]
cmp word [edx + ecx + 0x3a0], 0
lea edx, [edx + ecx + 0x3a0]
je 0x4081ff
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4081d1
sub eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
sar eax, 1
push eax
push edx
mov edx, dword [0x4530bc]
push edx
call ebx
push eax
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebp
jle 0x4081ff
mov ebp, eax
mov edx, dword [esp + 0x18]
sub edx, 0x584
mov dword [esp + 0x18], edx
jns 0x4081b0
push 0xe8
call fcn.00416f80
mov ecx, dword [0x4530bc]
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1061
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], 0
call esi
mov ecx, dword [0x4530bc]
lea edx, [esp + 0x10]
push edx
push 9
lea eax, [esp + 0x174]
push eax
push ecx
mov dword [esp + 0x38], 2
call ebx
push eax
call edi
mov edx, dword [esp + 0x10]
push 0xe6
lea ebp, [edx + ebp + 7]
call fcn.00416f80
mov edx, dword [0x4530bc]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x3c], eax
call esi
mov edx, dword [0x4530bc]
lea eax, [esp + 0x10]
push eax
push 7
lea ecx, [esp + 0x174]
push ecx
push edx
call ebx
push eax
call edi
add ebp, dword [esp + 0x10]
push 0xe7
call fcn.00416f80
mov edx, dword [0x4530bc]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x3c], eax
call esi
mov edx, dword [0x4530bc]
lea eax, [esp + 0x10]
push eax
push 0x11
lea ecx, [esp + 0x174]
push ecx
push edx
call ebx
push eax
call edi
add ebp, dword [esp + 0x10]
push 0xe9
call fcn.00416f80
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x24]
mov edx, dword [0x4530bc]
push ecx
push 3
push 0x1061
push edx
call esi
mov edx, dword [0x4530bc]
lea eax, [esp + 0x10]
push eax
push 9
lea ecx, [esp + 0x174]
push ecx
push edx
call ebx
push eax
call edi
add ebp, dword [esp + 0x10]
push 0xea
call fcn.00416f80
mov edx, dword [0x4530bc]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x3c], eax
call esi
mov edx, dword [0x4530bc]
lea eax, [esp + 0x10]
push eax
push 9
lea ecx, [esp + 0x174]
push ecx
push edx
call ebx
push eax
call edi
add ebp, dword [esp + 0x10]
push 0xeb
call fcn.00416f80
mov edx, dword [0x4530bc]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 5
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x3c], eax
call esi
mov edx, dword [0x4530bc]
lea eax, [esp + 0x10]
push eax
push 0xa
lea ecx, [esp + 0x174]
push ecx
push edx
call ebx
push eax
call edi
add ebp, dword [esp + 0x10]
push 0xee
call fcn.00416f80
mov edx, dword [0x4530bc]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 6
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x3c], eax
call esi
push 0x34
xor edi, edi
push edi
lea eax, [esp + 0xb0]
push eax
call fcn.004238f0
lea ecx, [esp + 0x124]
add esp, 0xc
mov dword [esp + 0xa8], 0xd
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov ebx, 0x3cac
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [0x45410c]
cmp word [ebx + edx + 0x3a0], di
je 0x4085d6
mov ecx, dword [0x4530bc]
lea eax, [esp + 0xa8]
push eax
push edi
push 0x104d
push ecx
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], edi
call esi
mov edi, eax
mov eax, dword [0x45410c]
lea edx, [esp + 0x44]
push edx
push edi
lea ecx, [ebx + eax + 0x3a0]
mov eax, dword [0x4530bc]
push 0x1074
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], ecx
call esi
mov ecx, dword [0x45410c]
lea eax, [esp + 0x44]
push eax
push edi
lea edx, [ebx + ecx + 0x260]
mov ecx, dword [0x4530bc]
push 0x1074
push ecx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], edx
call esi
mov edx, dword [0x45410c]
lea ecx, [esp + 0x44]
push ecx
push edi
lea eax, [ebx + edx + 0x2a0]
mov edx, dword [0x4530bc]
push 0x1074
push edx
mov dword [esp + 0x5c], 2
mov dword [esp + 0x68], eax
call esi
mov eax, dword [0x45410c]
lea edx, [esp + 0x44]
push edx
push edi
lea ecx, [ebx + eax + 0x2e0]
mov eax, dword [0x4530bc]
push 0x1074
push eax
mov dword [esp + 0x5c], 3
mov dword [esp + 0x68], ecx
call esi
mov ecx, dword [0x45410c]
lea eax, [esp + 0x44]
push eax
push edi
lea edx, [ebx + ecx + 0x320]
mov ecx, dword [0x4530bc]
push 0x1074
push ecx
mov dword [esp + 0x5c], 4
mov dword [esp + 0x68], edx
call esi
mov edx, dword [0x45410c]
lea ecx, [esp + 0x44]
push ecx
push edi
lea eax, [ebx + edx + 0x360]
mov edx, dword [0x4530bc]
push 0x1074
push edx
mov dword [esp + 0x5c], 5
mov dword [esp + 0x68], eax
call esi
mov eax, dword [0x45410c]
lea ecx, [ebx + eax + 0x7a0]
mov dword [esp + 0x4c], 6
mov dword [esp + 0x58], ecx
lea edx, [esp + 0x44]
mov eax, dword [0x4530bc]
push edx
push edi
push 0x1074
push eax
call esi
xor edi, edi
sub dword [esp + 0x18], 4
sub ebx, 0x584
jns 0x408460
mov edx, dword [0x4530bc]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x1010
push edx
call esi
mov ecx, dword [0x4530bc]
lea eax, [esp + 0x88]
push eax
push 1
push 0x1010
push ecx
call esi
mov edx, dword [0x45410c]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [edx + 0x4490]
push 8
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
sub edx, ecx
imul edx, edi
push 1
add edx, ecx
lea edi, [edx + eax*2]
mov eax, dword [0x4530bc]
push edi
push ebp
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xdc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 0x3ed
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x98]
push ecx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 8
call ebx
push 1
add eax, eax
push 4
mov dword [esp + 0x24], eax
call ebx
mov ecx, eax
mov eax, dword [esp + 0xa8]
add ecx, dword [esp + 0x20]
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edx, dword [esp + 0xe4]
sar eax, 1
add eax, ecx
add eax, edi
push eax
push ebp
push edx
push 0x10
call ebx
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x34]
push eax
call ebx
mov eax, dword [esp + 0xa4]
push 1
push eax
mov ecx, dword [esp + 0xa8]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
push ecx
push eax
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call ebx
mov edx, dword [0x4530bc]
push 0
push 0
push 0x1037
push edx
call esi
or eax, 0x20
push eax
mov eax, dword [0x4530bc]
push 0
push 0x1036
push eax
call esi
mov ecx, dword [esp + 0x56c]
mov eax, dword [0x4530bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423284
add esp, 0x560
ret