Function at 0x1000f3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x18]
mov eax, esi
imul eax, eax, 0x366
push edi
mov dword [ebp - 0xc], eax
cmp esi, eax
ja 0x1000f612
mov edi, dword [ebp + 0x10]
jmp 0x1000f3e0
cmp esi, 0x1080
ja 0x1000f5ab
je 0x1000f54b
cmp esi, 0x30
ja 0x1000f4d4
je 0x1000f4bd
mov eax, esi
sub eax, 0x25
je 0x1000f477
sub eax, 2
jne 0x1000f601
mov eax, dword [0x10040174]
mov edx, dword [ebp + 0x1c]
push 0x1000dcf0
lea ecx, [edi + 4]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [edx]
mov edx, dword [edi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x1000f61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000f61b
push eax
push 0xbc
push eax
push eax
call fcn.1001ed30
mov eax, dword [0x10040174]
push 0x4e
add eax, 0x210
push eax
push 0x10040154
call fcn.10023a30
add esp, 0x1c
jmp 0x1000f601
test edi, edi
jne 0x1000f4ac
push str.Module_name:
push 0x1003455f
push 0
push 0x1003455f
push 0x1003455c
push 2
call fcn.100021f0
mov eax, 2
add esp, 0x18
mov esi, 0x194b
mov ebx, eax
jmp 0x1000f601
cmp dword [ebp + 0xc], 0
jne 0x1000f601
push str.Packa_upp_h
jmp 0x1000f480
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0
test edi, edi
je 0x1000f5c5
jmp 0x1000f601
cmp esi, 0xcb8
je 0x1000f4fc
cmp esi, 0xd68
jne 0x1000f601
cmp dword [edi + 4], 0
jne 0x1000f61b
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x1000f510
push str.CorDebugPlatform
jmp 0x1000f480
cmp dword [edi + 0x74], 0
jne 0x1000f601
push str._WARNING:_s__d___Broker:_ClearSiteData___failed.
push 0x1003455f
push 0
push 0x1003455f
push 0x1003455c
push 2
call fcn.100021f0
mov eax, 7
add esp, 0x18
mov esi, 0x194b
mov ebx, eax
jmp 0x1000f601
cmp dword [edi + 0x10], 0
jne 0x1000f582
push str.finalize_plugin_callback_is_not_defined
push 0x1003455f
push 0
push 0x1003455f
push 0x1003455c
push 2
call fcn.100021f0
mov dword [ebp - 8], 7
mov ebx, dword [ebp - 8]
add esp, 0x18
mov esi, 0x20d0
jmp 0x1000f601
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
push eax
call edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb4]
push ecx
call fcn.100271f9
mov edx, dword [ebp - 4]
push edx
call fcn.100271f9
add esp, 0xc
jmp 0x1000f601
cmp esi, 0x25de
ja 0x1000f5f9
je 0x1000f612
cmp esi, 0x194b
je 0x1000f5cf
cmp esi, 0x20d0
jne 0x1000f601
mov ebx, dword [ebp - 8]
mov esi, 0x20d0
jmp 0x1000f601
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [edi + 0x74]
push edx
push eax
push edi
call ecx
add esp, 0x18
mov esi, 0x194b
mov ebx, eax
jmp 0x1000f601
cmp esi, 0x3120
je 0x1000f612
mov edx, dword [ebp + 0x18]
imul edx, edx, 0x57
add esi, edx
cmp esi, dword [ebp - 0xc]
jbe 0x1000f3e0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret