Function at 0x1003e7bf
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10057940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
and dword [ebp - 0x24], 0xff000000
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x15], 0
jne 0x1003e7ff
cmp esi, 0x15
jne 0x1003e7ff
mov bl, 1
jmp 0x1003e801
xor bl, bl
mov eax, dword [0x101143f0]
mov dword [ebp - 0x34], eax
test bl, bl
je 0x1003e814
and dword [0x101143f0], 0
push edi
push esi
call fcn.1003e0ff
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003e8ab
test bl, bl
jne 0x1003e867
mov esi, dword [ebp - 0x20]
push 0x19
mov edi, 0x1000a67c
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1003e840
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x1003e867
mov esi, dword [0x100013cc]
xor edi, edi
push edi
push 2
push 6
push dword [eax]
call esi
push edi
push edi
mov edi, dword [ebp - 0x28]
push 7
push dword [edi]
call esi
mov eax, dword [edi]
jmp 0x1003eb83
mov esi, 0x1012bf30
push esi
push 0
push 0xd
push dword [eax]
mov byte [ebp - 0x15], 1
call dword [fcn.100013a4]
push esi
call fcn.10011859
push eax
push 0x1000
push esi
call dword [sym.imp.MSVCR100.dll_strcpy_s]
mov eax, dword [ebp - 0x28]
add esp, 0xc
push 0
push 1
push 0x10
push dword [eax]
mov ebx, esi
call dword [0x100013cc]
jmp 0x1003e9f0
test edi, edi
je 0x1003e9ed
test esi, esi
je 0x1003e963
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
call dword [ecx + 0x78]
test eax, eax
jns 0x1003e8de
mov eax, 0x10003858
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003e8f4
cmp byte [eax], 0
je 0x1003e8f4
push esi
call fcn.10012722
test eax, eax
je 0x1003e924
push 0x10
pop eax
call fcn.1004a6d0
mov edi, esp
mov eax, esi
and eax, 0xffffff
push eax
shr esi, 0x18
push dword [esi*4 + 0x100031c8]
push 0x10002930
push 0x10
push edi
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
mov esi, 0x1012bf30
mov ebx, 0x1000
je 0x1003e949
push eax
push 0x10003854
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
jmp 0x1003e950
mov byte [0x1012bf30], 0
push dword [ebp - 0x1c]
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0xc
mov dword [ebp - 0x1c], esi
jmp 0x1003e97a
cmp dword [ebp - 0x24], 0x6000000
mov dword [ebp - 0x1c], 0x1000a630
je 0x1003e97a
mov dword [ebp - 0x1c], 0x1000a620
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003e980
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x20]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003e991
sub eax, esi
lea eax, [eax + ecx + 4]
push 0x1000a950
push eax
call fcn.10042e60
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1003e9ed
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003e9b7
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x20]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003e9c8
push dword [ebp - 0x20]
sub eax, edi
push dword [ebp - 0x1c]
lea eax, [eax + esi + 4]
push 0x1000a674
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
jmp 0x1003e9f0
mov ebx, dword [ebp - 0x20]
call dword [fcn.100013c4]
mov esi, eax
push 0x2e
mov dword [ebp - 0x3c], esi
call fcn.1002686f
mov edi, dword [0x100013dc]
push eax
push 0x23
push 0
push esi
call edi
push 0x2f
call fcn.1002686f
push eax
push 0x24
push 0
push esi
call edi
push 0
push dword [0x1012abd0]
mov eax, 0x80000000
push esi
push 0
push 0x190
push 0x280
push eax
push eax
push 0xcf0000
push ebx
call fcn.100117ed
mov esi, dword [0x10001398]
push eax
push 0x1000a65c
push 0x200
call esi
push ebx
mov edi, eax
call fcn.100117ed
push eax
push 0
push 0xc
push edi
call dword [fcn.100013a4]
cmp byte [ebp - 0x15], 0
jne 0x1003ea83
test ebx, ebx
je 0x1003ea83
cmp ebx, dword [ebp - 0x20]
je 0x1003ea83
push ebx
call fcn.10042d92
pop ecx
test edi, edi
jne 0x1003ea96
mov eax, dword [ebp - 0x34]
mov dword [0x101143f0], eax
xor eax, eax
jmp 0x1003eb83
lea eax, [ebp - 0x14]
push eax
push edi
call dword [0x1000139c]
xor ebx, ebx
mov dword [ebp - 0x24], 0x1000a644
cmp dword [0x101143f0], ebx
je 0x1003eab9
mov dword [ebp - 0x24], 0x1000a4cc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push ebx
push dword [0x1012abd0]
push 2
push edi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x503009c4
push 0x1e0
call fcn.1002686f
push eax
push dword [ebp - 0x24]
push ebx
call esi
mov esi, eax
call dword [fcn.10001140]
cmp esi, ebx
jne 0x1003eb02
push edi
call dword [0x100013b0]
jmp 0x1003ea8f
cmp byte [ebp - 0x15], bl
je 0x1003eb1d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0x108], edi
jmp 0x1003eb2d
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push esi
push edi
call fcn.1003e196
push ebx
mov ebx, dword [fcn.100013a4]
push 0x22
push 0x459
push esi
call ebx
push 0x18
call dword [0x100013d0]
push eax
push 0
push 0x443
push esi
call ebx
push esi
call fcn.1003cc33
push esi
call fcn.1003cc4f
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push esi
call fcn.1003e4ac
push 1
push edi
call dword [0x10001384]
push edi
call dword [0x100013d8]
mov eax, dword [ebp - 0x34]
mov dword [0x101143f0], eax
mov eax, edi
lea esp, [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004a51e
leave
ret 0xc