Function at 0x468c91
Capabilities:
Write file on windows

Disassembly:
push 0x64
mov eax, 0x68c0e0
call fcn.0056e23b
mov dword [ebp - 0x6c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x70], ebx
call fcn.004173bc
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
push esi
call fcn.0041d41a
xor eax, eax
inc eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x34], ebx
jne 0x468cd9
push 0x6c127c
lea ecx, [ebp - 0x48]
call fcn.004179fb
jmp 0x468d10
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x6c]
push eax
push esi
call fcn.0046896c
push eax
lea eax, [ebp - 0x48]
push 0x6c134c
push eax
call fcn.0041ccda
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov ecx, dword [ebp + 0xc]
cmp ecx, 4
jne 0x468d3e
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0x64]
push ecx
push str._sdword:_08X_r_n
push eax
call fcn.0041ccda
add esp, 0x10
jmp 0x468eae
cmp ecx, 1
jne 0x468da6
mov eax, dword [edi]
mov ecx, 0x6c13bc
cmp eax, dword [edi + 4]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041d41a
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x6c]
lea esi, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 8
push ecx
cmovae esi, dword [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0046896c
push eax
push esi
lea eax, [ebp - 0x64]
push str._s__s__r_n
push eax
call fcn.0041ccda
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0041786a
jmp 0x468eb1
lea eax, [ebp - 0x44]
cmp ecx, 3
jne 0x468dca
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push str._shex:
push eax
call fcn.0041ccda
add esp, 0xc
jmp 0x468de5
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push str._shex__x_:
push eax
call fcn.0041ccda
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 4
xor edx, edx
mov eax, dword [edi + 4]
xor esi, esi
mov ecx, dword [edi]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x68], edx
sub eax, ecx
je 0x468e92
test esi, esi
je 0x468e3b
test ebx, ebx
jne 0x468e2f
test edx, edx
je 0x468e21
push 0x6c14c8
lea ecx, [ebp - 0x64]
call fcn.00419c79
mov eax, dword [edi]
movzx eax, byte [eax + esi]
push eax
push str.___02x
jmp 0x468e45
movzx eax, byte [ecx + esi]
push eax
push str.__02x
jmp 0x468e45
movzx eax, byte [ecx + esi]
push eax
push 0x6c14f0
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00419c79
add ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x68]
cmp ebx, 0x4c
jl 0x468e82
mov eax, dword [edi + 4]
sub eax, dword [edi]
sub eax, 2
cmp esi, eax
jae 0x468e82
xor ebx, ebx
inc edx
mov dword [ebp - 0x68], edx
mov eax, dword [edi + 4]
inc esi
mov ecx, dword [edi]
sub eax, ecx
cmp esi, eax
jb 0x468e08
push 0x6c14fc
lea ecx, [ebp - 0x64]
call fcn.00419c79
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x468ee1
and dword [ebp - 0x70], 0
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
lea edx, [ebp - 0x70]
push 0
cmovae ecx, dword [ebp - 0x60]
add eax, eax
push edx
push eax
push ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push 1
pop eax
cmovne ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041786a
mov eax, ebx
call fcn.0056e1e5
ret 0xc