joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481fd4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x481fd0
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, eax
push edi
xor edi, edi
test ecx, ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
jge 0x481ffd
fadd dword [0x6ddeec]
fld qword [0x6defd8]
xor ebx, ebx
cmp eax, edi
fmul st(1), st(0)
fld1
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
ja 0x482026
pop edi
fstp st(0)
pop esi
pop ebx
add esp, 0x44
ret
fld qword [0x6defd8]
fldz
mov eax, 0x51eb851f
mul ebx
shr edx, 5
imul edx, edx, 0x64
mov eax, ebx
sub eax, edx
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x48204b
fadd dword [0x6ddeec]
mov ecx, ebx
fdiv st(2)
test ecx, ecx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x482061
fadd dword [0x6ddeec]
test bl, 1
fdivrp st(3)
fxch st(2)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x10]
faddp st(2)
fxch st(1)
fstp dword [esp + 0xc]
je 0x482082
fst dword [esp + 0xc]
mov eax, dword [0x77c8e4]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
lea edx, [esp + 0x14]
fst dword [esp + 0x30]
add eax, 1
fst dword [esp + 0x34]
push edx
fst dword [esp + 0x3c]
push ebx
fst dword [esp + 0x44]
mov ecx, esi
fst dword [esp + 0x50]
mov byte [esp + 0x1c], 3
fst dword [esp + 0x4c]
mov dword [esp + 0x20], 0x7ff07ff
fstp dword [esp + 0x48]
mov dword [esp + 0x28], edi
fld dword [esp + 0x14]
mov dword [esp + 0x24], edi
fmul qword [0x6dcdb8]
mov dword [esp + 0x2c], edi
mov dword [0x77c8e4], eax
mov byte [esp + 0x1f], al
fadd qword [0x6e0260]
fstp dword [esp + 0x54]
call fcn.0040b58c
add ebx, 1
cmp ebx, dword [esi + 4]
jb 0x482020
pop edi
pop esi
pop ebx
add esp, 0x44
ret

Function at 0x485c40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x485c40
push 0xffffffffffffffff
push 0x6a18d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.ClassPSystem.0
call fcn.004098fe
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040848b
fldz
mov dword [esi], vtable.ClassWaterTail.0
xor edi, edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov eax, 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
fst dword [esi + 0x54]
fst dword [esi + 0x50]
mov ecx, esi
fst dword [esi + 0x5c]
mov dword [esp + 0x18], edi
fst dword [esi + 0x58]
fst dword [esi + 0x64]
fstp dword [esi + 0x60]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x44], 5
mov dword [esi + 0x48], 0x32
mov dword [esi + 0x4c], 0x3c
call fcn.0040536c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.0040b898
mov dword [esi + 0x24], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4954d0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4954d0
push 0xffffffffffffffff
push 0x6a23dc
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
or esi, 0xffffffff
test byte [0x77e27c], 1
jne 0x495529
or dword [0x77e27c], 1
mov ecx, dword [0x7b72f8]
push str.RE52
mov dword [esp + 0x1c], 0
call fcn.00621ca0
mov dword [0x77e278], eax
mov dword [esp + 0x18], esi
test byte [0x77e27c], 2
jne 0x49555a
or dword [0x77e27c], 2
mov ecx, dword [0x7b72f8]
push str.RE65
mov dword [esp + 0x1c], 1
call fcn.00621ca0
mov dword [0x77e274], eax
mov dword [esp + 0x18], esi
mov eax, dword [0x7812b8]
mov byte [esp + 0xf], 0x1e
mov ecx, dword [eax + 0x14e0]
mov esi, dword [ecx + 0x58]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
je 0x4955da
call fcn.0040c536
test eax, eax
je 0x4955da
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 2
jae 0x4955a3
test esi, esi
je 0x4955da
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, edi
call fcn.00404f11
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push 1
lea edx, [esp + 0x13]
push edx
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov ecx, dword [0x7812b8]
mov ecx, dword [ecx + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 1
jne 0x4955fa
mov ecx, dword [0x77e278]
jmp 0x495636
call fcn.0040c536
test eax, eax
jne 0x49563e
mov edx, dword [0x7812b8]
mov ecx, dword [edx + 0xf0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
test eax, eax
je 0x49563e
mov eax, dword [0x7812b8]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x49563e
mov ecx, dword [0x77e274]
push ecx
mov ecx, edi
call fcn.0040a074
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x499850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x499850
push 0xffffffffffffffff
push 0x6a29eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x49992f
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
add esi, 0xc
mov dword [esp + 0x34], eax
push 0x44
call fcn.00651953
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x4998e4
mov ecx, dword [esp + 0x2c]
mov edi, dword [esi + 0x60]
add edi, dword [esp + 0x38]
push 0
push 0xffffffffffffffff
push ecx
lea edx, [esi + 0x20]
push edx
mov edx, dword [esi + 0x64]
push 0
push 0
push 0
push esi
sub esp, 8
mov ebp, esp
add edx, ebx
mov ecx, eax
mov dword [esp + 0x40], esp
mov dword [ebp], edi
mov dword [ebp + 4], edx
call fcn.00406f05
jmp 0x4998e6
xor eax, eax
test eax, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 0x7c], eax
je 0x49991e
cmp byte [esi + 0x70], 0
lea eax, [esi + 0x70]
je 0x49991e
mov ecx, dword [0x7b72f8]
push eax
call fcn.00621ca0
mov ecx, dword [esi + 0x7c]
push eax
mov dword [esi + 0x78], eax
call fcn.00403d9b
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
mov dword [esi - 4], ecx
add esi, 0x9c
sub dword [esp + 0x34], 1
jne 0x499892
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x49abb0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x49abb0
push 0xffffffffffffffff
push 0x6a2a1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x7b72e4]
mov eax, dword [eax + 0x2c]
add eax, 0xfffffd80
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov ecx, dword [0x7b72e4]
mov eax, dword [ecx + 0x30]
add eax, 0xfffffe20
cdq
sub eax, edx
sar eax, 1
push 0x2c8
mov dword [esi + 0x10], eax
call fcn.00651953
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x49ac2d
push 0
push 0
mov ecx, eax
call fcn.006243a0
mov edi, eax
jmp 0x49ac2f
xor edi, edi
mov ebx, dword [esi]
lea edx, [ebx + 0xc]
push edx
push edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 8], edi
call fcn.0040775c
lea eax, [ebx + 0x2c]
push eax
push edi
call fcn.0040775c
add ebx, 0x4c
push ebx
push edi
call fcn.0040775c
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, dword [esi + 8]
push edx
push 1
push eax
push ecx
call fcn.00405240
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
lea edx, [edi + 0xc]
push edx
push ebx
call fcn.0040775c
lea eax, [edi + 0x2c]
push eax
push ebx
call fcn.0040775c
add edi, 0x4c
push edi
push ebx
call fcn.0040775c
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
add esp, 0x44
push ecx
mov ecx, dword [esi + 8]
push edx
push 1
push eax
push ecx
call fcn.00405240
add esp, 0x14
mov dword [esi + 0x44], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x49b2a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x49b2a0
sub esp, 0x19c
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x198], eax
lea eax, [esp + 8]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x49b2eb
mov dword [0x754830], 0xfffffffe
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00651675
add esp, 0x19c
ret
push 0x40
push 0x77e4d8
call sub.WSOCK32.dll_gethostname
push 0x77e4d8
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x49b337
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
push 0x77e51c
call fcn.00652860
mov ecx, dword [0x77e51c]
add esp, 0xc
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
push 0x77e498
call fcn.00651689
add esp, 8
push 0x77e4d8
call fcn.006541c7
add esp, 4
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild dword [esp]
mov eax, dword [esp]
test eax, eax
jge 0x49b35e
fadd dword [0x6ddeec]
fdivr qword [0x6e23f8]
mov ecx, dword [esp + 0x198]
xor ecx, esp
mov dword [0x754830], 0
mov dword [0x77e528], 8
fstp dword [0x77e530]
call fcn.00651675
add esp, 0x19c
ret

Function at 0x49b2eb
Capabilities:
Get hostname
Resolve dns

Disassembly:
jmp 0x49b2a0
sub esp, 0x19c
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x198], eax
lea eax, [esp + 8]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x49b2eb
mov dword [0x754830], 0xfffffffe
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00651675
add esp, 0x19c
ret
push 0x40
push 0x77e4d8
call sub.WSOCK32.dll_gethostname
push 0x77e4d8
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x49b337
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
push 0x77e51c
call fcn.00652860
mov ecx, dword [0x77e51c]
add esp, 0xc
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
push 0x77e498
call fcn.00651689
add esp, 8
push 0x77e4d8
call fcn.006541c7
add esp, 4
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild dword [esp]
mov eax, dword [esp]
test eax, eax
jge 0x49b35e
fadd dword [0x6ddeec]
fdivr qword [0x6e23f8]
mov ecx, dword [esp + 0x198]
xor ecx, esp
mov dword [0x754830], 0
mov dword [0x77e528], 8
fstp dword [0x77e530]
call fcn.00651675
add esp, 0x19c
ret
Function at 0x49b440
Capabilities:
Print debug messages

