Function at 0x40b090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448360
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x20], 0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x40b0d1
mov eax, dword [esi + 4]
push 0x3f3
push eax
call edi
mov dword [esi + 0x20], eax
cmp dword [esi + 0x24], 0
jne 0x40b0e5
mov ecx, dword [esi + 4]
push 0x3f4
push ecx
call edi
mov dword [esi + 0x24], eax
cmp dword [esi + 0x3c], 0
jne 0x40b0f9
mov edx, dword [esi + 4]
push 0x3f0
push edx
call edi
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x40], 0
jne 0x40b10d
mov eax, dword [esi + 4]
push 0x3fa
push eax
call edi
mov dword [esi + 0x40], eax
cmp dword [esi + 0x28], 0
jne 0x40b121
mov ecx, dword [esi + 4]
push 0x3fb
push ecx
call edi
mov dword [esi + 0x28], eax
cmp dword [esi + 0x2c], 0
jne 0x40b135
mov edx, dword [esi + 4]
push 0x3fc
push edx
call edi
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x30], 0
jne 0x40b149
mov eax, dword [esi + 4]
push 0x3fd
push eax
call edi
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], 0
jne 0x40b15d
mov ecx, dword [esi + 4]
push 0x3fe
push ecx
call edi
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], 0
jne 0x40b16e
mov edx, dword [esi + 4]
push 1
push edx
call edi
mov dword [esi + 0x38], eax
lea ecx, [esi + 4]
xor edx, edx
call fcn.0040a500
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x6b
mov byte [ebp - 4], 1
call fcn.004032e0
test eax, eax
je 0x40b1c6
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov byte [ebp - 4], 2
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, 0x68
mov byte [ebp - 4], 3
call fcn.004032e0
test eax, eax
je 0x40b1fc
push eax
mov eax, edi
lea edi, [ebp - 0x14]
call fcn.00403490
mov byte [ebp - 4], 4
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x76
mov byte [ebp - 4], 5
call fcn.004032e0
test eax, eax
je 0x40b235
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.00403fa0
add ebx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b26d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x460244]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x68
mov byte [ebp - 4], 7
call fcn.004032e0
test eax, eax
je 0x40b308
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov byte [ebp - 4], 8
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x77
mov byte [ebp - 4], 9
call fcn.004032e0
test eax, eax
je 0x40b342
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.00403fa0
add ebx, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 8
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b376
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b399
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x78
mov byte [ebp - 4], 0xb
call fcn.004032e0
test eax, eax
je 0x40b3dc
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
mov eax, dword [esi + 0x24]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b407
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov ecx, dword [0x45f0cc]
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7b
push ecx
call ebx
mov edx, dword [esi + 0x3c]
mov edi, eax
push edi
push 1
push 0xf7
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [0x45f0cc]
push 0x7a
push eax
call ebx
mov ecx, dword [esi + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push 1
push 0xf7
push ecx
mov dword [ebp - 0x24], edi
call ebx
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x40b46c
mov dword [ebp - 0x24], 0
mov edx, dword [0x460244]
mov eax, dword [esi + 0x28]
push 1
push edx
push 0x30
push eax
call ebx
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x452040
mov byte [ebp - 4], 0xd
call fcn.004037a0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0041b450
mov edi, eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 5
je 0x40b4f4
cmp edi, 3
je 0x40b4f4
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041b290
add esp, 4
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push str._u._u._u
push edx
call fcn.0042fca6
add esp, 0x14
cmp dword [ebp - 0x20], 0x347
mov ecx, 0x45d48c
jae 0x40b61d
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x79
mov byte [ebp - 4], 0xf
call fcn.004032e0
test eax, eax
je 0x40b553
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov eax, dword [esi + 0x28]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b57e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x68
mov byte [ebp - 4], 0x10
call fcn.004032e0
test eax, eax
je 0x40b5b1
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov byte [ebp - 4], 0x11
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x7a
mov byte [ebp - 4], 0x12
call fcn.004032e0
test eax, eax
je 0x40b5eb
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
push 0x347
push 7
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push 5
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.00403fa0
add esp, 0x20
mov byte [ebp - 4], 0x11
jmp 0x40b6fe
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x7e
mov byte [ebp - 4], 0x14
call fcn.004032e0
test eax, eax
je 0x40b64e
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0x28]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b679
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x68
mov byte [ebp - 4], 0x15
call fcn.004032e0
test eax, eax
je 0x40b6ac
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov byte [ebp - 4], 0x16
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x7d
mov byte [ebp - 4], 0x17
call fcn.004032e0
test eax, eax
je 0x40b6e6
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.00403fa0
add esp, 8
mov byte [ebp - 4], 0x16
add ebx, 0xfffffff0
or eax, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b71a
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b73d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x460244]
mov ecx, dword [esi + 0x30]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x7b
mov byte [ebp - 4], 0x19
call fcn.004032e0
test eax, eax
je 0x40b795
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0x30]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b7c0
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x68
mov byte [ebp - 4], 0x1a
call fcn.004032e0
test eax, eax
je 0x40b7f3
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov byte [ebp - 4], 0x1b
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x7c
mov byte [ebp - 4], 0x1c
call fcn.004032e0
test eax, eax
je 0x40b82d
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.00403fa0
add ebx, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 0x1b
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b861
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b884
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x34]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b8b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40b8c3
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b8e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret