Function at 0x401238
Capabilities:
Accept command line arguments
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov ebx, section..data
push dword [ebx]
push dword [0x416a24]
call sub.user32.dll_GetDlgItem
mov dword [ebx], eax
add ebx, 4
cmp ebx, str.Find_All
jbe 0x401240
call sub.kernel32.dll_GetCommandLineA
inc eax
mov dword [0x416e3c], eax
mov esi, eax
mov edi, 0x416a30
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
je 0x40131a
cmp al, 0x22
je 0x401286
cmp al, 0x5c
jne 0x40126c
mov dword [0x416e3c], edi
jmp 0x40126c
mov edi, dword [0x416e3c]
lodsb al, byte [esi]
cmp al, 0x20
je 0x40128c
cmp al, 0x22
je 0x4012a5
mov byte [0x416c30], 0x2e
mov byte [0x416c31], 0
jmp 0x4012ac
jne 0x40131a
mov edi, 0x416c30
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
je 0x4012ba
cmp al, 0x22
jne 0x4012ac
mov byte [edi - 1], 0
push 0x416c30
push 0
push 0xc
push dword [0x405004]
call sub.user32.dll_SendMessageA
mov edi, dword [0x416e3c]
mov esi, str.newpaths.txt
mov ecx, 0xd
rep movsb byte es:[edi], byte [esi]
push 0x416a30
push 0
push 0xc
push dword [section..data]
call sub.user32.dll_SendMessageA
mov edi, dword [0x416e3c]
mov esi, str.Result.txt
mov ecx, 0xb
rep movsb byte es:[edi], byte [esi]
push 0x416a30
push 0
push 0xc
push dword [0x405014]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xf1
push dword [0x405018]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xf1
push dword [0x405020]
call sub.user32.dll_SendMessageA
push 0x405150
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str..asm
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str..asm_.inc_.rc_.def
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str..bas_.frm_.vbp_.cls_.ctl
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str..txt_.doc
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str..h
push 0
push 0x143
push dword [0x405008]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x14e
push dword [0x405008]
call sub.user32.dll_SendMessageA
push str.Sheldon
push 1
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xfffffffffffffff7
call sub.gdi32.dll_CreateFontA
mov dword [0x416a2c], eax
or eax, eax
jne 0x401422
pushal
push 0
push str.Find_All
push str.font_unavailable
push 0
call sub.user32.dll_MessageBoxA
popal
push dword [0x40500c]
pop dword [0x416e3c]
mov dword [0x416e4c], 0
push 0x416e4c
push 0
push 0x43a
push dword [0x416e3c]
call sub.user32.dll_SendMessageA
mov dword [0x416e8c], 0xbddceb
mov dword [0x416e4c], 0x54
mov dword [0x416e50], 0x44000000
push 0x416e4c
push 4
push 0x444
push dword [0x416e3c]
call sub.user32.dll_SendMessageA
cmp dword [0x416a2c], 0
je 0x4014a2
push 1
push dword [0x416a2c]
push 0x30
push dword [0x416e3c]
call sub.user32.dll_SendMessageA
mov eax, dword [0x416e3c]
cmp eax, dword [0x40500c]
jne 0x4014c0
push dword [0x405010]
pop dword [0x416e3c]
jmp 0x40142e
push dword [0x40500c]
call sub.user32.dll_SetFocus
mov eax, dword [0x4050c0]
mov ebx, 0
mov byte [eax], bl
mov byte [eax + 0x100], bl
cmp bl, 0x61
jb 0x4014ea
cmp bl, 0x7a
ja 0x4014ea
xor byte [eax], 0x20
inc eax
inc ebx
or bl, bl
jne 0x4014d5
push 0x20000
push 8
push dword [0x4050d4]
call sub.kernel32.dll_HeapAlloc
mov dword [0x405e20], eax
or eax, eax
je 0x401542
mov eax, dword [0x405e20]
mov edx, 0
mov ecx, edx
cmp cl, 0x61
jb 0x401524
cmp cl, 0x7a
ja 0x401524
xor cl, 0x20
cmp ch, 0x61
jb 0x401531
cmp ch, 0x7a
ja 0x401531
xor ch, 0x20
mov word [eax], cx
add eax, 2
inc edx
or dx, dx
jne 0x401515
clc
pop edi
pop esi
pop ebx
ret
push str.FormLoad
call fcn.00401180
pushal
push 0
push str.Find_All
push str.error_allocating_heap
push 0
call sub.user32.dll_MessageBoxA
popal
stc
pop edi
pop esi
pop ebx
ret