Function at 0x4647d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff38
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00418790
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
lea edi, [esi + 0x18]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 0x30]
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
test ecx, 0xfffffffc
jne 0x46484f
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x2c]
xor esi, esi
cmp eax, esi
je 0x464846
push eax
call fcn.0044556f
add esp, 4
mov edx, dword [ebp - 0x38]
push edx
jmp 0x464a8c
lea eax, [ebp - 0x38]
push eax
mov edx, ebx
call fcn.004355e0
mov eax, ebx
call fcn.00435590
push edi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub ecx, eax
xor ebx, ebx
sar ecx, 2
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jbe 0x464a79
jmp 0x464889
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
push str.360TS
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
mov esi, dword [esi + 0x48]
sar ecx, 2
cmp ebx, ecx
jb 0x4648ae
call fcn.00446707
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ebx*4]
cmp dword [eax + 0x18], 8
jb 0x4648bf
mov eax, dword [eax + 4]
jmp 0x4648c2
add eax, 4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push eax
push esi
call edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
sar eax, 2
cmp ebx, eax
jb 0x4648dd
call fcn.00446707
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
add esi, 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x4649ad
xor ebx, ebx
lea esp, [esp]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x48]
mov dword [ebp - 0x18], ecx
cmp edi, eax
jb 0x464922
call fcn.00446707
mov eax, dword [esi + 0xc]
cmp dword [ebx + eax + 0x34], 8
jb 0x464935
mov edx, dword [ebx + eax + 0x20]
mov dword [ebp - 0x14], edx
jmp 0x46493c
lea ecx, [ebx + eax + 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46495d
call fcn.00446707
mov eax, dword [esi + 0xc]
add eax, ebx
cmp dword [eax + 0x18], 8
jb 0x46496d
mov eax, dword [eax + 4]
jmp 0x464970
add eax, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
push 0
push ecx
mov ecx, dword [edx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x38
cmp edi, eax
jb 0x464910
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
lea edx, [ebp - 0x20]
push edx
xor edi, edi
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push 0x61a8
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
sub ecx, dword [ebp - 0x2c]
sar ecx, 2
cmp ebx, ecx
jb 0x4649e0
call fcn.00446707
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, dword [edx + ebx*4]
cmp esi, edi
je 0x464a4d
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x464a0a
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.0040b510
mov eax, dword [esi + 0x28]
push eax
call fcn.0044556f
add esp, 0xc
mov ecx, dword [esi + 0x1c]
push ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.0044556f
add esp, 4
cmp dword [esi + 0x18], 8
jb 0x464a31
mov edx, dword [esi + 4]
push edx
call fcn.0044556f
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push esi
mov word [esi + 4], ax
call fcn.0044556f
mov eax, dword [ebp - 0x28]
add esp, 4
sub eax, dword [ebp - 0x2c]
sar eax, 2
cmp ebx, eax
jb 0x464a5c
call fcn.00446707
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + ebx*4], edi
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub edx, eax
inc ebx
sar edx, 2
mov dword [ebp - 0x1c], ebx
cmp ebx, edx
jb 0x464886
xor esi, esi
cmp eax, esi
je 0x464a88
push eax
call fcn.0044556f
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0044556f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4