Function at 0x42eeb0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x5444
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x5440], eax
mov eax, dword [esp + 0x5448]
push edi
mov edi, dword [esp + 0x5450]
push eax
call fcn.0045cbf0
add esp, 4
test eax, eax
je 0x42f151
mov cl, byte [edi]
cmp cl, 1
je 0x42ef19
cmp cl, 2
je 0x42ef19
push str.Error_al_obtener_configuracion_de_maquina.
push 0
call fcn.0042a000
add esp, 8
pop edi
mov ecx, dword [esp + 0x5440]
xor ecx, esp
call fcn.004c6212
add esp, 0x5444
ret
mov edx, dword [eax + 0xc]
push ebx
mov ebx, dword [edi + 1]
push ebp
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.004483f0
lea eax, [esp + 0x24]
push 0x4dc4a6
push eax
mov esi, 0xa
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ebp, [edi + 0xa]
add esp, 0x10
cmp byte [ebp], 0xa
je 0x42ef5c
cmp esi, ebx
jge 0x42ef5c
inc esi
cmp byte [edi + esi], 0xa
jne 0x42ef51
inc esi
cmp byte [edi + esi], 0x3a
je 0x42ef6e
cmp esi, ebx
jge 0x42ef6e
inc esi
cmp byte [edi + esi], 0x3a
jne 0x42ef63
add esi, 2
cmp esi, ebx
jge 0x42ef96
mov al, byte [edi + esi]
xor ecx, ecx
cmp al, 0xa
je 0x42ef91
mov edi, edi
cmp esi, ebx
jge 0x42ef91
inc esi
mov byte [esp + ecx + 0x1c], al
mov al, byte [edi + esi]
inc ecx
cmp al, 0xa
jne 0x42ef80
mov byte [esp + ecx + 0x1c], 0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042ed00
push eax
call fcn.0045cd30
mov esi, eax
add esp, 8
test esi, esi
je 0x42eff6
cmp byte [edi], 2
lea edx, [esp + 0x1c]
lea eax, [esp + 0x80]
push edx
push eax
je 0x42efe5
push str.Obtenida_configuracion_de_maquina__s___s_
push 0
call fcn.0042a000
push 0
push 0
push 0
push ebp
lea ecx, [ebx - 5]
push ecx
push esi
push 1
call fcn.0041da90
add esp, 0x2c
jmp 0x42f00a
push str.Obtenida_configuracion_de_maquina__s___s_._No_se_envia_a_base_de_datos.
push 0
call fcn.0042a000
add esp, 0x10
jmp 0x42f00a
lea ecx, [esp + 0x1c]
push ecx
push str.Error_al_guardar_la_configuracion_de_una_maquina._No_encontramos_la_maquina__s
push 0
call fcn.0042a000
add esp, 0xc
cmp byte [edi], 2
jne 0x42f14e
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x454]
push ecx
lea eax, [ebx - 5]
push eax
push ebp
mov ecx, 0x551330
mov dword [esp + 0x28], eax
call fcn.0042c1d0
lea edx, [esp + 0x1c]
push edx
call fcn.0042a540
add esp, 4
push 0x104
lea eax, [esp + 0x250]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [esp + 0x358]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.MSVCR100.dll__splitpath]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x368]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x168]
push str._s_sLog_sAjustes.enc
push ecx
call edi
lea edx, [esp + 0x170]
push 0x4de088
push edx
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 0x30
test esi, esi
je 0x42f137
push 0x4de08c
push 0x4de090
lea eax, [esp + 0xec]
push 0x4de098
push eax
call edi
lea eax, [esp + 0xf4]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f0e1
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
push esi
sub eax, edx
push 1
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x30]
push 4
push edx
call edi
push esi
push 1
lea eax, [esp + 0x38]
push 4
push eax
call edi
mov ecx, dword [esp + 0x40]
push esi
push 1
push ecx
lea edx, [esp + 0x48c]
push edx
call edi
add esp, 0x40
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
jmp 0x42f14e
lea eax, [esp + 0x148]
push eax
push 0x4de0b0
push 0
call fcn.0042a000
add esp, 0xc
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5444]
pop edi
xor ecx, esp
call fcn.004c6212
add esp, 0x5444
ret