joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
cmp ecx, ebx
jne 0x437e12
pop esi
xor al, al
pop ebx
ret
push edi
cmp dword [esi + 0x2c], ebx
je 0x437e45
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x2c]
jb 0x437e3f
mov ecx, esi
mov dword [esi + 0x2c], ebx
call fcn.00437ab0
test al, al
jne 0x437e3a
pop edi
pop esi
pop ebx
ret
call edi
mov dword [esi + 0x20], eax
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
call fcn.00438ed0
mov ecx, dword [esi + 0x1c]
movsx ebp, al
inc ebp
call fcn.00438ea0
mov edi, eax
imul edi, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [esi + 0x20]
cmp eax, edi
jb 0x437ed1
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov dword [esi + 0x3c], ecx
cmp ecx, dword [esi + 0x30]
jne 0x437eb9
cmp byte [esi + 0x24], bl
je 0x437eac
mov ecx, dword [esi + 0x1c]
call fcn.00438e70
inc al
movzx eax, al
push eax
mov ecx, esi
call fcn.00436920
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x437eac
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov ecx, esi
mov dword [esi + 0x3c], edx
call fcn.00437ab0
test al, al
jne 0x437ecc
pop ebp
pop edi
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x24], bl
pop esi
xor al, al
pop ebx
ret
mov ecx, esi
call fcn.00437ab0
test al, al
jne 0x437ecc
pop ebp
pop edi
mov dword [esi + 0x1c], ebx
pop esi
pop ebx
ret
call ebp
mov dword [esi + 0x20], eax
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x442190
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
call fcn.0043e6d0
cmp al, 1
je 0x4422a8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0xec]
cmp eax, 0x1388
jbe 0x4421ce
mov ecx, esi
call fcn.0043e690
test al, al
je 0x4421c6
call fcn.0043f500
call edi
mov dword [esi + 0xec], eax
cmp dword [esi + 0xdc], 0
je 0x442203
call edi
mov ecx, dword [esi + 0xdc]
sub eax, dword [esi + 0xe0]
imul ecx, ecx, 0xea60
cmp eax, ecx
jbe 0x442203
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
cmp dword [esi + 0xe8], 0
je 0x44222c
call edi
sub eax, dword [esi + 0xe8]
cmp eax, 0x1388
jbe 0x44222c
mov ecx, esi
call fcn.0043f880
mov dword [esi + 0xe8], 0
cmp dword [esi + 0xe4], 0
je 0x442296
call edi
sub eax, dword [esi + 0xe4]
cmp eax, 0x927c0
jbe 0x442296
mov ecx, esi
call fcn.0043e390
push eax
call fcn.0043e520
push eax
call fcn.0043e3f0
push eax
push str.Bonus_comunitarios:_Timeout_en_el_sorteo__d_del_bonus__s__d.
push 0
call fcn.0042a000
add esp, 0x14
push 0
mov ecx, esi
call fcn.0043e3f0
push eax
call fcn.0043e390
push eax
call fcn.0043e3d0
movzx edx, al
push edx
push 0xbd
push 0
call fcn.0041dd40
add esp, 0x18
mov ecx, esi
call fcn.00441600
mov ecx, esi
call fcn.0043e6b0
pop edi
test al, al
je 0x4422a8
pop esi
jmp fcn.0043f650
pop esi
ret
Function at 0x444210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c9f08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
push 0xc
mov dword [esi + 4], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x4442e5
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
push 0xc
mov dword [esp + 0x3c], ebx
mov dword [esi + 0x10], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x4442bb
mov dword [esi + 0xc], eax
mov dword [eax], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 4], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0xa050100
mov word [esi + 0x48], 0x140f
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x51e22c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x51e22c
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x444690
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x18]
push edi
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0x30]
cmp eax, 0xbb8
jbe 0x4446c2
mov ecx, esi
call fcn.00443c60
call ebx
mov dword [esi + 0x30], eax
mov eax, dword [esi]
mov edi, dword [eax]
cmp edi, eax
je 0x4446de
lea ebx, [ebx]
mov ecx, dword [edi + 8]
call fcn.00442190
mov edi, dword [edi]
cmp edi, dword [esi]
jne 0x4446d0
cmp dword [esi + 0x34], 0
je 0x444704
call ebx
mov ecx, dword [esi + 0x34]
sub eax, dword [esi + 0x38]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jbe 0x444704
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
cmp dword [esi + 0x40], 0
je 0x444739
mov ecx, esi
call fcn.00443b00
movzx edi, al
imul edi, edi, 0xea60
call ebx
sub eax, dword [esi + 0x40]
cmp eax, edi
jbe 0x444739
push str.Bonus_comunitarios:_Finalizada_la_pausa_para_poder_realizar_el_siguiente_sorteo_de_un_bonus_comunitario.
push 0
mov dword [esi + 0x40], 0
call fcn.0042a000
add esp, 8
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x455710
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x114
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov ebx, ecx
mov eax, dword [ebx + 0xe40]
push 0x184
push eax
call ebp
push 0xff
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x4557b6
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4557b5
mov eax, dword [edi + 0xc]
push esi
xor esi, esi
cmp dword [eax], esi
je 0x4557b4
xor ecx, ecx
mov eax, dword [eax + ecx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
lea edx, [esp + 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x455784
mov eax, dword [ebx + 0xe40]
lea edx, [esp + 0x10]
push edx
push 0
push 0x180
push eax
call ebp
mov eax, dword [edi + 0xc]
inc esi
cmp dword [eax + esi*4], 0
lea ecx, [esi*4]
jne 0x455772
pop esi
pop edi
mov ecx, dword [esp + 0x118]
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x114
ret

Function at 0x457de0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x457dee
mov eax, 1
ret
cmp eax, 0x80
jbe 0x457df8
xor eax, eax
ret
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x457e05
xor eax, eax
pop ebp
ret
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4 - 5]
push esi
shl eax, 8
push edi
lea edi, [eax + ecx*4 + 0x5257a0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx]
mov esi, ebp
cmp ebp, 0x100
jb 0x457e2f
mov esi, 0x100
xor eax, eax
test esi, esi
jle 0x457e40
mov dl, byte [edi + eax]
xor byte [ecx], dl
inc eax
inc ecx
cmp eax, esi
jl 0x457e35
sub ebp, esi
jne 0x457e20
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
ret
Function at 0x458840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4cbe17
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004582d0
mov bl, al
test bl, bl
je 0x4589c6
cmp byte [esi + 0x6e], 0
jne 0x4588ed
mov ecx, 0x55b9dc
call fcn.00443d70
test al, al
jne 0x4589c6
mov ecx, dword [0x55ba2c]
call fcn.00456ad0
test eax, eax
jne 0x4589c6
movsx eax, byte [esi + 0x68]
dec eax
mov ecx, dword [0x55ba2c]
je 0x4588d9
dec eax
je 0x4588c5
push 0
push 7
push 0
call fcn.00456e90
mov byte [esi + 0x6e], 1
jmp 0x4589c6
push 7
push 7
push 0
call fcn.00456e90
mov byte [esi + 0x6e], 1
jmp 0x4589c6
push 4
push 7
push 0
call fcn.00456e90
mov byte [esi + 0x6e], 1
jmp 0x4589c6
mov ecx, esi
call fcn.004586f0
test al, al
je 0x458904
mov ecx, esi
call fcn.00458770
jmp 0x4589c6
cmp byte [esi + 0x6f], 0
je 0x4589c6
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
movzx ecx, byte [esi + 0x70]
sub eax, dword [esi + 0x74]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x4589c6
mov ecx, 0x55b9dc
call fcn.00443d70
test al, al
jne 0x4589c6
mov ecx, dword [0x55ba2c]
call fcn.00456ad0
test eax, eax
jne 0x4589c6
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00457ef0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00457e60
push eax
mov eax, dword [edi]
push eax
push str.Eventos:_Recordatorio_del_evento__s___d_.
push 0
call fcn.0042a000
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_901]
call ebp
cmp byte [esi + 0x7a], 0
mov dword [esi + 0x74], eax
je 0x45899d
push 2
jmp 0x4589b7
movsx eax, byte [esi + 0x68]
dec eax
je 0x4589b5
dec eax
mov ecx, dword [0x55ba2c]
je 0x4589b1
push 1
jmp 0x4589bd
push 8
jmp 0x4589bd
push 5
mov ecx, dword [0x55ba2c]
push 7
push 0
call fcn.00456e90
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x458db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4cbe99
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x24]
xor ebx, ebx
cmp ecx, ebx
je 0x458e67
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x458e67
mov ecx, dword [edi + 0x24]
lea eax, [esp + 0x14]
push eax
call fcn.00457ef0
mov esi, eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x2c], ebx
call fcn.00457e60
mov ecx, dword [esi]
push eax
push ecx
push str.Eventos:_Finalizado_evento__s___d_.
push ebx
call fcn.0042a000
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [edi + 0x24]
call fcn.00457e80
mov dword [edi + 0x24], ebx
cmp al, 1
jne 0x458e4d
call fcn.00460f10
push ebx
call fcn.00413610
add esp, 4
call fcn.00460eb0
push 1
mov ecx, 0x55b9dc
call fcn.004440b0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [edi + 0x28]
cmp eax, 0x3e8
jb 0x458f43
call esi
mov dword [edi + 0x28], eax
mov eax, dword [edi]
mov ebp, dword [eax]
cmp ebp, eax
je 0x458f43
mov edi, edi
mov edx, dword [edi + 0x24]
cmp edx, dword [ebp + 8]
je 0x458f2e
mov ecx, dword [ebp + 8]
call fcn.00457e80
cmp al, 1
jne 0x458f2e
mov ecx, dword [ebp + 8]
call fcn.00458560
test al, al
je 0x458f2e
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll__time64]
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.004583f0
movzx ecx, al
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
add eax, eax
cdq
add dword [esp + 0x1c], eax
mov eax, dword [edi]
adc dword [esp + 0x20], edx
mov esi, dword [eax]
cmp esi, eax
je 0x458f2a
lea ecx, [ecx]
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
je 0x458f24
mov ecx, dword [esi + 8]
call fcn.004581b0
mov ecx, dword [ebp + 8]
mov bl, al
call fcn.004581b0
cmp bl, al
jge 0x458f24
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
push edx
push eax
call fcn.00458000
test al, al
jne 0x458f2a
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x458ef0
cmp esi, dword [edi]
je 0x458f3b
mov ebp, dword [ebp]
cmp ebp, dword [edi]
jne 0x458e90
jmp 0x458f43
mov ecx, dword [ebp + 8]
call fcn.00458620
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [edi + 0x2c]
cmp eax, 0x3e8
jb 0x458f61
call esi
mov ecx, edi
mov dword [edi + 0x2c], eax
call fcn.004589f0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x459aa0
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x459ae3
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x4f3580
push 0
call fcn.0042a000
add esp, 0xc
jmp 0x459b51
xor eax, eax
push eax
push 1
mov dword [esi + 0x14], eax
push 2
mov dword [esi + 0x18], eax
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi]
push 0x10
lea ecx, [esi + 0xc]
push ecx
push edx
mov dword [esi + 0xfc], eax
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jns 0x459b4b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Error__d_al_conectar_el_socket_para_GEWETE_
push 0
call fcn.0042a000
add esp, 0xc
mov word [esi + 8], 0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004c6212
add esp, 0x194
ret
mov word [esi + 8], 0x101
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004c6212
add esp, 0x194
ret

