joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0890
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x4b08a1
xor eax, eax
jmp 0x4b0afd
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x46b4], 0
jne 0x4b08bb
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
and ecx, 0x10
je 0x4b08d0
cmp dword [ebp + 0xc], 0
je 0x4b08d0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x2000
je 0x4b08e7
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 4
je 0x4b08fc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 2
je 0x4b0911
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 8
je 0x4b0926
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x20
je 0x4b093b
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x40
je 0x4b0950
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x80
je 0x4b0967
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x100
je 0x4b097f
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x200
je 0x4b0997
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x400
je 0x4b09ae
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x800
je 0x4b09c6
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x1000
je 0x4b09de
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x8000
je 0x4b09f5
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x100000
je 0x4b0a0d
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x200000
je 0x4b0a25
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x400000
je 0x4b0a3c
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x800000
je 0x4b0a54
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x1000000
je 0x4b0a6c
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x2000000
je 0x4b0a83
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x4000000
je 0x4b0a9b
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x8000000
je 0x4b0ab3
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x46b4]
and eax, 0x10000000
je 0x4b0aca
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x46b4]
and edx, 0x20000000
je 0x4b0ae2
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x46b4]
and ecx, 0x40000000
je 0x4b0afa
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4b0b40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x2710
cmp dword [0x70eba4], 0
jne 0x4b0b5b
mov dword [ebp - 4], 0x4e20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x70ed2c]
cmp eax, dword [ebp - 4]
jbe 0x4b0bcc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x70ed2c], eax
call fcn.004ae0a0
test eax, eax
je 0x4b0bcc
cmp dword [0x70eba4], 0
je 0x4b0b98
push 0x692978
push 0x1b
call fcn.004f2010
add esp, 8
mov eax, dword [0x7e0bd0]
and eax, 0x800
je 0x4b0bcc
cmp dword [0x70eba4], 0
jne 0x4b0bcc
push 0
push 0
push 5
push 0
push 0x409
call fcn.004a7690
add esp, 0x14
mov dword [0x70eba4], 1
mov esp, ebp
pop ebp
ret
Function at 0x4c4270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0x30
mov dword [ebp - 8], 0
jmp 0x4c428f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x4c4310
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x6e2b00]
mov ecx, dword [edx*8 + 0x6e2b04]
mov edx, dword [ebp - 8]
mov dword [edx*8 + 0x70f190], eax
mov dword [edx*8 + 0x70f194], ecx
cmp dword [0x70ebf8], 0x10
jb 0x4c42cc
mov eax, dword [0x70ebe4]
mov dword [ebp - 0xc], eax
jmp 0x4c42d3
mov dword [ebp - 0xc], 0x70ebe4
push 0x697c50
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx*8 + 0x6e2b04]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*8 + 0x6e2b00]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 8]
mov byte [ecx*8 + 0x6e2b04], al
jmp 0x4c4286
mov dword [ebp - 4], 9
mov dword [ebp - 8], 0
jmp 0x4c4329
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x4c43c4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x6e2c80]
mov eax, dword [ecx*8 + 0x6e2c84]
mov ecx, dword [ebp - 8]
mov dword [ecx*8 + 0x70f148], edx
mov dword [ecx*8 + 0x70f14c], eax
cmp dword [0x70ebf8], 0x10
jb 0x4c436b
mov edx, dword [0x70ebe4]
mov dword [ebp - 0x10], edx
jmp 0x4c4372
mov dword [ebp - 0x10], 0x70ebe4
push 0x697c50
mov eax, dword [ebp - 8]
movzx ecx, byte [eax*8 + 0x6e2c84]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x6e2c80]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov edx, dword [ebp - 8]
mov byte [edx*8 + 0x6e2c84], al
mov eax, dword [ebp - 8]
movzx ecx, byte [eax*8 + 0x6e2c84]
mov edx, dword [ebp - 8]
mov dword [edx*4 + 0x6e2734], ecx
jmp 0x4c4320
mov esp, ebp
pop ebp
ret
Function at 0x4c7b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x697ccc
push 0
push 0x6a1d80
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4c7bbd
movzx eax, byte [0x70f0e4]
test eax, eax
je 0x4c7bbd
mov dword [0x70f0e8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x70f0e0], eax
push 8
call fcn.0054c6c0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c7bbd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
call dword [edx + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4c8f40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6f2220]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x21c], 0x692978
xor eax, eax
shl eax, 6
add eax, 0x7e0d70
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x21c]
mov al, byte [edx]
mov byte [ebp - 0x225], al
mov ecx, dword [ebp - 0x220]
mov dl, byte [ebp - 0x225]
mov byte [ecx], dl
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x220]
add ecx, 1
mov dword [ebp - 0x220], ecx
cmp byte [ebp - 0x225], 0
jne 0x4c8f78
mov dword [ebp - 4], 0
call fcn.004b13e0
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 1
je 0x4c8fea
cmp dword [ebp - 0x22c], 2
je 0x4c9024
cmp dword [ebp - 0x22c], 3
je 0x4c903b
jmp 0x4c9050
movzx edx, byte [0x70eb85]
and edx, 1
je 0x4c900d
push 0x6a1e84
push 0x6a1e78
call fcn.0067578b
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4c9022
push 0x6a1e84
push 0x6a1e6c
call fcn.0067578b
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4c9050
push 0x6a1e84
push 0x6a1e60
call fcn.0067578b
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4c9050
push 0x6a1e84
push 0x6a1e54
call fcn.0067578b
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4c905b
jmp 0x4c91a0
mov eax, 1
test eax, eax
je 0x4c9107
mov byte [ebp - 0x218], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x110], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 4]
push ecx
push 0x100
lea edx, [ebp - 0x218]
push edx
call fcn.00677efa
add esp, 0xc
test eax, eax
jne 0x4c90b8
jmp 0x4c9107
push 4
push 0x6a1e4c
lea eax, [ebp - 0x218]
push eax
call fcn.006757a0
add esp, 0xc
test eax, eax
jne 0x4c9102
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0x6a1dc8
lea eax, [ebp - 0x218]
push eax
call fcn.0067602d
add esp, 0x10
mov ecx, dword [ebp - 0x114]
mov dword [0x6e2e80], ecx
jmp 0x4c9107
jmp 0x4c905b
mov edx, dword [ebp - 4]
push edx
call fcn.006756de
add esp, 4
push 0x697c50
push 0xffffffffffffffff
push 0x6a1e40
push 0x6a1abc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4c9155
mov dword [ebp - 8], 0
push 0x697c50
mov eax, dword [ebp - 8]
push eax
push 0x6a1e40
push 0x6a1abc
call fcn.0052cfd0
add esp, 0x10
push 0x697c50
push 0xffffffffffffffff
push 0x6a1e34
push 0x6a1abc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4c9197
mov dword [ebp - 0xc], 1
push 0x697c50
mov ecx, dword [ebp - 0xc]
push ecx
push 0x6a1e34
push 0x6a1abc
call fcn.0052cfd0
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov dword [0x6e2e7c], edx
mov ecx, dword [ebp - 0x10]
call fcn.00674e87
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4c91b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6e2e80], 0xffffffff
jne 0x4c91c1
xor eax, eax
jmp 0x4c9235
push 0x697c50
push 0xffffffffffffffff
push 0x6a1e40
push 0x6a1abc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov eax, dword [0x6e2e80]
cmp eax, dword [ebp - 4]
je 0x4c9223
push 0x697c50
mov ecx, dword [0x6e2e80]
push ecx
push 0x6a1e40
push 0x6a1abc
call fcn.0052cfd0
add esp, 0x10
push 0x697c50
push 1
push 0x6a1e34
push 0x6a1abc
call fcn.0052cfd0
add esp, 0x10
mov eax, 1
jmp 0x4c9235
cmp dword [0x6e2e7c], 0
je 0x4c9233
mov eax, 1
jmp 0x4c9235
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x50da60
Capabilities:
Check for time delay via gettickcount
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1120
call fcn.00676300
mov eax, dword [0x6f2220]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x50dba2
mov dword [ebp - 0x111c], 0x12348921
push 0
lea edx, [ebp - 0x1120]
push edx
push 0x1000
lea eax, [ebp - 0x1118]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x50daf0
jmp 0x50db20
cmp dword [ebp - 0x1120], 0
jne 0x50dafb
jmp 0x50db20
mov edx, dword [ebp - 0x1120]
push edx
lea eax, [ebp - 0x1118]
push eax
mov ecx, dword [ebp - 0x111c]
push ecx
call fcn.0052ebb0
add esp, 0xc
mov dword [ebp - 0x111c], eax
jmp 0x50dacb
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x697ccc
push 0
push 0x6a2fb8
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x114], eax
push 4
lea eax, [ebp - 0x114]
push eax
push 0x12348921
call fcn.0052ec00
mov ecx, dword [ebp - 0x111c]
cmp ecx, dword [ebp - 0x114]
je 0x50dba2
cmp dword [0x6e0678], 0x3b6
je 0x50db90
push 0x697ccc
push 0
push 0x6a2fb0
push 0x699048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jbe 0x50dba2
mov edx, dword [0x7e0bd0]
or edx, 0x800
mov dword [0x7e0bd0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp + 8], ecx
cmp dword [ebp + 8], 0
jle 0x50dbc0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
call fcn.00674e87
mov esp, ebp
pop ebp
ret
Function at 0x52c850
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
mov ecx, dword [ebp - 8]
add ecx, 0x5f5c
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
mov word [edx + 0x5f5c], 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x5f60], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x5f60], 0xffffffff
jne 0x52c8de
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x52c8c2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx + 0x5f60], edx
jmp 0x52c8de
mov eax, 1
test eax, eax
je 0x52c8cd
jmp 0x52c8da
push 0x6a33e8
call fcn.00426670
add esp, 4
xor eax, eax
jmp 0x52c907
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 8]
mov word [edx + 0x5f5e], ax
push 2
push 0
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5f54]
call fcn.0052ee00
mov esp, ebp
pop ebp
ret 8

