Function at 0x402a20
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, 0x40dc64
call fcn.00404edc
cmp dword [ebx], 0xffffffff
jne 0x402a51
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x402d1b
xor ecx, ecx
mov edx, 0x10000000
mov eax, dword [ebp - 0x30]
call fcn.0040205c
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x30]
call fcn.0040c318
mov edi, eax
cmp edi, 0xffffffff
setne al
and eax, 1
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
je 0x402cff
push edi
call fcn.0040c450
call fcn.00403161
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 0x402ab6
mov eax, dword [ebp - 0x38]
cmp eax, 0x3e4
jbe 0x402ac1
mov esi, eax
jmp 0x402ac6
mov esi, 0x3e4
push esi
push 0
push dword [0x40ed7c]
call fcn.0040c3f0
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push 0
push 0
mov eax, dword [ebp - 0x2c]
push dword [ebx + eax*4 + 4]
push dword [ebx]
call fcn.0040c456
push 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x2c]
push dword [ebx + ecx*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040c43e
push 0
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x2c]
push dword [ebx + edx*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040c4b6
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jge 0x402b62
push 0
push 0
push dword [ebx + esi*4 + 4]
push dword [ebx]
call fcn.0040c456
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040c43e
push 0
lea edx, [ebp - 0x3c]
push edx
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040c4b6
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x402b26
mov esi, dword [ebp - 0x2c]
inc esi
mov word [ebp - 0x18], 0x14
cmp esi, 2
jge 0x402bad
push 0
push 0
push dword [ebx + esi*4 + 4]
push dword [ebx]
call fcn.0040c456
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push dword [ebx]
call fcn.0040c43e
push 0
lea edx, [ebp - 0x3c]
push edx
push dword [ebx + esi*4 + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040c4b6
inc esi
cmp esi, 2
jl 0x402b71
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 0x402bd4
call fcn.00403161
mov edx, dword [ebp - 4]
mov dword [edx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x402bc3
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 4]
push edi
call fcn.0040c4b6
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.00403462
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.0040c4b6
mov word [ebp - 0x18], 0x14
xor ebx, ebx
call fcn.00403161
mov edx, dword [ebp - 4]
mov dword [edx + ebx*4], eax
inc ebx
cmp ebx, 0xf9
jb 0x402c37
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x3e4
push dword [ebp - 4]
push edi
call fcn.0040c4b6
call fcn.00403161
and eax, 7
add ax, 0x7cb
mov word [ebp - 0x7c], ax
call fcn.00403161
mov ecx, 0xc
xor edx, edx
div ecx
inc edx
mov word [ebp - 0x7a], dx
call fcn.00403161
mov ecx, 0x1c
xor edx, edx
div ecx
inc edx
mov word [ebp - 0x76], dx
call fcn.00403161
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.0040c474
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040c41a
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x50]
push eax
push 0
push edx
push edi
call fcn.0040c45c
push edi
call fcn.0040c300
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004015f8
mov word [ebp - 0x18], 0
xor ecx, ecx
mov edx, 0xa0000000
mov eax, dword [ebp - 0x30]
call fcn.0040205c
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