joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a5ef5
Capabilities:
Encode data using xor

Disassembly:
loope 0x6a5ef6
push ebp
cmc
add eax, ebx
vpalignr xmm3, xmm0, xmm7, 8
or byte cs:[eax], dl
pop esp
mov ecx, 0x7fe37a47
int1
out dx, eax
retf 0xe09d

Function at 0x6eea60
Capabilities:
Encode data using xor

Disassembly:
and al, 0x54
mov dword [edi + ebp*2 - 0x76ca6016], esp
out 0x57, eax
call 0xf9dde822
push esi
call 0xa7c75db0
or eax, 0x72837865
adc bh, byte [edx + 0x7c]
js 0x6eea8f
push esi
fsub qword [esi - 0x17ed0545]
mov cl, 0xd1
orps xmm1, xmmword [eax]
jmp 0x6eea9f
pop eax
mov edi, dword [0x8641c9ab]
invalid
adc al, 0x18
cmp edx, dword [edi + 8]
ja 0x6eeaec
push esi
mov dword cs:[edi + 0xc], edx
add dword [ecx + 0x53], ebx
pop edi
jle 0x6eeb04
test byte [edi + 0x2cdde854], bl
fst dword [ebx + 0x60]
xor ecx, ebp
call 0xa21e1fa2
jg 0x6eeb05
push esi
push eax
mov esi, edx
call 0xf368537e
push ebx
sbb ch, cl
fdivrp st(4)
les ecx, [ebx + ebp*8]
mov esi, 0x1fe8565a
fidiv word [ecx - 0x2e]
mov word [edx], es
push es
add al, byte [esi]
or ecx, edi
in al, dx
fist word [eax + 0x6d0b4847]
adc eax, 0x455df171
inc ebp
xor byte [eax - 0x7d], ah
leave
add cl, byte [ecx + 0x1f0c904e]
dec esi
nop
or al, 0x1f
leave
les edi, [eax - 0x35]
or ebx, edx
je 0x6eeadd
push edi
add eax, 0xf0477ff0
invalid
lea ebx, [ebp - 0x1c]
mov ecx, ebx
push dword [edi + 0x10]
call 0xbe7543ae
loope 0x6eeaf3
sbb bl, byte [eax]
cmp ecx, ebx
je 0x6eeb3f
cmp byte [esi + 0x23], 0x11
inc ebp
out dx, eax
js 0x3136ffd5
adc ah, dh
test al, al
js 0x10437fae
hlt
ja 0x6eeb85
mov edi, 0x4104c883
ljmp 0xfb3e
loop 0x6eeb6c
cli
inc esi
dec eax
or eax, 0x5ff1b00
les edi, [edi - 0x75]
pop esi
xor al, 0x83
jg 0x6eeb65
add byte [edi], cl
test dword [esi + 0x47], ecx
sbb byte [ebp - 0x38a40], al
inc ebx
invalid
test dh, bh
mov dword [ebx + 4], eax
or byte [ebx + 0x40], 2
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
and byte [edx - 0xd2d8801], bh
inc eax
add cl, byte [ebx + 0x4f8b2047]
and al, 0x20
mov edx, 0xf2d277ff
add dword [ecx], ecx
retf 0xa74
sbb byte [eax], dl
push es
xchg ecx, eax
sti
xchg eax, esi
or dh, al
inc ebx
xor byte [ecx], al
or eax, 0x68a8c161
js 0x6eeb27
xor edi, dword [0xf44585f0]
xchg ecx, eax
dec esi
dec ebp
push ss
sbb eax, 0xa2000691
enter 0x4eed, 0xffffffffffffffa7
inc esi
loop 0x6eec2d
mov bl, 0x89
jo 0x6eebb1
invalid
mov ebx, 0xfe44524
dec ecx
ret
dec ebp
nop
xor ebx, esp
and edi, ecx
sbb eax, 0x89824d8f
rcr dword [eax - 0x6ae706c], 0x3b
sbb byte [esi - 0x70aca39d], al
and ah, byte [esi + 0x51]
invalid
Function at 0x92aca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x66600d
lea edi, [esi - 0x26500d]
push edi
or ebp, 0xffffffff
jmp 0x92acc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x92acc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92acb8
mov eax, 1
add ebx, ebx
jne 0x92acdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x92acd0
jne 0x92acec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x92acd0
xor ecx, ecx
sub eax, 3
jb 0x92ad00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x92ad72
mov ebp, eax
add ebx, ebx
jne 0x92ad0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x92ad18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x92ad3c
inc ecx
add ebx, ebx
jne 0x92ad28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x92ad1d
jne 0x92ad39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x92ad1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x92ad5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x92ad4d
jmp 0x92acbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x92ad5c
add edi, ecx
jmp 0x92acbe
pop esi
mov edi, esi
mov ecx, 0x173e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x92ad7a
cmp byte [edi], 0x11
jne 0x92ad7a
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 0x92ad7f
lea edi, [esi + 0x526000]
mov eax, dword [edi]
or eax, eax
je 0x92adee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5320d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53212c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x92adac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x532134]
or eax, eax
je 0x92ade8
mov dword [ebx], eax
add ebx, 4
jmp 0x92adc9
call dword [esi + 0x532130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x92ae1f
cmp al, 0xef
ja 0x92ae12
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x92adf4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x92ae01
mov ebp, dword [esi + 0x532138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x92ae53
sub esp, 0xffffff80
jmp 0x40c41c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x10010f8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
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 [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100125d
movzx eax, word [ebp - 0x48]
jmp 0x1001260
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100127d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001319
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406ced
Capabilities:
Parse pe header

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
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.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.0055d000
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x48fc7d
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x48fc8d
mov esi, eax
jmp 0x48fc83
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48fca5
sub edi, 0x10000
jmp 0x48fc96
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48fcb3
jmp 0x48fc96
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x48fcb9
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x48fcd8
cmp eax, dword [esp + 0x28]
je 0x48fcef
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48fccf
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x4011a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4011b5
pop dword [ebp - 0x20]
mov eax, 0x4011b5
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xb469259f
add dword [ebp - 0x30], 0x99e91fac
mov dword [ebp - 0x2c], 0x7de64f0f
add dword [ebp - 0x2c], 0xb44cfd36
mov dword [ebp - 0x28], 0x72ce99db
sub dword [ebp - 0x28], 0x268255ad
mov dword [ebp - 0x24], 0x4a5d58aa
sub dword [ebp - 0x24], 0x4a5d58aa
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6ae68970
sub eax, 0x6aa5b91c
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x20b05427
sub dword [ebp - 0x30], 0xac3dead1
mov dword [ebp - 0x2c], 0x1960f53b
add dword [ebp - 0x2c], 0x280b6c3a
mov dword [ebp - 0x28], 0x69dfaf3
add dword [ebp - 0x28], 0x5cd17179
mov dword [ebp - 0x24], 0xe18cd82c
sub dword [ebp - 0x24], 0xe18cd82c
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xebeef2b2
add eax, 0x1451dd9a
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39b7b
push 0
call eax
mov ecx, 0x57a01611
add ecx, 0xa86032a3
mov ebx, eax
mov edx, 0xea8ffe4d
sub edx, 0xea4e4e4d
add edx, dword [ebp - 0x20]
mov edi, 0x7cae7ad7
xor dword [ebp - 0x18], eax
mov esi, dword [edx]
xor dword [ebp - 4], ecx
xor esi, edi
sub dword [ebp - 0x14], 0x16d9722c
mov dword [ebx], esi
xor dword [ebp - 0x18], ecx
add ebx, 0xe73d054d
sub ebx, 0xe73d0549
add edx, 4
loop 0x4012cc
add eax, 0x115a3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc88c0b5b
add ecx, 0x37b3f4a5
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402f93
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x402fc9
lea esi, [edi + 4]
test esi, esi
je 0x402fc9
call fcn.00402ef5
test al, al
je 0x402fc9
mov ecx, edi
call fcn.00402ef5
test al, al
je 0x402fc9
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x402fcb
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x4055c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4055d3
pop dword [ebp - 0x1c]
mov eax, 0x51f34613
sub eax, 0x51b2f040
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x41b80
push 0
mov eax, 0xff5c454b
add eax, 0xe59ce1
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xe8226246
add ecx, 0x17ddf5f1
xor edi, edi
add edi, eax
mov ebx, 0x1da81f97
add ebx, 0xe29b9269
add ebx, dword [ebp - 0x1c]
mov esi, 0xbae31d87
sub esi, 0x7c996e84
xor dword [ebp - 0xc], 0x7017b7af
mov edx, dword [ebx]
add dword [ebp - 0x18], 0x28ed1c6e
xor edx, esi
add dword [ebp - 4], 0x65cb4092
mov dword [edi], edx
add edi, 0xe43adb5f
sub edi, 0xe43adb5b
add ebx, 4
loop 0x405634
add eax, 0x3d50ead5
sub eax, 0x3d4f9726
mov ebx, eax
add eax, 0x44e08fd2
sub eax, 0x44e08fcd
mov ecx, 0x28b45317
sub ecx, 0x28745317
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x405834
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
call main
mov esi, dword [ebp - 4]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], edi
cmp dword [esi - 0xc], 0
je 0x405920
push esi
push 1
push str.EnableLogging
push str.LoggingSettings
call edi
push esi
push 1
test eax, eax
push str.ShowTime
setne al
push str.LoggingSettings
mov byte [ebx + 0x74], al
call edi
push esi
push 1
test eax, eax
push str.LogToFile
setne al
push str.LoggingSettings
mov byte [ebx + 0x76], al
call edi
push esi
push 0
test eax, eax
push str.LogToOutputDebug
setne al
push str.LoggingSettings
mov byte [ebx + 0x77], al
call edi
push esi
push 1
test eax, eax
push str.AppendToFile
setne al
push str.LoggingSettings
mov byte [ebx + 0x7c], al
call edi
test eax, eax
lea edi, [ebx + 0x78]
setne al
xor ecx, ecx
mov byte [ebx + 0x7d], al
inc ecx
mov edx, dword [edi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x4058f9
push 0x104
mov ecx, edi
call main
mov edx, dword [edi]
push esi
push 0x104
push edx
push str.MicrosoftEdgeUpdate.log
push str.LogFilePath
push str.LoggingSettings
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, edi
call main
jmp 0x40594b
push str.MicrosoftEdgeUpdate.log
mov byte [ebx + 0x74], 1
mov byte [ebx + 0x76], 1
mov word [ebx + 0x7c], 0x100
call main
pop ecx
push eax
push str.MicrosoftEdgeUpdate.log
lea ecx, [ebx + 0x78]
call main
mov byte [ebx + 0x77], 1
cmp byte [ebx + 0x75], 0
je 0x405955
mov byte [ebx + 0x76], 1
mov esi, dword [ebp - 8]
xor eax, eax
mov byte [ebx], 1
mov dword [ebx + 4], 7
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x432970]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4059c9
mov ecx, dword [eax + 0x432974]
mov dword [ebp - 0x14], ecx
cmp ecx, 9
ja 0x4059c9
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 3
push eax
mov ecx, ebx
call main
mov edi, dword [ebp - 8]
cmp dword [edi - 0xc], 0
je 0x4059ac
push edi
push 3
push dword [ebp - 0xc]
push str.LoggingLevel
call esi
jmp 0x4059af
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test eax, eax
setne cl
mov byte [ebx + edx*8], cl
lea ecx, [edi - 0x10]
mov dword [ebx + edx*8 + 4], eax
call fcn.00401411
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
cmp eax, 0x48
jb 0x405967
call main
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea ecx, [ecx - 0x10]
call fcn.00401411
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40671b
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x40679c
mov byte [esi + 8], 1
call main
cmp dword [esi + 0x10], 0
je 0x40679c
test al, al
je 0x40673b
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.00406d35
test al, al
jne 0x406762
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00407526
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call main
cmp dword [esi + 0x18], 0
jne 0x406789
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.00407526
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x40679c
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
pop esi
ret

Function at 0x406d35
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x406d42
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x406d7b
cmp eax, 0x80
je 0x406d7b
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00407526
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x406d3e
mov al, 1
pop esi
ret

Function at 0x4070be
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407124
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.004097fd
leave
ret
Function at 0x407e17
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x407e86
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x407e62
push ebx
push edi
push eax
call fcn.0040ba60
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x407e7d
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0