Function at 0x10003fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x172e3bd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1735060]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x173664c]
mov edx, dword [eax + 0xc]
mov ecx, 0x173664c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push ebx
push 0x80
push 3
push ebx
push 1
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x60]
push 0x80000000
push eax
call dword [0x172f188]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x28], ebp
jne 0x1000405a
lea ecx, [esp + 0x2c]
call fcn.10003a00
add edi, 0xfffffff0
mov dword [esp + 0x40], ebp
lea ecx, [edi + 0xc]
or edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004042
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
push ebx
push ebp
call dword [0x172f194]
mov dword [esp + 0x18], eax
mov edx, dword [edi - 8]
mov esi, 1
sub esi, dword [edi - 4]
lea ecx, [eax + 0x400]
sub edx, ecx
or edx, esi
jge 0x1000408e
lea eax, [esp + 0x14]
call fcn.10001da0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
push ebp
call dword [0x172f18c]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jl 0x1000436b
cmp eax, dword [edi - 8]
jg 0x1000436b
mov dword [edi - 0xc], eax
mov word [edi + eax*2], bx
mov edx, dword [0x173664c]
mov eax, dword [edx + 0xc]
mov ecx, 0x173664c
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x40], 2
cmp dword [edi - 0xc], ebx
jl 0x100042fd
push 0x1730fb8
push edi
call fcn.1000d94c
add esp, 8
cmp eax, ebx
je 0x100042eb
sub eax, edi
sar eax, 1
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x100042e7
jmp 0x10004110
mov eax, ebp
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
call fcn.100038b0
mov byte [esp + 0x40], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x4c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1000417a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x1000416d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1000416d
call fcn.10002220
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10004160
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x1c]
jmp 0x1000417a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x50]
call fcn.10001cf0
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000419f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ebx, eax
jne 0x100041f6
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
cmp edx, ecx
jb 0x100041c6
lea edx, [ecx + eax*4]
lea esi, [esp + 0x4c]
cmp esi, edx
jb 0x100042db
test eax, eax
jne 0x100041cf
lea esi, [eax + 1]
jmp 0x100041de
lea esi, [ebx + ebx]
test esi, esi
jl 0x10004223
cmp esi, 0x1fffffff
ja 0x10004223
push 4
push esi
push ecx
call fcn.1000dbe7
add esp, 0xc
test eax, eax
je 0x10004223
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esi, [eax + ebx*4]
test esi, esi
mov byte [esp + 0x40], 4
je 0x10004217
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10002220
add eax, 0x10
mov dword [esi], eax
add ebx, 1
mov byte [esp + 0x40], 2
mov dword [esp + 0x30], ebx
lea ecx, [ebp + 2]
lea esi, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.10003890
mov byte [esp + 0x40], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x1000428a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10004279
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10004279
call fcn.10002220
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10004270
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x14], edi
jmp 0x1000428a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.10001cf0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi - 0xc], 0
jl 0x100042e5
push 0x1730fb8
push edi
call fcn.1000d94c
add esp, 8
test eax, eax
je 0x100042e5
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x100042e5
mov ebp, eax
jmp 0x10004110
push 0x80004005
call fcn.10001440
xor ebx, ebx
mov ebp, dword [esp + 0x28]
cmp dword [edi - 0xc], ebx
jle 0x100042fd
lea ebx, [esp + 0x4c]
lea esi, [esp + 0x2c]
call fcn.10003920
push ebp
call dword [0x172f1b8]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.100025b0
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004337
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
call fcn.10003a00
lea eax, [edi - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x10004044
push 0x80070057
call fcn.10001440
int3