joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61e65c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x61e665
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61e843
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408e5c
mov eax, edi
call fcn.00408e5c
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.00409c50
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x61e81b
mov eax, dword [ebp - 0xc]
call fcn.0061b29c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x61e814
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, ebx
call fcn.00409c50
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x61e7fb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x61e854
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e7fb
push 0x61e894
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov edx, 4
call fcn.0041fd78
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0041fd78
push dword [ebp - 0x24]
push 0x61e8c4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00409f44
push 0x61e894
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov edx, 4
call fcn.0041fd78
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0041fd78
push dword [ebp - 0x2c]
push 0x61e8f4
lea eax, [ebp - 8]
mov edx, 4
call fcn.00409f44
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00409c50
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e7c8
cmp dword [ebp - 0x14], 1
jbe 0x61e7c8
mov eax, esi
mov edx, dword [ebp - 0x1c]
call fcn.00409cb8
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.00409c50
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e7fb
cmp dword [ebp - 0x14], 1
jbe 0x61e7fb
mov eax, edi
mov edx, dword [ebp - 0x1c]
call fcn.00409cb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e81b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00406758
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e84a
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00408ebc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ebc
ret
Function at 0x61e910
Capabilities:
Get memory capacity

Disassembly:
push ebx
push esi
add esp, 0xffffffc0
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x40
call fcn.00406d94
mov dword [esp], 0x40
push esp
call sub.kernel32.dll_GlobalMemoryStatusEx
mov eax, dword [esp + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
add esp, 0x40
pop esi
pop ebx
ret

Function at 0x61ef20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x61ef4d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61ef59
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61f0a8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov byte [ebp - 9], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x61f20e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4cd748]
call fcn.0049ceb4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x61f1c4
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00427d34
lea eax, [ebp - 0x18]
mov ecx, 0x61f228
mov edx, dword [ebp - 4]
call fcn.00409ebc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, 0x1ff
call fcn.0061ef64
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x61f1a9
inc ebx
mov dword [ebp - 0x14], 0
push dword [ebp - 4]
push 0x61f240
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00409f44
mov eax, dword [ebp - 8]
call fcn.00409c50
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x61f176
test al, 0x10
je 0x61f176
movzx edx, byte [ebp - 9]
mov eax, dword [ebp - 8]
call fcn.0061f0a8
jmp 0x61f1a3
cmp byte [ebp - 9], 0
je 0x61f188
mov eax, dword [ebp - 8]
call fcn.0061ee18
test al, al
je 0x61f1a3
push 0x80
mov eax, dword [ebp - 8]
call fcn.00409c50
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 8]
call fcn.00420698
inc dword [ebp - 0x14]
dec ebx
jne 0x61f12b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61f1cb
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00407240
ret
Function at 0x61f37c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61f435
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00408e5c
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, esi
shr eax, cl
test eax, esi
jbe 0x61f40b
lea edi, [ebx + 0x41]
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00409c78
lea eax, [ebp - 0x10]
mov edx, 0x61f450
call fcn.00409e64
mov eax, dword [ebp - 0x10]
call fcn.00409c50
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, dword [ebp - 4]
jne 0x61f40b
lea eax, [ebp - 0x14]
mov edx, edi
call fcn.00409c78
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00409e64
mov eax, dword [ebp - 8]
inc ebx
cmp ebx, 0x1a
jne 0x61f3bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61f43c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408ebc
ret
Function at 0x61fdd4
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x61fe2f
lea eax, [esp + 0xc]
push eax
push 0x61fe34
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
pop ebx
ret

Function at 0x621000
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408f40
xor eax, eax
push ebp
push 0x6210a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 1
call fcn.00409de4
push 0
mov eax, dword [ebp - 8]
call fcn.00409c50
push eax
mov eax, dword [ebp - 4]
call fcn.00409c50
mov esi, eax
push esi
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov ebx, eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00409de4
push ebx
mov eax, dword [ebp - 8]
call fcn.00409c50
push eax
push esi
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
je 0x621084
mov eax, dword [ebp - 8]
call fcn.00409c50
mov edx, eax
mov eax, edi
call fcn.00409cb8
jmp 0x62108e
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040923c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6210b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ebc
ret

