Function at 0x40293c
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov ebx, eax
mov eax, 0x40cd10
call fcn.00404904
cmp dword [ebx], 0xffffffff
jne 0x40296d
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x402c38
xor ecx, ecx
mov edx, 0x10000000
mov eax, dword [ebp - 0x30]
call fcn.00401f74
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x30]
call fcn.0040b9f6
mov edi, eax
cmp edi, 0xffffffff
setne al
and eax, 1
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
je 0x402c1c
push edi
call fcn.0040bb2e
call fcn.004031d5
and eax, 0xff
shl eax, 9
mov dword [ebp - 0x38], eax
mov word [ebp - 0x18], 8
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x38]
ja 0x4029d2
mov eax, dword [ebp - 0x38]
cmp eax, 0x3e4
jbe 0x4029dd
mov esi, eax
jmp 0x4029e2
mov esi, 0x3e4
mov eax, dword [0x410560]
push esi
push 0
push dword [eax]
call fcn.0040bace
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push 0
push 0
mov edx, dword [ebp - 0x2c]
push dword [ebx + edx*4 + 4]
push dword [ebx]
call fcn.0040bb34
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x2c]
push dword [ebx + eax*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040bb1c
push 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x2c]
push dword [ebx + ecx*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040bb9a
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jge 0x402a7f
push 0
push 0
push dword [ebx + esi*4 + 4]
push dword [ebx]
call fcn.0040bb34
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040bb1c
push 0
lea edx, [ebp - 0x3c]
push edx
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040bb9a
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x402a43
mov esi, dword [ebp - 0x2c]
inc esi
mov word [ebp - 0x18], 0x14
cmp esi, 2
jge 0x402aca
push 0
push 0
push dword [ebx + esi*4 + 4]
push dword [ebx]
call fcn.0040bb34
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040bb1c
push 0
lea edx, [ebp - 0x3c]
push edx
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040bb9a
inc esi
cmp esi, 2
jl 0x402a8e
mov ecx, dword [ebp - 0x38]
shr ecx, 2
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x18], 0x14
xor esi, esi
cmp esi, dword [ebp - 0x40]
jae 0x402af1
call fcn.004031d5
mov edx, dword [ebp - 4]
mov dword [edx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x402ae0
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 4]
push edi
call fcn.0040bb9a
mov ecx, dword [ebx + 0x1c]
lea edx, [ebx + 0xc]
mov dword [ebp - 0x6c], ecx
mov ecx, 8
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 0x38]
add eax, 0x400
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x58]
call fcn.0040349e
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x60], 0x400
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
push 0
push edx
push 0x1c
push ecx
push edi
call fcn.0040bb9a
mov word [ebp - 0x18], 0x14
xor ebx, ebx
call fcn.004031d5
mov edx, dword [ebp - 4]
mov dword [edx + ebx*4], eax
inc ebx
cmp ebx, 0xf9
jb 0x402b54
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x3e4
push dword [ebp - 4]
push edi
call fcn.0040bb9a
call fcn.004031d5
and eax, 7
add ax, 0x7cb
mov word [ebp - 0x7c], ax
call fcn.004031d5
mov ecx, 0xc
xor edx, edx
div ecx
inc edx
mov word [ebp - 0x7a], dx
call fcn.004031d5
mov ecx, 0x1c
xor edx, edx
div ecx
inc edx
mov word [ebp - 0x76], dx
call fcn.004031d5
mov ecx, 0x18
xor edx, edx
div ecx
mov word [ebp - 0x74], dx
lea eax, [ebp - 0x48]
mov word [ebp - 0x72], 0
mov word [ebp - 0x70], 0
mov word [ebp - 0x6e], 0
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040bb58
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040baf8
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x50]
push eax
push 0
push edx
push edi
call fcn.0040bb3a
push edi
call fcn.0040b9d8
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00401528
mov word [ebp - 0x18], 0
xor ecx, ecx
mov edx, 0xa0000000
mov eax, dword [ebp - 0x30]
call fcn.00401f74
mov al, byte [ebp - 0x31]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret