joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8d16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4a8e37
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4a8e1b
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4a8d6d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4a8d4b
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x4a987f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4a98d6
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4a98d6
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4a98d6
xor eax, eax
inc eax
jmp 0x4a98d8
xor eax, eax
leave
ret 0x10
Function at 0x4a9901
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4a996f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x8c9fec
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a9966
cmp dword [ebp - 0xc], 4
jne 0x4a9966
cmp dword [ebp - 0x10], edi
je 0x4a9966
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x8f8040], edi
xor eax, eax
jmp 0x4a99ae
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x8f8040], edi
jge 0x4a99a9
lea eax, [ebp - 0x34]
push eax
mov dword [0x8f8040], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4a99a9
cmp word [ebp - 0x14], 5
jb 0x4a99a9
call fcn.004a98dc
test eax, eax
je 0x4a99a9
emms
mov dword [0x8f8040], 1
mov eax, dword [0x8f8040]
pop edi
leave
ret

Function at 0x4d4307
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d433f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d22f4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d22cc
jmp 0x4d434b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d59f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d5a3b
call fcn.004db9e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d5a3b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d5a32
xor eax, eax
jmp 0x4d5a43
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d5a49
pop edi
pop esi
pop ebx
ret 4

Function at 0x4dbf12
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4dbf40
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4dbf5e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dbe78
jmp 0x4dbf5e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dbf5e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004dbe78
test edi, edi
mov eax, edi
jne 0x4dbf48
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x91000
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0xa3918]
push edi
or edi, 0xffffffff
test eax, eax
jne 0x91023
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0xa3918], eax
test eax, eax
jne 0x91023
pop edi
ret
cmp dword [0xa391c], 0
je 0x910b5
cmp dword [0xa3920], 0
je 0x910b5
cmp dword [0xa3924], 0
je 0x910b5
cmp dword [0xa3928], 0
je 0x910b5
cmp dword [0xa392c], 0
je 0x910b5
cmp dword [0xa3930], 0
je 0x910b5
cmp dword [0xa3934], 0
je 0x910b5
cmp dword [0xa3938], 0
je 0x910b5
cmp dword [0xa393c], 0
je 0x910b5
cmp dword [0xa3940], 0
je 0x910b5
cmp dword [0xa3944], 0
je 0x910b5
cmp dword [0xa3948], 0
je 0x910b5
cmp dword [0xa394c], 0
je 0x910b5
cmp dword [0xa3950], 0
je 0x910b5
cmp dword [0xa3954], 0
je 0x910b5
mov eax, 1
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlExpandEnvironmentStrings_U
push eax
call esi
mov dword [0xa391c], eax
test eax, eax
je 0x9127b
mov eax, dword [0xa3918]
push str.RtlSetLastWin32Error
push eax
mov edi, 0xfffffffe
call esi
mov dword [0xa3920], eax
test eax, eax
je 0x9127b
mov ecx, dword [0xa3918]
push str.NtTerminateProcess
push ecx
mov edi, 0xfffffffd
call esi
mov dword [0xa3924], eax
test eax, eax
je 0x9127b
mov edx, dword [0xa3918]
push str.RtlFreeSid
push edx
mov edi, 0xfffffffc
call esi
mov dword [0xa3928], eax
test eax, eax
je 0x9127b
mov eax, dword [0xa3918]
push str.RtlInitUnicodeString
push eax
mov edi, 0xfffffffb
call esi
mov dword [0xa392c], eax
test eax, eax
je 0x9127b
mov ecx, dword [0xa3918]
push str.NtSetInformationThread
push ecx
mov edi, 0xfffffffa
call esi
mov dword [0xa3930], eax
test eax, eax
je 0x9127b
mov edx, dword [0xa3918]
push str.NtSetInformationToken
push edx
mov edi, 0xfffffff9
call esi
mov dword [0xa3934], eax
test eax, eax
je 0x9127b
mov eax, dword [0xa3918]
push str.RtlNtStatusToDosError
push eax
mov edi, 0xfffffff8
call esi
mov dword [0xa3938], eax
test eax, eax
je 0x9127b
mov ecx, dword [0xa3918]
push str.NtClose
push ecx
mov edi, 0xfffffff7
call esi
mov dword [0xa393c], eax
test eax, eax
je 0x9127b
mov edx, dword [0xa3918]
push str.NtOpenProcessToken
push edx
mov edi, 0xfffffff6
call esi
mov dword [0xa3940], eax
test eax, eax
je 0x9127b
mov eax, dword [0xa3918]
push str.NtDuplicateToken
push eax
mov edi, 0xfffffff5
call esi
mov dword [0xa3944], eax
test eax, eax
je 0x9127b
mov ecx, dword [0xa3918]
push str.RtlAllocateAndInitializeSid
push ecx
mov edi, 0xfffffff4
call esi
mov dword [0xa3948], eax
test eax, eax
je 0x9127b
mov edx, dword [0xa3918]
push str.NtFilterToken
push edx
mov edi, 0xfffffff3
call esi
mov dword [0xa394c], eax
test eax, eax
je 0x9127b
mov eax, dword [0xa3918]
push str.RtlLengthSid
push eax
mov edi, 0xfffffff2
call esi
mov dword [0xa3950], eax
test eax, eax
je 0x9127b
mov ecx, dword [0xa3918]
push str.NtQueryInformationToken
push ecx
mov edi, 0xfffffff1
call esi
mov dword [0xa3954], eax
test eax, eax
lea eax, [edi + 0x10]
jne 0x9127d
mov eax, edi
pop esi
pop edi
ret
Function at 0x91ac3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push str.Iphlpapi.dll
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x91b6b
push ebx
push str.GetAdaptersAddresses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x91b6a
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push esi
jmp 0x91b1c
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0009ebed
pop ecx
pop ecx
cmp eax, esi
je 0x91b29
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 4], eax
push eax
push esi
push esi
push 2
call ebx
mov edi, eax
cmp edi, 0x6f
je 0x91b03
cmp edi, esi
jne 0x91b5b
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x91b69
mov edi, dword [eax + 0x34]
xor edx, edx
cmp edi, esi
jbe 0x91b54
movzx ebx, byte [eax + edx + 0x2c]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl ebx, cl
xor dword [ebp - 0xc], ebx
inc edx
cmp edx, edi
jb 0x91b3d
mov eax, dword [eax + 8]
cmp eax, esi
jne 0x91b34
cmp dword [ebp - 4], esi
je 0x91b69
push dword [ebp - 4]
call fcn.0009ec2e
pop ecx
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
pop esi
leave
ret

