Function at 0x476e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c861c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4fca20]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x9c], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x476e60
sub eax, edx
sar eax, 1
je 0x476e76
mov edi, 1
lea ecx, [ebp - 0x98]
push ecx
mov ecx, esi
call fcn.00476270
mov edx, dword [ebp - 0x98]
cmp dword [edx - 0xc], 0
mov dword [ebp - 4], 0
jne 0x476ed9
mov esi, dword [ebp - 0xa0]
push 0x4cd850
mov ecx, esi
call fcn.00402008
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476ed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4770e7
mov edx, dword [0x4fc7ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc7ec
call eax
add eax, 0x10
mov dword [ebp - 0xa4], eax
push edi
lea eax, [ebp - 0x9c]
xor edx, edx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x94], 0x740068
mov dword [ebp - 0x90], 0x700074
mov dword [ebp - 0x8c], 0x2f003a
mov dword [ebp - 0x88], 0x64002f
mov dword [ebp - 0x84], 0x740061
mov dword [ebp - 0x80], 0x2e0061
mov dword [ebp - 0x7c], 0x6c0061
mov dword [ebp - 0x78], 0x780065
mov dword [ebp - 0x74], 0x2e0061
mov dword [ebp - 0x70], 0x6f0063
mov dword [ebp - 0x6c], 0x2f006d
mov dword [ebp - 0x68], 0x610064
mov dword [ebp - 0x64], 0x610074
mov dword [ebp - 0x60], 0x25002f
mov dword [ebp - 0x5c], 0x3f0073
mov dword [ebp - 0x58], 0x6c0063
mov dword [ebp - 0x54], 0x3d0069
mov dword [ebp - 0x50], 0x300031
mov dword [ebp - 0x4c], 0x760026
mov dword [ebp - 0x48], 0x720065
mov dword [ebp - 0x44], 0x25003d
mov dword [ebp - 0x40], 0x260073
mov dword [ebp - 0x3c], 0x640063
mov dword [ebp - 0x38], 0x3d0074
mov dword [ebp - 0x34], 0x730025
mov dword [ebp - 0x30], 0x640026
mov dword [ebp - 0x2c], 0x740061
mov dword [ebp - 0x28], 0x6e003d
mov dword [ebp - 0x24], 0x260073
mov dword [ebp - 0x20], 0x720075
mov dword [ebp - 0x1c], 0x3d006c
mov dword [ebp - 0x18], 0x730025
mov word [ebp - 0x14], dx
call fcn.00476ca0
mov edi, eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00476650
mov edx, dword [edi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x98]
push ebx
push edx
push eax
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
call fcn.00401a85
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47705c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477082
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0xa4]
add esi, 0xfffffff0
push esi
call fcn.004014d8
mov edi, dword [ebp - 0xa0]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4770bc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4770e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0047e4d2
mov esp, ebp
pop ebp
ret 0xc