joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001335d
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push 0xa4
mov eax, 0x1004e8ec
call fcn.10035d35
mov edi, ecx
xor esi, esi
mov eax, edi
mov dword [ebp - 0x60], esi
call fcn.100141db
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x10013545
push dword [ebp - 0x60]
call fcn.10033575
pop ecx
mov ebx, eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push esi
push 2
mov dword [ebp - 0x5c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, esi
jne 0x10013537
mov dword [ebp - 0x64], ebx
cmp ebx, esi
je 0x10013545
jmp 0x100133c5
mov ebx, dword [ebp - 0x64]
cmp dword [ebx + 0x34], esi
jbe 0x10013529
mov eax, dword [ebx + 0x40]
cmp eax, 0x47
je 0x100133df
cmp eax, 6
jne 0x10013529
lea ecx, [ebp - 0x54]
call fcn.1000266e
lea ecx, [ebp - 0x38]
call fcn.1000266e
mov dword [ebp - 4], esi
cmp dword [ebx + 0x34], 0
jbe 0x1001344a
movzx eax, byte [ebx + esi + 0x2c]
push eax
push 0x10053970
lea eax, [ebp - 0x1c]
push 4
push eax
call fcn.1000bb4e
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002683
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.10002a81
push 0
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10002a1b
inc esi
cmp esi, dword [ebx + 0x34]
jb 0x100133f8
cmp dword [ebx + 0x40], 0x47
push dword [ebx + 0xc]
sete al
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x58], al
call fcn.10003a00
lea esi, [ebp - 0x8c]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.10012cf3
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.100028ae
push esi
push 1
lea ecx, [ebp - 0xb0]
call fcn.10002a1b
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.1000388a
mov ecx, dword [edi + 0xc]
cmp ecx, esi
jne 0x100134b5
mov dword [ebp - 0x68], esi
jmp 0x100134c3
mov eax, dword [edi + 0x14]
sub eax, ecx
push 0x3c
cdq
pop esi
idiv esi
mov dword [ebp - 0x68], eax
mov esi, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
push 0x3c
cdq
pop ecx
idiv ecx
cmp eax, dword [ebp - 0x68]
jae 0x100134e6
lea eax, [ebp - 0x58]
push eax
push 1
push esi
call fcn.100143b3
mov dword [edi + 0x10], eax
jmp 0x1001350b
mov ebx, esi
lea esi, [ebp - 0x70]
call fcn.1000e97f
push dword [ebp - 0x6c]
lea eax, [ebp - 0x58]
push dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, edi
call fcn.10014304
mov ebx, dword [ebp - 0x64]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.10002a1b
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10002a1b
xor esi, esi
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x64], ebx
cmp ebx, esi
jne 0x100133c2
cmp dword [ebp - 0x5c], esi
je 0x10013545
push dword [ebp - 0x5c]
call fcn.1003363f
pop ecx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x3c
cdq
pop ecx
idiv ecx
neg eax
sbb eax, eax
neg eax
call fcn.10035db8
ret
Function at 0x10013756
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x1004e286
call fcn.10035d35
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], ebx
push eax
mov dword [ebp - 0x22c], eax
mov esi, ecx
mov dword [ebp - 0x220], ebx
call fcn.1000cafd
xor edi, edi
mov dword [ebp - 4], ebx
inc edi
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x230], edi
jb 0x1001379e
mov esi, dword [esi + 4]
jmp 0x100137a1
add esi, 4
lea eax, [ebp - 0x220]
push eax
push 8
push ebx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10013892
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x228], ebx
call fcn.10035820
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x224], 0x104
push ebx
jmp 0x1001387a
inc dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10002683
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], edi
push eax
mov eax, dword [ebp - 0x22c]
call fcn.1001424a
push ebx
push edi
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], bl
call fcn.10002a1b
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
mov dword [ebp - 0x224], 0x104
call fcn.10035820
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call esi
test eax, eax
je 0x10013806
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22c]
call fcn.10035db8
ret 4
Function at 0x100138a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9a4]
sub esp, 0xa24
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp + 0x9a0], eax
mov eax, dword [ebp + 0x9b0]
push ebx
xor ebx, ebx
cmp dword [ebp + 0x9c4], 8
push esi
mov dword [ebp - 0x70], ebx
jae 0x100138d7
lea eax, [ebp + 0x9b0]
lea ecx, [ebp - 0x70]
push ecx
push 1
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100139fa
push 0x206
mov word [ebp + 0x798], ax
lea eax, [ebp + 0x79a]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10035820
xor eax, eax
push 0x7fe
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push ebx
push eax
mov dword [ebp - 0x74], 0x104
mov dword [ebp - 0x80], ebx
call fcn.10035820
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x798]
push eax
push ebx
jmp 0x100139dd
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x80], 1
jne 0x10013997
cmp dword [ebp - 0x74], ebx
jbe 0x10013997
cmp dword [ebp - 0x78], 3
jbe 0x10013997
lea eax, [ebp + 0x798]
push eax
push str.PnpInstanceID
call fcn.100330b8
pop ecx
pop ecx
test eax, eax
jne 0x10013997
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x68]
push eax
push 0x10054e48
call fcn.100330b8
pop ecx
pop ecx
test eax, eax
je 0x100139ff
push 0x208
lea eax, [ebp + 0x798]
push ebx
push eax
call fcn.10035820
push 0x800
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10035820
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x798]
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x74], 0x104
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 0x400
call esi
test eax, eax
je 0x10013954
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x69], bl
jmp 0x10013a0c
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x69], 1
push ebx
push 1
lea ecx, [ebp + 0x9ac]
call fcn.10002a1b
mov ecx, dword [ebp + 0x9a0]
mov al, byte [ebp - 0x69]
pop esi
xor ecx, ebp
pop ebx
call fcn.10032bd7
add ebp, 0x9a4
leave
ret 0x1c
Function at 0x1001594f
Capabilities:
Get storage device properties

