Function at 0x4b9aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov dword [ebp - 0x414], ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x42c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x430], ecx
lea ecx, [ebp - 0x418]
push ecx
push 0x534df0
push dword [ebp + 0x14]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
push 0
push eax
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x41c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b9e8f
cmp dword [ebp - 0x418], 0
je 0x4b9e8f
mov ecx, 0x534df0
mov edx, 0x534d80
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4b9b88
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4b9b67
mov ecx, dword [ebp - 0x418]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x4b9bda
mov edi, dword [0x55b408]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x49]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x4b9bd4
mov ecx, 0x534df0
mov edx, 0x534d90
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4b9bd4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4b9bb5
mov eax, dword [ebp - 0x418]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, dword [ebp - 0x408]
lea eax, [ebp - 0x420]
push eax
push 0x53de70
push 1
push 0
push 0x514560
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b9e8f
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x4b9e8f
mov eax, dword [ecx]
lea edx, [ebp - 0x410]
push edx
push 0x534df0
push dword [ebp - 0x418]
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x4b9e85
cmp dword [ebp - 0x410], 0
je 0x4b9e85
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x428]
push edx
mov dword [ebp - 0x428], 0
push str.fE_t
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x4b9c9b
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x4b9c9b
mov ecx, dword [ebp - 0x414]
mov esi, dword [edi]
push 0
call fcn.0041e2d0
push eax
push edi
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x428]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov dword [ebp - 0x428], 0
test esi, esi
jns 0x4b9de8
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x424]
push edx
push 0x534f30
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4b9de8
cmp dword [ebp - 0x424], 0
je 0x4b9e8f
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x408], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x4b9e79
cmp dword [ebp - 0x41c], 0
je 0x4b9e79
cmp ebx, 0xffffffff
je 0x4b9e8f
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push ebx
call esi
test eax, eax
je 0x4b9e8f
mov edx, dword [ebp - 0x408]
test edx, edx
je 0x4b9d7f
mov eax, dword [ebp - 0x41c]
lea edi, [ebp - 0x414]
push edi
push edx
mov dword [ebp - 0x414], 0
lea edx, [ebp - 0x404]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push ebx
call esi
test eax, eax
je 0x4b9e8f
mov edx, dword [ebp - 0x408]
test edx, edx
jne 0x4b9d30
mov eax, dword [ebp - 0x424]
push 0
push dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x424]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x4b9e94
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x40c]
push edx
push 0x534dc0
push dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4b9e6d
cmp dword [ebp - 0x40c], 0
je 0x4b9e6d
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x418]
push dword [ebp - 0x434]
push dword [ebp - 0x438]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x4b9e94
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x4b9e94
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x40c]
test ecx, ecx
je 0x4b9e38
xor ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x42c]
test edx, edx
je 0x4b9e4a
mov eax, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4b9ee2
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x40c], 0
jmp 0x4b9e8f
mov dword [ebp - 0x41c], 0
jmp 0x4b9e8f
mov dword [ebp - 0x410], 0
mov esi, 0x80004005
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x4b9ea4
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x4b9eb4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x410]
test edx, edx
je 0x4b9ecb
mov ecx, dword [ebp - 0x420]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [ebp - 0x40c]
test edx, edx
je 0x4b9ee2
mov ecx, dword [ebp - 0x420]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret