Function at 0x440960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b1918
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
lea eax, [ebp + 0x30]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x2c], 1
test byte [esp + 0x50], 0x10
mov dword [esp + 0x44], 0
je 0x440ae4
mov edi, dword [ebp + 0x54]
cmp edi, dword [ebp + 0x58]
jbe 0x4409be
call fcn.00490387
mov esi, dword [ebp + 0x48]
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x54], ebx
jbe 0x4409ce
call fcn.00490387
mov eax, dword [ebp + 0x48]
test esi, esi
je 0x4409d9
cmp esi, eax
je 0x4409de
call fcn.00490387
cmp edi, ebx
je 0x440ae4
test esi, esi
jne 0x440a22
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4409fb
call fcn.00490387
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x440a2a
test esi, esi
jne 0x440a26
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x440a1d
call fcn.00490387
add edi, 8
jmp 0x4409c1
mov eax, dword [esi]
jmp 0x4409f1
mov eax, dword [esi]
jmp 0x440a13
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x440a6c
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x440a6e
xor esi, esi
push esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00444f10
mov byte [esp + 0x44], 1
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x440aae
lea eax, [ebp + 4]
call fcn.0040d2b0
add edi, 4
lea eax, [ebp + 8]
call fcn.0040d2b0
mov edi, dword [esp + 0x54]
lea ebx, [esp + 0x20]
call fcn.00443c00
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x440ae4
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x440ae4
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x440ae4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test byte [esp + 0x50], 8
je 0x440cd5
mov edi, dword [ebp + 0xbc]
cmp edi, dword [ebp + 0xc0]
jbe 0x440b02
call fcn.00490387
mov esi, dword [ebp + 0xb0]
jmp 0x440b10
mov ebx, dword [ebp + 0xc0]
cmp dword [ebp + 0xbc], ebx
jbe 0x440b23
call fcn.00490387
mov eax, dword [ebp + 0xb0]
test esi, esi
je 0x440b31
cmp esi, eax
je 0x440b36
call fcn.00490387
cmp edi, ebx
je 0x440cd5
test esi, esi
jne 0x440b7a
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x440b53
call fcn.00490387
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x440b82
test esi, esi
jne 0x440b7e
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x440b75
call fcn.00490387
add edi, 8
jmp 0x440b10
mov eax, dword [esi]
jmp 0x440b49
mov eax, dword [esi]
jmp 0x440b6b
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x440bc6
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x440bc8
xor esi, esi
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00444f10
mov byte [esp + 0x44], 2
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x440c9f
mov ecx, dword [ebp + 4]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x440c3d
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x440c32
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x440c32
call fcn.0040bbd0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x440c27
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
mov ebp, dword [esp + 0x4c]
jmp 0x440c3d
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00405920
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 4]
add edi, 4
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x440c92
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x440c87
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x440c87
call fcn.0040bbd0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x440c7c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
mov ebp, dword [esp + 0x4c]
jmp 0x440c92
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00405920
mov edi, dword [esp + 0x54]
lea ebx, [esp + 0x20]
call fcn.00443c00
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x440cd5
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x440cd5
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x440cd5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test byte [esp + 0x50], 4
je 0x440f40
mov esi, dword [ebp + 0xa4]
cmp esi, dword [ebp + 0xa8]
jbe 0x440cf3
call fcn.00490387
mov edi, dword [esp + 0x4c]
mov ebp, dword [edi + 0x98]
mov ebx, esi
mov dword [esp + 0x24], ebx
jmp 0x440d10
mov esi, dword [edi + 0xa8]
cmp dword [edi + 0xa4], esi
jbe 0x440d23
call fcn.00490387
mov eax, dword [edi + 0x98]
test ebp, ebp
je 0x440d31
cmp ebp, eax
je 0x440d36
call fcn.00490387
cmp ebx, esi
je 0x440f40
test ebp, ebp
jne 0x440da8
call fcn.00490387
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x440d53
call fcn.00490387
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x440f10
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x440dad
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x440daf
mov eax, dword [ebp]
jmp 0x440d49
xor esi, esi
push esi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.00444f10
mov byte [esp + 0x44], 3
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x440eda
test ebp, ebp
jne 0x440dfd
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x24]
cmp edi, dword [eax + 0x10]
jb 0x440dec
call fcn.00490387
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
jne 0x440e02
xor ecx, ecx
jmp 0x440e16
mov eax, dword [ebp]
jmp 0x440dde
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x440e07
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
test ebp, ebp
jne 0x440e4d
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x24]
cmp edi, dword [eax + 0x10]
jb 0x440e39
call fcn.00490387
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esi, 4
test eax, eax
jne 0x440e52
xor ecx, ecx
jmp 0x440e66
mov eax, dword [ebp]
jmp 0x440e2b
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x440e57
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x440e7f
xor ecx, ecx
jmp 0x440e87
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 3
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x440ebc
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push 1
push esi
call fcn.00444fb0
add esp, 0x14
add esi, 8
mov dword [edi + 0x10], esi
jmp 0x440eda
cmp eax, esi
jbe 0x440ec5
call fcn.00490387
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.00443d20
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x440f10
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x440f10
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x440f10
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test ebp, ebp
jne 0x440f3b
call fcn.00490387
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x440f29
call fcn.00490387
add dword [esp + 0x24], 8
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
jmp 0x440d10
mov eax, dword [ebp]
jmp 0x440f1b
test byte [esp + 0x50], 2
mov ebx, dword [esp + 0x4c]
je 0x44116a
mov eax, dword [ebx + 0x78]
mov edi, dword [eax]
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
nop
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x60]
test ebp, ebp
je 0x440f6e
cmp ebp, eax
je 0x440f73
call fcn.00490387
cmp edi, esi
je 0x44116a
test ebp, ebp
jne 0x440fe6
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x440f90
call fcn.00490387
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x441150
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x440feb
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x440fed
mov eax, dword [ebp]
jmp 0x440f86
xor esi, esi
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00444f10
mov byte [esp + 0x44], 4
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x44111a
test ebp, ebp
jne 0x44103c
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x18]
jne 0x44102a
call fcn.00490387
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
jne 0x441041
xor ecx, ecx
jmp 0x441055
mov eax, dword [ebp]
jmp 0x44101c
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441046
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
test ebp, ebp
jne 0x44108d
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x18]
jne 0x441078
call fcn.00490387
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esi, 4
test eax, eax
jne 0x441092
xor ecx, ecx
jmp 0x4410a6
mov eax, dword [ebp]
jmp 0x44106a
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441097
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x4410bf
xor ecx, ecx
jmp 0x4410c7
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 3
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x4410fc
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push 1
push esi
call fcn.00444fb0
add esp, 0x14
add esi, 8
mov dword [edi + 0x10], esi
jmp 0x44111a
cmp eax, esi
jbe 0x441105
call fcn.00490387
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.00443d20
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x441150
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x441150
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x441150
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea esi, [esp + 0x18]
call fcn.0044b5f0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
jmp 0x440f60
test byte [esp + 0x50], 1
je 0x4413c3
mov esi, dword [ebx + 0x8c]
cmp esi, dword [ebx + 0x90]
jbe 0x441188
call fcn.00490387
mov ebp, dword [ebx + 0x80]
mov edi, esi
mov esi, dword [ebx + 0x90]
mov dword [esp + 0x1c], edi
cmp dword [ebx + 0x8c], esi
jbe 0x4411a7
call fcn.00490387
mov eax, dword [ebx + 0x80]
test ebp, ebp
je 0x4411b5
cmp ebp, eax
je 0x4411ba
call fcn.00490387
cmp edi, esi
je 0x4413c3
test ebp, ebp
jne 0x44122a
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4411d7
call fcn.00490387
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x44139d
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x44122f
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x441231
mov eax, dword [ebp]
jmp 0x4411cd
xor esi, esi
push esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00444f10
mov byte [esp + 0x44], 5
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x441363
test ebp, ebp
jne 0x44127f
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x44126e
call fcn.00490387
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
jne 0x441284
xor ecx, ecx
jmp 0x44129f
mov eax, dword [ebp]
jmp 0x441260
mov ecx, eax
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441290
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
test ebp, ebp
jne 0x4412d6
call fcn.00490387
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x4412c2
call fcn.00490387
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esi, 4
test eax, eax
jne 0x4412db
xor ecx, ecx
jmp 0x4412ef
mov eax, dword [ebp]
jmp 0x4412b4
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4412e0
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.00405920
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x441308
xor ecx, ecx
jmp 0x441310
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 3
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x441345
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push 1
push esi
call fcn.00444fb0
add esp, 0x14
add esi, 8
mov dword [edi + 0x10], esi
jmp 0x441363
cmp eax, esi
jbe 0x44134e
call fcn.00490387
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.00443d20
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x441399
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x441399
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x441399
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edi, dword [esp + 0x1c]
test ebp, ebp
jne 0x4413be
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4413b2
call fcn.00490387
mov ebx, dword [esp + 0x4c]
add edi, 8
jmp 0x441190
mov eax, dword [ebp]
jmp 0x4413a8
test byte [esp + 0x50], 0x20
je 0x4416d5
mov edi, dword [ebx + 0xd4]
cmp edi, dword [ebx + 0xd8]
jbe 0x4413e1
call fcn.00490387
mov esi, dword [ebx + 0xc8]
mov ebp, dword [esp + 0x4c]
jmp 0x4413f0
mov ebx, dword [ebp + 0xd8]
cmp dword [ebp + 0xd4], ebx
jbe 0x441403
call fcn.00490387
mov eax, dword [ebp + 0xc8]
test esi, esi
je 0x441411
cmp esi, eax
je 0x441416
call fcn.00490387
cmp edi, ebx
je 0x4416d5
test esi, esi
jne 0x44145a
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x441433
call fcn.00490387
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x441462
test esi, esi
jne 0x44145e
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x441455
call fcn.00490387
add edi, 8
jmp 0x4413f0
mov eax, dword [esi]
jmp 0x441429
mov eax, dword [esi]
jmp 0x44144b
push 0x4e74e0
push 8
call fcn.00490df2
mov esi, eax
add esp, 8
test esi, esi
je 0x4414a2
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x4414a4
xor esi, esi
push esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00444f10
mov byte [esp + 0x44], 6
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x44169f
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 4]
mov edi, dword [ebp]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x441581
cmp dword [edi + 0xc], 0
jl 0x441576
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x441576
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x441519
cmp eax, dword [esi]
jne 0x441519
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x441555
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x441532
call fcn.00405210
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004903e8
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44156e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x441581
mov ebx, dword [eax - 0xc]
push eax
mov eax, ebp
call fcn.00405920
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
mov edi, dword [ebp + 4]
add ebp, 4
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x441635
cmp dword [edi + 0xc], 0
jl 0x44162a
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x44162a
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4415cd
cmp eax, dword [esi]
jne 0x4415cd
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x441609
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4415e6
call fcn.00405210
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004903e8
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x441622
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x441635
mov ebx, dword [eax - 0xc]
push eax
mov eax, ebp
call fcn.00405920
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x441644
xor eax, eax
jmp 0x44164c
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 3
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 3
cmp edx, eax
jae 0x441681
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push 1
push esi
call fcn.00444fb0
add esp, 0x14
add esi, 8
mov dword [edi + 0x10], esi
jmp 0x44169f
cmp ecx, esi
jbe 0x44168a
call fcn.00490387
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.00443d20
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4416d5
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4416d5
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4416d5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc