joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd0f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417238
push 0x417230
push str.FlsAlloc
push 0x1f
call fcn.0040bbf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bd43
push dword [ebp + 8]
mov ecx, esi
call dword [0x41412c]
call esi
jmp 0x40bd49
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bd8d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417248
push 0x417240
push str.FlsGetValue
push 0x21
call fcn.0040bbf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bdc4
push dword [ebp + 8]
mov ecx, esi
call dword [0x41412c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40bdcc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417250
push 0x417248
push str.FlsSetValue
push 0x22
call fcn.0040bbf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be06
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41412c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40c2e9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40c334
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040c484
test al, al
jne 0x40c32e
sub edx, 2
cmp edx, edi
jne 0x40c314
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40c356
lea eax, [edi + 2]
cmp edx, eax
je 0x40c356
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040c235
add esp, 0x10
jmp 0x40c450
push esi
lea ecx, [ebp - 0x255]
call fcn.0040c484
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c399
push dword [ebp - 0x25c]
jmp 0x40c346
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40c3d6
cmp word [ebp - 0x226], 0
je 0x40c3f7
cmp word [ebp - 0x226], ax
jne 0x40c3d6
cmp word [ebp - 0x224], 0
je 0x40c3f7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040c235
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40c443
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40c3b0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40c42b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40c450
push 0x40c065
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040e4e0
add esp, 0x10
jmp 0x40c420
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004017cf
leave
ret
Function at 0x4120e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41210d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41210d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x15025a69
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5399659a
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x49afc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
or ebp, 0xffffffff
jmp 0x49afe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49afe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49afd8
mov eax, 1
add ebx, ebx
jne 0x49affb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49b00c
jne 0x49b02b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b02b
dec eax
add ebx, ebx
jne 0x49b018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49aff0
add ebx, ebx
jne 0x49b027
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49b07d
xor ecx, ecx
sub eax, 3
jb 0x49b043
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49b0b2
sar eax, 1
mov ebp, eax
jmp 0x49b04e
add ebx, ebx
jne 0x49b04e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b01c
inc ecx
add ebx, ebx
jne 0x49b05c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b01c
add ebx, ebx
jne 0x49b069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49b05e
jne 0x49b07a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49b05e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49b09c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49b08e
jmp 0x49afde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49b09c
add edi, ecx
jmp 0x49afde
pop esi
mov edi, esi
mov ecx, 0x3934
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49b0ba
cmp byte [edi], 0xe
jne 0x49b0ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x49b0bf
lea edi, [esi + 0x97000]
mov eax, dword [edi]
or eax, eax
je 0x49b137
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa145c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa156c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49b0ec
mov ecx, edi
jns 0x49b11b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa1574]
or eax, eax
je 0x49b131
mov dword [ebx], eax
add ebx, 4
jmp 0x49b109
call dword [esi + 0xa1570]
mov ebp, dword [esi + 0xa1578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49b16b
sub esp, 0xffffff80
jmp 0x45ba1b
Function at 0x428d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.kkTurwjF
lea edi, [esi - 0xc000]
mov dword [edi + 0x1c708], 0xe185a3c2
push edi
or ebp, 0xffffffff
jmp 0x428d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428d60
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x428d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428d78
jne 0x428d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428d78
xor ecx, ecx
sub eax, 3
jb 0x428da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x428e1a
mov ebp, eax
add ebx, ebx
jne 0x428db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428de4
inc ecx
add ebx, ebx
jne 0x428dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428dc5
jne 0x428de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428df5
jmp 0x428d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428e04
add edi, ecx
jmp 0x428d66
pop esi
lea edi, [esi + 0x26000]
mov eax, dword [edi]
test eax, eax
je 0x428e63
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428e21
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2828c]
or eax, eax
je 0x428e5d
mov dword [ebx], eax
add ebx, 4
jmp 0x428e3e
call dword [esi + 0x28288]
mov ebp, dword [esi + 0x28290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x428e97
sub esp, 0xffffff80
jmp section.dYUPzmAO

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x409675
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.00409295
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004092e0
push eax
push esi
push dword [ebp + 8]
call fcn.00409295
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004092e0
push eax
push esi
push dword [ebp + 8]
call fcn.00409295
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004092d0
sbb al, 0xa6
mov byte [0x7c9d8894], al
invalid
Function at 0x4099f4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x409984
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40997f
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
loop 0x40994b
lock add byte [eax], al
loop 0x40994b
lock add byte [eax], al
cmp edx, 0x3000
jne 0x409969
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x409971
cmp edx, ebx
jne 0x409abf
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x409940
add eax, dword [eax + 4]
jmp 0x40992d
mov dword [ebp + 0xc], ebx
jmp 0x40998f
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4099a7
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4099c5
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409a23
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x409a0a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409a13
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x409a1d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4099ff
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x409989
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x409a70
dec eax
je 0x409a67
sub eax, 3
je 0x409a5e
mov dword [ebp - 4], 0x40
jmp 0x409a8d
mov dword [ebp - 4], 4
jmp 0x409a73
mov dword [ebp - 4], 0x20
jmp 0x409a73
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
invalid

Function at 0x409b45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004092e0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409295
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
invalid
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
Function at 0x10014060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov dword [esp], 0x100
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
sub esp, 4
test eax, eax
je 0x10014137
mov dword [esp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], str.InternetShortcut
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x18], eax
call eax
sub esp, 0x18
cmp eax, 0x7f
jne 0x10014140
mov ebx, pe_nt_image_headers32
jmp 0x1001410c
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], str.InternetShortcut
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
call eax
lea ecx, [ebx - 1]
sub esp, 0x18
cmp eax, ecx
jne 0x10014140
mov eax, ebx
mov dword [esp], edi
mov esi, edi
add ebx, ebx
shl eax, 2
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
sub esp, 8
mov edi, eax
test eax, eax
jne 0x100140d8
mov dword [esp], esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov eax, 0x8007000e
jmp 0x1001414b
mov edx, dword [ebp - 0x1c]
mov dword [edx], edi
test eax, eax
je 0x10014153
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x80004005
jmp 0x1001414b
Function at 0x10014850
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x1002e140], 8
jne 0x100149a8
cmp dword [ebx], 0xf
jbe 0x10014a30
cmp dword [ebx + 4], 2
jne 0x100149f0
lea ebx, [ebp - 0x8c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sub.urlmon.dll_CoInternetParseUrl
sub esp, 0x1c
test eax, eax
js 0x100149e0
lea eax, [ebp - 0xd0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x100149e0
lea eax, [ebp - 0xcc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10035c00
mov eax, dword [ebp - 0xd0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [ebp - 0xd0]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x100149e0
cmp dword [ebp - 0xcc], 1
jne 0x100149e0
lea edi, [ebp - 0xc4]
mov eax, ebx
mov ecx, 0xe
mov dword [ebp - 0xc8], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xac], 5
mov dword [ebp - 0xb8], eax
mov dword [esp], edx
call dword [sym.imp.shell32.dll_ShellExecuteExW]
sub esp, 4
test eax, eax
je 0x100149e0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
lea eax, [esi - 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x100356da
mov dword [esp + 8], str.UniformResourceLocatorW_InvokeCommand
mov dword [esp + 4], 0x1002e140
mov dword [esp], 3
call fcn.10014690
jmp 0x1001486f
mov ebx, 0x80004005
jmp 0x10014997
test byte [0x1002e140], 1
jne 0x10014a00
mov ebx, 0x80004001
jmp 0x10014997
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___p_:_non_default_verbs_not_implemented_n
mov dword [esp + 8], str.UniformResourceLocatorW_InvokeCommand
mov dword [esp + 4], 0x1002e140
mov dword [esp], 0
call fcn.10014690
jmp 0x100149f9
mov ebx, 0x80070057
jmp 0x10014997
Function at 0x1001ce20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x21c]
sub esp, 0x22c
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x1001cebc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x214]
mov dword [esp + 0x14], eax
lea esi, [ebp - 0x210]
lea eax, [ebp - 0x218]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Start_Page
mov eax, dword [ebp - 0x21c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [ebp - 0x21c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x1001cebc
cmp dword [ebp - 0x218], 1
je 0x1001cf00
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.about:blank
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.1001c960
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.1001c960
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x10024690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x214
mov edi, dword [sym.imp.ucrtbase.dll_wcsncmp]
mov dword [esp + 8], 6
mov dword [esp + 4], str.res:__
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edi
test eax, eax
jne 0x10024740
lea esi, [ebp - 0x214]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x10024740
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
call edi
test eax, eax
jne 0x10024740
mov dword [esp + 8], 0x16
lea ebx, [ebx + ebx + 0xc]
mov dword [esp + 4], str._shdoclc.dll_ERROR.HTM
mov eax, dword [ebp + 8]
add eax, ebx
mov dword [esp], eax
call edi
test eax, eax
jne 0x10024740
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x23
lea eax, [eax + ebx + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
lea edx, [eax + 2]
test eax, eax
cmovne eax, edx
jmp 0x10024742
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x1002dad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1004b100]
test eax, eax
je 0x1002db88
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x1002db10
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x1002dafc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x1002dbbd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x1004b100], eax
test eax, eax
jne 0x1002daed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x1002dafe