Function at 0x100024b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028c52
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x10033218]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
push 0x10029578
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x890], 7
mov dword [ebp - 0x894], 0
mov word [ebp - 0x8a4], ax
call fcn.10003c20
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x874], ax
lea eax, [ebp - 0x872]
push eax
mov dword [ebp - 4], 0
call fcn.10008250
add esp, 0xc
lea eax, [ebp - 0x874]
push 0x3fc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x874]
push 0x5c
push eax
call fcn.10006524
mov edx, eax
add esp, 8
test edx, edx
je 0x1000256b
add edx, 2
jmp 0x10002571
lea edx, [ebp - 0x874]
cmp word [edx], 0
jne 0x1000257b
xor ecx, ecx
jmp 0x1000258f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002580
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8a4]
call fcn.10003c20
xor eax, eax
push eax
push 0x10029578
lea ecx, [ebp - 0x88c]
mov dword [ebp - 0x878], 7
mov dword [ebp - 0x87c], 0
mov word [ebp - 0x88c], ax
call fcn.10003c20
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 1
call dword [sym.imp.bravo.dll_public:_void___thiscall_bravo::ustring::constructor_void_]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.bravo.dll_public:_static_class_bravo::XmlRegistry____cdecl_bravo::XmlRegistry::getInstance_class_bravo::ustring_const__]
add esp, 4
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 1
call dword [sym.imp.bravo.dll_public:_void___thiscall_bravo::ustring::destructor_void_]
call dword [sym.imp.bravo.dll_public:_static_wchar_t_const____cdecl_bravo::XmlRegistry::getHome_void_]
mov edx, eax
cmp word [edx], 0
jne 0x1000260a
xor ecx, ecx
jmp 0x1000261f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002610
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88c]
call fcn.10003c20
push 6
push str.logs_
lea ecx, [ebp - 0x88c]
call fcn.10003710
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x88c]
call fcn.100035b0
push 4
push str..log
lea ecx, [ebp - 0x88c]
call fcn.10003710
test ebx, ebx
je 0x10002793
cmp dword [ebp - 0x87c], 0
je 0x10002793
cmp dword [ebp - 0x878], 8
push 0
push 0x80
push 4
push 0
push 3
lea eax, [ebp - 0x88c]
cmovae eax, dword [ebp - 0x88c]
push 0x40000000
push eax
mov dword [ebp - 0x8ac], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002793
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x8b4]
push eax
call fcn.1000768f
lea eax, [ebp - 0x8b4]
push eax
call fcn.100073f2
push 0x63
mov esi, eax
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.10008250
mov word [ebp - 0x8a8], 0xa0d
mov byte [ebp - 0x8a6], 0
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x74]
push str.__04d__02d__02d__02d:_2d::_02d_
push eax
call fcn.10006f26
lea ecx, [ebp - 0x74]
add esp, 0x34
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002735
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x8ac]
push eax
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
push eax
push edi
call esi
mov ecx, ebx
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002760
push 0
lea eax, [ebp - 0x8ac]
push eax
sub ecx, edx
push ecx
push ebx
push edi
call esi
push 0
lea eax, [ebp - 0x8ac]
push eax
push 2
lea eax, [ebp - 0x8a8]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x878], 8
jb 0x100027aa
push dword [ebp - 0x88c]
call fcn.10005cb9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x890], 8
mov dword [ebp - 0x878], 7
mov dword [ebp - 0x87c], 0
mov word [ebp - 0x88c], ax
jb 0x100027de
push dword [ebp - 0x8a4]
call fcn.10005cb9
add esp, 4
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.100076de
mov esp, ebp
pop ebp
ret