Function at 0x1000e590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002408b
mov eax, dword fs:[0]
push eax
sub esp, 0x204
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x210]
mov ecx, 0x81
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x148], 0
call fcn.1000ebb0
mov dword [ebp - 0x1f8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.1000eb00
add esp, 8
movzx edx, al
test edx, edx
je 0x1000e617
lea eax, [ebp + 8]
push eax
call fcn.1000eb40
add esp, 4
jmp 0x1000ea3d
mov esi, esp
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.MSVCP100D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp esi, esp
call fcn.10021000
test eax, eax
je 0x1000e683
mov esi, esp
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.MSVCP100D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp esi, esp
call fcn.10021000
mov esi, eax
mov edi, esp
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.MSVCP100D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
cmp edi, esp
call fcn.10021000
cmp esi, eax
jae 0x1000e683
lea eax, [ebp + 8]
push eax
call fcn.1000ead0
add esp, 4
mov bl, al
mov esi, esp
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.MSVCP100D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
cmp esi, esp
call fcn.10021000
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x1000ea3d
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x54], 0
jne 0x1000e696
call fcn.1000ebb0
jmp 0x1000ea3d
mov ecx, dword [ebp - 0x18]
call fcn.100124a0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x44], 0
jne 0x1000e6f3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.1000ead0
add esp, 4
movzx eax, al
push eax
call fcn.1000ebe0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1000e6d8
mov edx, dword [ebp + 8]
mov dword [ebp - 0x200], edx
jmp 0x1000e6e3
call fcn.1000ebb0
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
jmp 0x1000ea3d
mov dword [ebp - 0x24], 8
lea eax, [ebp + 8]
push eax
call fcn.1000ead0
add esp, 4
mov byte [ebp - 0x2d], al
push 0
push 8
lea ecx, [ebp - 0x70]
call fcn.1000da50
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1000dcc0
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x204], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x204]
call fcn.10013320
mov edi, eax
lea ecx, [ebp - 0x70]
call fcn.10002450
add edi, eax
push edi
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000dcc0
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20c]
call fcn.10013320
push eax
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2d]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x4c
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x44]
call dword [sym.imp.MSVCP100D.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.100089f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e0]
call fcn.100089f0
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0
jl 0x1000ea07
cmp dword [ebp - 0x210], 1
jle 0x1000e80e
cmp dword [ebp - 0x210], 3
je 0x1000e9b3
jmp 0x1000ea07
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000dcc0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x204]
call fcn.10013320
mov edx, dword [ebp - 0x48]
sub edx, eax
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.100089f0
cmp dword [ebp - 0x7c], 0
jbe 0x1000e8cb
mov esi, esp
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
push 1
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000dcc0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x148]
or edx, 1
mov dword [ebp - 0x148], edx
mov ecx, dword [ebp - 0x204]
call fcn.10013320
push eax
call dword [sym.imp.MSVCR100D.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.10021000
cmp dword [ebp - 0x7c], eax
je 0x1000e8cb
mov dword [ebp - 0x208], 1
jmp 0x1000e8d5
mov dword [ebp - 0x208], 0
mov al, byte [ebp - 0x208]
mov byte [ebp - 0x1a1], al
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x148]
and ecx, 1
je 0x1000e905
and dword [ebp - 0x148], 0xfffffffe
lea ecx, [ebp - 0x198]
call fcn.100089f0
movzx edx, byte [ebp - 0x1a1]
test edx, edx
je 0x1000e935
call fcn.1000ebb0
mov dword [ebp - 0x184], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10002320
mov eax, dword [ebp - 0x184]
jmp 0x1000ea3d
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x49], 1
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2d]
cmp eax, ecx
je 0x1000e969
mov eax, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10002320
mov eax, dword [ebp - 0x178]
jmp 0x1000ea3d
cmp dword [ebp - 0x7c], 0
jbe 0x1000e971
jmp 0x1000e9b1
lea ecx, [ebp - 0x70]
call fcn.10002450
cmp eax, 0x20
jae 0x1000e98c
push 0
push 8
lea ecx, [ebp - 0x70]
call fcn.10011450
jmp 0x1000e9b1
call fcn.1000ebb0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10002320
mov eax, dword [ebp - 0x16c]
jmp 0x1000ea3d
jmp 0x1000ea29
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
push ecx
movzx edx, byte [ebp - 0x2d]
push edx
call fcn.1000ebe0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000e9d9
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x200], ecx
jmp 0x1000e9e4
call fcn.1000ebb0
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10002320
mov eax, dword [ebp - 0x160]
jmp 0x1000ea3d
call fcn.1000ebb0
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10002320
mov eax, dword [ebp - 0x154]
jmp 0x1000ea3d
jmp 0x1000e71c
push edx
mov ecx, ebp
push eax
lea edx, [0x1000ea7c]
call fcn.10021030
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10021220
add esp, 0x210
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret 4