Disassembly:
push ebp
sub esp, 0xb0c
lea ebp, [esp - 4]
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp + 0xb0c], eax
push 0x30
mov eax, 0x1004e152
call fcn.10035ccc
mov eax, dword [ebp + 0xb18]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], ebx
cmp byte [ebp - 0xd], bl
jne 0x10015ac6
push 0x200
lea eax, [ebp + 0x80c]
push ebx
push eax
call fcn.10035820
push dword [ebp - 0x14]
mov esi, 0xff
push str..PhysicalDrive_d
lea eax, [ebp + 0x80c]
push esi
push eax
call fcn.10015e40
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp + 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x10015ab9
xor eax, eax
lea edi, [ebp]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x800
push edi
lea eax, [ebp + 0xc]
push ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call fcn.10035820
add esp, 0xc
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10015aaa
push esi
lea eax, [ebp + 0xa0d]
push ebx
push eax
call fcn.10035820
mov ecx, dword [ebp + 0x24]
add esp, 0xc
cmp ecx, ebx
mov byte [ebp + 0xa0c], bl
jle 0x10015a53
lea esi, [ebp + 0xa0c]
lea eax, [ebp + 0xc]
call fcn.10015aee
movsx eax, byte [ebp + 0xa0c]
push eax
call fcn.10034eba
pop ecx
test eax, eax
jne 0x10015a77
movsx eax, byte [ebp + 0xa1f]
push eax
call fcn.10034eba
pop ecx
test eax, eax
je 0x10015ab0
lea eax, [ebp + 0xa0c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003a00
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10003687
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000388a
mov byte [ebp - 0xd], 1
jmp 0x10015ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x10
jl 0x10015984
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb0c]
xor ecx, ebp
call fcn.10032bd7
add ebp, 0xb10
leave
ret 4