Function at 0x6210b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov dword [esp], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x6210d7
cmp eax, 1
jae 0x6210dd
jmp 0x621189
jl 0x621189
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x62116a
push dword [esp + 0x14]
push dword [esp + 0x14]
mov eax, dword [esp + 8]
call fcn.0049cf34
lea edx, [esp + 4]
mov ecx, 8
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0xc]
dec esi
test esi, esi
jl 0x621135
inc esi
xor edi, edi
lea ebx, [esp + 4]
mov ecx, edi
mov eax, 2
shl eax, cl
xor byte [ebx], al
inc edi
inc ebx
dec esi
jne 0x621125
push dword [esp + 0x14]
push dword [esp + 0x14]
mov eax, dword [esp + 8]
call fcn.0049cf34
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [esp + 0xc], 8
jl 0x621189
mov eax, dword [esp + 0xc]
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [esp + 0x14]
jne 0x621183
cmp eax, dword [esp + 0x10]
ja 0x6210ef
jmp 0x621189
jg 0x6210ef
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x6212ac
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov dl, 2
mov ecx, 0x20
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 8]
push ebx
mov ebx, dword [ebp - 0x1c]
push ebx
mov ebx, dword [ebp - 0x18]
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
push edi
push esi
push eax
push ecx
push edx
push 0x676fc0
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x621348
xor eax, eax
push ebp
push 0x621341
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x62132a
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x621348
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6305a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov esi, eax
xor eax, eax
push ebp
push 0x630723
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [esi + 0x1c]
call fcn.00408e5c
xor eax, eax
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi + 0x7c], eax
movzx eax, byte [esi + 0x20]
sub al, 1
jb 0x63061b
je 0x6305ee
dec al
je 0x6305fd
dec al
je 0x63060c
jmp 0x630700
call fcn.0062cb10
call fcn.0062caa0
mov dword [esi + 0x7c], eax
jmp 0x630628
call fcn.0062cb2c
call fcn.0062caa0
mov dword [esi + 0x7c], eax
jmp 0x630628
call fcn.0062cb48
call fcn.0062caa0
mov dword [esi + 0x7c], eax
jmp 0x630628
call fcn.0062cb64
call fcn.0062caa0
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x7c], 0
jne 0x63063a
mov eax, esi
call fcn.0062fd18
jmp 0x630700
lea eax, [ebp - 4]
mov edx, dword [esi + 0x28]
mov ecx, 0
call fcn.004099e0
lea edx, [ebp - 4]
mov eax, dword [esi + 0x7c]
call fcn.0062ca6c
cmp byte [esi + 0x54], 0
je 0x63066c
xor ecx, ecx
mov edx, 1
mov eax, dword [esi + 0x7c]
call fcn.0062cf74
jmp 0x630678
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x7c]
call fcn.0062cf74
mov edx, 0x62fb40
mov eax, dword [esi + 0x7c]
call fcn.0062cd60
mov edx, esi
mov eax, dword [esi + 0x7c]
call fcn.0062cd88
cmp byte [ebp - 5], 0
je 0x6306d4
cmp dword [esi + 0x2c], 0
jne 0x6306d4
cmp dword [esi + 0x34], 0
jne 0x6306d4
cmp dword [esi + 0x40], 0
jne 0x6306d4
cmp dword [esi + 0x3c], 0
jne 0x6306d4
lea edx, [ebp - 0x10]
mov edi, dword [esi + 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, edi
call fcn.00628870
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, esi
call fcn.00630264
test al, al
je 0x630700
xor eax, eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
call fcn.0062cde0
mov edi, eax
mov dword [esi + 0x78], edi
test edi, edi
jne 0x6306fe
mov eax, esi
call fcn.0062fd18
jmp 0x630700
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63072a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00408ebc
lea eax, [ebp - 4]
call fcn.00408e80
ret
Function at 0x633d60
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x40], 0
je 0x633ee2
cmp dword [ebp - 8], 0
je 0x633db1
lea ebx, [ebp - 0x120]
lea eax, [ebp - 0x120]
call fcn.005aee84
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee74
jmp 0x633db3
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x633ddd
lea esi, [ebp - 0x224]
lea eax, [ebp - 0x224]
call fcn.005aee84
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee74
jmp 0x633ddf
xor esi, esi
cmp dword [ebp + 0xc], 0
je 0x633e0c
lea eax, [ebp - 0x328]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x328]
call fcn.005aee84
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee74
jmp 0x633e11
xor eax, eax
mov dword [ebp - 0x10], eax
test edi, edi
jl 0x633e3d
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x633e42
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x633e82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
inc eax
push eax
call sub.wsock32.dll_select
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
setg al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x633e8e
cmp dword [ebp - 8], 0
je 0x633eaa
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee5c
mov edx, dword [ebp - 8]
mov byte [edx], al
cmp dword [ebp - 0xc], 0
je 0x633ec6
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee5c
mov edx, dword [ebp - 0xc]
mov byte [edx], al
cmp dword [ebp + 0xc], 0
je 0x633ee2
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005aee5c
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x44]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x50]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp eax, 0xffffffff
je 0x633f2d
add dword [ebx + 0x48], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x634258
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x63433b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408e80
test ebx, ebx
je 0x634319
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x6342af
mov eax, ebx
call fcn.004098a4
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x634325
mov eax, esi
mov edx, ebx
call fcn.004092d8
jmp 0x634325
mov eax, ebx
call fcn.004098a4
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x634325
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, byte [edi + 1]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
movzx eax, byte [edi + 2]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
movzx eax, byte [edi + 3]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x24]
mov ecx, 3
mov eax, 0x634358
call fcn.00420f7c
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, 0
call fcn.004099e0
jmp 0x634325
mov eax, esi
mov edx, 0x63437c
call fcn.004092d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x634342
lea eax, [ebp - 4]
call fcn.00408e5c
ret

