Function at 0x1001c250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1f13
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x10104008]
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, 0x101080e9
call fcn.100de193
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1001c2a7
mov eax, dword [esi]
lea ecx, [ebp - 0x420]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1001c870
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
cmp ecx, dword [0x10106314]
jne 0x1001c2e5
cmp eax, dword [0x10106310]
je 0x1001c854
mov dword [0x10106310], eax
mov dword [0x10106314], ecx
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
cmp dword [esi + 0x14], 8
jb 0x1001c2fe
mov esi, dword [esi]
push 0x100ed6ec
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 0x1001c854
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 0x1001c397
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, eax
call fcn.1001dbc0
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 0x1001c407
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c854
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x5c], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c3e3
add ecx, 0x23
mov dword [ebp - 0x5c], ecx
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001c3e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x1001c854
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
call fcn.10002a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10002b80
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.10002d80
mov edx, eax
mov dword [ebp - 0x428], edx
test edx, edx
jne 0x1001c519
push 2
mov ecx, 0x101063a0
call fcn.10035760
mov esi, eax
test esi, esi
je 0x1001c4dd
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.10004bc0
push 0x95
push str.RC::RCTrustDb::LoadTrustDb
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rctrustdb.cpp
lea eax, [ebp - 0x58]
push eax
push 2
mov ecx, 0x101063a0
call fcn.100357b0
cmp esi, 1
jbe 0x1001c4d1
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x101063a0
call fcn.10035ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10004b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002ae0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c854
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x60], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c3e3
add ecx, 0x23
mov dword [ebp - 0x60], ecx
jmp 0x1001c3d0
mov al, 1
mov byte [ebp - 0x421], al
cmp dword [ebp - 0x42c], 0x345
jae 0x1001c539
mov byte [ebp - 0x421], 0
jmp 0x1001c7e5
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 0x1001c7e5
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 0x1001c5c7
mov byte [ebp - 0x421], 0
jmp 0x1001c7df
cmp ecx, dword [ebp - 0x1c4]
je 0x1001c5db
mov byte [ebp - 0x421], 0
jmp 0x1001c7df
mov byte [ebp - 0xbd], 0
lea edx, [ebp - 0x1bc]
lea ecx, [ebp - 0x7c]
call fcn.10029ec0
mov byte [ebp - 4], 4
push 0x30
push 0
lea eax, [ebp - 0xac]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xac]
call fcn.1002be40
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.1002da20
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x1001c76e
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.1002ff50
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 0x1001c75c
cmp ebx, esi
je 0x1001c750
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001c6e4
mov ecx, dword [eax]
cmp dword [eax + 0x10], 0xc
jne 0x1001c72d
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 0x1001c750
mov ax, word [ecx]
cmp ax, word [esi]
jne 0x1001c72d
add ecx, 2
mov dword [ebp - 0x430], ecx
add esi, 2
mov dword [ebp - 0x434], esi
dec edx
mov dword [ebp - 0x438], edx
jmp 0x1001c706
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0xac]
call fcn.1002cbd0
test al, al
je 0x1001c74d
mov bl, 1
mov byte [ebp - 0x421], bl
jmp 0x1001c762
mov ebx, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x43c], edi
jmp 0x1001c6b0
mov ebx, dword [ebp - 0x440]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.100104e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.100104e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.1002bf10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.10004b60
test bl, bl
je 0x1001c7df
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.1001d8b0
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.10003750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002ae0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001c84d
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c82e
add ecx, 0x23
mov dword [ebp - 0x64], ecx
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c3dd
push ecx
push edx
call fcn.100dcba6
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.100dcb60
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
jmp 0x1001c854