Function at 0x1001603b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 9
pop eax
cmp ax, word [ebp - 0x24]
je 0x10016061
push 6
pop eax
cmp ax, word [ebp - 0x24]
je 0x10016061
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret
Function at 0x100161db
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
je 0x100161ee
xor eax, eax
inc eax
jmp 0x10016247
push esi
push 0
xor esi, esi
inc esi
push esi
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x10016208
xor eax, eax
jmp 0x10016246
push ebx
push 4
lea ecx, [ebp - 8]
push ecx
push 4
mov ebx, 0xffff
push ebx
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call esi
xor eax, eax
lea edi, [ebp - 2]
stosw word es:[edi], ax
inc eax
push 4
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push 0xffffff7f
push ebx
push dword [eax]
call esi
xor eax, eax
inc eax
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x1001624c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
test ebx, ebx
jne 0x10016273
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x100162c0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
pop eax
push ebx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100162a7
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10016264
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0xc]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push eax
call fcn.100162d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10032bd7
leave
ret 8
Function at 0x100162d0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [ebp + 0xc], 0xffffffff
jne 0x100162fa
push 0x10
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
leave
ret 8
push ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp - 4]
push eax
mov ebx, 0x8004667e
push ebx
push dword [esi]
mov dword [ebp - 4], 1
call edi
and dword [ebp - 4], 0
push 0x10
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1001633b
lea eax, [ebp - 4]
push eax
push ebx
push dword [esi]
call edi
and dword [ebp + 8], 0
jmp 0x1001638c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10016335
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi]
mov dword [ebp - 0x10c], ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push ecx
push eax
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x10016335
mov dword [ebp + 8], 1
lea eax, [ebp - 4]
push eax
push ebx
push dword [esi]
call edi
mov eax, dword [ebp + 8]
pop edi
pop ebx
jmp 0x100162f6
Function at 0x10016cdb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.iCountry
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10016d41
cmp dword [ebp + 8], 1
je 0x10016d19
cmp dword [ebp + 8], 2
je 0x10016d19
push 0xd
pop eax
jmp 0x10016d41
mov eax, dword [ebp - 4]
test edi, edi
je 0x10016d3b
test eax, eax
je 0x10016d36
test al, 1
jne 0x10016d14
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10016d3b
jmp 0x10016d14
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4

Function at 0x1001aa85
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
mov esi, eax
cmp byte [esi + 5], 0
push edi
je 0x1001aac7
call fcn.1001aacb
mov ecx, dword [0x1005e218]
mov edi, dword [esi + 0x30]
xor eax, eax
cmp ecx, 0xffffffff
je 0x1001aaac
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp edi, eax
je 0x1001aac3
mov edi, dword [esi + 0xc]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 5], 0
pop edi
pop esi
pop ecx
ret

Function at 0x1001ab6d
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 4
mov eax, 0x1004e046
call fcn.10035ccc
mov edi, dword [ebp + 8]
xor ebx, ebx
lea esi, [edi + 0x14]
mov dword [edi], 0x100556a4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
mov byte [edi + 0xd], bl
mov dword [edi + 0x10], ebx
call fcn.1001ac1c
lea esi, [edi + 0x34]
mov dword [ebp - 4], ebx
call fcn.1001ac1c
push ebx
push 1
mov byte [ebp - 4], 1
lea esi, [edi + 0x54]
call fcn.10002f5e
pop ecx
pop ecx
cmp eax, ebx
je 0x1001abbf
mov dword [eax], esi
jmp 0x1001abc1
xor eax, eax
mov dword [esi], eax
lea eax, [edi + 0x74]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push eax
mov dword [edi + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x1005e218]
cmp eax, 0xffffffff
jne 0x1001abee
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1005e218], eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
call fcn.10035da4
ret 4
Function at 0x1001ac4f
Capabilities:
Set thread local storage value

