Function at 0x42d260
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa484
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0xa480], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa494]
mov eax, dword [esi]
mov bl, byte [esi + 4]
mov ebp, dword [esi + 5]
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], 0
mov byte [esp + 0x1b], 0
add esi, 9
call fcn.00429b30
movzx eax, bl
add esp, 8
cmp eax, 7
ja case.default.0x42d2b5
jmp dword [eax*4 + 0x42d5c0]
lea ecx, [esp + 0x20]
push ecx
push str.Maquina__s_envia_su_cts.
push 0
call fcn.0042a000
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea edx, [esp + 0x90]
push str.CtsInfo.bin
push edx
call edi
jmp 0x42d3fb
lea eax, [esp + 0x20]
push eax
push str.Maquina__s_envia_su_flash_de_test.
push 0
call fcn.0042a000
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [esp + 0x90]
push str.FlashInfoTest.bin
push ecx
call edi
jmp 0x42d3fb
lea edx, [esp + 0x20]
push edx
push str.Maquina__s_envia_su_flash_de_contabilidad.
push 0
call fcn.0042a000
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [esp + 0x90]
push str.FlashInfoConta.bin
push eax
call edi
jmp 0x42d3fb
lea ecx, [esp + 0x20]
push ecx
push str.Maquina__s_envia_su_flash_de_Ips.
push 0
call fcn.0042a000
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea edx, [esp + 0x90]
push str.FlashInfoIps.bin
push edx
call edi
jmp 0x42d3fb
lea eax, [esp + 0x20]
push eax
push str.Maquina__s_envia_su_E2prom.
push 0
call fcn.0042a000
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [esp + 0x90]
push str.E2promInfo.bin
push ecx
call edi
jmp 0x42d3fb
lea edx, [esp + 0x20]
push edx
push str.Maquina__s_envia_su_estadistica_en_formato_texto.
push 0
call fcn.0042a000
push str.Estad.enc
lea eax, [esp + 0x94]
push eax
jmp 0x42d3ee
lea ecx, [esp + 0x20]
push ecx
push str.Maquina__s_envia_su_contabilidad_en_formato_texto.
push 0
call fcn.0042a000
push str.Conta.enc
lea edx, [esp + 0x94]
push edx
jmp 0x42d3ee
lea eax, [esp + 0x20]
push eax
push str.Maquina__s_envia_sus_ultimas_jugadas_en_formato_texto.
push 0
call fcn.0042a000
push str.Ultimas.enc
lea ecx, [esp + 0x94]
push ecx
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
call edi
mov byte [esp + 0x27], 1
add esp, 0x14
test ebp, ebp
je 0x42d433
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x498]
push eax
push ebp
push esi
call fcn.00471720
add esp, 0x14
test eax, eax
je 0x42d433
push str.Error_descomprimiendo_la_informacion.
push 0
call fcn.0042a000
add esp, 8
jmp 0x42d5a6
lea ecx, [esp + 0x20]
push ecx
call fcn.0042a540
add esp, 4
push 0x104
lea edx, [esp + 0x390]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea eax, [esp + 0x294]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x39c]
push edx
call dword [sym.imp.MSVCR100.dll__splitpath]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2a8]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1ac]
push str._s_sLog_s_s
push ecx
call edi
lea edx, [esp + 0x1b4]
push 0x4e0efc
push edx
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 0x34
test esi, esi
je 0x42d587
cmp byte [esp + 0x13], 0
je 0x42d562
push 0x4e0f94
push 0x4e1738
lea eax, [esp + 0x28]
push str.Bos_Integrator__s._s_n
push eax
call edi
lea eax, [esp + 0x30]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d4e8
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
push esi
sub eax, edx
push 1
push eax
lea ecx, [esp + 0x2c]
push ecx
call edi
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x5494]
push eax
push ecx
lea edx, [esp + 0x49c]
push edx
mov ecx, 0x551330
call fcn.0042c1d0
push esi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call edi
push esi
push 1
lea ecx, [esp + 0x30]
push 4
push ecx
call edi
mov edx, dword [esp + 0x38]
push esi
push 1
push edx
lea eax, [esp + 0x54bc]
push eax
call edi
add esp, 0x30
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
jmp 0x42d5a6
mov ecx, dword [esp + 0x14]
push esi
push 1
push ecx
lea edx, [esp + 0x49c]
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
jmp 0x42d5a6
lea eax, [esp + 0x188]
push eax
push str.Error_al_abrir_el_fichero__s_
jmp 0x42d59c
push eax
push str.Tipo__d_no_reconocido
push 0
call fcn.0042a000
add esp, 0xc
mov ecx, dword [esp + 0xa490]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0xa484
ret