Function at 0x403d40
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45edeb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x47b0fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x130], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x403dad
push eax
call edi
mov dword [esi + 0x5c], 0xffffffff
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x403dbf
push eax
call edi
mov dword [esi + 0x58], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0042f720
push 0x20
push 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
mov dword [ebp - method.CryptoPP::AutoSeededRandomPool.virtual_0], vtable.CryptoPP::AutoSeededRandomPool.0
call fcn.00430250
push 0x20
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xa0], 0xcfeda0
call fcn.0041e3a0
push 0x20
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0041e3a0
push 0x20
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x120]
call fcn.0041e3a0
push 0x20
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x120]
call fcn.0041e3a0
mov ecx, dword [ebp - 0x12c]
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
test ecx, ecx
je 0x403e73
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call eax
mov dword [esi + 0x5c], eax
cmp eax, 0xffffffff
je 0x403ea7
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x130]
call eax
mov dword [esi + 0x58], eax
cmp eax, 0xffffffff
jne 0x403eb3
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x403ea7
push eax
call edi
mov dword [esi + 0x5c], 0xffffffff
mov byte [ebp - 0x121], 0
jmp 0x403fd2
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x128]
push 0
push ecx
push 0x44
lea ecx, [ebp - 0xa0]
push ecx
push eax
call edi
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x403fa6
push 0
lea ecx, [ebp - 0x128]
push ecx
push 0x20
lea ecx, [ebp - 0x34]
push ecx
push eax
call edi
push 0
lea eax, [ebp - 0x128]
push eax
push 0x20
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0x5c]
call edi
mov ecx, dword [ebp - 0x9c]
xor ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x98]
xor eax, dword [ebp - 0x30]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, dword [ebp - 0x54]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x78]
xor eax, dword [ebp - 0x50]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x94]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x90]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, dword [ebp - 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x70]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [ebp - 0x8c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x88]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x44]
xor ecx, dword [ebp - 0x6c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x68]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x84]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x80]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x64]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x60]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
jmp 0x403fcb
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [esi + 0x30], xmm0
mov byte [ebp - 0x121], 1
lea ecx, [ebp - 0x120]
mov dword [ebp - method.CryptoPP::AutoSeededRandomPool.virtual_0], vtable.CryptoPP::AutoSeededRandomPool.0
call fcn.004027a0
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00437624
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8