Function at 0x1000f250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x1006d258]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x1006417c
push 1
push 0x10064184
push 1
push str.ksnetcomm.cat
push 0x100720a0
call fcn.100122f0
add esp, 0x18
mov dword [ebp - 8], 0
cmp dword [0x100894b8], 0
jg 0x1000f2c6
mov dword [ebp - 8], 0xffffff9a
mov eax, dword [ebp - 8]
push eax
push 0x1006419c
push 1
push 0x100641b0
push 1
push str.ksnetcomm.cat
push 0x100720a0
call fcn.100122f0
add esp, 0x1c
mov eax, dword [ebp - 8]
jmp 0x1000f89d
mov ecx, dword [ebp + 8]
push ecx
push str.FilePath__s_
push 1
push 0x100641d8
push 1
push str.ksnetcomm.cat
push 0x100720a0
call fcn.100122f0
add esp, 0x1c
push 0x400
push 0xff
lea edx, [ebp - 0x850]
push edx
call fcn.1004e3d0
add esp, 0xc
mov dword [ebp - 0x858], 0
jmp 0x1000f31e
mov eax, dword [ebp - 0x858]
add eax, 1
mov dword [ebp - 0x858], eax
mov ecx, dword [ebp - 0x858]
cmp ecx, dword [0x100894b8]
jge 0x1000f58e
mov edx, dword [ebp - 0x858]
mov eax, dword [edx*4 + 0x100794b8]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x858]
mov ecx, 0x3f
sub ecx, dword [eax*4 + 0x100814b8]
mov dword [ebp - 0x85c], ecx
mov edx, dword [ebp - 0x858]
mov eax, dword [edx*4 + 0x100794b8]
and eax, 0x80000007
jns 0x1000f37d
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x864], eax
mov ecx, dword [ebp - 0x864]
mov dword [ebp - 0x870], ecx
cmp dword [ebp - 0x870], 7
ja case.default.0x1000f3a2
mov edx, dword [ebp - 0x870]
jmp dword [edx*4 + 0x1000f8b0]
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov edx, dword [ebp - 0x85c]
movzx eax, byte [ecx + edx]
and eax, 0x7f
mov ecx, dword [ebp - 0x860]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov ecx, dword [ebp - 0x85c]
mov byte [edx + ecx], al
jmp case.default.0x1000f3a2
mov edx, dword [ebp - 0x860]
shl edx, 6
lea eax, [ebp + edx - 0x850]
mov ecx, dword [ebp - 0x85c]
movzx edx, byte [eax + ecx]
and edx, 0xbf
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov eax, dword [ebp - 0x85c]
mov byte [ecx + eax], dl
jmp case.default.0x1000f3a2
mov ecx, dword [ebp - 0x860]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov eax, dword [ebp - 0x85c]
movzx ecx, byte [edx + eax]
and ecx, 0xdf
mov edx, dword [ebp - 0x860]
shl edx, 6
lea eax, [ebp + edx - 0x850]
mov edx, dword [ebp - 0x85c]
mov byte [eax + edx], cl
jmp case.default.0x1000f3a2
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov edx, dword [ebp - 0x85c]
movzx eax, byte [ecx + edx]
and eax, 0xef
mov ecx, dword [ebp - 0x860]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov ecx, dword [ebp - 0x85c]
mov byte [edx + ecx], al
jmp case.default.0x1000f3a2
mov edx, dword [ebp - 0x860]
shl edx, 6
lea eax, [ebp + edx - 0x850]
mov ecx, dword [ebp - 0x85c]
movzx edx, byte [eax + ecx]
and edx, 0xf7
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov eax, dword [ebp - 0x85c]
mov byte [ecx + eax], dl
jmp case.default.0x1000f3a2
mov ecx, dword [ebp - 0x860]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov eax, dword [ebp - 0x85c]
movzx ecx, byte [edx + eax]
and ecx, 0xfb
mov edx, dword [ebp - 0x860]
shl edx, 6
lea eax, [ebp + edx - 0x850]
mov edx, dword [ebp - 0x85c]
mov byte [eax + edx], cl
jmp case.default.0x1000f3a2
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov edx, dword [ebp - 0x85c]
movzx eax, byte [ecx + edx]
and eax, 0xfd
mov ecx, dword [ebp - 0x860]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov ecx, dword [ebp - 0x85c]
mov byte [edx + ecx], al
jmp case.default.0x1000f3a2
mov edx, dword [ebp - 0x860]
shl edx, 6
lea eax, [ebp + edx - 0x850]
mov ecx, dword [ebp - 0x85c]
movzx edx, byte [eax + ecx]
and edx, 0xfe
mov eax, dword [ebp - 0x860]
shl eax, 6
lea ecx, [ebp + eax - 0x850]
mov eax, dword [ebp - 0x85c]
mov byte [ecx + eax], dl
jmp 0x1000f30f
mov byte [ebp - 0x450], 0
push 0x43d
push 0
lea ecx, [ebp - 0x44f]
push ecx
call fcn.1004e3d0
add esp, 0xc
mov byte [ebp - 0x450], 0x42
mov byte [ebp - 0x44f], 0x4d
mov byte [ebp - 0x44e], 0x3e
mov byte [ebp - 0x44d], 4
mov byte [ebp - 0x44c], 0
mov byte [ebp - 0x44b], 0
mov byte [ebp - 0x44a], 0
mov byte [ebp - 0x449], 0
mov byte [ebp - 0x448], 0
mov byte [ebp - 0x447], 0
mov byte [ebp - 0x446], 0x3e
mov byte [ebp - 0x445], 0
mov byte [ebp - 0x444], 0
mov byte [ebp - 0x443], 0
mov byte [ebp - 0x442], 0x28
mov byte [ebp - 0x441], 0
mov byte [ebp - 0x440], 0
mov byte [ebp - 0x43f], 0
mov byte [ebp - 0x43e], 0x80
mov byte [ebp - 0x43d], 0
mov byte [ebp - 0x43c], 0
mov byte [ebp - 0x43b], 0
mov byte [ebp - 0x43a], 0x40
mov byte [ebp - 0x439], 0
mov byte [ebp - 0x438], 0
mov byte [ebp - 0x437], 0
mov byte [ebp - 0x436], 1
mov byte [ebp - 0x435], 0
mov byte [ebp - 0x434], 1
mov byte [ebp - 0x433], 0
mov byte [ebp - 0x432], 0
mov byte [ebp - 0x431], 0
mov byte [ebp - 0x430], 0
mov byte [ebp - 0x42f], 0
mov byte [ebp - 0x42e], 0
mov byte [ebp - 0x42d], 4
mov byte [ebp - 0x42c], 0
mov byte [ebp - 0x42b], 0
mov byte [ebp - 0x42a], 0
mov byte [ebp - 0x429], 0
mov byte [ebp - 0x428], 0
mov byte [ebp - 0x427], 0
mov byte [ebp - 0x426], 0
mov byte [ebp - 0x425], 0
mov byte [ebp - 0x424], 0
mov byte [ebp - 0x423], 0
mov byte [ebp - 0x422], 0
mov byte [ebp - 0x421], 0
mov byte [ebp - 0x420], 0
mov byte [ebp - 0x41f], 0
mov byte [ebp - 0x41e], 0
mov byte [ebp - 0x41d], 0
mov byte [ebp - 0x41c], 0
mov byte [ebp - 0x41b], 0
mov byte [ebp - 0x41a], 0
mov byte [ebp - 0x419], 0
mov byte [ebp - 0x418], 0
mov byte [ebp - 0x417], 0
mov byte [ebp - 0x416], 0xff
mov byte [ebp - 0x415], 0xff
mov byte [ebp - 0x414], 0xff
mov byte [ebp - 0x413], 0
mov dword [ebp - 0x854], 0x3e
mov dword [ebp - 0x868], 0
jmp 0x1000f782
mov edx, dword [ebp - 0x868]
add edx, 1
mov dword [ebp - 0x868], edx
cmp dword [ebp - 0x868], 0x40
jge 0x1000f7e8
mov dword [ebp - 0x86c], 0
jmp 0x1000f7a6
mov eax, dword [ebp - 0x86c]
add eax, 1
mov dword [ebp - 0x86c], eax
cmp dword [ebp - 0x86c], 0x10
jge 0x1000f7e6
mov ecx, dword [ebp - 0x86c]
shl ecx, 6
lea edx, [ebp + ecx - 0x850]
mov eax, dword [ebp - 0x854]
mov ecx, dword [ebp - 0x868]
mov dl, byte [edx + ecx]
mov byte [ebp + eax - 0x450], dl
mov eax, dword [ebp - 0x854]
add eax, 1
mov dword [ebp - 0x854], eax
jmp 0x1000f797
jmp 0x1000f773
mov dword [ebp - 4], 0
push 0x100641f0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.100486a2
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x1000f83c
mov dword [ebp - 8], 0xffffff35
mov eax, dword [ebp - 8]
push eax
push str.OUT___Result__d_
push 1
push 0x10064208
push 1
push str.ksnetcomm.cat
push 0x100720a0
call fcn.100122f0
add esp, 0x1c
mov eax, dword [ebp - 8]
jmp 0x1000f89d
mov ecx, dword [ebp - 4]
push ecx
push 0x43e
push 1
lea edx, [ebp - 0x450]
push edx
call fcn.10048b1f
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.10048d27
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
push 0x10064220
push 1
push 0x1006422c
push 1
push str.ksnetcomm.cat
push 0x100720a0
call fcn.100122f0
add esp, 0x1c
push 0x10004
push 0
push 0x100794b8
call fcn.1004e3d0
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10048168
mov esp, ebp
pop ebp
ret 4