Function at 0x52ebb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x52ebf4
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
movzx edx, cl
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x6b17b8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x52ebc5
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x52ec00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x52ec4f
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
xor edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ebp - 0xc]
xor edx, dword [eax*4 + 0x6b17b8]
mov dword [ebp + 8], edx
jmp 0x52ec15
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x52ed00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x6f2220]
mov dword [ebp - 4], eax
mov dword [ebp - 0x19c], ecx
mov eax, 1
test eax, eax
je 0x52ed22
jmp 0x52ed2f
push 0x6b1bf0
call fcn.00426670
add esp, 4
lea ecx, [ebp - 0x198]
push ecx
mov dx, word [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x52ed68
mov eax, 1
test eax, eax
je 0x52ed51
jmp 0x52ed5e
push 0x6b1bd8
call fcn.00426670
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x52ed6d
mov eax, 1
mov ecx, dword [ebp - 4]
call fcn.00674e87
mov esp, ebp
pop ebp
ret 4
Function at 0x52ee00
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6f2220]
mov dword [ebp - 8], eax
push esi
push edi
mov dword [ebp - 0x11c], ecx
mov eax, 1
test eax, eax
je 0x52ee24
jmp 0x52ee31
push 0x6b1cd4
call fcn.00426670
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x52ee58
push 1
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 4], eax
jmp 0x52ee71
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x11c]
cmp dword [edx + 4], 0xffffffff
jne 0x52ee9c
mov eax, 1
test eax, eax
je 0x52ee88
jmp 0x52ee95
push 0x6b1cbc
call fcn.00426670
add esp, 4
xor eax, eax
jmp 0x52efe0
mov ecx, 1
test ecx, ecx
je 0x52eea7
jmp 0x52eeb4
push 0x6b1ca8
call fcn.00426670
add esp, 4
push 0x100
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x52eee9
mov eax, 1
test eax, eax
je 0x52eed5
jmp 0x52eee2
push 0x6b1c90
call fcn.00426670
add esp, 4
xor eax, eax
jmp 0x52efe0
mov ecx, 1
test ecx, ecx
je 0x52eef4
jmp 0x52ef01
push 0x6b1c78
call fcn.00426670
add esp, 4
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x52ef36
mov eax, 1
test eax, eax
je 0x52ef22
jmp 0x52ef2f
push 0x6b1c5c
call fcn.00426670
add esp, 4
xor eax, eax
jmp 0x52efe0
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 4]
movsx ecx, word [edx + 0xa]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov esi, dword [edx]
lea edi, [ebp - 0x114]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov eax, 1
test eax, eax
je 0x52efa2
jmp 0x52efb9
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xc]
push edx
push 0x6b1c4c
call fcn.00426670
add esp, 8
mov eax, 1
test eax, eax
je 0x52efc4
jmp 0x52efdb
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 8]
push edx
push 0x6b1c34
call fcn.00426670
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
call fcn.00674e87
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x52eff0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x52f002
jmp 0x52f00f
push 0x6b1cfc
call fcn.00426670
add esp, 4
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x52f04d
mov edx, 1
test edx, edx
je 0x52f03c
jmp 0x52f049
push 0x6b1ce8
call fcn.00426670
add esp, 4
xor eax, eax
jmp 0x52f052
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x52f060
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x52f0ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x52f0ad
mov ecx, 1
test ecx, ecx
je 0x52f0a0
jmp 0x52f0ad
push 0x6b1d0c
call fcn.00426670
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x52f0c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x52f100
mov ecx, 1
test ecx, ecx
je 0x52f0f3
jmp 0x52f100
push 0x6b1d1c
call fcn.00426670
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x535fa0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0xffffffff
jne 0x535fd6
jmp 0x53609a
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
jne 0x536033
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0xffffffff
xor eax, eax
jmp 0x5360a6
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x536083
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], 0xffffffff
xor eax, eax
jmp 0x5360a6
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00535940
mov eax, 1
jmp 0x5360a6
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00535a20
mov esp, ebp
pop ebp
ret 4

Function at 0x536140
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 0
je 0x53618f
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
jmp 0x536177
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 8]
jae 0x53618f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
add edx, dword [ecx]
mov dword [ebp - 4], edx
jmp 0x53616e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5361a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00536240
add esp, 8
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x536227
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov cl, byte [edx]
mov byte [eax], cl
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp - 8]
movzx ecx, al
mov edx, dword [ebp - 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x6b17b8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
jmp 0x5361df
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8