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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x7c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
jle 0x10027fd
mov dword [ebp - 0xc], ebx
jmp 0x10026e5
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x80]
add eax, edi
lea esi, [eax + ecx + 0x84]
mov eax, dword [esi + 0x38]
lea eax, [eax + edi + 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.010020ac
test eax, eax
je 0x1002804
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x10027e1
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1002804
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x1002804
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10027d6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1001330
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10027d6
cmp dword [ebp - 0x1c], 0
je 0x10027d6
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 8]
lea ecx, [esi + 0x10]
xor edx, edx
push dword [ecx - 0xc]
push dword [ecx - 0x10]
push edi
push ebx
call fcn.010021ff
push dword [ecx]
mov dword [ebp + edx - 0x28], eax
push dword [ecx - 4]
push edi
push ebx
call fcn.010021ff
mov dword [ebp + edx - 0x30], eax
add edx, 4
add ecx, 0x18
cmp edx, 8
jl 0x100278f
cmp dword [ebp - 0x28], 0
jl 0x10027c7
cmp dword [ebp - 0x30], 0
jle 0x10027d3
cmp dword [ebp - 0x24], 0
jl 0x1002825
cmp dword [ebp - 0x2c], 0
jg 0x1002825
mov edi, dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10027ea
cmp dword [esi], ebx
jne 0x1002804
cmp dword [esi + 4], ebx
jne 0x1002804
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x3c
cmp eax, dword [edi + 0x7c]
jl 0x10026e3
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
je 0x100281e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
leave
ret 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1002804
Function at 0x1002a61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
push dword [ebp + 8]
xor edi, edi
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1002aca
cmp dword [ebp + 0xc], edi
je 0x1002aca
cmp ebx, edi
je 0x1002aaa
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1002aae
xor eax, eax
jmp 0x1002acc
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1002b61
Capabilities:
Create directory

Disassembly:
push edi
mov edi, dword [esp + 8]
mov cl, byte [edi]
test cl, cl
je 0x1002bc6
push ebx
push esi
lea esi, [edi + 1]
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x3a
jne 0x1002b84
cmp byte [edi + 2], 0x5c
jne 0x1002b84
lea esi, [edi + 3]
jmp 0x1002bbf
cmp cl, 0x5c
jne 0x1002bbf
cmp al, cl
jne 0x1002bbf
push 2
lea esi, [edi + 2]
pop ebx
jmp 0x1002bbf
cmp byte [esi], 0x5c
jne 0x1002bb6
cmp byte [esi - 1], 0x3a
je 0x1002bb6
test ebx, ebx
je 0x1002ba7
dec ebx
jmp 0x1002bb6
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x1002b95
pop esi
pop ebx
pop edi
ret 4

Function at 0x1002fa7
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
xor edi, edi
xor ebp, ebp
push edi
lea eax, [esp + 0x14]
push 0x100134c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esp + 0x118]
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.01005b5f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x1003042
cmp edi, 0x190
jl 0x1002fbc
push esi
push 0
push 0x1001348
push dword [esp + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1003033
xor ebp, ebp
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x104
ret 8
xor ebp, ebp
push ebp
push esi
call ebx
test eax, eax
je 0x100300b
xor eax, eax
inc eax
mov dword [0x100b880], eax
mov ebp, eax
jmp 0x1003033
Function at 0x1005bf7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005c0a
xor eax, eax
jmp 0x1005c12
shr eax, 4
not eax
and eax, 1
ret 4

Function at 0x1005d4f
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
and dword [ebp + 0x74], 0
cmp dword [0x100a2cc], 0xfffffffe
mov dword [ebp + 0x6c], 0xc
jne 0x1005e36
and dword [0x100a2cc], 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1005e36
cmp dword [ebp - 0x28], 1
jne 0x1005e36
cmp dword [ebp - 0x34], 4
jne 0x1005e36
cmp dword [ebp - 0x30], 0xa
jae 0x1005e36
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1005e36
lea eax, [ebp + 0x70]
push eax
push 0x20019
push 0
push 0x100148c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005e36
push edi
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x68]
push eax
push 0
push 0x1001254
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x70]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1005e36
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.01005c49
test eax, eax
je 0x1005e36
and dword [ebp + 0x74], 0x3ff
cmp dword [ebp + 0x74], 1
je 0x1005e2c
cmp dword [ebp + 0x74], 0xd
jne 0x1005e36
mov dword [0x100a2cc], 1
mov eax, dword [0x100a2cc]
add ebp, 0x78
leave
ret

Function at 0x1005e40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1005e76
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005e7a
xor eax, eax
jmp 0x1005e90
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x10070a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10070e3
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x10070c0
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10070ff
dec esi
je 0x10070f8
dec esi
jne 0x1007104
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x409e9b
pop dword [ebp - 0x44]
mov eax, 0x409e9b
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x7f517a78
sub dword [ebp - 0x54], 0x30ff352d
mov dword [ebp - 0x50], 0xe9336e96
sub dword [ebp - 0x50], 0xb7002251
mov dword [ebp - 0x4c], 0x5c30366
add dword [ebp - 0x4c], 0x468940c8
mov dword [ebp - 0x48], 0x6a03fbf3
add dword [ebp - 0x48], 0x95fc040d
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x91355b61
sub dword [ebp - 0x54], 0x1cc2f20b
mov dword [ebp - 0x50], 0x51a213b3
add dword [ebp - 0x50], 0xefca4dc2
mov dword [ebp - 0x4c], 0x9a7aade8
sub dword [ebp - 0x4c], 0x370b417c
mov dword [ebp - 0x48], 0x73ffbba7
sub dword [ebp - 0x48], 0x73ffbba7
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x387aa
push 0
call eax
mov ecx, 0x55feffa3
sub ecx, 0x55febc44
mov esi, eax
mov edx, 0xfdfb4c17
sub edx, 0xfdb99c17
add edx, dword [ebp - 0x44]
mov edi, 0x37a77ad3
sub dword [ebp - 8], 0x1afb1d9c
mov ebx, dword [edx]
sub dword [ebp - 4], 0xfd3ae667
xor ebx, edi
sub dword [ebp - 0x34], 0x2ed4c08c
mov dword [esi], ebx
add dword [ebp - 0x34], 0x2970746e
add esi, 0xff4f1b04
add esi, 0xb0e500
add edx, 0x60f204c
sub edx, 0x60f2048
loop 0x409fa8
add eax, 0x201f8af8
sub eax, 0x201e8aa9
mov ebx, eax
add eax, 0x7fa6341d
add eax, 0x8059cbe8
mov ecx, 0xc82135be
add ecx, 0x381eca42
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7bfb19b6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x93b1062
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x81000
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x93918]
push edi
or edi, 0xffffffff
test eax, eax
jne 0x81023
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x93918], eax
test eax, eax
jne 0x81023
pop edi
ret
cmp dword [0x9391c], 0
je 0x810b5
cmp dword [0x93920], 0
je 0x810b5
cmp dword [0x93924], 0
je 0x810b5
cmp dword [0x93928], 0
je 0x810b5
cmp dword [0x9392c], 0
je 0x810b5
cmp dword [0x93930], 0
je 0x810b5
cmp dword [0x93934], 0
je 0x810b5
cmp dword [0x93938], 0
je 0x810b5
cmp dword [0x9393c], 0
je 0x810b5
cmp dword [0x93940], 0
je 0x810b5
cmp dword [0x93944], 0
je 0x810b5
cmp dword [0x93948], 0
je 0x810b5
cmp dword [0x9394c], 0
je 0x810b5
cmp dword [0x93950], 0
je 0x810b5
cmp dword [0x93954], 0
je 0x810b5
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 [0x9391c], eax
test eax, eax
je 0x8127b
mov eax, dword [0x93918]
push str.RtlSetLastWin32Error
push eax
mov edi, 0xfffffffe
call esi
mov dword [0x93920], eax
test eax, eax
je 0x8127b
mov ecx, dword [0x93918]
push str.NtTerminateProcess
push ecx
mov edi, 0xfffffffd
call esi
mov dword [0x93924], eax
test eax, eax
je 0x8127b
mov edx, dword [0x93918]
push str.RtlFreeSid
push edx
mov edi, 0xfffffffc
call esi
mov dword [0x93928], eax
test eax, eax
je 0x8127b
mov eax, dword [0x93918]
push str.RtlInitUnicodeString
push eax
mov edi, 0xfffffffb
call esi
mov dword [0x9392c], eax
test eax, eax
je 0x8127b
mov ecx, dword [0x93918]
push str.NtSetInformationThread
push ecx
mov edi, 0xfffffffa
call esi
mov dword [0x93930], eax
test eax, eax
je 0x8127b
mov edx, dword [0x93918]
push str.NtSetInformationToken
push edx
mov edi, 0xfffffff9
call esi
mov dword [0x93934], eax
test eax, eax
je 0x8127b
mov eax, dword [0x93918]
push str.RtlNtStatusToDosError
push eax
mov edi, 0xfffffff8
call esi
mov dword [0x93938], eax
test eax, eax
je 0x8127b
mov ecx, dword [0x93918]
push str.NtClose
push ecx
mov edi, 0xfffffff7
call esi
mov dword [0x9393c], eax
test eax, eax
je 0x8127b
mov edx, dword [0x93918]
push str.NtOpenProcessToken
push edx
mov edi, 0xfffffff6
call esi
mov dword [0x93940], eax
test eax, eax
je 0x8127b
mov eax, dword [0x93918]
push str.NtDuplicateToken
push eax
mov edi, 0xfffffff5
call esi
mov dword [0x93944], eax
test eax, eax
je 0x8127b
mov ecx, dword [0x93918]
push str.RtlAllocateAndInitializeSid
push ecx
mov edi, 0xfffffff4
call esi
mov dword [0x93948], eax
test eax, eax
je 0x8127b
mov edx, dword [0x93918]
push str.NtFilterToken
push edx
mov edi, 0xfffffff3
call esi
mov dword [0x9394c], eax
test eax, eax
je 0x8127b
mov eax, dword [0x93918]
push str.RtlLengthSid
push eax
mov edi, 0xfffffff2
call esi
mov dword [0x93950], eax
test eax, eax
je 0x8127b
mov ecx, dword [0x93918]
push str.NtQueryInformationToken
push ecx
mov edi, 0xfffffff1
call esi
mov dword [0x93954], eax
test eax, eax
lea eax, [edi + 0x10]
jne 0x8127d
mov eax, edi
pop esi
pop edi
ret
Function at 0x81ac3
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 0x81b6b
push ebx
push str.GetAdaptersAddresses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x81b6a
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push esi
jmp 0x81b1c
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0008ebed
pop ecx
pop ecx
cmp eax, esi
je 0x81b29
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 0x81b03
cmp edi, esi
jne 0x81b5b
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x81b69
mov edi, dword [eax + 0x34]
xor edx, edx
cmp edi, esi
jbe 0x81b54
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 0x81b3d
mov eax, dword [eax + 8]
cmp eax, esi
jne 0x81b34
cmp dword [ebp - 4], esi
je 0x81b69
push dword [ebp - 4]
call fcn.0008ec2e
pop ecx
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
pop esi
leave
ret

