Function at 0x407510
Capabilities:
Capture webcam image
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xeba4
call fcn.00465040
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xeb9c], esi
mov dword [ebp - 0xeb98], ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407540
sub ecx, edx
je 0x40801a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407554
sub ecx, edx
cmp ecx, 0x752f
ja 0x40801a
push edi
push 0x419
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 0xea80], 0x1c
lea eax, [ebp - 0xea80]
mov dword [ebp - 0xeb84], edi
push eax
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xea7c], 0x15
push edi
movups xmmword [ebp - 0xea78], xmm0
mov dword [ebp - 0xea68], 0
call dword [sym.imp.USER32.dll_GetScrollInfo]
push esi
call fcn.0040bac0
add esp, 4
mov dword [ebp - 0xeb94], eax
lea eax, [ebp - 0xeb7c]
mov dword [ebp - 0xeb7c], 0x54
mov dword [ebp - 0xeb78], 0x20
mov dword [ebp - 0xeb74], 0
push eax
push 4
push 0x444
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7530
lea eax, [ebp - 0x7534]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x7534]
push 0x752f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
or esi, 0xffffffff
cmp byte [ebp + 0x10], 0
je 0x407a20
lea eax, [ebp - 0xeb88]
push eax
lea eax, [ebp - 0xeb8c]
push eax
push 0xb0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407650
sub ecx, edx
cmp ecx, 0x752f
ja 0x408019
lea ecx, [ebp - 0x7534]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407670
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x407680
sub edx, esi
lea eax, [edx + 4]
add eax, ecx
cmp eax, 0x7530
jbe 0x407763
nop dword [eax]
mov al, byte [ebp - 0x7534]
lea esi, [ebp - 0x7534]
test al, al
je 0x4076cd
cmp al, 0xa
je 0x4076cd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4076b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
test al, al
je 0x408019
cmp al, 0xa
jne 0x4076e6
nop dword [eax + eax]
inc esi
cmp byte [esi], 0xa
je 0x4076e0
push 0x7530
lea eax, [ebp - 0x7534]
push esi
push eax
call fcn.00401ae0
mov edi, dword [ebp - 0xeb8c]
lea eax, [ebp - 0x7534]
sub eax, esi
lea edx, [ebp - 0x7534]
add edi, eax
lea ecx, [edx + 1]
lea eax, [ebp - 0x7534]
mov dword [ebp - 0xeb8c], edi
sub eax, esi
add esp, 0xc
mov esi, dword [ebp - 0xeb88]
add esi, eax
mov dword [ebp - 0xeb88], esi
mov al, byte [edx]
inc edx
test al, al
jne 0x407730
sub edx, ecx
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0xeb80], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407744
sub ecx, dword [ebp - 0xeb80]
lea eax, [ecx + 4]
add eax, edx
cmp eax, 0x7530
ja 0x4076a0
jmp 0x40776f
mov esi, dword [ebp - 0xeb88]
mov edi, dword [ebp - 0xeb8c]
xor eax, eax
test edi, edi
cmovs edi, eax
test esi, esi
mov dword [ebp - 0xeb8c], edi
cmovs esi, eax
mov dword [ebp - 0xeb88], esi
cmp byte [ebp - 0x7534], al
je 0x4077a9
lea edi, [ebp - 0x7534]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x407796
mov ax, word [0x491608]
mov word [edi], ax
mov esi, ebx
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4077b0
lea edi, [ebp - 0x7534]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4077c0
mov ecx, ebx
mov dword [ebp - 0xeb28], 0x54
shr ecx, 2
lea eax, [ebp - 0xeb28]
rep movsd dword es:[edi], dword [esi]
push eax
push 4
mov ecx, ebx
mov dword [ebp - 0xeb24], 0x20
mov ebx, dword [ebp - 0xeb84]
and ecx, 3
push 0x444
rep movsb byte es:[edi], byte [esi]
push ebx
mov dword [ebp - 0xeb20], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x7534]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x7530
lea eax, [ebp - 0x7534]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x7534]
push 0x752f
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
mov byte [ebp - 5], 0
or edi, 0xffffffff
mov dword [ebp - 0xeb80], eax
lea esi, [ebp - 0x7534]
cmp byte [ebp - 0x7534], al
je 0x407dd8
nop word [eax + eax]
mov bl, byte [esi]
mov byte [ebp - 0xeb90], bl
cmp bl, 0x3c
jne 0x40788f
mov edi, esi
lea ecx, [ebp - 0x7534]
sub edi, eax
sub edi, ecx
inc edi
jmp 0x407a11
test edi, edi
js 0x407a05
cmp bl, 0x3e
jne 0x4079d2
mov ebx, esi
sub ebx, eax
lea eax, [ebp - 0x7534]
sub ebx, eax
mov eax, dword [ebp - 0xeb94]
test eax, eax
je 0x4078c1
cmp dword [eax + 0x280], 0
je 0x4078c1
inc edi
dec ebx
mov edx, ebx
sub edx, edi
test edx, edx
jle 0x4079bb
lea eax, [edx + 1]
cmp eax, 0x30
ja 0x4079bb
cmp byte [0x4c4e88], 0
je 0x4079bb
mov ecx, 0x4c4e88
lea eax, [ecx + 1]
mov dword [ebp - 0xeb98], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4078f4
sub ecx, dword [ebp - 0xeb98]
mov dword [ebp - 0xead4], 0x54
mov dword [ebp - 0xead0], 0x40000001
cmp edx, ecx
jne 0x407947
mov eax, dword [ebp - 0xeb80]
add eax, edi
push ecx
lea eax, [ebp + eax - 0x7534]
push eax
push 0x4c4e88
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407947
push 0xaa00
push str.cfont_self_col
jmp 0x407951
push 0xff0000
push str.cfont_others_col
mov ecx, dword [0x4c3118]
call fcn.004038d0
mov dword [ebp - 0xeac0], eax
mov eax, dword [ebp - 0xeb94]
mov dword [ebp - 0xeacc], 0
test eax, eax
je 0x407988
cmp dword [eax + 0x280], 0
je 0x407988
lea eax, [ebx + 2]
push eax
lea eax, [edi - 2]
jmp 0x40798f
lea eax, [ebx + 1]
push eax
lea eax, [edi - 1]
push eax
push 0xb1
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xead4]
push eax
push 1
push 0x444
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [esi]
or edi, 0xffffffff
test al, al
je 0x4079fd
cmp al, 0xa
je 0x4079fd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4079c4
jmp 0x4079fd
push dword [ebp - 0xeb90]
call fcn.00410230
add esp, 4
test al, al
jne 0x4079ff
or edi, 0xffffffff
test bl, bl
je 0x4079fd
nop dword [eax + eax]
cmp bl, 0xa
je 0x4079fd
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x4079f0
mov bl, byte [esi]
mov eax, dword [ebp - 0xeb80]
cmp bl, 0xa
jne 0x407a11
inc eax
mov dword [ebp - 0xeb80], eax
inc esi
cmp byte [esi], 0
jne 0x407870
jmp 0x407dd2
lea eax, [ebp - 0xeba4]
push eax
lea eax, [ebp - 0xeba0]
push eax
push 0xb0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
push edi
push edi
push 0xb1
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7530
lea eax, [ebp - 0xea64]
push 0
push eax
call fcn.00466b60
lea ecx, [ebp - 0x7534]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407a75
sub ecx, edx
je 0x407aa7
cmp byte [ebp + ecx - 0x7535], 0xa
je 0x407aa7
push ebx
push 0x491608
lea eax, [ebp - 0xea64]
push 0x491630
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x407abd
push ebx
lea eax, [ebp - 0xea64]
push 0x491638
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xea64]
push eax
push 1
push 0xc2
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7530
lea eax, [ebp - 0x7534]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x7534]
push 0x752f
push eax
push dword [ebp - 0xeb84]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7534]
xor edx, edx
add edi, eax
mov dword [ebp - 0xeb88], edx
mov dword [ebp - 0xeb8c], edi
cmp byte [ebp - 0x7534], dl
je 0x407b56
nop dword [eax + eax]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
cmp cl, 0xa
jne 0x407b4c
inc edx
test cl, cl
jne 0x407b40
mov dword [ebp - 0xeb88], edx
cmp byte [ebx], 0
mov eax, ebx
je 0x407b74
nop dword [eax]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0xa
jne 0x407b6a
dec edx
test cl, cl
jne 0x407b60
mov dword [ebp - 0xeb88], edx
mov al, byte [edi]
test al, al
je 0x407cef
lea ebx, [ebp - 0x7534]
mov ecx, edi
sub ecx, ebx
mov ebx, 1
inc ecx
sub ebx, edx
mov dword [ebp - 0xeb90], ebx
mov ebx, dword [ebp - 0xeb88]
mov dword [ebp - 0xeb80], ecx
cmp al, 0x3c
jne 0x407ba9
lea esi, [ecx - 1]
cmp esi, 0xffffffff
jle 0x407cd0
cmp al, 0x3e
jne 0x407cd0
mov edi, ecx
sub edi, esi
test edi, edi
jle 0x407cc7
lea eax, [edi + 1]
cmp eax, 0x30
jg 0x407cc7
cmp byte [0x4c4e88], 0
je 0x407cc7
push 0x34
lea eax, [ebp - 0xeab4]
mov dword [ebp - 0xeb28], 0x54
push 0
push eax
mov dword [ebp - 0xeb24], 0x40000001
call fcn.00466b60
lea eax, [ebp - 0x7534]
add eax, esi
push edi
push eax
lea eax, [ebp - 0xeab4]
push eax
call fcn.0046b3d0
lea ecx, [ebp - 0xeab4]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c25
sub ecx, edx
je 0x407cc1
cmp ecx, 0x34
jae 0x407cc1
lea eax, [ebp - 0xeab4]
push 0x4c4e88
push eax
call fcn.00403a10
mov ecx, dword [0x4c3118]
add esp, 8
test eax, eax
je 0x407c67
push 0xaa00
push str.cfont_self_col
jmp 0x407c71
push 0xff0000
push str.cfont_others_col
call fcn.004038d0
mov ecx, dword [ebp - 0xeb90]
sub esi, ebx
mov dword [ebp - 0xeb14], eax
dec ecx
mov eax, dword [ebp - 0xeb80]
dec esi
add eax, ecx
mov dword [ebp - 0xeb20], 0
push eax
push esi
mov esi, dword [ebp - 0xeb84]
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xeb28]
push eax
push 1
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xeb80]
mov edi, dword [ebp - 0xeb8c]
or esi, 0xffffffff
mov al, byte [edi + 1]
inc edi
inc ecx
mov dword [ebp - 0xeb8c], edi
mov dword [ebp - 0xeb80], ecx
test al, al
jne 0x407ba2
mov ebx, dword [ebp - 0xeb98]
cmp byte [ebx], 0
mov al, 0x20
je 0x407dd2
mov edi, 1
nop
cmp al, 0x20
je 0x407d10
cmp al, 0xa
je 0x407d10
cmp al, 0xd
jne 0x407dc2
xor esi, esi
cmp byte [ebx], 0x40
jne 0x407d29
movsx eax, byte [ebx + 1]
push eax
call fcn.0046ffb9
add esp, 4
test eax, eax
cmovne esi, edi
test esi, esi
je 0x407dc2
push ebx
call fcn.0047cb67
mov esi, eax
add esp, 4
lea eax, [esi + 1]
nop
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x407d40
sub esi, eax
lea eax, [ebp - 0xeab0]
push 0x30
push 0
push eax
mov dword [ebp - 0xeb90], esi
call fcn.00466b60
lea eax, [ebp - 0xeb90]
push eax
push esi
push 0x30
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0xeab0]
push eax
call fcn.00450720
lea ecx, [ebp - 0xeab0]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407d85
sub ecx, edx
je 0x407dc2
lea eax, [ebp - 0xeab0]
push eax
push 0x4c4e88
call fcn.00451110
add esp, 8
test eax, eax
je 0x407dc2
push 0
push 0
lea eax, [ebp - 0xeb94]
push eax
push 0x410130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, byte [ebx]
test al, al
je 0x407dd2
inc ebx
cmp byte [ebx], 0
jne 0x407d00
mov ebx, dword [ebp - 0xeb84]
xor edi, edi
lea esi, [ebp - 0x7534]
cmp byte [ebp - 0x7534], 0
mov al, 0x20
je 0x407fbe
nop
cmp al, 0x20
je 0x407e00
cmp al, 0xa
je 0x407e00
cmp al, 0xd
jne 0x407fa9
mov al, byte [esi]
cmp al, 0x23
je 0x407f0e
cmp al, 0x26
je 0x407f0e
push 6
push str.waste:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407e30
mov eax, 6
jmp 0x407f13
push 6
push str.https:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407e4e
mov eax, 6
jmp 0x407f13
push 5
push str.http:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407e6c
mov eax, 5
jmp 0x407f13
push 5
push str.file:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407e8a
mov eax, 5
jmp 0x407f13
push 4
push str.ftp:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407ea5
mov eax, 4
jmp 0x407f13
push 4
push str.sip:
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407ec0
mov eax, 4
jmp 0x407f13
push 4
push str.www.
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407edb
mov eax, 4
jmp 0x407f13
push 2
push 0x491674
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407ef6
mov eax, 2
jmp 0x407f13
push 1
push 0x491678
push esi
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x407fa9
mov eax, 1
lea ecx, [eax + esi]
mov al, byte [ecx]
cmp al, 0x20
je 0x407fa9
cmp al, 0xa
je 0x407fa9
cmp al, 0xd
je 0x407fa9
test al, al
je 0x407fa9
sub esi, edi
lea eax, [ebp - 0x7534]
sub esi, eax
mov edx, esi
mov esi, ecx
mov al, byte [esi]
test al, al
je 0x407f5c
cmp al, 0x20
je 0x407f5c
cmp al, 0xa
je 0x407f5c
cmp al, 0xd
je 0x407f5c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x407f48
mov eax, esi
lea ecx, [ebp - 0x7534]
sub eax, edi
sub eax, ecx
push eax
push edx
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xeb28]
mov dword [ebp - 0xeb28], 0x54
push eax
push 1
push 0x444
push ebx
mov dword [ebp - 0xeb24], 0x20
mov dword [ebp - 0xeb20], 0x20
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [esi]
cmp al, 0xa
jne 0x407fb0
inc edi
test al, al
je 0x407fbe
inc esi
cmp byte [esi], 0
jne 0x407df0
push dword [ebp - 0xeb9c]
call fcn.0040bac0
mov esi, eax
lea ecx, [esi + 4]
push ecx
call fcn.0040fbe0
push esi
call fcn.0040f510
add esp, 0xc
lea eax, [ebp - 0xea80]
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_GetScrollInfo]
movzx eax, word [ebp - 0xea74]
push 0
shl eax, 0x10
or eax, 4
push eax
push 0x115
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e2f
mov esp, ebp
pop ebp
ret