Function at 0x1001bcc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd683
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100ff008]
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 ebx, ecx
mov dword [ebp - 0x444], ebx
mov ecx, 0x10103149
call fcn.100d96c4
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1001bd17
mov eax, dword [esi]
lea ecx, [ebp - 0x420]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1001c2e0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
cmp ecx, dword [0x10101234]
jne 0x1001bd55
cmp eax, dword [0x10101230]
je 0x1001c2c4
mov dword [0x10101230], eax
mov dword [0x10101234], ecx
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
cmp dword [esi + 0x14], 8
jb 0x1001bd6e
mov esi, dword [esi]
push 0x100e849c
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov edi, eax
test edi, edi
je 0x1001c2c4
push 2
push 0
push edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
call esi
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov ebx, eax
push 0
push 0
push edi
call esi
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea eax, [ebx - 1]
cmp eax, 0x9ffffe
ja 0x1001be07
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, eax
call fcn.1001d630
push edi
push ebx
push 1
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
cmp eax, ebx
cmovne ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x1001be77
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c2c4
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x5c], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001be53
add ecx, 0x23
mov dword [ebp - 0x5c], ecx
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001be53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d83a8
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x1001c2c4
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
call fcn.10002350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100024d0
mov dword [ebp - 0x42c], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
push 0
lea edx, [ebp - 0x42c]
push edx
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100026d0
mov edx, eax
mov dword [ebp - 0x428], edx
test edx, edx
jne 0x1001bf89
push 2
mov ecx, 0x10101274
call fcn.10034d10
mov esi, eax
test esi, esi
je 0x1001bf4d
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
xor eax, eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
push 0x18
push str.Failed_to_DecompressData
lea ecx, [ebp - 0x58]
call fcn.10004530
push 0x97
push str.RC::RCTrustDb::LoadTrustDb
push str.f:_branches6.1.5_rhinoprotect_virusscan_srcgdoperate_rctrustdb.cpp
lea eax, [ebp - 0x58]
push eax
push 2
mov ecx, 0x10101274
call fcn.10034d60
cmp esi, 1
jbe 0x1001bf41
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x10101274
call fcn.10035090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.100044d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002430
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c2c4
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x60], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001be53
add ecx, 0x23
mov dword [ebp - 0x60], ecx
jmp 0x1001be40
mov al, 1
mov byte [ebp - 0x421], al
cmp dword [ebp - 0x42c], 0x345
jae 0x1001bfa9
mov byte [ebp - 0x421], 0
jmp 0x1001c255
mov ecx, 0x47
mov esi, edx
lea edi, [ebp - 0x1d0]
rep movsd dword es:[edi], dword [esi]
movzx eax, al
xor ecx, ecx
cmp dword [ebp - 0x1d0], 0x11c
cmovne eax, ecx
mov byte [ebp - 0x421], al
movzx eax, al
cmp dword [ebp - 0x1cc], 0x229
cmovne eax, ecx
mov byte [ebp - 0x421], al
movzx ebx, al
xor eax, eax
cmp dword [ebp - 0x1c8], 0xc
cmovne ebx, eax
mov byte [ebp - 0x421], bl
mov esi, dword [ebp - 0x42c]
add esi, 0xfffffee4
test bl, bl
je 0x1001c255
mov eax, 0xda0a2f39
mul esi
mov ecx, esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 9
imul eax, ecx, 0x229
sub esi, eax
je 0x1001c037
mov byte [ebp - 0x421], 0
jmp 0x1001c24f
cmp ecx, dword [ebp - 0x1c4]
je 0x1001c04b
mov byte [ebp - 0x421], 0
jmp 0x1001c24f
mov byte [ebp - 0xbd], 0
lea edx, [ebp - 0x1bc]
lea ecx, [ebp - 0x7c]
call fcn.100293f0
mov byte [ebp - 4], 4
push 0x30
push 0
lea eax, [ebp - 0xac]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.1002b360
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.1002cfd0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x1001c1de
xor al, al
mov dword [ebp - 0x440], eax
mov byte [ebp - 0x421], al
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1002f670
add esp, 4
xor edi, edi
mov dword [ebp - 0x43c], edi
mov ebx, dword [ebp - 0x34]
nop dword [eax]
mov esi, dword [ebp - 0x30]
mov ecx, esi
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x1001c1cc
cmp ebx, esi
je 0x1001c1c0
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001c154
mov ecx, dword [eax]
cmp dword [eax + 0x10], 0xc
jne 0x1001c19d
mov edx, 0xc
mov dword [ebp - 0x438], edx
mov esi, str.000000000000
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], ecx
test edx, edx
je 0x1001c1c0
mov ax, word [ecx]
cmp ax, word [esi]
jne 0x1001c19d
add ecx, 2
mov dword [ebp - 0x430], ecx
add esi, 2
mov dword [ebp - 0x434], esi
dec edx
mov dword [ebp - 0x438], edx
jmp 0x1001c176
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0xac]
call fcn.1002c180
test al, al
je 0x1001c1bd
mov bl, 1
mov byte [ebp - 0x421], bl
jmp 0x1001c1d2
mov ebx, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x43c], edi
jmp 0x1001c120
mov ebx, dword [ebp - 0x440]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.1000ff70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.1000ff70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.1002b430
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.100044d0
test bl, bl
je 0x1001c24f
mov eax, dword [ebp - 0x444]
lea edi, [eax + 0x30]
mov ecx, 0x47
lea esi, [ebp - 0x1d0]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x24]
push esi
push dword [eax + 0x3c]
mov ecx, esi
call fcn.1001d320
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffee4
push eax
mov eax, dword [ebp - 0x428]
add eax, 0x11c
push eax
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x428]
push edx
lea ecx, [ebp - 0x28]
call fcn.100030a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002430
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c2bd
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c29e
add ecx, 0x23
mov dword [ebp - 0x64], ecx
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001be4d
push ecx
push edx
call fcn.100d83a8
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
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.100d8362
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
jmp 0x1001c2c4