Function at 0x81bdf
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.00081ac3
cmp eax, ebx
jne 0x81c5a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x81c45
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x81c45
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 0x81c26
cmp esi, ebx
je 0x81c45
mov eax, esi
jmp 0x81c5a
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 0x82011
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x100
test byte [0x922f4], 1
jne 0x82034
or dword [0x922f4], 1
push 0
call fcn.0008f04e
pop ecx
mov dword [0x922f0], eax
test byte [0x922f4], 2
jne 0x82051
or dword [0x922f4], 2
push 0
call fcn.0008f04e
pop ecx
mov dword [0x922ec], eax
test byte [0x922f4], 4
jne 0x8206e
or dword [0x922f4], 4
push 0
call fcn.0008f04e
pop ecx
mov dword [0x922e8], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x922e0]
mov esi, dword [esp + 0x114]
mov ebx, 0xdbba0
cmp eax, ebx
jbe 0x820db
mov eax, dword [section..data]
xor ebp, ebp
cmp byte [eax], 0
je 0x820d4
mov eax, section..data
push dword [eax]
call fcn.00082684
pop ecx
test eax, eax
je 0x820bf
or dword [esi + 0x14], 4
push 0x50
push eax
call fcn.00081978
pop ecx
pop ecx
test eax, eax
jne 0x820d0
inc ebp
lea eax, [ebp*4 + section..data]
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x820a1
jmp 0x820d4
or dword [esi + 0x14], 2
call edi
mov dword [0x922e0], eax
call edi
sub eax, dword [0x922dc]
cmp eax, ebx
jbe 0x82132
mov eax, dword [section..data]
xor ebp, ebp
cmp byte [eax], 0
je 0x8212b
mov eax, section..data
push dword [eax]
call fcn.00082ef8
pop ecx
test eax, eax
je 0x82116
or dword [esi + 0x14], 8
push 0x19
push eax
call fcn.00081978
pop ecx
pop ecx
test eax, eax
jne 0x82127
inc ebp
lea eax, [ebp*4 + section..data]
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x820f8
jmp 0x8212b
or dword [esi + 0x14], 1
call edi
mov dword [0x922dc], 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 [0x92110]
mov dword [esi + 0x2c], eax
call fcn.0008f04e
sub eax, dword [0x922f0]
pop ecx
mov edi, str.localcfg
mov ebp, 0x4b0
cmp eax, dword [0x922e4]
jbe 0x821cb
push 0x90264
push 0x100
lea eax, [esp + 0x18]
push eax
push str.rbl_bl
push edi
push 1
call fcn.0008e854
push ebx
push str.rbl_ip
push edi
push 1
call fcn.0008e819
add esp, 0x28
cmp eax, ebx
je 0x821c1
cmp byte [esp + 0x10], bl
je 0x821c1
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00081c5f
pop ecx
pop ecx
mov dword [esi + 0x38], eax
mov dword [0x922e4], ebp
jmp 0x821cb
mov dword [0x922e4], 0x12c
push ebx
call fcn.0008f04e
sub eax, dword [0x922f0]
pop ecx
cmp eax, ebp
jbe 0x821fa
push dword [esi + 0x14]
push str.net_type
push edi
push 1
call fcn.0008ea84
push ebx
call fcn.0008f04e
add esp, 0x14
mov dword [0x922f0], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret

Function at 0x824c2
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 0x824d5
xor eax, eax
pop ebp
ret
jbe 0x82504
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 + 0x903b0]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x903b0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x824d7
not eax
pop ebp
ret
Function at 0x82508
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 0x8253e
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 0x8251f
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x82544
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 0x82571
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 0x8255a
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret

Function at 0x82684
Capabilities:
Resolve dns

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

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [0x92bf8]
xor ebx, ebx
push edi
mov edi, 0x400
cmp eax, ebx
jne 0x82723
push edi
call fcn.0008ebcc
pop ecx
mov dword [0x92bf8], eax
push edi
push ebx
push eax
call fcn.0008ee2a
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x92bf8]
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov word [ecx], ax
mov eax, dword [0x92bf8]
mov cx, word [ebp + 0x10]
push 1
mov word [eax + 2], cx
call edi
mov ecx, dword [0x92bf8]
mov word [ecx + 4], ax
mov ecx, dword [0x92bf8]
xor eax, eax
mov word [ecx + 6], ax
mov ecx, dword [0x92bf8]
mov word [ecx + 8], ax
mov ecx, dword [0x92bf8]
mov word [ecx + 0xa], ax
mov edx, dword [0x92bf8]
xor ecx, ecx
cmp byte [esi], bl
je 0x827cc
mov bl, byte [eax + esi]
mov dword [ebp + 0x10], eax
jmp 0x827a0
cmp bl, 0x2e
je 0x827a4
inc dword [ebp + 0x10]
mov ebx, dword [ebp + 0x10]
mov bl, byte [ebx + esi]
test bl, bl
jne 0x82792
mov bl, byte [ebp + 0x10]
sub bl, al
mov byte [ecx + edx + 0xc], bl
inc ecx
jmp 0x827b9
mov bl, byte [eax + esi]
mov byte [ecx + edx + 0xc], bl
inc ecx
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x827b0
cmp byte [eax + esi], 0x2e
jne 0x827c5
inc eax
xor ebx, ebx
cmp byte [eax + esi], bl
jne 0x8278a
push 0xf
mov byte [ecx + edx + 0xc], bl
lea esi, [ecx + 0xd]
call edi
mov ecx, dword [0x92bf8]
push 1
mov word [ecx + esi], ax
call edi
mov ecx, dword [0x92bf8]
push 0x10
push dword [ebp + 0xc]
mov word [ecx + esi + 2], ax
push ebx
add esi, 4
push esi
push 0x92bf8
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