Function at 0x42b8d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47f01f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push ebp
push esi
push edi
push 0x48c768
push 3
push 0x70
push str.CSRSUFile::validate
push str..SRSUFile.cpp
mov dword [esp + 0xb0], eax
mov esi, ecx
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
xor ebx, ebx
add esp, 0x14
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 1
call fcn.0042c3a0
cmp byte [esi + 0x62], bl
mov byte [esp + 0xa8], 2
jne 0x42be7d
cmp byte [esi + 0x60], bl
je 0x42be58
mov eax, dword [0x4ad9bc]
mov ecx, 0x4ad9bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [0x4ad9bc]
mov ecx, 0x4ad9bc
mov byte [esp + 0xa8], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x4ad9bc]
mov ecx, 0x4ad9bc
mov byte [esp + 0xa8], 4
call dword [eax + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov edx, dword [0x4ad9bc]
mov ecx, 0x4ad9bc
mov byte [esp + 0xa8], 5
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x1000
mov byte [esp + 0xac], 6
call fcn.004620d8
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 7
call fcn.00403ad0
push 0x19
push str.__GETEncryptedDataFile__r_n
lea ecx, [esp + 0x20]
call fcn.004082f0
lea ecx, [esp + 0x20]
call fcn.00403ad0
push 0x41
push str.__xml_version_1.0__encoding_UTF_16_______GETRSFileHeaderSize0x
lea ecx, [esp + 0x28]
call fcn.004082f0
cmp dword [esi + 0x9c], 8
mov eax, dword [esi + 0x98]
mov dword [esp + 0x14], ebx
jb 0x42ba5f
mov ecx, dword [esi + 0x88]
jmp 0x42ba65
lea ecx, [esi + 0x88]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004082f0
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x38]
push ecx
push ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42ba94
call fcn.0042ab20
xor eax, eax
mov ecx, 0x200
rep stosd dword es:[edi], eax
push str..xml
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
call fcn.0042b7a0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
mov byte [esp + 0xac], 8
mov dword [esp + 0x40], eax
call fcn.00401570
add eax, 0x10
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edi, dword [esp + 0x1c]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x800
push edi
push edx
mov byte [esp + 0xbc], 9
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x42bafe
call fcn.0042ab20
cmp dword [esp + 0x14], ebx
jbe 0x42bd36
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov eax, dword [esp + 0x14]
shr eax, 1
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004082f0
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov ebp, dword [esp + 0x10]
je 0x42bd28
cmp dword [ebp - 0xc], ebx
jl 0x42bd28
push eax
push ebp
call fcn.0044a743
add esp, 8
cmp eax, ebx
je 0x42bd28
sub eax, ebp
sar eax, 1
cmp eax, ebx
jne 0x42bd28
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x42bb66
or edi, 0xffffffff
jmp 0x42bb92
cmp dword [ebp - 0xc], ebx
jge 0x42bb70
or edi, 0xffffffff
jmp 0x42bb92
push eax
push ebp
call fcn.0044a743
add esp, 8
cmp eax, ebx
jne 0x42bb83
or edi, 0xffffffff
jmp 0x42bb92
sub eax, ebp
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
jne 0x42bc12
cmp dword [esp + 0x14], 0x800
jne 0x42bc12
mov eax, dword [esi]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x800
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x42bbc0
call fcn.0042ab20
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x42bc0d
mov ecx, dword [esp + 0x1c]
shr eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004082f0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov ebp, dword [esp + 0x10]
jne 0x42bbea
or edi, 0xffffffff
jmp 0x42bb92
cmp dword [ebp - 0xc], ebx
jge 0x42bbf4
or edi, 0xffffffff
jmp 0x42bb92
push eax
push ebp
call fcn.0044a743
add esp, 8
cmp eax, ebx
jne 0x42bc07
or edi, 0xffffffff
jmp 0x42bb92
sub eax, ebp
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x42bb92
cmp edi, ebx
jle 0x42bcf7
push 0x800
add edi, 0x19
push edi
lea ecx, [esp + 0x18]
call fcn.0042ac50
lea edi, [esi + 4]
mov ecx, edi
call fcn.00403ad0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
push eax
push ebp
mov ecx, edi
call fcn.004082f0
mov eax, dword [edi]
lea edx, [esp + 0x40]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.004027f0
call fcn.00435140
add esp, 0x20
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x30]
call fcn.0042cac0
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x42bc86
lea eax, [esp + 0x60]
push eax
call fcn.0044b6e7
add esp, 4
cmp eax, ebx
je 0x42bc9b
cmp eax, 0xffffffff
je 0x42bc9b
mov dword [esi + 0x5c], eax
mov edx, dword [edi]
mov edi, dword [edx - 0xc]
mov ecx, dword [esi + 0x5c]
lea eax, [edi + edi + 8]
cdq
idiv ecx
lea eax, [edi + edi + 8]
push ebx
test edx, edx
cdq
jne 0x42bcb8
idiv ecx
jmp 0x42bcbb
idiv ecx
inc eax
imul eax, ecx
mov ecx, dword [esi]
sub eax, 8
cdq
push edx
push eax
call fcn.0042ab70
lea eax, [esp + 0x14]
push eax
push 8
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esi]
call fcn.0042ab40
mov dx, word [esp + 0x94]
mov edi, dword [esp + 0x1c]
mov word [esi + 0x64], dx
mov byte [esi + 0x61], 1
jmp 0x42bd61
push str.File_is_not_encrypted
push 3
push 0xc5
push str.CSRSUFile::validate
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov ecx, dword [esi]
add esp, 0x14
push ebx
push ebx
push ebx
mov byte [esi + 0x61], bl
call fcn.0042ab70
mov edi, dword [esp + 0x1c]
jmp 0x42bd61
push str.File_is_not_encrypted
push 3
push 0xcc
jmp 0x42bd42
push str.File_is_not_encrypted
push 3
push 0xd4
push str.CSRSUFile::validate
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov ecx, dword [esi]
add esp, 0x14
push ebx
push ebx
push ebx
mov byte [esi + 0x61], bl
call fcn.0042ab70
cmp edi, ebx
je 0x42bd6e
push edi
call fcn.004620d3
add esp, 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esi + 0x60], 1
mov byte [esi + 0x62], 1
xor esi, esi
mov byte [esp + 0xa8], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bd9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xa8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bdc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xa8], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bdea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 0xfffffff0
mov byte [esp + 0xa8], 4
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42be0d
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xa8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xa8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42be9d
push str.m_bFileIsOpen_failed
push 3
push 0xfa
push str.CSRSUFile::validate
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
mov esi, 0x80004005
jmp 0x42be9d
push str.m_bFileValidated_success
push 3
push 0x100
push str.CSRSUFile::validate
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
xor esi, esi
push 0x48c718
push 3
push 0x103
push str.CSRSUFile::validate
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 1
call fcn.0042c3d0
cmp dword [esp + 0x58], 0x10
jb 0x42bee0
mov eax, dword [esp + 0x44]
push eax
call fcn.004620d3
add esp, 4
cmp dword [esp + 0x74], 8
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x42bf04
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0xa0]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x94]
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x9c
ret