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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4430a0
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x4430bb
mov eax, 0xffffffff
jmp 0x4430be
add eax, 0xa
push eax
call fcn.0040c580
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 [esi]
test dx, dx
je 0x443101
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x4430f0
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 8], cx
lea ecx, [ebx*2 + 0xa]
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 + 4], 0xf0fffefd
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x4431b2
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov esi, edx
not esi
or esi, 0x68b63b55
add esi, edx
xor edx, 0x68b63b55
lea edx, [edx + esi*2]
add edx, 2
xor edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
add cl, 0x57
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x443170
mov esi, dword [esp + 4]
mov ecx, dword [0x44f754]
test ecx, ecx
je 0x443209
xor edx, edx
mov ebx, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x8896be63
je 0x4431e0
inc edx
cmp ecx, edx
jne 0x4431d0
jmp 0x443209
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x443209
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x44f75c]
push ecx
mov ebx, eax
call fcn.0043f5f0
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040c590
add esp, 4
test edi, edi
je 0x44321c
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0xc], 0xf0fffefd
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x4432a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
mov edx, ecx
not edx
or edx, 0x68b63b55
add edx, ecx
xor ecx, 0x68b63b55
lea ecx, [ecx + edx*2]
add ecx, 2
xor ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add al, 0x57
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x443260
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov edx, dword [0x44f754]
test edx, edx
je 0x443308
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x4432e0
inc edi
cmp edx, edi
jne 0x4432d0
jmp 0x443308
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x443308
lea eax, [esp + 0x10]
lea edi, [esp + 4]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x44f75c]
push edx
call fcn.0043f5f0
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x443315
mov edx, dword [esp + 0x18]
mov dword [esi], edx
test ecx, ecx
je 0x443321
cmp byte [esp + 0x25], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443330
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], 0xf0fffefd
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x443393
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx]
mov edx, eax
not edx
or edx, 0x68b63b55
add edx, eax
xor eax, 0x68b63b55
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x57
mov ecx, dword [esp + 4]
mov byte [esp + ecx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x443350
mov esi, dword [esp + 0x28]
mov eax, dword [esp]
mov ecx, dword [0x44f754]
test ecx, ecx
je 0x4433fc
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov ebp, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x72e9dc72
je 0x4433d1
inc ebx
cmp ecx, ebx
jne 0x4433c0
jmp 0x4433fc
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x4433fc
lea eax, [esp + 0xc]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x44f75c]
push ecx
call fcn.0043f5f0
add esp, 0x30
mov edi, dword [esp + 0x34]
cmp eax, 0x103
jne 0x4434c6
mov dword [esp + 8], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x443470
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
not edx
or edx, 0x68b63b55
add edx, eax
xor eax, 0x68b63b55
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x57
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x443430
mov eax, dword [esp + 8]
mov ecx, dword [0x44f754]
test ecx, ecx
je 0x4434be
xor edx, edx
mov ebx, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x4434a0
inc edx
cmp ecx, edx
jne 0x443490
jmp 0x4434be
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x4434be
push 0
push 0
push esi
push 3
push dword [0x44f75c]
push ecx
call fcn.0043f5f0
add esp, 0x18
test eax, eax
js 0x4434c6
mov eax, dword [esp + 0xc]
test edi, edi
je 0x4434d9
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4434d7
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4436a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x4436c0
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 + 8], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 4], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x443780
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edi, eax
not edi
or edi, 0x68b63b55
add edi, eax
xor eax, 0x68b63b55
lea eax, [eax + edi*2]
add eax, 2
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x57
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x443740
mov eax, dword [esp + 4]
mov edi, dword [0x44f754]
test edi, edi
je 0x4437d5
xor ebx, ebx
mov ebp, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x81105f7a
je 0x4437b1
inc ebx
cmp edi, ebx
jne 0x4437a0
jmp 0x4437d5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x4437d5
lea eax, [esp + 0x14]
push esi
push eax
push edx
push dword [esp + 0x50]
push 4
push dword [0x44f75c]
push edi
call fcn.0043f5f0
add esp, 0x1c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401fee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x428040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [0x48a6b8]
xor ecx, ecx
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402063
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004029b8
lea ecx, [esp + 0x14]
call fcn.00401e1e
cmp eax, 0x8aafdc01
je 0x40207a
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402a45
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x10]
jb 0x40202a
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406c93
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00402d84
push eax
call fcn.00402ffd
mov eax, dword [ebx + 0x24]
pop ecx
mov ecx, dword [esp + 0xc]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402a45
jmp 0x402065
Function at 0x413736
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004133d8

Function at 0x413741
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413567

