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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4589e3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8094
call fcn.00447af0
mov eax, dword [0x477af4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8020], eax
lea eax, [ebp - 0x8050]
mov ebx, ecx
xor edi, edi
push eax
mov dword [ebp - 0x8038], ebx
mov dword [ebp - 0x802c], edi
call fcn.004202cc
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x802c], eax
mov dword [ebp - 0x8024], edi
mov esi, dword [ebp - 0x8024]
cmp esi, dword [ebp - 0x802c]
jae 0x420935
xor eax, eax
push 0x7ffc
mov word [ebp - 0x801c], ax
lea eax, [ebp - 0x801a]
push edi
push eax
call fcn.00444550
add esp, 0xc
mov eax, 0x3fff
push eax
mov dword [ebp - 0x8030], eax
lea eax, [ebp - 0x806c]
push eax
mov dword [ebp - 0x8028], edi
call fcn.0040b3fa
lea eax, [ebp - 0x806c]
mov byte [ebp - 4], 1
call fcn.0040b5c8
test al, al
jne 0x420990
lea edi, [ebp - 0x8064]
mov esi, ebx
call fcn.00405db9
lea eax, [ebp - 0x806c]
push eax
mov byte [ebp - 4], 0
call fcn.0040b42f
cmp dword [ebx + 0xc], 0x103
jne 0x420945
mov esi, ebx
call fcn.0040a515
lea eax, [ebp - 0x8050]
push eax
push dword [ebp - 0x8020]
call fcn.00420afc
lea esi, [ebp - 0x8050]
call fcn.0041c265
push dword [ebp - 0x8050]
call fcn.0044380c
mov eax, dword [ebp - 0x8020]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00443817
leave
ret 4
mov eax, dword [ebp - 0x8068]
mov dword [ebp - 0x8034], eax
lea eax, [ebp - 0x8034]
push eax
push dword [ebp - 0x806c]
lea eax, [ebp - 0x8028]
push eax
push edi
lea eax, [ebp - 0x8030]
push eax
lea eax, [ebp - 0x801c]
push eax
push esi
push dword [ebx + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push eax
mov esi, ebx
call fcn.0040a79c
mov eax, ebx
call fcn.0040a7ac
test al, al
jne 0x420a9e
lea esi, [ebp - 0x8094]
call fcn.00420545
lea eax, [ebp - 0x801c]
push eax
mov byte [ebp - 4], 3
call fcn.00443826
test eax, eax
pop ecx
lea eax, [ebp - 0x801c]
jne 0x420a0b
mov eax, str._default_
push eax
lea ecx, [ebp - 0x8094]
call fcn.0040257f
mov eax, dword [ebp - 0x8028]
dec eax
mov byte [ebp - 0x8074], 0
je 0x420a40
sub eax, 3
je 0x420a34
mov dword [ebp - 0x808c], edi
jmp 0x420a81
mov dword [ebp - 0x808c], 1
jmp 0x420a4a
mov dword [ebp - 0x808c], 2
push dword [ebp - 0x808c]
lea ecx, [ebp - 0x806c]
lea edi, [ebp - 0x80a4]
call fcn.0041f748
pop ecx
push eax
lea ecx, [ebp - 0x8084]
mov byte [ebp - 4], 4
call fcn.00414b6d
mov eax, edi
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
lea eax, [ebp - 0x8094]
push eax
lea eax, [ebp - 0x8050]
call fcn.00420ba9
lea esi, [ebp - 0x8094]
call fcn.0041c509
lea eax, [ebp - 0x806c]
push eax
mov dword [ebp - 4], edi
call fcn.0040b42f
inc dword [ebp - 0x8024]
jmp 0x4208bb
Function at 0x420ff3
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x456880
call fcn.00446efc
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4210ab
push dword [ebp + 8]
call fcn.00443826
pop ecx
test eax, eax
je 0x4210ab
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x464054
push 1
push esi
push 0x464124
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x421053
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x42104f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x4210b0
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.0040f5ec
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x42106f
mov eax, dword [eax]
jmp 0x421071
xor eax, eax
mov ecx, dword [edi]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push edi
call dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov edi, eax
cmp ecx, esi
je 0x421090
call fcn.0040a857
mov dword [ebp + 8], esi
cmp edi, esi
jl 0x42103e
mov eax, dword [ebx]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
jmp 0x42103e
mov eax, 0x80070057
call fcn.00446fd4
ret

Function at 0x4210b6
Capabilities:
Reference wmi statements

Disassembly:
push 0x14
mov eax, 0x456ec6
call fcn.00446efc
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push str.ROOTCIMV2
lea ebx, [ebp - 0x10]
call fcn.00420ff3
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
jl 0x42118a
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x1c]
call fcn.0040f5ec
mov edi, eax
push 0x467590
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040f5ec
mov byte [ebp - 4], 3
mov ecx, dword [edi]
cmp ecx, ebx
je 0x42111c
mov ecx, dword [ecx]
jmp 0x42111e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x421128
mov eax, dword [eax]
jmp 0x42112a
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x14]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, ebx
je 0x42114a
call fcn.0040a857
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x42115d
call fcn.0040a857
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
jl 0x42117a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42118a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42119b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00446fd4
ret
Function at 0x421286
Capabilities:
Reference wmi statements