Function at 0x637b46
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x677fdc
test edx, edx
jne 0x637b65
xor eax, eax
jmp 0x637c83
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x637b82
push esi
push edx
push eax
call fcn.00637c88
add esp, 0xc
jmp 0x637c83
push esi
push edx
push eax
call fcn.00637f46
add esp, 0xc
jmp 0x637c83
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x638920
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp], 0x20
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 8]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x30], eax
add esp, 0x20
pop ebx
ret

Function at 0x641d40
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov byte [ebp - 9], al
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00408f40
mov eax, dword [ebp - 8]
call fcn.00408f40
xor eax, eax
push ebp
push 0x641e97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x641d87
sub eax, 4
mov eax, dword [eax]
dec eax
jge 0x641d97
lea eax, [ebp - 4]
mov edx, 0x641eb4
call fcn.00409284
mov eax, dword [ebp - 8]
test eax, eax
je 0x641da3
sub eax, 4
mov eax, dword [eax]
dec eax
jge 0x641db0
lea edx, [ebp - 8]
xor eax, eax
call fcn.00406b1c
xor eax, eax
push ebp
push 0x641e62
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x641e30
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x641ef4
call fcn.00420f7c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x641f18
mov eax, 0x80000001
call fcn.006176f4
test bl, bl
jne 0x641e58
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x641ef4
call fcn.00420f7c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x641f18
mov eax, 0x80000002
call fcn.006176f4
jmp 0x641e58
mov ecx, dword [ebp - 4]
mov edx, 0x641f18
mov eax, 0x80000001
call fcn.00617b74
test bl, bl
jne 0x641e58
mov ecx, dword [ebp - 4]
mov edx, 0x641f18
mov eax, 0x80000002
call fcn.00617b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x641e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x641e9e
lea eax, [ebp - 0x1c]
call fcn.00408e5c
lea eax, [ebp - 0x10]
call fcn.00408e5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ebc
ret
Function at 0xce5898
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ce59e8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xce58be
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce58aa
add dl, dl
jne 0xce58c9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce591c
xor eax, eax
add dl, dl
jne 0xce58d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce59bd
add dl, dl
jne 0xce58e5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce58f0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce58fb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce5906
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xce5912
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xce58b5
mov eax, 1
add dl, dl
jne 0xce592a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce5935
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce5921
sub eax, ebx
mov ebx, 1
jne 0xce5968
mov ecx, 1
add dl, dl
jne 0xce594e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xce5959
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce5945
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce58b5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xce597f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xce598a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce5976
cmp eax, 0x7d00
jae 0xce59ad
cmp eax, 0x500
jb 0xce59a8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce58b5
cmp eax, 0x7f
ja 0xce59b0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce58b5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xce59de
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xce58b5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10002970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026965
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
jne 0x10002a10
push 4
call fcn.1002564b
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10002580
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100038c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10002a01
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x100029eb
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x10002a10
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025431
mov esp, ebp
pop ebp
ret 0xc