Disassembly:
jmp 0x49b440
sub esp, 0x504
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x500], eax
mov edx, dword [0x77e528]
test edx, edx
je 0x49b5eb
mov eax, dword [0x77e554]
test eax, eax
push esi
jne 0x49b4cf
test dl, 1
je 0x49b4cf
xor esi, esi
push esi
lea eax, [esp + 8]
push 0x6e2e00
push eax
call fcn.00651689
lea ecx, [esp + 0x10]
push 0x6e2dfc
push ecx
call fcn.00653f5e
add esp, 0x14
test eax, eax
mov dword [0x77e554], eax
jne 0x49b4b2
lea edx, [esp + 4]
push 0x6e2df8
push edx
call fcn.00653f5e
add esp, 8
jmp 0x49b4bd
push eax
call fcn.00653e1e
add esp, 4
xor eax, eax
add esi, 1
test eax, eax
mov dword [0x77e554], eax
je 0x49b473
mov edx, dword [0x77e528]
mov ecx, dword [0x77e52c]
test ecx, ecx
jge 0x49b4dd
xor ecx, ecx
jmp 0x49b4e7
cmp ecx, 7
jle 0x49b4ed
mov ecx, 7
mov dword [0x77e52c], ecx
test dl, 1
je 0x49b543
xor esi, esi
test ecx, ecx
jle 0x49b51e
jmp 0x49b500
push 0x6e2df4
push eax
call fcn.00653bdf
mov eax, dword [0x77e554]
add esi, 1
add esp, 8
cmp esi, dword [0x77e52c]
jl 0x49b500
mov edx, dword [esp + 0x50c]
lea ecx, [esp + 0x510]
push ecx
push edx
push eax
call fcn.00653b8b
mov edx, dword [0x77e528]
mov ecx, dword [0x77e52c]
add esp, 0xc
test dl, 0xa
je 0x49b5dc
xor esi, esi
test ecx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jle 0x49b588
lea esp, [esp]
push 0x6e2dec
call fcn.0065388f
add esp, 4
test byte [0x77e528], 8
je 0x49b57d
push 0x6e2dec
call edi
add esi, 1
cmp esi, dword [0x77e52c]
jl 0x49b560
mov ecx, dword [esp + 0x510]
lea eax, [esp + 0x514]
push eax
push ecx
call fcn.00653847
mov edx, dword [0x77e528]
add esp, 8
test dl, 8
je 0x49b5db
mov eax, dword [esp + 0x510]
lea edx, [esp + 0x514]
push edx
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.00653699
add esp, 0xc
lea edx, [esp + 0x108]
push edx
call edi
mov edx, dword [0x77e528]
pop edi
test edx, edx
pop esi
je 0x49b5eb
push 0
call fcn.006535c1
add esp, 4
mov ecx, dword [esp + 0x500]
xor ecx, esp
call fcn.00651675
add esp, 0x504
ret
Function at 0x49c3f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x49c3f0
push 0xffffffffffffffff
push 0x6a2a53
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edi, edi
or ebp, 0xffffffff
mov dword [esi + 0xc], ebp
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ebx, [esi + 0x18]
mov dword [esp + 0x38], edi
mov dword [ebx + 0xc], ebp
mov dword [ebx], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x3c], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
add esp, 8
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
mov eax, dword [esp + 0x48]
mov dword [esi + 0x30], eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x49c740
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
jmp 0x49c740
push 0xffffffffffffffff
push 0x6a2ac9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x74]
push 1
mov ecx, esi
mov dword [esp + 0x70], edi
call fcn.0040a46b
push edi
push 1
push 2
mov dword [esp + 0x78], edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_socket
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
add esp, 8
push edi
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
lea ebx, [esi + 0x18]
push eax
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
mov eax, dword [esi + 0xc]
add esp, 8
push 4
lea ecx, [esp + 0x14]
push ecx
push 1
push 6
push eax
mov dword [esp + 0x24], 1
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0x24]
push 4
lea edx, [esp + 0x14]
push edx
push 1
push 6
push eax
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x49c866
cmp dword [esi + 0x24], 0xffffffff
jne 0x49c89e
push edi
lea ecx, [esp + 0x34]
mov dword [0x754830], 0xfffffffd
call fcn.0040a46b
mov edi, eax
push edi
mov ecx, esi
call fcn.0040eacf
lea eax, [edi + 0x18]
push eax
mov ecx, ebx
call fcn.0040eacf
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0x30]
call fcn.004091b5
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret
Function at 0x49d860
Capabilities:
Connect socket
Set socket configuration