Function at 0x459bd0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
jne 0x459bde
call fcn.00459b70
cmp byte [esp + 8], 0
jne 0x459c9f
mov eax, dword [esi]
push ebx
mov ebx, dword [sym.imp.WSOCK32.dll_setsockopt]
push edi
push 8
lea edi, [esi + 0xd4]
push edi
push 0x1005
push 0xffff
push eax
call ebx
test eax, eax
jns 0x459c2b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x4f35e4
push 0
call fcn.0042a000
add esp, 0xc
pop edi
pop ebx
mov al, 0x64
pop esi
ret 4
mov ecx, dword [esi + 0x2a8]
mov eax, dword [esi]
push 0
inc ecx
push ecx
lea edx, [esi + 0x116]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov ecx, dword [esi]
push 8
push edi
push 0x1006
push 0xffff
push ecx
mov byte [esi + 0x114], 1
call ebx
test eax, eax
jns 0x459c80
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x4f3608
push 0
call fcn.0042a000
add esp, 0xc
pop edi
pop ebx
mov al, 0x64
pop esi
ret 4
cmp dword [esi + 0xcc], 0x32
jne 0x459c93
mov dword [esi + 0xcc], 0x65
mov al, byte [esi + 0xcc]
pop edi
pop ebx
pop esi
ret 4
mov al, 0xa
pop esi
ret 4
Function at 0x459cb0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov eax, 0x1004
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
push 0x1000
xor ebx, ebx
lea eax, [esp + 0xc]
push ebx
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [esi + 9], bl
jne 0x459ced
mov ecx, esi
call fcn.00459b70
mov edx, dword [esi]
push 8
lea ecx, [esi + 0xd4]
push ecx
push 0x1006
push 0xffff
push edx
call dword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
jns 0x459d3b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x4f362c
push ebx
call fcn.0042a000
add esp, 0xc
pop esi
mov al, 0x64
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c6212
add esp, 0x1004
ret
mov ecx, dword [esi]
push edi
push ebx
push 0x1000
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
lea edx, [esp + 0xc]
push edx
push str.Recibimos_por_el_Socket_::__s_::
push ebx
mov edi, eax
call fcn.0042a000
add esp, 0xc
cmp edi, ebx
pop edi
jge 0x459da7
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov eax, dword [esi]
push 2
push eax
mov word [esi + 8], bx
call dword [sym.imp.WSOCK32.dll_shutdown]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi], 0xffffffff
pop esi
mov al, 0xa
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c6212
add esp, 0x1004
ret
mov eax, dword [esi]
cmp eax, ebx
je 0x459dce
push 2
push eax
call dword [sym.imp.WSOCK32.dll_shutdown]
mov edx, dword [esi]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi], 0xffffffff
mov byte [esi + 9], bl
mov byte [esi + 0x114], bl
lea eax, [esp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov ecx, dword [esp + 0x100c]
add esp, 4
mov dword [esi + 0xcc], eax
pop esi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x1004
ret
Function at 0x45a040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cbf9d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.mfc100.dll_Ordinal_421
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call sub.mfc100.dll_Ordinal_417
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], vtable.CFileException.0
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea eax, [esp + 0x20]
push eax
push 0x9001
push str.GeWete.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.mfc100.dll_Ordinal_10906
test eax, eax
jne 0x45a0e7
push str.Error_abriendo_el_fichero_GeWete.dat.
push eax
call fcn.0042a000
add esp, 8
jmp 0x45a18f
push 2
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x70
call sub.mfc100.dll_Ordinal_13312
push 4
lea edx, [esi + 0xd0]
push edx
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 4
lea eax, [esi + 0xcc]
push eax
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 4
lea ecx, [esi + 0x83]
push ecx
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 0x41
lea edx, [esi + 0x8b]
push edx
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 4
lea eax, [esi + 0x87]
push eax
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 0x19
lea ecx, [esi + 0x6a]
push ecx
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 0x46
lea edx, [esi + 0x20]
push edx
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
push 4
add esi, 0x66
push esi
lea ecx, [esp + 0x14]
call sub.mfc100.dll_Ordinal_13312
lea ecx, [esp + 0xc]
call sub.mfc100.dll_Ordinal_2524
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], vtable.CFileException.0
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call sub.mfc100.dll_Ordinal_977
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret
Function at 0x45a540
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push 0xac
lea eax, [esi + 0x20]
push ebx
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 9], bl
mov byte [esi + 0xfa], bl
mov dword [esi + 0xfc], ebx
mov word [esi + 0x114], bx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0xcc], 0x32
call sub.MSVCR100.dll_memset
push 0x190
lea ecx, [esi + 0x116]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
mov ecx, esi
call fcn.00459e10
test al, al
jne 0x45a5c2
mov ecx, esi
mov dword [esi + 0xd0], 1
call fcn.0045a040
lea edx, [esp + 8]
push edx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], 0x7d0
call fcn.0044a8a0
add esp, 4
call fcn.0044a940
movzx ecx, ax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, 2
push ecx
mov word [esi + 0xc], ax
call dword [sym.imp.WSOCK32.dll_htons]
lea ecx, [esp + 8]
push ecx
mov word [esi + 0xe], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x14
ret

