Function at 0x40a510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512195
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x40a568
xor al, al
jmp 0x40abc7
add eax, 0x48
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb0], eax
je 0x40a58a
mov eax, dword [eax]
test eax, eax
je 0x40a58a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x40a59f
xor bl, bl
jmp 0x40ab95
mov eax, dword [ebx]
lea edx, [eax + 0x50]
cmp edx, esi
je 0x40a5bd
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40a5b2
mov eax, dword [esi]
push ecx
push eax
mov ecx, edx
call fcn.004033d0
mov eax, dword [ebx]
lea ecx, [eax + 0x68]
cmp ecx, edi
je 0x40a5d7
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x40a5ce
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.0040bd80
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x40a868
mov eax, dword [ebx]
mov byte [ebp - 4], 1
mov dword [eax + 0x80], 0
mov esi, dword [eax + 0x84]
mov dword [eax + 0x84], 0
or edi, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x40a62d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a62d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a62d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xorps xmm0, xmm0
mov byte [ebp - 4], 0
push 0x578220
push 8
movlpd qword [ebp - 0x18], xmm0
call fcn.0050f67d
add esp, 8
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x40a811
mov dword [eax], vtable.RC::IAdModel.0
push 0x578220
mov byte [ebp - 4], 4
push 0x174
mov dword [eax], vtable.RC::RCAd360Model.0
call fcn.0050f67d
mov esi, eax
add esp, 8
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x40a7fc
mov byte [ebp - 4], 6
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 7
mov byte [esi + 0x18], al
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 8
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 9
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], ax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0xa
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 7
mov word [esi + 0x50], ax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0xb
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 7
mov word [esi + 0x68], ax
mov byte [ebp - 4], 7
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 0xc
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], 7
mov word [esi + 0x8c], ax
mov byte [ebp - 4], 7
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0xd
call fcn.004037a0
add esi, 0x138
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xa4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00405df0
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x140], 1
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [eax + 0x154], 0
mov dword [eax + 0x158], 7
mov word [eax + 0x144], cx
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x14
mov dword [eax + 0x16c], ecx
mov dword [eax + 0x170], 7
mov word [eax + 0x15c], cx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 3
jmp 0x40a813
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 3
jmp 0x40a813
xor ecx, ecx
mov byte [ebp - 4], 0
push dword [ebp - 0xa4]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0040bf80
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x18]
mov ecx, dword [ebx]
push eax
sub ecx, 0xffffff80
call fcn.0040bc00
mov eax, dword [ebx]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x17
jmp 0x40aace
cmp eax, 2
jne 0x40aaf7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x18
mov dword [eax + 0x80], 0
mov esi, dword [eax + 0x84]
mov dword [eax + 0x84], 0
or edi, 0xffffffff
mov byte [ebp - 4], 0x19
test esi, esi
je 0x40a8bb
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a8bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a8bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xorps xmm0, xmm0
mov byte [ebp - 4], 0
push 0x578220
push 8
movlpd qword [ebp - 0x18], xmm0
call fcn.0050f67d
add esp, 8
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x40aa7c
mov dword [eax], vtable.RC::IAdModel.0
push 0x578220
mov byte [ebp - 4], 0x1b
push 0x148
mov dword [eax], vtable.RC::RCAdYunTuModel.0
call fcn.0050f67d
add esp, 8
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x40aa67
mov byte [ebp - 4], 0x1d
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1e
lea esi, [eax + 0x1c]
mov byte [eax + 0x18], cl
xor eax, eax
mov dword [ebp - 0xa4], esi
mov dword [esi + 0x10], ecx
mov ecx, esi
push eax
mov dword [esi + 0x14], 7
push 0x531de0
mov word [esi], ax
call fcn.004033d0
xor eax, eax
mov byte [ebp - 4], 0x1f
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x531de0
mov word [ecx], ax
call fcn.004033d0
xor eax, eax
mov byte [ebp - 4], 0x20
lea ecx, [esi + 0x30]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x531de0
mov word [ecx], ax
call fcn.004033d0
xor eax, eax
mov byte [ebp - 4], 0x21
lea ecx, [esi + 0x48]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x531de0
mov word [ecx], ax
call fcn.004033d0
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0xa0]
lea ecx, [esi + 0x80]
call fcn.004037a0
mov byte [ebp - 4], 0x24
mov dword [esi + 0xfc], 2
mov byte [ebp - 4], 0x25
xor eax, eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 7
mov word [esi + 0x100], ax
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x27
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], 7
mov word [esi + 0x118], ax
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x29
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], 7
mov word [esi + 0x130], ax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], esi
mov byte [ebp - 4], 0x1a
jmp 0x40aa7e
mov byte [ebp - 4], 0x1b
xor esi, esi
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], esi
mov byte [ebp - 4], 0x1a
jmp 0x40aa7e
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
push dword [ebp - 0xa4]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.0040c010
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x18]
mov ecx, dword [ebx]
push eax
sub ecx, 0xffffff80
call fcn.0040bc00
mov eax, dword [ebx]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x2c
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40aaf3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40aaf3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40aaf3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebx]
call fcn.0040a0c0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x40ab15
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx]
call fcn.0040a2a0
lea ecx, [ebp - 0x98]
call fcn.004037a0
mov byte [ebp - 4], 0x2d
lea edx, [ebp - 0x98]
mov eax, dword [ebx]
push edx
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x40ab50
cmp byte [ebp - 0x98], 0
je 0x40ab50
mov bl, 1
jmp 0x40ab52
xor bl, bl
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x2f
call fcn.00403370
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x33
call fcn.00403370
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x37
call fcn.00403370
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x3b
call fcn.00403370
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x3f
call fcn.00403370
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], 0x43
add eax, 0x48
je 0x40abbe
mov eax, dword [eax]
test eax, eax
je 0x40abb4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
ret 0x10