Function at 0x40d3b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467e33
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x48706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x428], esi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x41c], xmm0
push 0x48a7c0
mov dword [ebp - 0x41c], 0x48a7c0
call fcn.0042a854
add esp, 4
test eax, eax
je 0x40d42c
push eax
call fcn.0042a3d4
add esp, 4
mov byte [ebp - 0x418], 1
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d4bd
push eax
mov dword [ebx + 0x10], eax
mov ecx, ebx
mov dword [ebx + 0x14], 0xf
push 0x47a2d9
mov byte [ebx], al
call fcn.00405f60
push 0x48a7c0
mov byte [ebp - 4], 2
call fcn.0042a879
add esp, 4
test eax, eax
je 0x40d486
push eax
call fcn.0042a3d4
add esp, 4
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x40d632
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d650
jmp 0x40d628
lea eax, [ebp - 0x410]
push 0x47b39c
push eax
call fcn.0044b7c1
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov edi, eax
cmovae ecx, dword [ebp + 0xc]
push 0x47b3a0
push ecx
mov dword [ebp - 0x42c], edi
call fcn.0044b7c1
add esp, 0x10
mov dword [ebp - 0x424], eax
test edi, edi
je 0x40d5fc
test eax, eax
je 0x40d5fc
mov edi, dword [esi + 0x84]
add edi, dword [esi + 0x80]
add edi, dword [esi + 0x7c]
add edi, dword [esi + 0x78]
add edi, dword [esi + 0x74]
mov dword [ebp - 0x420], edi
mov esi, edi
test edi, edi
jle 0x40d576
mov edi, dword [ebp - 0x42c]
mov ebx, eax
nop
mov eax, 0x400
cmp esi, eax
push edi
cmovl eax, esi
push eax
lea eax, [ebp - 0x410]
push 1
push eax
call fcn.0044a6a5
add esp, 0x10
test eax, eax
je 0x40d56a
push ebx
push eax
sub esi, eax
lea eax, [ebp - 0x410]
push 1
push eax
call fcn.00449ec1
add esp, 0x10
test esi, esi
jg 0x40d530
mov edi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
call fcn.00427230
push dword [ebp - 0x424]
mov esi, dword [ebp - 0x420]
push dword [ebp - 0x414]
push 1
push esi
call fcn.00449ec1
xor edi, 0x12345678
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], edi
mov edi, dword [ebp - 0x424]
push edi
push 1
push 4
push eax
call fcn.00449ec1
push esi
call fcn.0044a1f1
add esp, 0x24
push dword [ebp - 0x42c]
call fcn.00446ba3
add esp, 4
push edi
call fcn.00446ba3
mov esi, dword [ebp - 0x428]
add esp, 4
lea eax, [esi + 0x11c]
mov ecx, ebx
push eax
call fcn.00403fc0
push 0x48a7c0
mov byte [ebp - 4], 3
call fcn.0042a879
add esp, 4
test eax, eax
je 0x40d486
jmp 0x40d47d
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bac5
mov esp, ebp
pop ebp
ret
call fcn.0044acd1
int3