Function at 0x413810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x7848
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x7844], eax
mov eax, dword [esp + 0x7850]
movzx ecx, word [eax]
push ebp
xor ebp, ebp
push ebp
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x110]
push edx
push ecx
add eax, 2
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x54], ebp
call fcn.00471720
add esp, 0x14
test eax, eax
jne 0x413df9
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0x108]
jne 0x413df9
push ebx
push esi
lea eax, [esp + 0x54]
push edi
push eax
call fcn.0044a5f0
lea ecx, [esp + 0x64]
push ecx
call fcn.0044a5d0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 0x19d
jne 0x413a0e
lea edx, [esp + 0x142]
push edx
call fcn.0045cd70
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x413921
movzx eax, byte [esp + 0x147]
movzx ecx, byte [esp + 0x146]
movzx edx, byte [esp + 0x145]
push eax
movzx eax, byte [esp + 0x148]
push ecx
movzx ecx, byte [esp + 0x14b]
push edx
movzx edx, byte [esp + 0x14e]
push eax
push ecx
push edx
push str.No_encontramos_maquina_0x_2X_2X_2X_2X_2X_2X_para_enviar_la_puntuacion
push ebp
call fcn.0042a000
add esp, 0x20
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x7844]
xor ecx, esp
call fcn.004c6212
add esp, 0x7848
ret
cmp byte [esp + 0x118], 0
jne 0x413957
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov byte [esp + 0x12c], al
lea ecx, [esp + 0x14c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x150]
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x148]
lea ecx, [esp + 0x2a9]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x2ad]
lea eax, [esp + 0x15c]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esp + 0x164]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x154]
lea eax, [esp + 0x2a5]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
lea esi, [esp + 0x914]
cmp ecx, ebp
jle 0x413bc1
lea eax, [esp + 0x169]
lea ecx, [ecx]
mov edx, dword [eax - 4]
mov dword [esi], edx
mov edx, dword [eax]
mov dword [esi + 4], edx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
movzx edx, word [eax + 8]
mov word [esi + 0xc], dx
movzx edx, word [eax + 0xa]
mov word [esi + 0xe], dx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov word [esi + 0x20], bp
add esi, 0x22
add eax, 0x10
dec ecx
jne 0x4139d0
jmp 0x413bc1
cmp eax, 0x7c7
jne 0x413a2a
lea eax, [esp + 0x114]
push eax
call fcn.0040dbb0
add esp, 4
jmp 0x413908
mov ecx, dword [esp + 0x156]
push ecx
call fcn.0045cd30
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x413a62
mov edx, dword [esp + 0x156]
push edx
push ebp
call fcn.00429b30
push eax
push str.Error_al_guardar_una_puntuacion._No_hemos_encontrado_la_maquina__s_que_envia_la_alarma.
push ebp
call fcn.0042a000
add esp, 0x14
jmp 0x413908
cmp byte [esp + 0x118], 0
lea eax, [esp + 0x142]
lea ecx, [esp + 0x146]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x36b]
lea eax, [esp + 0x152]
lea ecx, [esp + 0x14a]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14e]
lea eax, [esp + 0x363]
lea ecx, [esp + 0x367]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
jne 0x413af0
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov byte [esp + 0x12c], al
movzx edi, byte [esp + 0x15a]
lea esi, [esp + 0x914]
cmp edi, ebp
jle 0x413b62
lea ecx, [esp + 0x15f]
lea ebx, [ebx]
mov edx, dword [ecx - 4]
mov eax, dword [ecx]
mov dword [esi], edx
mov edx, dword [ecx + 4]
mov dword [esi + 4], eax
mov ax, word [ecx + 8]
mov dword [esi + 8], edx
mov dx, word [ecx + 0xa]
mov word [esi + 0xc], ax
mov eax, dword [ecx + 0xc]
mov word [esi + 0xe], dx
cdq
mov ebp, 0x64
idiv ebp
add esi, 0x22
add ecx, 0x1a
mov dword [esi - 0x12], eax
mov eax, dword [ecx - 0xa]
mov dword [esi - 0xe], edx
cdq
idiv ebp
dec edi
mov dword [esi - 0xa], eax
mov al, byte [ecx - 6]
mov dword [esi - 6], edx
mov dl, byte [ecx - 5]
mov byte [esi - 2], al
mov byte [esi - 1], dl
jne 0x413b10
mov eax, dword [esp + 0x10]
cmp eax, 0x273
jb 0x413bc1
mov ecx, dword [esp + 0x36f]
mov edx, dword [esp + 0x373]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x377]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x37b]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x37f]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x383]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], edx
cmp eax, 0x277
jne 0x413bc1
mov eax, dword [esp + 0x387]
mov dword [esp + 0x4c], eax
call fcn.00422ad0
mov ecx, dword [esp + 0x785c]
mov ebp, dword [sym.imp.MSVCR100.dll___daylight]
mov edi, eax
mov dword [edi], ecx
mov dword [edi + 0x14], 1
call ebp
mov edx, dword [eax]
mov dword [esp + 0x50], edx
call dword [sym.imp.MSVCR100.dll___timezone]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
call ebp
mov dword [eax], 1
call dword [sym.imp.MSVCR100.dll___timezone]
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [eax], 0
call dword [sym.imp.MSVCR100.dll__localtime32]
push eax
push 0x4d3144
lea edx, [esp + 0xf4]
push 0x28
push edx
call dword [sym.imp.MSVCR100.dll_strftime]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.MSVCR100.dll__localtime32]
push eax
push 0x4d319c
lea ecx, [esp + 0xdc]
push 0x28
push ecx
call dword [sym.imp.MSVCR100.dll_strftime]
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.MSVCR100.dll__localtime32]
push eax
push 0x4d3250
lea eax, [esp + 0xc4]
push 0x28
push eax
call dword [sym.imp.MSVCR100.dll_strftime]
add esp, 0x3c
call ebp
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
call dword [sym.imp.MSVCR100.dll___timezone]
mov edx, dword [esp + 0x54]
mov ebp, dword [sym.imp.MSVCR100.dll_sprintf]
mov dword [eax], edx
cmp byte [ebx + 0x188], 0
je 0x413cbe
mov eax, dword [ebx + 0x188]
mov dword [esp + 0x68], eax
mov ecx, dword [ebx + 0x18c]
mov dword [esp + 0x6c], ecx
mov edx, dword [ebx + 0x190]
mov dword [esp + 0x70], edx
mov eax, dword [ebx + 0x194]
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], 0
jmp 0x413cee
movzx ecx, byte [ebx + 0x17]
movzx edx, byte [ebx + 0x16]
movzx eax, byte [ebx + 0x15]
push ecx
movzx ecx, byte [ebx + 0x14]
push edx
movzx edx, byte [ebx + 0x13]
push eax
movzx eax, byte [ebx + 0x12]
push ecx
push edx
push eax
lea ecx, [esp + 0x80]
push 0x4d3264
push ecx
call ebp
add esp, 0x20
mov edx, dword [ebx + 0x30]
push edx
lea eax, [esp + 0x80]
push 0x4d3280
push eax
call ebp
lea ecx, [esp + 0x920]
sub esi, ecx
push esi
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
push esi
lea edx, [esp + 0x928]
push edx
push eax
mov dword [edi + 0x18], eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x44]
lea eax, [ebx + 0x199]
push eax
push ecx
push edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
push eax
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
mov dword [edi + 0x1c], esi
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0xcc]
push edx
movzx edx, byte [ebx + 8]
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
push ecx
push eax
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x14c]
push edx
push eax
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x19d]
push edx
lea eax, [esp + 0x196]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x28d4]
push str.___CALL_bas.sp_MovimientoPuntuacionCabinet___s__s__s__s__s__d__s__s__d__d__d__d__d__d__d__s__s__d__d__d__d__d__d__d__s___0_
push eax
call ebp
add esp, 0x88
push 0
push edi
lea ecx, [esp + 0x285c]
push ecx
push 0x15
call fcn.00427640
add esp, 0x10
jmp 0x413908
push str.Error_desencriptando_la_informacion_de_puntuacion_de_una_maquina.
push ebp
call fcn.0042a000
mov ecx, dword [esp + 0x7850]
add esp, 8
pop ebp
xor ecx, esp
call fcn.004c6212
add esp, 0x7848
ret