Disassembly:
push 0x14
mov eax, 0x456ec6
call fcn.00446efc
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push str.ROOTCIMV2
lea ebx, [ebp - 0x10]
call fcn.00420ff3
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
jl 0x42135a
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x1c]
call fcn.0040f5ec
mov edi, eax
push 0x467590
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040f5ec
mov byte [ebp - 4], 3
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4212ec
mov ecx, dword [ecx]
jmp 0x4212ee
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4212f8
mov eax, dword [eax]
jmp 0x4212fa
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x14]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, ebx
je 0x42131a
call fcn.0040a857
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x42132d
call fcn.0040a857
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
jl 0x42134a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42135a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42136b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00446fd4
ret

Function at 0x421f62
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00447af0
push 0xffffffffffffffff
push 0x45676a
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x477af4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
push 0x47aa78
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.00402325
xor eax, eax
mov dword [ebp - 4], edi
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x10], 1
call fcn.00444550
add esp, 0xc
push 0x800
lea eax, [ebp]
push eax
push 0x467830
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040257f
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x422007
push str.Desktop
mov ecx, esi
call fcn.00402555
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00443817
add ebp, 0x1004
leave
ret
Function at 0x422724
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x477af4]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 8
mov eax, 0x456729
call fcn.00446efc
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x47aa78
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00402325
and dword [ebp - 4], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], 1
call fcn.00444550
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040257f
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 + 0x800]
xor ecx, ebp
call fcn.00443817
add ebp, 0x804
leave
ret

Function at 0x422860
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00447af0
push 0xffffffffffffffff
push 0x4566a7
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x477af4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x47aa78
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00402325
and dword [ebp - 4], 0
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], 1
call fcn.00444550
add esp, 0xc
push 0x800
lea eax, [ebp]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040257f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00443817
add ebp, 0x1004
leave
ret

Function at 0x422914
Capabilities:
Query environment variable

Disassembly:
push 0x4c
mov eax, 0x456669
call fcn.00446f65
and dword [ebp - 4], 0
and dword [ebp - 0x54], 0
push 0x47aa78
mov ecx, esi
mov dword [ebp - 0x58], esi
call fcn.00402325
and dword [ebp - 4], 0
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push eax
mov dword [ebp - 0x54], 1
call fcn.00444550
add esp, 0xc
push 0x20
lea eax, [ebp - 0x50]
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.0040257f
mov eax, esi
call fcn.00446fe8
ret
Function at 0x42297b
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x477af4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x14
mov eax, 0x456e40
call fcn.00446efc
xor edi, edi
lea esi, [ebp - 0x10]
mov dword [ebp - 0x1c], edi
call fcn.00422914
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x4229c3
push 0x467930
mov ecx, esi
call fcn.0040257f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c877
cmp ax, 0x5c
je 0x4229e6
push 0x464fdc
lea ecx, [ebp - 0x10]
call fcn.00402555
xor eax, eax
mov esi, 0x1fc
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call fcn.00444550
xor eax, eax
push esi
mov word [ebp + 0x200], ax
lea eax, [ebp + 0x202]
push edi
push eax
call fcn.00444550
add esp, 0x18
mov eax, 0xff
push eax
lea ecx, [ebp + 0x200]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x47aa78
cmp eax, edi
je 0x422a87
lea ecx, [ebp - 0x14]
call fcn.00402325
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push 0x467938
push eax
call fcn.00402b47
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0040234a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004034fb
jmp 0x422a8e
mov ecx, ebx
call fcn.00402325
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004034fb
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00443817
add ebp, 0x404
leave
ret
Function at 0x424418
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
je 0x4244e7
push dword [ebp + 8]
call fcn.00443826
pop ecx
test eax, eax
je 0x4244e7
push ebx
push esi
push dword [ebp + 8]
lea esi, [edi + 4]
mov ecx, esi
call fcn.0040257f
push 0x5c
push 0x2f
mov ebx, esi
call fcn.00409d6f
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
call fcn.00401db9
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00444550
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x34], str.runas
cmp byte [ebp + 0x10], bl
jne 0x424489
mov dword [ebp - 0x34], str.open
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4244cf
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004034fb
pop esi
mov eax, ebx
pop ebx
jmp 0x4244ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4244e3
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x4244be
mov eax, 0x80070057
leave
ret 0xc

Function at 0x4248d5
Capabilities:
Get process image filename

Disassembly:
push 0x610
mov eax, 0x456d55
call fcn.00446f65
xor esi, esi
mov edi, ecx
cmp dword [ebp + 8], esi
jne 0x424905
lea ecx, [edi + 0xc]
mov eax, 0x80070057
call fcn.00424838
mov eax, dword [eax + 0x10]
call fcn.00446fe8
ret 4
push dword [ebp + 8]
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 4], esi
call fcn.0040f681
test al, al
jne 0x42494c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [edi + 0xc]
call fcn.00424838
mov edi, dword [eax + 0x10]
lea esi, [ebp - 0x61c]
call fcn.0040f645
mov eax, edi
jmp 0x4248fd
xor eax, eax
push 0x604
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push esi
push eax
call fcn.00444550
add esp, 0xc
push 0x303
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x61c]
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x424995
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [edi + 0xc]
call fcn.00424838
jmp 0x4249ac
lea esi, [edi + 0xc]
call fcn.0040a515
lea eax, [ebp - 0x618]
push eax
lea ecx, [edi + 4]
call fcn.0040257f
mov edi, dword [edi + 0x1c]
jmp 0x42493d
Function at 0x4249b1
Capabilities:
Get disk information

Disassembly:
push 0xf4
mov eax, 0x457b8e
call fcn.00446f9b
mov dword [ebp - 0xf8], ecx
call fcn.004153a2
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xd0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xee]
push ebx
push eax
call fcn.00444550
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x424aba
lea esi, [ebp - 0xf0]
xor edi, edi
cmp edi, 0x69
jge 0x424aba
cmp esi, ebx
je 0x424aba
push esi
lea ecx, [ebp - 0xf4]
call fcn.00401db9
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x424ab2
push 2
pop eax
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00402040
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00402372
mov ecx, dword [ebp - 0xfc]
add ecx, 0xfffffff0
call fcn.004034fb
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004020e3
mov dword [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xf4]
add ecx, 0xfffffff0
add esi, 8
call fcn.004034fb
add edi, 4
jmp 0x424a0d
add ecx, 0xfffffff0
call fcn.004034fb
mov eax, dword [ebp - 0xf8]
call fcn.00446ff7
ret

Function at 0x42983c
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x429850
mov eax, 0x80040007
jmp 0x4298d2
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x42985d
xor eax, eax
jmp 0x4298d2
mov eax, dword [esi + 0x48]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x429871
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], ebx
push ebx
push 4
push esi
push dword [esi + 0x54]
push ebx
push ebx
call fcn.004552d7
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
je 0x4298cc
cmp eax, ebx
je 0x4298cc
mov byte [esi + 0x50], bl
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0xc]
dec eax
je 0x4298b2
dec eax
je 0x4298ab
mov eax, 0x4000
jmp 0x4298b5
mov eax, 0x8000
jmp 0x4298b5
push 0x20
pop eax
push eax
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x4298d1
mov eax, 0x8007000e
pop ebx
pop esi
ret 4
Function at 0x4298d6
Capabilities:
Terminate thread

Disassembly:
jmp method.tear_down::CDownloadEvents.virtual_20
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x429928
push edi
mov edi, dword [esi + 0x48]
mov byte [esi + 0x50], 1
test edi, edi
je 0x429927
push ebx
push ebp
cmp byte [esp + 0x14], al
je 0x42992e
mov eax, dword [esi + 0x4c]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429913
test edi, edi
je 0x429913
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x429925
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x48], 0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebp, ebp
mov ebx, 0xc8
jmp 0x42994b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0xa
jg 0x429957
push ebx
push dword [esi + 0x4c]
call edi
test eax, eax
jne 0x42993d
jmp 0x429913
mov ebx, dword [esi + 0x48]
mov esi, dword [esi + 0x4c]
push 0xa
push esi
call edi
test eax, eax
je 0x429925
test ebx, ebx
je 0x429925
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x429925

Function at 0x42c670
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47aabc], 0
push esi
jne 0x42c5e3
call fcn.0042c509
test eax, eax
je 0x42c626
mov eax, dword [0x47aabc]
cmp eax, 1
jne 0x42c604
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42c626
pop esi
ret
push eax
call dword [0x47aac4]
test eax, eax
jne 0x42c66e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42c62a
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47aabc]
call dword [0x47aac4]
mov edi, eax
test edi, edi
je 0x42c64f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42c66b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x47aabc]
call dword [0x47aac0]
add edi, 0x10
cmp edi, esi
jb 0x42c657
mov eax, edi
pop edi
pop esi
ret
jmp 0x42c5d0

Function at 0x42dc40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
push edi
xor eax, eax
lea esp, [esp]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x42dc50
mov ebp, dword [esp + 0x18]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor edi, edi
lea ecx, [ecx]
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
movzx ebx, byte [ecx + esi]
inc ecx
movzx eax, byte [edx + ebp]
add eax, ebx
add eax, edi
and eax, 0xff
cmp ecx, 0x100
mov edi, eax
mov dl, byte [edi + esi]
mov byte [ecx + esi - 1], dl
mov byte [edi + esi], bl
jl 0x42dc70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x42dcb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
movzx edx, byte [eax + 0x101]
movzx ecx, byte [eax + 0x100]
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0xc], edx
test ebp, ebp
jle 0x42dd1f
push ebx
push edi
mov edi, dword [esp + 0x14]
inc ecx
and ecx, 0xff
movzx edx, byte [ecx + eax]
mov dword [esp + 0x1c], edx
add edx, edi
and edx, 0xff
movzx ebx, byte [edx + eax]
mov byte [ecx + eax], bl
mov ebx, dword [esp + 0x1c]
mov byte [edx + eax], bl
movzx edi, byte [ecx + eax]
add edi, ebx
and edi, 0xff
movzx ebx, byte [edi + eax]
mov edi, dword [esp + 0x18]
xor byte [esi + edi], bl
inc esi
cmp esi, ebp
mov dword [esp + 0x14], edx
jl 0x42dcd4
pop edi
pop ebx
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebp
ret

Function at 0x42e2e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x28
mov eax, dword [0x477af4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
xor eax, eax
jmp 0x42e300
movsx edi, byte [eax + 0x476370]
dec edi
cmp edi, ecx
je 0x42e314
inc eax
cmp eax, 0x20
jl 0x42e300
jmp 0x42e318
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x20
jl 0x42e2f6
shl edx, 0xb
lea edi, [esp + 0x15]
mov ebx, 0x476170
lea eax, [edx + esi + 0x180]
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, esi
sar eax, 1
mov ecx, esi
and ecx, 1
and eax, 0xf
shl ecx, 4
or eax, ecx
mov ecx, esi
and ecx, 0x20
or eax, ecx
movsx eax, byte [ebx + eax]
xor edx, edx
test al, 8
je 0x42e36b
movsx edx, byte [edi - 1]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
test al, 4
je 0x42e382
movsx ebp, byte [edi]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 2
je 0x42e39a
movsx ebp, byte [edi + 1]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 1
je 0x42e3b2
movsx eax, byte [edi + 2]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
inc esi
add eax, 4
cmp esi, 0x40
mov dword [esp + 0x10], eax
jl 0x42e337
add ebx, 0x40
add edi, 4
cmp ebx, 0x476370
jl 0x42e331
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443817
add esp, 0x28
ret

Function at 0x42e430
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, eax
xor edx, edx
mov ecx, esi
call fcn.0042e2e0
mov edx, 1
mov ecx, esi
call fcn.0042e2e0
mov edx, 2
mov ecx, esi
call fcn.0042e2e0
lea eax, [esi + 0x1980]
push 0x476078
push eax
call fcn.0042e170
push 0x4760b8
add esi, 0x2180
push esi
call fcn.0042e170
add esp, 0x10
xor eax, eax
pop esi
ret