Function at 0x10003770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081559
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100a836c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], esi
lea eax, [edi + 0x200bc]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
push eax
mov dword [ebp - 0x60], eax
call fcn.10015bd1
add esp, 4
test eax, eax
je 0x100037d3
push eax
call fcn.10015fda
add esp, 4
mov byte [ebp - 0x5c], 1
cmp dword [edi + 0x200b8], 0
mov byte [ebp - 4], 3
jne 0x10003800
push 0
push 0
push edi
push 0x10007230
push 0
push 0
call fcn.1005f593
add esp, 0x18
mov dword [edi + 0x200b8], eax
push 0x14
call fcn.100314e6
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1000385b
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov ecx, esp
lea eax, [ebp + 0x58]
mov dword [ebp - 0x50], esp
push eax
call fcn.10005070
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10005070
push dword [ebp - 0x4c]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10003d60
mov dword [ebp - 0x4c], eax
jmp 0x10003862
mov dword [ebp - 0x4c], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.100314e6
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x10003892
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.10005340
jmp 0x10003894
xor eax, eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
movlpd qword [ebp - 0x58], xmm0
call fcn.1000c9d0
cmp dword [edi + 4], 0
je 0x100039ff
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], 0xa
call fcn.1000d830
lea eax, [ebp - 0x58]
mov dword [esi], 0
cmp esi, eax
je 0x1000390f
mov eax, dword [ebp - 0x58]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x54]
mov byte [esi + 4], al
jmp 0x10003912
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x44]
mov byte [esi + 4], 1
call fcn.10005ec0
mov byte [ebp - 4], 0xa
test edi, edi
je 0x10003947
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10003947
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x1000393f
mov eax, dword [ecx]
push edi
jmp 0x10003945
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.10015bf6
add esp, 4
test eax, eax
je 0x10003963
push eax
call fcn.10015fda
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10003982
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x100039b6
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100039ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b54
push edx
push ecx
call fcn.10031516
add esp, 8
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
cmp edx, 0x10
jb 0x10003b35
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003b2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b59
jmp 0x10003b2b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa0], 0x10003440
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x10003a46
mov eax, dword [ecx]
lea edx, [ebp - 0x90]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
call fcn.10004220
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10003a88
mov edx, dword [ecx]
lea eax, [ebp - 0x90]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x20090]
call fcn.1000d090
lea eax, [ebp - 0x58]
mov dword [esi], 0
cmp esi, eax
je 0x10003ab7
mov eax, dword [ebp - 0x58]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x54]
mov byte [esi + 4], al
jmp 0x10003aba
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x10003ad6
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0x11
test edi, edi
je 0x10003aff
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10003aff
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x10003af7
mov eax, dword [ecx]
push edi
jmp 0x10003afd
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x60]
mov byte [ebp - 4], 0x12
call fcn.10015bf6
add esp, 4
test eax, eax
je 0x10003b1b
push eax
call fcn.10015fda
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10003982
jmp 0x1000396a
push edx
push ecx
call fcn.10031516
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031895
mov esp, ebp
pop ebp
ret 0x68
call fcn.1005b415
call fcn.1005b415
int3