Function at 0x10040820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x288c
call fcn.10068c40
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x98], 0
mov ecx, 0x9ff
lea edi, [esp + 0x99]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10040855
lea edi, [esp + 0x98]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10040866
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10040883
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10040896
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100408b1
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100408c4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100408e0
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100408f3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10040910
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10040923
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10040940
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10040953
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x70]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10040970
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10040983
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x98]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100409a1
mov eax, dword [str.2004_09_14_SOGOU]
mov ecx, dword [0x10084718]
mov edx, dword [0x1008471c]
mov dword [edi], eax
mov eax, dword [0x10084720]
mov dword [edi + 4], ecx
mov cl, byte [0x10084724]
mov dword [edi + 8], edx
lea edx, [esp + 0x30]
mov dword [edi + 0xc], eax
push edx
mov byte [edi + 0x10], cl
call fcn.10066650
lea eax, [esp + 0x9c]
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100409f0
sub eax, edx
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.10066f90
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.10067090
add esp, 0x14
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x11], 0x31
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x33
mov byte [esp + 0x14], 0x34
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x37
mov byte [esp + 0x18], 0x38
mov byte [esp + 0x19], 0x39
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x66
xor edx, edx
lea ecx, [ebx + 0x29]
movzx eax, byte [esp + edx + 0x20]
movzx edi, byte [ecx - 1]
mov esi, eax
shr esi, 4
movsx esi, byte [esp + esi + 0x10]
cmp esi, edi
jne 0x10040aae
movzx esi, byte [ecx]
and eax, 0xf
movsx eax, byte [esp + eax + 0x10]
cmp eax, esi
jne 0x10040aae
inc edx
add ecx, 2
cmp edx, 0x10
jl 0x10040a73
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret