Function at 0x402a40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x308
push ebx
mov ebx, dword [esp + 0x310]
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push 0x100
push eax
xor ebp, ebp
push 0x3ea
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x402ade
mov edx, dword [0x40e224]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x218]
push 0x100
push ecx
push 0x38
push edx
call esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
call fcn.004071b0
add esp, 8
test eax, eax
je 0x402ade
mov eax, dword [0x40e224]
lea edx, [esp + 0x118]
push 0x100
push edx
push 0xf
push eax
call esi
push 0x10
push ebp
jmp 0x402c0a
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3eb
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
call edi
cmp eax, 1
jne 0x402b21
mov dword [esp + 0x10], 0x46
push 0x404
push ebx
call edi
cmp eax, 1
jne 0x402b36
mov dword [esp + 0x10], 0x4c
push 0x3f1
push ebx
call edi
cmp eax, 1
jne 0x402b4b
mov dword [esp + 0x10], 0x4b
push 0x3ef
push ebx
call edi
cmp eax, 1
jne 0x402b60
mov dword [esp + 0x10], 0x4d
push 0x3ec
push ebx
call edi
cmp eax, 1
jne 0x402b75
mov dword [esp + 0x10], 0x47
push 0x3ed
push ebx
call edi
cmp eax, 1
jne 0x402b8a
mov dword [esp + 0x10], 0x49
push 0x3ee
push ebx
call edi
cmp eax, 1
jne 0x402b9f
mov dword [esp + 0x10], 0x48
push 0x3f0
push ebx
call edi
cmp eax, 1
jne 0x402bb4
mov dword [esp + 0x10], 0x4a
mov ecx, dword [esp + 0x10]
mov edx, dword [0x40e224]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x218]
push 0x100
push eax
push ecx
push edx
call esi
mov eax, dword [0x40e228]
lea ecx, [esp + 0x218]
push eax
push ecx
call fcn.004038a0
add esp, 8
test eax, eax
je 0x402c26
mov eax, dword [0x40e224]
lea edx, [esp + 0x118]
push 0x100
push edx
push 0x11
push eax
call esi
push 0x10
push 0
lea ecx, [esp + 0x120]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x308
ret
push 0x3eb
push ebx
call edi
cmp eax, 1
jne 0x402cca
mov eax, dword [0x40e224]
lea edx, [esp + 0x18]
push 0x100
push edx
push 0x46
push eax
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x404
push ebx
call edi
cmp eax, 1
jne 0x402d69
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x4c
push edx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x120]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3ec
push ebx
call edi
cmp eax, 1
jne 0x402e78
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x47
push edx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3ed
push ebx
call edi
cmp eax, 1
jne 0x4030b6
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x49
push edx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
lea ecx, [esp + 0x18]
push 0x100
push ecx
cmp eax, 1
push 0x3f4
push ebx
jne 0x402f26
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x40309d
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403625
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403625
mov edi, 0x40b054
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov dword [esp + 0x14], eax
mov edi, edx
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
push 0x3f6
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403625
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403625
mov edi, 0x40b054
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov dword [esp + 0x10], eax
mov edi, edx
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x14], 1
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3ee
push ebx
call edi
cmp eax, 1
jne 0x40318a
mov ecx, dword [0x40e224]
lea eax, [esp + 0x18]
push 0x100
push eax
push 0x48
push ecx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x409
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, 1
cmp eax, ecx
jne 0x403171
mov word [ebp + 0x320], cx
jmp 0x40317a
mov word [ebp + 0x320], 0
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3ef
push ebx
call edi
cmp eax, 1
jne 0x403315
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x4d
push edx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403298
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403298
mov edi, 0x40b054
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov dword [esp + 0x10], eax
mov edi, edx
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4032d4
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3f0
push ebx
call edi
cmp eax, 1
jne 0x403464
mov ecx, dword [0x40e224]
lea eax, [esp + 0x18]
push 0x100
push eax
push 0x4a
push ecx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403423
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403423
mov edi, 0x40b070
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov dword [esp + 0x10], eax
mov edi, edx
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403615
push 0x3f1
push ebx
call edi
cmp eax, 1
jne 0x403615
mov ecx, dword [0x40e224]
lea eax, [esp + 0x18]
push 0x100
push eax
push 0x4b
push ecx
call esi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add ebp, 0x120
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x18]
mov edx, ecx
mov esi, edi
mov edi, ebp
push 0x100
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0x3f3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403562
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403562
mov edi, 0x40b070
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
push 0x3f4
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4035ec
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4035ec
mov edi, 0x40b070
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x308
ret
mov ecx, dword [0x40e224]
lea eax, [esp + 0x118]
push 0x100
push eax
push 0xe
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea edx, [esp + 0x11c]
push 0
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x308
ret