Function at 0x413b3b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407bb0
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004125cd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x413b7d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x413cd9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d260
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48a380]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00414d0b
mov ecx, dword [esi*4 + 0x48a380]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x413cd2
cmp eax, dword [edi + ecx + 0x24]
jne 0x413cd2
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413cd2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414d0b
add esp, 0x14
test edx, edx
jl 0x413cd2
jg 0x413c48
test eax, eax
jb 0x413cd2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x413cd2
jl 0x413c62
cmp dword [ebp - 0x1008], eax
ja 0x413cd2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x413c80
test ebx, ebx
je 0x413cb9
cmp ecx, edi
jae 0x413cb9
mov al, byte [ecx]
cmp al, 0xd
jne 0x413c9a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x413ca6
cmp byte [ecx + 1], 0xa
jne 0x413ca6
inc ecx
jmp 0x413ca6
movzx eax, al
movsx eax, byte [eax + 0x4282f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x413c80
cmp edx, ebx
jne 0x413c80
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x413cd7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406c93
leave
ret
Function at 0x4141a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48a380]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4141e9
cmp byte [ebx], 0xa
jne 0x4141e9
or byte [eax + edi + 0x28], 4
jmp 0x4141ee
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4142ec
mov al, byte [edx]
cmp al, 0x1a
je 0x4142ce
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41421d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x414242
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41424c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4141ff
jmp 0x4142ec
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4142c9
cmp dword [ebp - 0xc], 0
je 0x4142c9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48a380]
test byte [eax + edi + 0x28], 0x48
je 0x4142a3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41428e
mov byte [esi], dl
jmp 0x41429f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48a380]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4142ec
cmp byte [ebp - 1], 0xa
jne 0x4142b2
cmp esi, ebx
jne 0x4142b2
mov byte [esi], 0xa
jmp 0x4142eb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414d29
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4142ec
mov byte [esi], 0xd
jmp 0x4142eb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48a380]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4142e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4142ec
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4142f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48a380]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414338
cmp word [esi], dx
jne 0x414338
or byte [edi + eax + 0x28], 4
jmp 0x41433d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x414490
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x414470
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41437f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4143b5
cmp eax, edx
jae 0x4143c1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x414357
jmp 0x414490
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41446c
cmp dword [ebp - 0x14], 0
je 0x41446c
mov eax, dword [ebx*4 + 0x48a380]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x414444
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41440d
mov word [esi], cx
jmp 0x414440
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48a380]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48a380]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48a380]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x414490
pop ebx
cmp word [ebp - 4], bx
jne 0x414455
cmp esi, dword [ebp + 0xc]
jne 0x414455
mov word [esi], bx
jmp 0x41448d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414d29
add esp, 0x10
cmp word [ebp - 4], bx
je 0x414490
push 0xd
jmp 0x414489
mov ecx, dword [ebx*4 + 0x48a380]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414487
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414490
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100019f0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x10005484]
mov dword [esp], 0
test eax, eax
mov eax, dword [0x10005480]
je 0x10001a0f
test eax, eax
je 0x10001a1a
xor eax, eax
pop ecx
ret
test eax, eax
je 0x10001a1a
mov eax, 1
pop ecx
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x10005484], eax
jne 0x10001a38
mov eax, 1
pop ecx
ret
lea eax, [esp]
push eax
push 0
push 0
push 0x10001980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x10005480], eax
jne 0x10001a60
mov eax, 1
pop ecx
ret
push 1
push 0x10005488
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
pop ecx
ret

Function at 0x10001b90
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x100055a0
push 8
push edi
call fcn.10001bf0
add esp, 8
mov edx, 8
shl eax, 0x18
mov dword [esi], eax
mov ebx, eax
mov ecx, ebx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebx, eax
jne 0x10001bb1
push 0x20
push eax
mov dword [esi], ebx
call fcn.10001bf0
mov dword [esi], eax
add esp, 8
add esi, 4
inc edi
cmp esi, 0x1000599c
jle 0x10001b9a
pop edi
pop esi
pop ebx
ret

Function at 0x10001c20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x10001c53
push ebx
push esi
lea esi, [edx]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100055a0]
xor eax, edx
inc ecx
dec esi
jne 0x10001c33
pop esi
pop ebx
not eax
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x4010b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov esi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
cmp dword [esp + 0x14], esi
je 0x4010fb
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401109
cmp dword [esp + 0x14], esi
jne 0x4010e6
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
add esp, 0x128
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x401120
Capabilities:
Enumerate processes
Get common file path

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call fcn.004010b0
push 0
push 2
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jne 0x401230
lea edx, [esp + 0x40]
push str.explorer.exe
push edx
call sub.MSVCRT.dll__stricmp
add esp, 8
test eax, eax
jne 0x401230
push 0x104
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
push 0x104
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
js 0x4011c2
cmp byte [ecx + ebp], 0x5c
je 0x4011bd
dec ecx
jns 0x4011b2
jmp 0x4011c2
mov byte [ecx + ebp + 1], 0
push 0x104
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.wedie_
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll__stricmp
add esp, 8
test eax, eax
je 0x40121d
mov dword [esp + 0x10], 1
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov esi, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x1c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40115d
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret