joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52967e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47262f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x138], ecx
jb 0x5296e5
mov edi, dword [esi]
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
jb 0x529702
mov ecx, dword [edx]
mov dword [ebp - 0x130], ecx
cmp dword [edx + 0x10], 0
jbe 0x52976b
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0057264e
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, edi
cmp edi, ecx
je 0x52973e
nop dword [eax]
movzx eax, byte [edi]
inc edi
mov byte [ebp + eax - 0x128], 1
cmp edi, ecx
jne 0x52972e
mov edx, dword [ebp - 0x130]
mov edi, edx
mov ecx, dword [ebp - 0x134]
add ecx, edx
cmp edx, ecx
jae 0x529765
movzx eax, byte [edi]
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x5297bf
inc edi
cmp edi, ecx
jb 0x529752
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov ecx, eax
push 0
movups xmmword [eax], xmm0
push 0x491667
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.0055cfee
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570eca
mov esp, ebp
pop ebp
ret
sub edi, edx
cmp edi, 0xffffffff
je 0x529765
cmp dword [esi + 0x14], 0x10
jb 0x5297ce
mov esi, dword [esi]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x5297e8
mov eax, dword [ecx]
mov dword [ebp - 0x130], eax
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0057264e
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x52981e
nop dword [eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x128], 1
cmp esi, ecx
jne 0x52980e
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x130]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x52985c
cmp ecx, edx
je 0x5298d3
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x529844
sub ecx, edx
sub ecx, edi
lea eax, [ebp - 0x28]
inc ecx
push ecx
mov ecx, dword [ebp - 0x13c]
push edi
push eax
call fcn.005485be
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x140], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0055d11e
mov eax, esi
jmp 0x5297a4
or ecx, 0xffffffff
jmp 0x52985e
Function at 0x529afe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055cfee
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529c21
push ecx
lea ecx, [esi + 0x18]
call fcn.0054931e
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529c38
push ecx
lea ecx, [esi + 0x24]
call fcn.0054922e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57310e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005a65fe
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x573231
push ecx
lea ecx, [esi + 0x18]
call fcn.0059292e
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x573248
push ecx
lea ecx, [esi + 0x24]
call fcn.0059283e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x57b6ce
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
xor byte [edx - 0x69e75c13], cl
ret
aam 0xf4
push edx
out 0x64, al
push 0xe60574b1
adc ecx, eax
sub eax, 0x66085f9b
aaa
jle 0x57b677
test byte [eax + 0x38], 0x63
insd dword es:[edi], dx
push ss
cmpsd dword [esi], dword es:[edi]
pop ds
push ebx
invalid
Function at 0x5bcbbe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005f00ae
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bcce1
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc3de
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bccf8
push ecx
lea ecx, [esi + 0x24]
call fcn.005dc2ee
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5f01de
Capabilities:
Encode data using xor

Disassembly:
invalid
xchg ebp, eax
je 0x5f024b
push 1
xor eax, 0xfb05208c
add dword [0xfb05208c], esi
mov al, 0x6b
inc ecx
xchg edi, eax
psubb mm1, qword [edx - 0x4a]
cmpsd dword [esi], dword es:[edi]
push ds
push ecx
push ds
shr byte [esi], 1
loopne 0x5f01e0
test byte [ecx - 0x66], bl
or ah, ah
shl byte [ecx], cl
jle 0x5f01ae
inc ebp
inc eax
ficom dword [ecx + 0x35ea34cb]
mov byte [0xce137205], al
push esi
lcall 0xe374, 0x639464b2
inc eax
in eax, dx
dec ecx
aad 0xc4
pop esp
sahf
insb byte es:[edi], dx
or al, 0x7b
hlt
xchg ecx, eax
inc ebp
outsb dx, byte [esi]
aas
or ch, 0x53
insb byte es:[edi], dx
cmp al, 0xa6
iretd
Function at 0x60624e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0063973e
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606371
push ecx
lea ecx, [esi + 0x18]
call fcn.00625a6e
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x606388
push ecx
lea ecx, [esi + 0x24]
call fcn.0062597e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003813
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x28
push 0x1000c2b8
call fcn.1000b070
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [eax + 4], 0x14c
jne 0x1000383c
add eax, 0x78
jmp 0x10003841
add eax, 0x88
mov esi, dword [eax]
add esi, ecx
cmp dword [eax], edx
je 0x1000392f
cmp dword [eax + 4], edx
je 0x1000392f
cmp dword [esi + 0x1c], edx
je 0x1000392f
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
cmp eax, edx
je 0x1000392f
mov eax, dword [esi + 0x1c]
add eax, ecx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x24], edx
je 0x1000391f
mov edi, dword [esi + 0x24]
add edi, ecx
mov dword [ebp - 0x38], edi
mov ebx, dword [esi + 0x20]
add ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jae 0x1000392f
and dword [ebp - 0x1c], 0
xor eax, eax
inc eax
je 0x100038b0
movzx ecx, word [edi]
add ecx, dword [esi + 0x10]
cmp eax, ecx
jmp 0x100038e1
mov eax, dword [ebx]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor ecx, ecx
inc ecx
je 0x100038ce
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100038ea
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jmp 0x100038e1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x2c]
call fcn.1000168d
xor ecx, ecx
cmp ecx, eax
jne 0x100038ea
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x10003909
movzx eax, word [edi]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
xor eax, eax
je 0x1000392f
mov ecx, dword [ebx]
add ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x1000392f
add ebx, 4
mov dword [ebp - 0x34], ebx
inc edi
inc edi
mov dword [ebp - 0x38], edi
inc dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
jmp 0x10003891
mov dword [ebp - 0x20], eax
jmp 0x1000392f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
call fcn.1000b0ab
ret 4
Function at 0x10003c3a
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x10003c58
mov eax, dword [0x1000d270]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.100090be
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
jne 0x10003cbe
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x10003ccd
add eax, eax
push eax
push ebx
push dword [0x1000d238]
call edi
mov ebx, eax
test ebx, ebx
je 0x10003ccd
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10003cad
mov eax, dword [ebp - 4]
add eax, eax
mov ecx, ebx
call fcn.1000168d
xor dword [esi], eax
push ebx
push 0
push dword [0x1000d238]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10003ccd
mov eax, dword [esi]
xor eax, dword [0x1000d278]
xor eax, 0x4c0ca0ae
mov dword [esi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10003d22
add eax, eax
push eax
push 0
push dword [0x1000d238]
call edi
mov edi, eax
test edi, edi
je 0x10003d22
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
je 0x10003d13
mov eax, dword [ebp - 4]
add eax, eax
mov ecx, edi
call fcn.1000168d
xor dword [esi + 0xc], eax
push edi
push 0
push dword [0x1000d238]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
inc eax
cpuid
lea edi, [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
pop edi
xor eax, dword [ebp - 0x18]
pop ebx
xor dword [esi + 4], eax
leave
ret

Function at 0x10003d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
push dword [ebp + 8]
call fcn.1000a552
mov esi, eax
test esi, esi
je 0x10003e0e
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.ntdll.dll_memset
mov eax, dword [0x1000d27c]
xor esi, esi
add esp, 0xc
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x3c], 0x3c
je 0x10003dd6
lea eax, [eax + 0x1000e90c]
jmp 0x10003ddc
lea eax, [eax + 0x1000e4e8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
call fcn.100080df
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10003e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 1
call fcn.100080df
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10004584
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [edx + 0x3c]
add ecx, edx
movzx edx, word [ecx + 0x14]
push esi
movzx esi, word [ecx + 6]
xor eax, eax
lea ecx, [edx + ecx + 0x18]
xor edx, edx
cmp dword [ecx + 4], eax
jne 0x100045a9
cmp dword [ecx], 0x7373622e
jne 0x100045a9
mov edx, ecx
add ecx, 0x28
dec esi
je 0x100045b3
cmp edx, eax
je 0x1000459a
cmp edx, eax
je 0x100045d7
mov ecx, dword [edx + 0xc]
cmp ecx, eax
je 0x100045d3
mov edx, dword [edx + 0x10]
cmp edx, eax
je 0x100045d3
mov esi, dword [esp + 8]
mov dword [esi], ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
jmp 0x100045da
push 0xb
jmp 0x100045d9
push 2
pop eax
pop esi
ret 8

Function at 0x100046a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000d27c]
and dword [ebp - 4], 0
push ebx
lea eax, [eax + 0x1000eab0]
push eax
mov dword [ebp - 0xc], 4
call fcn.1000499c
mov ebx, eax
test ebx, ebx
je 0x10004739
mov eax, dword [0x1000d27c]
push edi
lea eax, [eax + 0x1000eb0c]
push eax
call fcn.1000499c
mov edi, eax
test edi, edi
je 0x10004732
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000472c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10004723
and dword [ebp - 4], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.10006ef8
push ebx
call fcn.10006ef8
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x100054d2
Capabilities:
Read data from internet
Receive data

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x100054e4
call fcn.10009956
test eax, eax
jne 0x100054ec
mov eax, esi
pop esi
jmp fcn.10008d4c
pop esi
ret
Function at 0x100082c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x10008363
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
cmp esi, ebx
jne 0x1000837c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x10]
push eax
push ebx
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call esi
cmp dword [ebp + 0x10], ebx
je 0x10008353
push dword [ebp + 0x10]
call fcn.10003727
mov edi, eax
cmp edi, ebx
je 0x1000834e
lea eax, [ebp + 0x10]
push eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call esi
mov esi, eax
cmp esi, ebx
jne 0x10008346
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x10008358
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x10008358
push edi
call fcn.10006ef8
jmp 0x10008358
push 8
pop esi
jmp 0x10008358
mov esi, 0xe8
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000837c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000a30a
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x1000884a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20
call fcn.10003727
mov esi, eax
test esi, esi
je 0x1000891f
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e11a]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e769]
push eax
push ebx
mov dword [ebp - 4], 0x7f
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x10008917
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e756]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x10], eax
je 0x10008917
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e40b]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x10008917
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e4d2]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x10008917
mov eax, dword [0x1000d27c]
lea eax, [eax + 0x1000e779]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x10008917
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0x40
call fcn.10007b2e
test eax, eax
mov dword [ebp - 4], eax
jne 0x10008917
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x10008926
push esi
call fcn.10006ef8
jmp 0x10008926
mov dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10008b9c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push edi
push SysStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x10008ca5
push ebx
push 8
pop esi
mov ebx, 0x104
push ebx
call fcn.10003727
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x10008c9b
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push edi
push edi
push edi
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0xea
jne 0x10008c4d
cmp dword [ebp - 8], ebx
jbe 0x10008c25
inc dword [ebp - 4]
xor esi, esi
jmp 0x10008c6f
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jbe 0x10008c93
push dword [ebp - 0x14]
call fcn.10006ef8
mov eax, dword [ebp - 0xc]
push eax
mov dword [ebp - 0x10], eax
call fcn.10003727
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x10008c21
push 8
pop esi
jmp 0x10008c93
cmp esi, edi
jne 0x10008c89
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.10009bfa
mov esi, eax
cmp esi, edi
jne 0x10008c89
push edi
push dword [0x1000d26c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10008bef
jmp 0x10008c93
cmp esi, 0x103
jne 0x10008c93
xor esi, esi
push dword [ebp - 0x18]
call fcn.10006ef8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x10008f00
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