Function at 0x40d46c
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44fb3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push eax
call edi
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push eax
call ebp
mov edx, dword [esi + 4]
push 0x3f1
push edx
call edi
lea ecx, [esp + 0x120]
push 0x104
push ecx
push eax
call ebp
lea edx, [esp + 0x1c]
lea edi, [esi + 0x94]
test edx, edx
jne 0x40d4f1
xor eax, eax
jmp 0x40d4fc
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.00403580
lea edx, [esp + 0x120]
lea ebp, [esi + 0x98]
test edx, edx
jne 0x40d51e
xor eax, eax
jmp 0x40d52c
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x120]
push ecx
push eax
mov ecx, ebp
call fcn.00403580
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
jg 0x40d625
push 0x40
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LNG01277
call fcn.00425b80
lea eax, [esp + 0x1c]
mov ecx, 0x460650
push eax
call fcn.00429000
mov ecx, eax
mov dword [esp + 0x230], 0
call fcn.00402d00
push eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LNG01305
call fcn.00425b80
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x460650
call fcn.00429000
mov ecx, eax
mov byte [esp + 0x234], 1
call fcn.00402d00
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x18]
mov edx, dword [0x45c054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d5ed
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d5ed
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d710
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d710
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
jmp 0x40d710
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
jg 0x40d704
push 0x40
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.LNG01277
call fcn.00425b80
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x460650
call fcn.00429000
mov ecx, eax
mov dword [esp + 0x230], 2
call fcn.00402d00
push eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LNG01306
call fcn.00425b80
lea edx, [esp + 0x24]
mov ecx, 0x460650
push edx
call fcn.00429000
mov ecx, eax
mov byte [esp + 0x234], 3
call fcn.00402d00
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x14]
mov edx, dword [0x45c054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d6d7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d6d7
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d710
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d710
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
jmp 0x40d710
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 0x10