Disassembly:
push 4
mov eax, 0x1004eac0
call fcn.10035ccc
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100556a4
mov dword [ebp - 4], 3
xor edi, edi
mov ecx, esi
call fcn.1001acd6
call fcn.1001afc2
mov ecx, esi
call fcn.1001acd6
test al, al
je 0x1001ac8c
inc edi
cmp edi, 0x64
jl 0x1001ac6f
mov eax, dword [0x1005e218]
cmp eax, 0xffffffff
je 0x1001ac9f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.1001bd34
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 0
call fcn.1001bc97
or dword [ebp - 4], 0xffffffff
add esi, 0x14
push esi
call fcn.1001bc97
call fcn.10035da4
ret
Function at 0x1001d13d
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1a8]
mov dword [ebp - 0x80], eax
xor esi, esi
xor eax, eax
push 0x206
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push esi
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], esi
xor ebx, ebx
call fcn.10035820
add esp, 0xc
cmp dword [ebp + 0x1b0], 2
jne 0x1001d19f
mov dword [ebp - 0x7c], 0x800000
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x78], eax
cmp eax, esi
je 0x1001d21b
push esi
push dword [ebp + 0x1b4]
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1b8]
cmp eax, 0xffffffff
je 0x1001d1df
push eax
push eax
push eax
push eax
push dword [ebp - 0x78]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
cmp dword [ebp - 0x74], esi
je 0x1001d21b
push dword [ebp - 0x7c]
push esi
push esi
push esi
push dword [ebp - 0x80]
push str.HEAD
push dword [ebp - 0x74]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
cmp ebx, esi
je 0x1001d21b
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, esi
je 0x1001d21b
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push 5
push ebx
mov dword [ebp - 0x70], 0x208
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1001d24d
push 0xa
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.100357ef
add esp, 0xc
mov dword [ebp - 0x70], eax
jmp 0x1001d250
mov dword [ebp - 0x70], esi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp ebx, esi
je 0x1001d25d
push ebx
call edi
cmp dword [ebp - 0x74], esi
je 0x1001d267
push dword [ebp - 0x74]
call edi
cmp dword [ebp - 0x78], esi
je 0x1001d271
push dword [ebp - 0x78]
call edi
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10032bd7
add ebp, 0x1a0
leave
ret 0x14
Function at 0x1001d870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004d3b6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1005ce10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], edi
mov byte [esp + 0x18], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x1001d8ef
lea ebx, [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001d8ef
cmp ebx, edi
je 0x1001d8ef
lea ecx, [ebx - 4]
cmp ecx, edi
je 0x1001d8ef
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x1001e715
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
push ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xa4]
push esi
push edi
mov dword [ebp - 0x80], eax
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x70], al
inc eax
cmp eax, 0x100
jb 0x1001e749
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
mov eax, 0xff
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x7c]
movzx esi, byte [esi + ebx]
lea ecx, [ebp + ecx - 0x70]
mov dl, byte [ecx]
add esi, edi
movzx ebx, dl
add ebx, esi
and ebx, eax
inc dword [ebp - 0x74]
mov esi, dword [ebp - 0x74]
mov edi, ebx
cmp esi, dword [ebp + 0xa0]
jb 0x1001e790
and dword [ebp - 0x74], 0
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0x100
lea esi, [ebp + edi - 0x70]
mov bl, byte [esi]
mov byte [ecx], bl
mov byte [esi], dl
jb 0x1001e760
mov ecx, dword [ebp - 0x80]
xor edi, edi
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0xa8]
mov dword [ebp - 0x78], edi
cmp ecx, edi
jbe 0x1001e7f8
mov dword [ebp - 0x7c], ecx
inc edi
and edi, eax
lea ecx, [ebp + edi - 0x70]
mov dl, byte [ecx]
movzx esi, dl
add esi, dword [ebp - 0x78]
and esi, eax
mov dword [ebp - 0x78], esi
lea esi, [ebp + esi - 0x70]
mov bl, byte [esi]
mov byte [ecx], bl
mov byte [esi], dl
movzx ecx, byte [ecx]
movzx edx, dl
add ecx, edx
and ecx, eax
mov dl, byte [ebp + ecx - 0x70]
mov ecx, dword [ebp - 0x74]
xor byte [ecx], dl
inc ecx
dec dword [ebp - 0x7c]
mov dword [ebp - 0x74], ecx
jne 0x1001e7be
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10032bd7
add ebp, 0x94
leave
ret

Function at 0x1001e9dc
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10021201
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1bc]
sub esp, 0x23c
mov eax, dword [0x1005ce10]
xor eax, ebp
mov dword [ebp + 0x1b8], eax
push ebx
mov ebx, dword [ebp + 0x1c4]
push esi
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x70]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], edi
call fcn.10035820
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x10021255
xor eax, eax
jmp 0x100212be
lea ecx, [ebp - 0x74]
push ecx
push eax
mov dword [ebp - 0x74], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10021276
push dword [ebp - 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
jmp 0x10021251
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.100330b8
pop ecx
pop ecx
test eax, eax
je 0x100212d8
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10021276
mov ebx, edi
push dword [ebp - 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp ebx, edi
je 0x100212bb
lea eax, [ebp - 0x7c]
push eax
push 8
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x68]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x1b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10032bd7
add ebp, 0x1bc
leave
ret 4
push dword [ebp - 0x6c]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
jmp 0x10021298