joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008e60
Capabilities:
Create directory
Encode data using xor
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
mov esi, ecx
call fcn.1000f1c0
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10008eb2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a0c9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
add eax, 0xfffffffe
jmp 0x10008ec0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10008ec0
mov edx, dword [str.Temp]
mov ecx, dword [0x100163dc]
mov dword [eax], edx
mov edx, dword [0x100163e0]
push edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10008f00
mov ecx, dword [0x100163c4]
mov eax, esi
mov dword [edi], ecx
mov edx, eax
jmp 0x10008f20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008f20
lea edi, [ebp - 0x210]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10008f36
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0
push 4
push 0
push 0
mov ecx, eax
push 0x10000000
lea edx, [ebp - 0x210]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009034
push 0x55660
call fcn.1000a7f1
push 0x55660
mov esi, eax
push 0x10019eb0
push esi
call fcn.1000fbc0
add esp, 0x10
xor eax, eax
jmp 0x10008fa0
xor byte [eax + esi], 0xf3
inc eax
cmp eax, 0x55660
jb 0x10008fa0
push 0
lea eax, [ebp - 0x214]
push eax
push 0x55660
push esi
push edi
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10009024
cmp dword [ebp - 0x214], 0x55660
jne 0x10009024
push esi
call fcn.1000ab66
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x20a
call fcn.1000a7f1
lea ecx, [ebp - 0x210]
mov esi, eax
mov edx, ecx
add esp, 4
sub esi, edx
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x10009005
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a0c9
mov esp, ebp
pop ebp
ret
push esi
call fcn.1000ab66
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1000a0c9
mov esp, ebp
pop ebp
ret
Function at 0x100092d0
Capabilities:
Connect to wmi namespace via wbemlocator
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013221
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x10016428
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
lea eax, [ebp - 0x30]
push eax
push 0x10016448
push 1
push ebx
mov byte [ebp - 4], 3
push 0x10016438
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1000935f
push 0x10016bf0
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 0x90001
call fcn.1000b420
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x544f4f52
mov dword [ebp - 0x20], 0x6365535c
mov dword [ebp - 0x1c], 0x74697275
mov dword [ebp - 0x18], 0x6e654379
mov dword [ebp - 0x14], 0x726574
call fcn.10009210
mov ebx, eax
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x2c], 0
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
push eax
call edx
test eax, eax
jns 0x100093d9
push 0x10016bf0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x90001
call fcn.1000b420
mov ecx, dword [ebp - 0x2c]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x10009401
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 6
jmp 0x100093c4
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x58], ecx
test ebx, ebx
je 0x10009412
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 3
test edi, edi
je 0x10009422
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a0c9
mov esp, ebp
pop ebp
ret
Function at 0x10009c00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, eax
lea ecx, [edi + 2]
mov eax, 0xaaaaaaab
mul ecx
mov ebx, edx
mov edx, dword [ebp + 0xc]
shr ebx, 1
add ebx, ebx
add ebx, ebx
push ebx
mov dword [edx], ebx
call fcn.1000ac27
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x10009c35
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
test edi, edi
je 0x10009cd2
mov ecx, eax
cmp esi, edi
jae 0x10009c50
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
inc esi
jmp 0x10009c52
xor eax, eax
cmp esi, edi
jae 0x10009c63
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
mov dword [ebp + 0xc], edx
inc esi
jmp 0x10009c6a
mov dword [ebp + 0xc], 0
cmp esi, edi
jae 0x10009c78
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
inc esi
jmp 0x10009c7a
xor edx, edx
shl eax, 8
add eax, dword [ebp + 0xc]
add ecx, 4
shl eax, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 4], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], dl
mov byte [ecx - 1], al
cmp esi, edi
jb 0x10009c46
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
mov edi, dword [edi*4 + 0x10019ea0]
pop esi
test edi, edi
jle 0x10009cfa
mov edx, dword [ebp - 4]
lea eax, [ebx + edx - 1]
mov byte [eax], 0x3d
dec eax
dec edi
jne 0x10009cf3
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a0c9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019018]
jne 0x1000a0d3
repz ret
jmp fcn.1000af38
Function at 0x1000ec51
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000be89
and dword [ebp - 0x14], 0
cmp dword [0x1007041c], 0
mov dword [ebp - 0x18], eax
jne 0x1000ed04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000edac
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000edac
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1007041c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10070420], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10070424], eax
call edi
push eax
call esi
mov dword [0x1007042c], eax
test eax, eax
je 0x1000ed04
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10070428], eax
mov eax, dword [0x10070428]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000ed5d
cmp dword [0x1007042c], ecx
je 0x1000ed5d
push eax
call esi
push dword [0x1007042c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000ed5d
test ebx, ebx
je 0x1000ed5d
call edi
test eax, eax
je 0x1000ed54
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000ed54
test byte [ebp - 8], 1
jne 0x1000ed5d
or dword [ebp + 0x10], 0x200000
jmp 0x1000ed90
mov eax, dword [0x10070420]
cmp eax, dword [ebp - 0x18]
je 0x1000ed90
push eax
call esi
test eax, eax
je 0x1000ed90
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000ed90
mov eax, dword [0x10070424]
cmp eax, dword [ebp - 0x18]
je 0x1000ed90
push eax
call esi
test eax, eax
je 0x1000ed90
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1007041c]
call esi
test eax, eax
je 0x1000edac
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000edae
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a0c9
leave
ret
Function at 0x402814
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00402371
popfd
adc dword [edx + 0x7c858d40], ecx
inc eax
invalid
invalid
jl 0x40285c

Function at 0x4029c8
Capabilities:
Inspect section memory permissions