Disassembly:
jmp 0x49d860
push 0xffffffffffffffff
push 0x6a2c61
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
call fcn.00406f00
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], 1
je 0x49d8c5
push esi
call sub.WSOCK32.dll_inet_addr
mov edi, eax
mov ebx, dword [esp + 0x7c]
push ebx
mov word [esp + 0x54], 2
call sub.WSOCK32.dll_htons
mov edx, dword [esp + 0x40]
push 0x10
lea ecx, [esp + 0x54]
push ecx
push edx
mov word [esp + 0x5e], ax
mov dword [esp + 0x60], edi
call sub.WSOCK32.dll_connect
test eax, eax
je 0x49d94b
lea eax, [esp + 0x34]
push eax
call fcn.004033af
add esp, 4
mov dword [0x754830], 0xfffffff6
push 0
mov ecx, ebp
call fcn.0040a46b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x6c], 0
call fcn.004091b5
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00651675
add esp, 0x5c
ret
test esi, esi
je 0x49d959
push esi
call sub.WSOCK32.dll_inet_addr
mov esi, eax
jmp 0x49d95b
xor esi, esi
add ebx, 1
push ebx
mov word [esp + 0x54], 2
call sub.WSOCK32.dll_htons
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x5a], ax
mov dword [esp + 0x5c], esi
call fcn.004098f4
add esp, 8
test eax, eax
je 0x49d90b
mov ecx, 0xd
lea esi, [esp + 0x1c]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
jmp 0x49d914

Function at 0x4a2260
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
jmp 0x4a2260
push 0xffffffffffffffff
push 0x6a2f78
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov esi, ecx
mov ecx, dword [esp + 0x80]
push ecx
push eax
lea eax, [esp + 0x30]
push str._s___.CARISMA_0__s__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xc]
call fcn.004024af
lea edx, [esp + 8]
push edx
push str.ACCIONES
add esi, 0x30
push esi
mov dword [esp + 0x80], 0
call fcn.0040d026
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040934a
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00651675
add esp, 0x70
ret 8
Function at 0x4a8670
Capabilities:
Copy file

Disassembly:
sub esp, 0x344
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x340], eax
test ebx, ebx
push ebp
push esi
push edi
jl 0x4a86b1
push ebx
push str.DATOSMISIONES_
call fcn.0062a670
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x258]
push str._s_sMapa__04d.MIS
push eax
call edi
add esp, 0x14
jmp 0x4a86d4
push str.DATOSMISIONES_
call fcn.0062a670
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x254]
push str._s_sGlobal.STR
push ecx
call edi
add esp, 0x10
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
lea esp, [esp]
test ebx, ebx
jl 0x4a8705
push ebx
push esi
push str.DATOSMISIONES_
call fcn.0062a670
push eax
lea edx, [esp + 0x15c]
push str._s_s__02d__04d.MIS
push edx
call edi
add esp, 0x18
jmp 0x4a8723
push esi
push str.DATOSMISIONES_
call fcn.0062a670
push eax
lea eax, [esp + 0x158]
push str._s_sGlobal__02d.STR
push eax
call edi
add esp, 0x14
cmp esi, 0x63
je 0x4a874b
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4a874b
push eax
call ebp
add esi, 1
cmp esi, 0x63
jle 0x4a86e0
push 0
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00651675
add esp, 0x344
ret
Function at 0x4b1c80
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4b1c80
push 0xffffffffffffffff
push 0x6a5058
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.00401b9a
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call fcn.0040cf1d
test eax, eax
jne 0x4b1cdd
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
push edx
push eax
push ecx
jmp 0x4b1d0e
push 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
call fcn.0040470f
lea eax, [esp + 0x3c]
push eax
call fcn.006541c7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x14]
add esp, 4
xor eax, eax
cmp byte [esp + 0x3c], 0x53
sete al
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040934a
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0xc

Function at 0x4b1d70
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4b1d70
push 0xffffffffffffffff
push 0x6a5088
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x5c]
push str.ACCION
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x34], 0
call fcn.00401b9a
push 0x20
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0
call fcn.0040470f
cmp byte [esp + 0x2c], 0
jne 0x4b1df0
lea eax, [esi + 0x84]
lea edx, [esp + 0x2c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4b1de4
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0xffffffff
call fcn.0040934a
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x14c
push 0x56e
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0
push eax
push 0x14e
push 0x56e
push ecx
call edi
mov edx, dword [esi + 0x80]
imul edx, edx, 0x94
add edx, 0x7b1858
push edx
push str.PARAM
push 0x56f
mov ecx, esi
call fcn.00407298
mov eax, dword [esi + 0x80]
imul eax, eax, 0x94
mov ecx, dword [eax + 0x7b1834]
push ecx
push str.DISPONIBLE
push 0x570
mov ecx, esi
call fcn.0040e908
mov edx, dword [esi + 0x80]
imul edx, edx, 0x94
mov eax, dword [edx + 0x7b184c]
push eax
push str.TESTDISPONIBLE
push 0x571
mov ecx, esi
call fcn.0040e908
mov ecx, dword [esi + 0x80]
imul ecx, ecx, 0x94
mov edx, dword [ecx + 0x7b1878]
push edx
lea eax, [esp + 0x30]
push 0x6e2c04
push eax
call fcn.00651689
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push str.IDGRUPO
push 0x572
mov ecx, esi
call fcn.00407298
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00651675
add esp, 0x50
ret