Function at 0x91bdf
Capabilities:
Encode data using xor
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 8], ebx
stosb byte es:[edi], al
mov dword [ebp - 4], 0xf
call fcn.00091ac3
cmp eax, ebx
jne 0x91c5a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x91c45
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x91c45
movsx edx, byte [ebp + eax - 0x18]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl edx, cl
xor esi, edx
inc eax
cmp eax, dword [ebp - 4]
jb 0x91c26
cmp esi, ebx
je 0x91c45
mov eax, esi
jmp 0x91c5a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push 4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x92011
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x100
test byte [0xa22f4], 1
jne 0x92034
or dword [0xa22f4], 1
push 0
call fcn.0009f04e
pop ecx
mov dword [0xa22f0], eax
test byte [0xa22f4], 2
jne 0x92051
or dword [0xa22f4], 2
push 0
call fcn.0009f04e
pop ecx
mov dword [0xa22ec], eax
test byte [0xa22f4], 4
jne 0x9206e
or dword [0xa22f4], 4
push 0
call fcn.0009f04e
pop ecx
mov dword [0xa22e8], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0xa22e0]
mov esi, dword [esp + 0x114]
mov ebx, 0xdbba0
cmp eax, ebx
jbe 0x920db
mov eax, dword [section..data]
xor ebp, ebp
cmp byte [eax], 0
je 0x920d4
mov eax, section..data
push dword [eax]
call fcn.00092684
pop ecx
test eax, eax
je 0x920bf
or dword [esi + 0x14], 4
push 0x50
push eax
call fcn.00091978
pop ecx
pop ecx
test eax, eax
jne 0x920d0
inc ebp
lea eax, [ebp*4 + section..data]
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x920a1
jmp 0x920d4
or dword [esi + 0x14], 2
call edi
mov dword [0xa22e0], eax
call edi
sub eax, dword [0xa22dc]
cmp eax, ebx
jbe 0x92132
mov eax, dword [section..data]
xor ebp, ebp
cmp byte [eax], 0
je 0x9212b
mov eax, section..data
push dword [eax]
call fcn.00092ef8
pop ecx
test eax, eax
je 0x92116
or dword [esi + 0x14], 8
push 0x19
push eax
call fcn.00091978
pop ecx
pop ecx
test eax, eax
jne 0x92127
inc ebp
lea eax, [ebp*4 + section..data]
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x920f8
jmp 0x9212b
or dword [esi + 0x14], 1
call edi
mov dword [0xa22dc], eax
call edi
mov ebp, 0x3e8
xor edx, edx
mov ecx, ebp
div ecx
mov dword [esi + 0x28], eax
call edi
xor edx, edx
div ebp
xor ebx, ebx
push ebx
sub eax, dword [0xa2110]
mov dword [esi + 0x2c], eax
call fcn.0009f04e
sub eax, dword [0xa22f0]
pop ecx
mov edi, str.localcfg
mov ebp, 0x4b0
cmp eax, dword [0xa22e4]
jbe 0x921cb
push 0xa0264
push 0x100
lea eax, [esp + 0x18]
push eax
push str.rbl_bl
push edi
push 1
call fcn.0009e854
push ebx
push str.rbl_ip
push edi
push 1
call fcn.0009e819
add esp, 0x28
cmp eax, ebx
je 0x921c1
cmp byte [esp + 0x10], bl
je 0x921c1
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00091c5f
pop ecx
pop ecx
mov dword [esi + 0x38], eax
mov dword [0xa22e4], ebp
jmp 0x921cb
mov dword [0xa22e4], 0x12c
push ebx
call fcn.0009f04e
sub eax, dword [0xa22f0]
pop ecx
cmp eax, ebp
jbe 0x921fa
push dword [esi + 0x14]
push str.net_type
push edi
push 1
call fcn.0009ea84
push ebx
call fcn.0009f04e
add esp, 0x14
mov dword [0xa22f0], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret

Function at 0x924c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x924d5
xor eax, eax
pop ebp
ret
jbe 0x92504
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0xa03b0]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0xa03b0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x924d7
not eax
pop ebp
ret
Function at 0x92508
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
inc ecx
test esi, esi
je 0x9253e
mov edx, dword [ebp + 0xc]
sub edx, eax
push edi
mov di, word [edx + eax]
xor di, word [ebp + 0x14]
mov word [eax], di
mov edi, dword [ebp + 0x18]
add edi, ecx
add dword [ebp + 0x14], edi
neg ecx
add eax, 2
dec esi
movzx ecx, cx
jne 0x9251f
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x92544
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov cl, 1
test edi, edi
je 0x92571
push esi
mov esi, dword [ebp + 0xc]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [ebp + 0x14]
mov byte [eax], dl
mov dl, cl
add dl, byte [ebp + 0x18]
neg cl
add byte [ebp + 0x14], dl
inc eax
dec edi
jne 0x9255a
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret

Function at 0x92684
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0
jne 0x92692
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x926b0
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x9268e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [0xa2bf8]
xor ebx, ebx
push edi
mov edi, 0x400
cmp eax, ebx
jne 0x92723
push edi
call fcn.0009ebcc
pop ecx
mov dword [0xa2bf8], eax
push edi
push ebx
push eax
call fcn.0009ee2a
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0xa2bf8]
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov word [ecx], ax
mov eax, dword [0xa2bf8]
mov cx, word [ebp + 0x10]
push 1
mov word [eax + 2], cx
call edi
mov ecx, dword [0xa2bf8]
mov word [ecx + 4], ax
mov ecx, dword [0xa2bf8]
xor eax, eax
mov word [ecx + 6], ax
mov ecx, dword [0xa2bf8]
mov word [ecx + 8], ax
mov ecx, dword [0xa2bf8]
mov word [ecx + 0xa], ax
mov edx, dword [0xa2bf8]
xor ecx, ecx
cmp byte [esi], bl
je 0x927cc
mov bl, byte [eax + esi]
mov dword [ebp + 0x10], eax
jmp 0x927a0
cmp bl, 0x2e
je 0x927a4
inc dword [ebp + 0x10]
mov ebx, dword [ebp + 0x10]
mov bl, byte [ebx + esi]
test bl, bl
jne 0x92792
mov bl, byte [ebp + 0x10]
sub bl, al
mov byte [ecx + edx + 0xc], bl
inc ecx
jmp 0x927b9
mov bl, byte [eax + esi]
mov byte [ecx + edx + 0xc], bl
inc ecx
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x927b0
cmp byte [eax + esi], 0x2e
jne 0x927c5
inc eax
xor ebx, ebx
cmp byte [eax + esi], bl
jne 0x9278a
push 0xf
mov byte [ecx + edx + 0xc], bl
lea esi, [ecx + 0xd]
call edi
mov ecx, dword [0xa2bf8]
push 1
mov word [ecx + esi], ax
call edi
mov ecx, dword [0xa2bf8]
push 0x10
push dword [ebp + 0xc]
mov word [ecx + esi + 2], ax
push ebx
add esi, 4
push esi
push 0xa2bf8
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
setle cl
pop edi
pop esi
pop ebx
mov eax, ecx
pop ebp
ret
Function at 0x92df2
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, str.iphlpapi.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x92e10
cmp eax, 0xffffffff
jne 0x92e17
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x92ef1
cmp eax, 0xffffffff
je 0x92ef1
push str.GetNetworkParams
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x92ef1
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0x4000
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x92ef1
mov edi, dword [ebp - 4]
and dword [ebp - 8], eax
add edi, 0x10c
je 0x92ede
lea esi, [edi + 4]
test esi, esi
je 0x92ed8
push 2
pop eax
push 0x35
mov word [ebp - 0x1c], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x1a], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x92ea5
cmp eax, 0xffffffff
jne 0x92eba
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x92ed8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x92ed8
cmp eax, 0xffffffff
je 0x92ed8
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00092ceb
pop ecx
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x92ede
mov edi, dword [edi]
test edi, edi
jne 0x92e78
push dword [ebp - 4]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
jmp 0x92ef3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x930b5
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, 0x80
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0009ee2a
add esp, 0xc
push esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
pop esi
test eax, eax
je 0x930f6
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
leave
ret
xor eax, eax
leave
ret

Function at 0x930fa
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, eax
jmp 0x93122
call edi
sub eax, ebx
cmp eax, 0x1388
jae 0x9312e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x9310f
pop edi
pop esi
pop ebx
ret
Function at 0x93f18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
and dword [ebp + 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x93f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x93f86
push dword [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x93f86
cmp ebx, dword [ebp + 0x14]
jne 0x93f86
xor eax, eax
inc eax
jmp 0x93f88
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x93f8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
and dword [ebp + 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x93ff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x93ffa
push dword [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x93ffa
cmp ebx, dword [ebp + 0x14]
jne 0x93ffa
xor eax, eax
inc eax
jmp 0x93ffc
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x94000
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
or dword [esi], 0xffffffff
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x94057
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x94052
cmp eax, 3
je 0x94052
cmp eax, 5
je 0x94059
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x9400b
xor eax, eax
pop edi
pop esi
ret
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x94054

Function at 0x94bd1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov esi, ecx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebp, eax
add esi, 0xc
jmp 0x94bff
call ebx
sub eax, ebp
cmp eax, 0x1388
jae 0x94c08
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
call edi
test eax, eax
jne 0x94bec
pop edi
pop esi
pop ebp
pop ebx
ret