Disassembly:
cmp eax, ebx
je 0x402a25
add eax, esi
cmp dword [eax], ebx
je 0x402a25
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x402a20
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x402a0a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x402a12
cmp edx, ebx
jne 0x402b60
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4029e1
add eax, dword [eax + 4]
jmp 0x4029ce
mov dword [ebp + 0xc], ebx
jmp 0x402a30
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x402a48
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402a66
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x402ac4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402aab
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x402ab4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402abe
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402aa0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x402a2a
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x402f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00402381
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402336
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00402371
add byte [ecx - 0x2d], 0x6d
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
invalid
test ebx, edi

Function at 0x40300c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00402336
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00402371
mov edx, 0x6860919a
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x403065
Function at 0x417660
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x417675
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x419404
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41940a
ret

Function at 0x41b9a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41b9f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41b9dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41b9cc
jmp 0x41b9f5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41b9dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431430
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x43144c
cmp dword [esi + 4], 0
je 0x431479
test byte [ebx + 0x45], 1
jne 0x43146b
mov eax, ebx
call fcn.004304a0
test eax, eax
jne 0x43146b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431589
mov edx, esi
mov eax, ebx
call fcn.004310a8
jmp 0x431589
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x431582
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043331c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042e5f4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431430
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043331c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431589
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fdec
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x44fdf5
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x44ff6f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [edx + 0xa], 0
jbe 0x44fe28
mov byte [ebx + 0xb4], 0
jmp 0x44fe2f
mov byte [ebx + 0xb4], 1
mov eax, dword [edx]
sub eax, 0x465
je 0x44fe52
dec eax
je 0x44ff29
dec eax
je 0x44ff55
dec eax
je 0x44ff5e
jmp 0x44ff65
movzx eax, word [edx + 8]
cmp eax, 8
jg 0x44fe74
je 0x44ff11
dec eax
je 0x44feff
dec eax
je 0x44ff08
jmp 0x44ff65
sub eax, 0x10
je 0x44fe83
sub eax, 0x10
je 0x44feaf
jmp 0x44ff65
cmp byte [ebx + 0xb4], 0
je 0x44ff65
mov byte [ebx + 0x2a0], 1
cmp word [ebx + 0x3a], 0
je 0x44ff65
mov edx, ebx
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
jmp 0x44ff65
push 0
push 0x3fff
lea eax, [ebp - 0x4000]
push eax
movzx eax, word [ebx + 0x294]
push eax
call sub.wsock32.dll_recv
mov esi, eax
test esi, esi
jle 0x44fee3
lea edx, [ebp - 0x4000]
mov eax, dword [ebx + 0x29c]
mov ecx, esi
call fcn.00412f64
dec esi
jl 0x44feef
cmp byte [ebx + 0x84], 0
je 0x44feaf
mov byte [ebx + 0x2a0], 0
mov eax, ebx
call fcn.00450418
jmp 0x44ff65
mov eax, ebx
call fcn.0044ff80
jmp 0x44ff65
mov eax, ebx
call fcn.004501b4
jmp 0x44ff65
mov byte [ebx + 0x2a0], 1
cmp word [ebx + 0x32], 0
je 0x44ff65
mov edx, ebx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
jmp 0x44ff65
mov byte [ebx + 0xd4], 1
cmp word [edx + 8], 8
jne 0x44ff65
mov byte [ebx + 0x2a0], 1
test byte [ebx + 0x20], 8
jne 0x44ff65
cmp word [ebx + 0x42], 0
je 0x44ff65
mov edx, ebx
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
jmp 0x44ff65
mov eax, ebx
call fcn.004501b4
jmp 0x44ff65
mov eax, ebx
call fcn.0044ff80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44ff79
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4674ab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4824ee
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467503
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x48250f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4674f9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x467507
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x47be80
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00403f34
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47bebc
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp], cl
mov cl, byte [edx + 1]
mov byte [esp + 1], cl
mov cl, byte [edx + 2]
mov byte [esp + 2], cl
mov al, byte [edx + 3]
mov byte [esp + 3], al
push dword [esp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, esi
call fcn.00403ca8
pop edx
pop esi
pop ebx
ret
Function at 0x47bed4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x38], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47c01d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x483928]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, 0x2000
call fcn.00402788
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47c000
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x20
call fcn.00402aec
mov eax, dword [ebx + 0x304]
call fcn.00403f34
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x47bf6d
call fcn.00403608
jmp 0x47c007
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x2000
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
jne 0x47bf9e
call fcn.00403608
jmp 0x47c007
test eax, eax
je 0x47bfa9
call fcn.00403608
jmp 0x47c007
mov esi, ebx
mov ebx, dword [ebp - 0xc]
dec ebx
test ebx, ebx
jl 0x47bf6d
inc ebx
lea eax, [ebp - 0x38]
mov edx, dword [esi + 0x14]
call fcn.00403ca8
mov edx, dword [ebp - 0x38]
mov eax, dword [0x483928]
mov ecx, dword [eax]
call dword [ecx + 0x34]
add esi, 0x20
dec ebx
jne 0x47bfb4
jmp 0x47bf6d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c024
lea eax, [ebp - 0x38]
call fcn.00403af4
ret

Function at 0x47e310
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e3bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.00403af4
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47e3a4
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47e399
mov eax, dword [edi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, esi
call fcn.00408eb8
lea ecx, [ebp - 0x1d8]
mov edx, dword [esi]
mov eax, dword [ebp - 4]
call fcn.0047e3cc
cmp dword [ebp - 0x1d8], 0
jne 0x47e39f
inc ebx
cmp dword [edi + ebx*4], 0
jne 0x47e36e
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3c4
lea eax, [ebp - 0x1d8]
call fcn.00403af4
ret