Function at 0x45a6d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 1
add dword [ecx + 0xd0], eax
cmp dword [ecx + 0xd0], 0xffffffff
jb 0x45a6ea
mov dword [ecx + 0xd0], eax
jmp fcn.0045a040
Function at 0x45b320
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [esp + 0x70]
lea eax, [esp + 4]
push 0x4f3ee0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [esp + 0xc]
add esp, 8
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b350
push esi
sub eax, edx
push 1
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov ecx, dword [esp + 0x78]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret

Function at 0x45b380
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x78]
push edi
lea eax, [esp + 0x10]
push 0x4f3f28
push eax
call ebx
lea eax, [esp + 0x18]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b3b6
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
push esi
sub eax, edx
push 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call edi
push ebp
lea edx, [esp + 0x24]
push 0x4f3f38
push edx
call ebx
lea eax, [esp + 0x2c]
add esp, 0x1c
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b3e7
push esi
sub eax, ebp
push 1
push eax
lea eax, [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
push edx
lea eax, [esp + 0x28]
push 0x4f3e54
push eax
call ebx
lea eax, [esp + 0x30]
add esp, 0x20
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b421
push esi
sub eax, ebp
push 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0x20]
push 0x4f3f50
push edx
call ebx
lea eax, [esp + 0x28]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x45b450
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b450
push esi
sub eax, edx
push 1
push eax
lea eax, [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x84]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret

Function at 0x45b480
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [esp + 0x70]
lea eax, [esp + 4]
push 0x4f3f60
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [esp + 0xc]
add esp, 8
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b4b0
push esi
sub eax, edx
push 1
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov ecx, dword [esp + 0x78]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret