Function at 0x100cd930
Capabilities:
Get file size
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fcfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x39c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3d8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x38c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x390], ecx
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x398], edi
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 0
push eax
lea ecx, [ebp - 0x384]
call fcn.10002490
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.100057a0
add esp, 0xc
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cda02
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea ecx, [ebp - 0x384]
call fcn.10002490
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.100057a0
add esp, 0xc
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cda48
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x3c8]
push eax
call fcn.10005ed0
add esp, 4
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0
cmp dword [0x10241ac0], 0
je 0x100cdac4
mov dword [0x10241ac0], 0
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x384], 4
lea eax, [ebp - 0x384]
push eax
push 0x10257e14
lea eax, [ebp - 0x388]
push eax
push str.WriteScanLog
push str.SOFTWARE360Safe_antiadware
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [0x10257e14], 1
jne 0x100ce1d4
push 0x208
push 0
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_memset
push str.antiadwa_scan.log
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [0x10257d10]
call fcn.100da6a0
add esp, 0x1c
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x3bc], esi
cmp esi, 0xffffffff
je 0x100ce1d4
mov dword [ebp - 0x394], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x100cdb60
push eax
lea eax, [ebp - 0x394]
push eax
push 2
push 0x1021013c
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
call sub.msvcrt.dll__time64
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.101eb750
lea eax, [ebp - 0x380]
push eax
push str._Y__m__d__H__M__S
push 0x80
lea eax, [ebp - 0x32c]
push eax
call sub.msvcrt.dll_wcsftime
add esp, 0x1c
test eax, eax
jne 0x100cdbb5
mov word [ebp - 0x32c], ax
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10023e80
test al, al
jne 0x100cdc12
lea ecx, [ebp - 0x32c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cdbf0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10003740
lea eax, [ebp - 0x3a0]
push eax
push str._____________________________
lea eax, [ebp - 0x384]
push eax
call fcn.10021a80
add esp, 0xc
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10002790
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cdc56
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 0x384], str.______________________________
mov esi, str.______________________________
mov edi, dword [ebp - 0x3a0]
sub esi, edi
sar esi, 1
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x3a8], eax
push 0x1e
push str.______________________________
call fcn.101e6fd0
add esp, 8
mov dword [ebp - 0x388], eax
add eax, dword [ebp - 0x3a8]
mov edx, 1
sub edx, dword [edi - 4]
mov ecx, dword [edi - 8]
sub ecx, eax
or ecx, edx
jge 0x100cdcb6
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10003310
mov edi, dword [ebp - 0x3a0]
mov ecx, dword [ebp - 0x3a8]
cmp esi, ecx
ja 0x100cdcc9
lea eax, [edi + esi*2]
mov dword [ebp - 0x384], eax
mov esi, dword [ebp - 0x388]
lea eax, [esi + esi]
push eax
push dword [ebp - 0x384]
push eax
lea eax, [edi + ecx*2]
push eax
call fcn.10004510
add esp, 0x10
mov eax, dword [ebp - 0x3a8]
add eax, esi
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3a8], eax
push str._r_nTitle:
lea ecx, [ebp - 0x3a8]
call fcn.10023e80
test al, al
jne 0x100cdd32
push 9
push str._r_nTitle:
lea ecx, [ebp - 0x3a8]
call fcn.10003740
mov eax, dword [ebp - 0x3a4]
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x3a8]
call fcn.10002970
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3b8], eax
push str._r_nDescription:
lea ecx, [ebp - 0x3b8]
call fcn.10023e80
test al, al
jne 0x100cdd82
push 0xf
push str._r_nDescription:
lea ecx, [ebp - 0x3b8]
call fcn.10003740
mov eax, dword [ebp - 0x3ac]
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10002970
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3b4], eax
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x388], eax
push 0x2784
lea ecx, [ebp - 0x388]
call fcn.10023e80
test al, al
jne 0x100cde00
mov ecx, 0x2784
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cdde0
sub ecx, edx
sar ecx, 1
push ecx
push 0x2784
lea ecx, [ebp - 0x388]
call fcn.10003740
mov eax, dword [ebp + 0x24]
push eax
mov esi, dword [ebp - 0x388]
push esi
push str._s__d_:
lea eax, [ebp - 0x3b4]
push eax
call fcn.10002cb0
add esp, 0x10
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100cde36
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 0x24]
cmp eax, 2
jne 0x100cdec5
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x388], eax
push 0x2808
lea ecx, [ebp - 0x388]
call fcn.10023e80
test al, al
jne 0x100cde93
mov ecx, 0x2808
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cde73
sub ecx, edx
sar ecx, 1
push ecx
push 0x2808
lea ecx, [ebp - 0x388]
call fcn.10003740
mov esi, dword [ebp - 0x388]
push dword [esi - 0xc]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.10002970
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100cdf3c
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
jmp 0x100cdf3c
lea ecx, [ebp - 0x384]
cmp eax, 4
jne 0x100cdf0a
push 0x27ae
call fcn.10002490
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.10002970
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cdf3c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x100cdf3c
cmp eax, 1
jne 0x100cdf16
push 0x27c9
jmp 0x100cdf1b
push 0x2792
call fcn.10002490
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.10002970
lea ecx, [ebp - 0x384]
call fcn.10007e10
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x384], eax
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x388], eax
push 0x2782
lea ecx, [ebp - 0x388]
call fcn.10023e80
test al, al
jne 0x100cdfa2
mov ecx, 0x2782
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cdf82
sub ecx, edx
sar ecx, 1
push ecx
push 0x2782
lea ecx, [ebp - 0x388]
call fcn.10003740
push dword [ebp + 0x40]
mov esi, dword [ebp - 0x388]
push esi
lea eax, [ebp - 0x384]
push eax
call fcn.10002cb0
add esp, 0xc
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100cdfd2
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [edi - 0xc]
push 0
lea ecx, [ebp - 0x394]
push ecx
add eax, eax
push eax
push edi
mov esi, dword [ebp - 0x3bc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x3b8]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x3b4]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x384]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x390]
test eax, eax
je 0x100ce0bf
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x100ce0bf
mov edi, dword [ebp - 0x3bc]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add eax, eax
push eax
push ecx
push edi
call ebx
push 0
lea eax, [ebp - 0x394]
push eax
push 4
push 0x102046f8
push edi
call ebx
add esi, 4
mov eax, dword [ebp - 0x390]
cmp esi, dword [eax + 4]
jne 0x100ce080
mov edi, dword [ebp - 0x3a0]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x398]
test eax, eax
je 0x100ce11f
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x100ce11f
mov edi, dword [ebp - 0x3bc]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [esp]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
push 0
lea edx, [ebp - 0x394]
push edx
add eax, eax
push eax
push ecx
push edi
call ebx
push 0
lea eax, [ebp - 0x394]
push eax
push 4
push 0x102046f8
push edi
call ebx
add esi, 4
mov eax, dword [ebp - 0x398]
cmp esi, dword [eax + 4]
jne 0x100ce0e0
mov edi, dword [ebp - 0x3a0]
or ebx, 0xffffffff
push 0
lea eax, [ebp - 0x394]
push eax
push 4
push 0x102046f8
mov esi, dword [ebp - 0x3bc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce160
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3b4]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce17d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3b8]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce19a
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3a8]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce1b7
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100ce1ce
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov edi, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x39c]
cmp dword [ecx + 4], 0
je 0x100cef9a
mov esi, dword [ebp - 0x390]
test esi, esi
je 0x100ce1fd
cmp dword [ebp + 0x50], 0
je 0x100ce1fd
push esi
call fcn.100d0dd0
add esp, 4
test edi, edi
je 0x100ce20a
push edi
call fcn.100d0dd0
add esp, 4
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
xor eax, eax
mov word [ebp - 0x35c], ax
test esi, esi
je 0x100ce270
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x100ce270
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ce254
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x35c]
call fcn.100070c0
test edi, edi
je 0x100ce29e
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x100ce29e
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ce282
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x35c]
call fcn.10006d70
mov esi, dword [ebp - 0x3c8]
cmp esi, dword [ebp - 0x3c4]
jne 0x100ce3f5
mov esi, dword [ebp + 0x28]
lea eax, [esi - 1]
cmp eax, 0x1116e
ja 0x100ce311
push 9
push str.LIbAW.DAT
lea ecx, [ebp - 0x35c]
call fcn.10006d70
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x384], eax
push esi
push 0x10204700
lea eax, [ebp - 0x384]
push eax
call fcn.10002cb0
add esp, 0xc
mov esi, dword [ebp - 0x384]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ce304
jmp 0x100ce36f
cmp esi, 0x186a0
jbe 0x100ce3a0
push 7
push str.SSR.DAT
lea ecx, [ebp - 0x35c]
call fcn.10006d70
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x384], eax
push esi
push 0x10204700
lea eax, [ebp - 0x384]
push eax
call fcn.10002cb0
add esp, 0xc
mov esi, dword [ebp - 0x384]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ce364
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x35c]
call fcn.10006d70
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100ce427
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
jmp 0x100ce427
mov eax, dword [ebp - 0x3a4]
mov edx, eax
lea esi, [edx + 2]
jmp 0x100ce3b0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100ce3b0
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x35c]
call fcn.10006d70
mov eax, dword [ebp - 0x3ac]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100ce3d7
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x35c]
call fcn.10006d70
jmp 0x100ce427
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ce400
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x35c]
call fcn.10006d70
add esi, 4
cmp esi, dword [ebp - 0x3c4]
jne 0x100ce3f5
cmp dword [0x1023fe04], 0
je 0x100ce475
lea eax, [ebp - 0x35c]
cmp dword [ebp - 0x348], 8
jb 0x100ce445
mov eax, dword [ebp - 0x35c]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
push dword [0x1023fe00]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100bcf60
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3b0], 1
jmp 0x100ce47a
mov eax, 0x10202a60
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.10006810
add esp, 8
test byte [ebp - 0x3b0], 1
je 0x100ce4a9
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
cmp eax, ecx
je 0x100ce4a9
push eax
call sub.msvcrt.dll_free
add esp, 4
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.10005ff0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x344]
cmp eax, esi
je 0x100ce569
mov edx, dword [ebp - 0x330]
cmp edx, 0x10
jb 0x100ce508
inc edx
mov ecx, dword [ebp - 0x344]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ce4fe
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf072
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], 0
mov eax, dword [esi]
mov dword [ebp - 0x344], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x340], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x33c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x338], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x334], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x330], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x360]
cmp edx, 0x10
jb 0x100ce5a3
inc edx
mov ecx, dword [ebp - 0x374]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ce599
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf077
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x348]
cmp edx, 8
jb 0x100ce5e3
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x35c]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ce5d9
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf07c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push 0x1025c02a
push 0x90
call fcn.101c85b0
add esp, 8
test eax, eax
je 0x100cee88
mov ecx, eax
call fcn.100b9090
mov edi, eax
mov dword [ebp - 0x384], edi
test edi, edi
je 0x100cee88
push dword [ebp - 0x3d8]
lea ecx, [ebp - 0x3b0]
call fcn.10002490
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x3d8]
push eax
call fcn.100057a0
add esp, 0xc
push eax
lea ecx, [edi + 0x10]
call fcn.10002790
mov edx, dword [ebp - 0x3d8]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce668
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3b0]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce685
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [edi + 0xc]
call fcn.10002790
push dword [ebp - 0x38c]
lea ecx, [ebp - 0x3b0]
call fcn.10002490
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.100057a0
add esp, 0xc
push eax
lea ecx, [edi + 0x14]
call fcn.10002790
mov edx, dword [ebp - 0x38c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce6e8
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3b0]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce705
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, dword [ebp + 0x18]
mov dword [edi + 0x18], esi
mov eax, dword [ebp + 0x24]
mov dword [edi + 0x40], eax
lea ecx, [ebp - 0x3a4]
push ecx
lea ecx, [edi + 8]
call fcn.10002790
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x48], eax
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.100057a0
add esp, 0xc
push eax
lea ecx, [edi + 0x4c]
call fcn.10002790
mov edx, dword [ebp - 0x38c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce766
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.100057a0
add esp, 0xc
push eax
lea ecx, [edi + 0x50]
call fcn.10002790
mov edx, dword [ebp - 0x38c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce7a6
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.100057a0
add esp, 0xc
push eax
lea ecx, [edi + 0x54]
call fcn.10002790
mov edx, dword [ebp - 0x38c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce7e6
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, dword [ebp - 0x390]
test eax, eax
je 0x100ce7f9
push eax
lea ecx, [edi + 0x28]
call fcn.10021770
mov eax, dword [ebp - 0x398]
test eax, eax
je 0x100ce80c
push eax
lea ecx, [edi + 0x34]
call fcn.10021770
mov eax, dword [ebp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x20], eax
mov dword [edi + 0x44], 7
lea ecx, [edi + 0x58]
lea eax, [ebp - 0x344]
cmp ecx, eax
je 0x100ce84d
cmp dword [ebp - 0x330], 0x10
jb 0x100ce841
mov eax, dword [ebp - 0x344]
push dword [ebp - 0x334]
push eax
call fcn.10006fc0
mov dword [edi + 0x70], esi
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [edi + 0x80]
call fcn.10021770
lea esi, [ebp - 0x344]
cmp dword [ebp - 0x330], 0x10
jb 0x100ce877
mov esi, dword [ebp - 0x344]
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x390], eax
push esi
lea ecx, [ebp - 0x390]
call fcn.10023e80
test al, al
jne 0x100ce8a8
push esi
lea ecx, [ebp - 0x390]
call fcn.10033bf0
lea eax, [ebp - 0x390]
push eax
lea ecx, [edi + 0x8c]
call fcn.10002790
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce8d7
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push dword [ebp + 0x24]
push ecx
mov esi, esp
mov eax, dword [ebp - 0x3a4]
add eax, 0xfffffff0
push eax
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [esi], eax
lea esi, [ebp - 0x344]
cmp dword [ebp - 0x330], 0x10
jb 0x100ce909
mov esi, dword [ebp - 0x344]
push ecx
push esp
mov ecx, dword [ebp - 0x39c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x28]
push esi
call fcn.101b6310
add esp, 0x18
test eax, eax
jne 0x100cea0c
test byte [ebp + 0x4c], 0x80
jne 0x100ce940
cmp esi, 0x11170
jb 0x100cea0c
lea ecx, [ebp - 0x344]
call fcn.1000c070
lea ecx, [ebp - 0x3d4]
call fcn.1002a3c0
mov edx, dword [ebp - 0x3ac]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce973
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce990
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp - 0x3c8]
call fcn.1002a3c0
mov edx, dword [ebp + 0x30]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce9b5
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce9cf
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ce9e9
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, dword [ebp + 0x48]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100cf052
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
jmp 0x100cf052
mov ecx, dword [ebp - 0x39c]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x100cea22
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
jmp 0x100cea27
mov esi, 0x10202940
lea eax, [ebp - 0x344]
cmp dword [ebp - 0x330], 0x10
jb 0x100cea3c
mov eax, dword [ebp - 0x344]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x128], ecx
push 3
push eax
lea ecx, [ebp - 0x128]
call fcn.10036710
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x38c], eax
push ecx
mov ecx, esp
push esi
call fcn.10002490
push dword [ebp + 0x24]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
xor eax, eax
mov word [edx], ax
mov esi, dword [ebp - 0x38c]
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x38c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cea97
sub ecx, dword [ebp - 0x38c]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100070c0
push dword [ebp + 0x28]
call fcn.101b5440
add esp, 0x24
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x128]
cmp eax, ecx
je 0x100cead7
push eax
call sub.msvcrt.dll_free
add esp, 4
push ecx
push esp
mov ecx, dword [ebp - 0x39c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push ecx
mov esi, esp
mov eax, dword [ebp + 0x48]
add eax, 0xfffffff0
push eax
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp - 0x39c]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
push edi
push dword [ebp + 0x28]
call dword [eax + 4]
mov dword [ebp - 0x38c], eax
mov dword [edi], eax
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x398], eax
push 0x10202940
lea ecx, [ebp - 0x398]
call fcn.10023e80
test al, al
jne 0x100ceb50
push 0
push 0x10202940
lea ecx, [ebp - 0x398]
call fcn.10003740
mov eax, dword [edi]
cmp eax, 0x11170
jae 0x100ceb73
push eax
push 0x10204700
lea eax, [ebp - 0x398]
push eax
call fcn.10002cb0
add esp, 0xc
jmp 0x100cec0e
mov eax, dword [edi + 8]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
push 3
push eax
lea ecx, [ebp - 0xa8]
call fcn.100bcf60
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa8]
call fcn.10006810
add esp, 8
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
cmp eax, ecx
je 0x100cebbb
push eax
call sub.msvcrt.dll_free
add esp, 4
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.10006100
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x100cebda
mov edx, dword [edx]
test edx, edx
jne 0x100cebe2
xor ecx, ecx
jmp 0x100cebf6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cebe7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x398]
call fcn.10003740
lea ecx, [ebp - 0x374]
call fcn.10005250
mov esi, dword [ebp - 0x398]
push esi
push str.UniqueIdentifier
push dword [edi]
mov ecx, dword [ebp - 0x39c]
call fcn.100d1850
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100cec3e
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x39c]
lea esi, [eax + 0x3c]
cmp dword [eax + 0x84], 0
je 0x100cec95
test esi, esi
je 0x100cec61
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x39c]
lea ecx, [eax + 0x14]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x100cec74
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x100cec81
lea edx, [ebp - 0x384]
push edx
push eax
call fcn.100cc490
test esi, esi
je 0x100ced47
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100ced47
test esi, esi
je 0x100ceca6
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax + 0xc]
cmp dword [eax + 0x10], ecx
je 0x100cecb6
mov dword [ecx], edi
add dword [eax + 0xc], 4
jmp 0x100cecc6
lea edx, [ebp - 0x384]
push edx
push ecx
lea ecx, [eax + 8]
call fcn.100cc490
test esi, esi
je 0x100cecd1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0
push 0x10202940
lea ecx, [ebp - 0x390]
call fcn.10002490
mov edi, dword [ebp - 0x39c]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 8]
sar eax, 2
dec eax
push eax
push 0x10204700
lea eax, [ebp - 0x390]
push eax
call fcn.10002cb0
add esp, 0xc
mov eax, dword [edi + 0x58]
mov esi, dword [ebp - 0x390]
test eax, eax
je 0x100ced26
push 0
push 0
push esi
push str.AddEntryItem
call eax
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x100ced3c
push 0
push 0
push esi
push str.AddEntryItem
push dword [edi + 0x60]
call eax
lea ecx, [ebp - 0x390]
call fcn.10007e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.1000c070
lea ecx, [ebp - 0x3d4]
call fcn.1002a3c0
mov edx, dword [ebp - 0x3ac]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ced81
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ced9e
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp - 0x3c8]
call fcn.1002a3c0
mov edx, dword [ebp + 0x30]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cedc3
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ceddd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cedf7
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, dword [ebp + 0x48]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100cee0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x38c]
jmp 0x100cf054
mov edx, dword [ebp - 0x330]
cmp edx, 0x10
jb 0x100ceec2
inc edx
mov ecx, dword [ebp - 0x344]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ceeb8
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf081
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], 0
lea ecx, [ebp - 0x3d4]
call fcn.1002a3c0
mov edx, dword [ebp - 0x3ac]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cef05
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cef22
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp - 0x3c8]
call fcn.1002a3c0
mov edx, dword [ebp + 0x30]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cef47
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cef61
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cef7b
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100cef93
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
xor eax, eax
jmp 0x100cf054
lea ecx, [ebp - 0x3d4]
call fcn.1002a3c0
mov edx, dword [ebp - 0x3ac]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cefc2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cefdf
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp - 0x3c8]
call fcn.1002a3c0
mov edx, dword [ebp + 0x30]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cf004
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cf01e
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cf038
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, dword [ebp + 0x48]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100cf052
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x4c
call fcn.101e6c40
call fcn.101e6c40
call fcn.101e6c40
call fcn.101e6c40
int3