Function at 0x4b3f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5143b0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x54f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor eax, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
sub eax, edx
sar eax, 3
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4b3fc1
nop dword [eax]
lea eax, [edx + ecx*8]
cmp edi, ebx
je 0x4b3f93
mov eax, dword [eax]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x28], edi
jmp 0x4b3fa6
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403f00
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x40]
inc ecx
mov edx, dword [esi + 0x3c]
sub eax, edx
sar eax, 3
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jb 0x4b3f80
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x4b3fc3
xor eax, eax
push dword [esi + 0x88]
sub edi, eax
sub esp, 0xc
mov eax, edi
mov ecx, esp
sar eax, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
test eax, eax
je 0x4b4028
cmp eax, 0x3fffffff
ja 0x4b4197
push eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
push edi
mov edi, dword [ebp - 0x18]
push edi
mov esi, dword [eax]
push esi
call fcn.00445c10
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea eax, [esi + eax*4]
mov esi, dword [ebp - 0x20]
mov dword [ecx + 4], eax
jmp 0x4b402b
mov edi, dword [ebp - 0x18]
push dword [esi + 0x38]
lea ecx, [ebp - 0x64]
push dword [esi + 8]
call fcn.004b0c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
push dword [ebp - 0x60]
mov dword [ebp - 0x30], esi
push dword [ebp - 0x64]
call fcn.004857b0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
cmp esi, eax
je 0x4b4078
mov edi, eax
mov ecx, esi
call fcn.00408ed0
add esi, 0xc
cmp esi, edi
jne 0x4b4061
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00484600
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00485650
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov ecx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 2
imul esi, eax, 0xaaaaaaab
mov dword [ebp - 0x14], edx
test esi, esi
je 0x4b40d0
mov eax, dword [ecx + 4]
lea ecx, [ecx + 0xc]
sub eax, dword [ecx - 0xc]
sar eax, 2
imul eax, eax, 0xaaaaaaab
add edx, eax
sub esi, 1
jne 0x4b40b4
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
sar ecx, 3
test edx, edx
jg 0x4b40e7
mov eax, 1
jmp 0x4b40ed
mov eax, ecx
cdq
idiv dword [ebp - 0x14]
mov dword [esi + 0x84], eax
add ecx, ecx
mov eax, dword [esi + 0x8c]
mov dword [eax], ecx
mov eax, dword [esi + 0x94]
lock inc dword [eax]
cmp dword [ebp + 8], 0
jne 0x4b411c
push esi
push 0
push 0x4b5b40
call fcn.0044d973
add esp, 0xc
push 0
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.004b07d0
mov ecx, dword [ebp - 0x38]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x4b4143
push ecx
call fcn.0044d796
add esp, 4
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
call fcn.004120f0
lea ecx, [ebp - 0x5c]
call fcn.00401c00
test edi, edi
je 0x4b4180
sub ebx, edi
mov eax, edi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x4b4176
mov edi, dword [eax - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b419c
push ebx
push edi
call fcn.00443e34
add esp, 8
mov al, byte [ebp + 0xb]
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
call fcn.00402310
call fcn.0044d695
int3