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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x405391
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
sub byte [edi + ebp], 0x70
call esi
add byte [edi + ebp], 0xaf
call esi
xor byte [edi + ebp], 0xc8
call esi
add byte [edi + ebp], 0x33
call esi
add byte [edi + ebp], 9
call esi
add byte [edi + ebp], 0xbb
call esi
add byte [edi + ebp], 0x68
call esi
xor byte [edi + ebp], 0xde
call esi
add byte [edi + ebp], 8
call esi
add byte [edi + ebp], 0xe0
call esi
xor byte [edi + ebp], 0x41
call esi
add byte [edi + ebp], 0xdb
call esi
add byte [edi + ebp], 0x23
call esi
add byte [edi + ebp], 0x46
call esi
add byte [edi + ebp], 0xfc
call esi
add byte [edi + ebp], 0x7a
call esi
xor byte [edi + ebp], 0xf
call esi
add byte [edi + ebp], 0x74
call esi
add byte [edi + ebp], 0x7d
call esi
add byte [edi + ebp], 0xa
call esi
add byte [edi + ebp], 0xa5
call esi
add byte [edi + ebp], 0x25
call esi
add byte [edi + ebp], 0xf3
call esi
add byte [edi + ebp], 0x5f
call esi
add byte [edi + ebp], 0xfe
call esi
xor byte [edi + ebp], 0x1c
call esi
add byte [edi + ebp], 0x17
call esi
add byte [edi + ebp], 0x62
call esi
add byte [edi + ebp], 0x7e
call esi
add byte [edi + ebp], 0x6d
call esi
sub byte [edi + ebp], 0x80
call esi
xor byte [edi + ebp], 0x16
call esi
xor byte [edi + ebp], 6
call esi
xor byte [edi + ebp], 0x2d
call esi
add byte [edi + ebp], 0xbc
call esi
add byte [edi + ebp], 0xd6
call esi
xor byte [edi + ebp], 0x21
call esi
add byte [edi + ebp], 0xf1
call esi
add byte [edi + ebp], 0x4c
call esi
xor byte [edi + ebp], 0xf
call esi
add byte [edi + ebp], 0xf7
call esi
xor byte [edi + ebp], 0xfe
call esi
add byte [edi + ebp], 0x2e
call esi
xor byte [edi + ebp], 0xf0
call esi
add byte [edi + ebp], 0x2e
call esi
xor byte [edi + ebp], 0x78
call esi
add byte [edi + ebp], 0xce
call esi
add byte [edi + ebp], 0xb4
call esi
add byte [edi + ebp], 0xa4
inc edi
cmp edi, ebx
jb 0x405260
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4061d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x4061e2
call 0x1875ed71
jo 0x406229
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
add bh, bh
salc
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x43f2c0], eax
sub eax, eax
je 0x406213
call 0x7840ca34
add byte [eax], al
push 0x7800
push section..data
call fcn.00405240
push str.warning_is_the_identify
call fcn.004062d0
push 0xb0
mov dword [ebp - 4], 0x403330
call fcn.0040978c
add esp, 0x10
test eax, eax
je 0x406253
add byte [eax], al
add byte [eax - 0x50], ch
add byte [eax], al
add bh, al
inc ebp
cld
xor byte [ebx], dh
inc eax
add al, ch
dec edi
xor eax, 0xc4830000
adc byte [ebp - 0x72f08b40], al
dec ebp
cld
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call fcn.004014c0
mov esi, eax
jmp 0x406255
xor esi, esi
test esi, esi
je 0x4062c7
lea ecx, [esi + 4]
lock inc dword [ecx]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x40627e
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x406276
mov eax, dword [ecx]
push esi
jmp 0x40627c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test esi, esi
je 0x40628c
cmp byte [esi + 0x6c], 0
jne 0x40628c
mov al, 1
jmp 0x40628e
xor al, al
test al, al
je 0x4062c7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
lock xadd dword [esi + 4], edi
dec edi
jne 0x4062bf
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4062b7
mov eax, dword [ecx]
push esi
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.00404db0
int3

Function at 0x40a3e3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a422
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a422
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a422
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a422
cmp dword [ecx + 0x74], 0xe
jbe 0x40a422
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x416f7c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b428
push 0x42b420
push str.FlsAlloc
push 0x1e
call fcn.00416de9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416fb0
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
jmp 0x416fb6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x416ffa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b438
push 0x42b430
push str.FlsGetValue
push 0x20
call fcn.00416de9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417031
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41ad5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a840
mov eax, dword [0x43d900]
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.00418511
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ad9f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41aefb
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425fb0
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 + 0x43ffb8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b183
mov ecx, dword [esi*4 + 0x43ffb8]
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 0x41aef4
cmp eax, dword [edi + ecx + 0x24]
jne 0x41aef4
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 0x41aef4
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b183
add esp, 0x14
test edx, edx
jl 0x41aef4
jg 0x41ae6a
test eax, eax
jb 0x41aef4
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41aef4
jl 0x41ae84
cmp dword [ebp - 0x1008], eax
ja 0x41aef4
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41aea2
test ebx, ebx
je 0x41aedb
cmp ecx, edi
jae 0x41aedb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41aebc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41aec8
cmp byte [ecx + 1], 0xa
jne 0x41aec8
inc ecx
jmp 0x41aec8
movzx eax, al
movsx eax, byte [eax + 0x43e240]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41aea2
cmp edx, ebx
jne 0x41aea2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41aef9
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409c00
leave
ret
Function at 0x4230a6
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 + 0x43ffb8]
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 0x4230e6
cmp byte [ebx], 0xa
jne 0x4230e6
or byte [eax + edi + 0x28], 4
jmp 0x4230eb
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4231e9
mov al, byte [edx]
cmp al, 0x1a
je 0x4231cb
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x42311a
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x42313f
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x423149
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 0x4230fc
jmp 0x4231e9
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 0x4231c6
cmp dword [ebp - 0xc], 0
je 0x4231c6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x43ffb8]
test byte [eax + edi + 0x28], 0x48
je 0x4231a0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42318b
mov byte [esi], dl
jmp 0x42319c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x43ffb8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4231e9
cmp byte [ebp - 1], 0xa
jne 0x4231af
cmp esi, ebx
jne 0x4231af
mov byte [esi], 0xa
jmp 0x4231e8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b1a1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4231e9
mov byte [esi], 0xd
jmp 0x4231e8
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x43ffb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4231e5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4231e9
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4231f2
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 + 0x43ffb8]
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 0x423235
cmp word [esi], dx
jne 0x423235
or byte [edi + eax + 0x28], 4
jmp 0x42323a
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 0x42338d
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 0x42336d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42327c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4232b2
cmp eax, edx
jae 0x4232be
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 0x423254
jmp 0x42338d
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 0x423369
cmp dword [ebp - 0x14], 0
je 0x423369
mov eax, dword [ebx*4 + 0x43ffb8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x423341
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42330a
mov word [esi], cx
jmp 0x42333d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x43ffb8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x43ffb8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x43ffb8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42338d
pop ebx
cmp word [ebp - 4], bx
jne 0x423352
cmp esi, dword [ebp + 0xc]
jne 0x423352
mov word [esi], bx
jmp 0x42338a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b1a1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42338d
push 0xd
jmp 0x423386
mov ecx, dword [ebx*4 + 0x43ffb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423384
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42338d
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 0x425db0
Capabilities:
Parse pe header

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

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x40ad90
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
push ebp
inc ecx
mov eax, dword gs:[ebp + 8]
sub eax, 2
je 0x40adab
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [eax], 0x263f
xor edi, dword [ebp + 0x458bc35d]
adc al, 0x8b
dec ebp
adc byte [ebx + 0x51503c55], cl
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x3c]
push eax
push ecx
or al, 0xe8
adc al, 0
add byte [eax], al
add esp, 0x66
in al, 0xc3
nop
nop
nop
mov eax, dword [0x90900d90]
nop
nop
nop
std
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + ecx]
cmp eax, 0x10
jae 0x40adee
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x1c
xor eax, eax
pop ebp
push ebx
push ebx
push esi
mov esi, dword [ebp + 8]
mov al, 0xbf
add al, 0
add byte [eax], al
mov al, byte [esi]
inc esi
cmp al, 0x63
mov byte [ebp + 0x32], al
jbe 0x40ae1d
mov eax, dword [ebp + 0x10]
push ebp
jne 0x40ae09
pop esi
add byte [0xff], ah
cdq
not dword [eax + 4]
xor byte [eax + 0x74881055], cl
inc ecx
jmp 0x40ae21
xor ecx, dword [ecx]
jbe 0x40ae38
mov eax, dword [edi]
adc byte [edx + ecx + 0x254c0000], cl
inc dword [esi]
add byte [eax], al
cdq
imul dword [ebx]
add al, 0x30
mov byte [ebp + 0x4c28a41], ah
sub byte [eax + 0x1fd4101], cl
jecxz 0x40ae82
add al, 0x28
mov byte [ecx], al
inc ecx
std
add ebx, esp
inc ecx
dec edi
jne 0x40adf9
mov eax, dword [ebp + 0xc]
mov cl, 6
leave
inc ecx
inc dword [eax]
pop ebx
pop ebp
ret
jne 0x40aee2
mov esi, dword [edx + ebp*2 + 0x14]
push eax
xor edi, edi
call fcn.004049ce
mov edi, dword [ebx - 0x21e9c777]
add al, 0x2f
adc eax, 0xbc78fc08
push edi
outsd dx, dword [esi]
push edi
mov dword [eax + 0x10], edi
push edi
mov edi, esi
or al, 0xff
adc eax, 0x684009a0
mov edx, dword [ebx + 0xc]
mov esi, ebp
dec edx
mov esp, dword [ebx + 0x10488b0c]
test ecx, ecx
jne 0x40aeef
mov eax, dword [edi]
rol byte [eax], 0xff
salc
test dword [esi + 0x75], eax
or dword [edi - 0x1a35a4b7], eax
pop ebp
ret 0xc
mov eax, dword [ebx + 0x30]
adc edx, esp
invalid
mov cl, byte [ebx + 0x30]
mov byte [eax], cl
mov dh, 0x16
popal
dec ebx
xor byte [eax + 0x6116b608], cl
dec edx
mov dword [esi], edx
mov dword [ebx + 0x30], edi
mov esi, dword [edx]
mov dword [ecx + 0x7509850c], esi
jns 0x40aef0
push es
push 0x5f000000
pop esi
xor eax, eax
pop ebx
push esp
in eax, 0x5d
ret 0xc
Function at 0x401d7d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x404050]
mov ebx, eax
add edx, eax
mov eax, 0x404054
call fcn.00401cbd
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x4034fa
push edx
sub edi, fcn.00402ca4
push edi
xor eax, eax
push fcn.00402ca4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401de7
mov eax, fcn.00402ca4
mov ebx, esi
mov edx, edi
call fcn.00401cbd
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040189d
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401eeb
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
sub esp, 0x430
xor eax, eax
mov dword [esp + 0x424], eax
mov dword [esp + 0x428], 0x14
mov eax, dword [esp + 0x424]
mov word [esp + 0x208], ax
lea eax, [esp + 0x428]
push eax
lea eax, [esp + 0x414]
push eax
push 1
push 1
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
movzx eax, word [esp + 0x410]
sub eax, 0x47
mov dword [esp + 0x42c], eax
mov eax, dword [esp + 0x428]
add dword [esp + 0x42c], eax
push 0x104
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov eax, esp
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFindExtensionW]
mov eax, dword [esp + 0x42c]
add esp, 0x430
pop edx
pop ecx
ret
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
ret
push ebp
mov ebp, esp
cmp dword [eax + edi*2 + 0x56], 0xffffff8b
jne 0x401e98
push edi
lea eax, [ebp - 0x78]
push 0xfffffffffffffff2
mov byte [edx - 0xe], ch
not dword [ebp - 0x5a]
mov dword [eax], ebp
add byte [edi + edi*4 + 8], cl
fst qword [sym.imp.MSVCRT.dll__iob]
push eax
push ecx
add edx, 0x40
push str._s:__s___d__n
push edx
mov ebp, 0x40c18096
add byte [ecx + 0x4102ac], ah
add edx, 0x14
test eax, eax
je 0x401e8c
push eax
push 0xc440d254
call ebp
jns 0x401e48
inc eax
add dh, al
les ebx, [edx - 0x56]
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
loopne 0x401e27
retf 0x9090
nop
nop
push ss
nop
nop
or al, 0x90
nop
push ebp
mov ebp, esp
sbb dword [ebx - 0x74daac71], 1
or byte [edi + 0x61], dl
inc esi
adc al, 0x89
inc ebp
or al, ch
dec ecx
inc edx
add byte [eax], al
mov dword [0x880ba0], eax
mov dword [0x87520ba4], edx
adc eax, 0x87520ba4
mov ebx, eax
mov ebp, esi
loop 0x401e4d
ror byte [ebx - 0x74438a06], 0x4e
add al, 0x6a
xchg edi, eax
push 0
push ecx
call fcn.00408c70
mov dword [esi + 0x838], ebx
cli
mov esi, 0x8e3
mov dword [esi - 0x7a], 0xb9
mov edx, dword [0x4117ec]
mov ecx, 0x8b000000
adc eax, 0x4117ec
mov dword [esi + 0x14], edx
mov eax, dword [0x410260]
jg 0x401ebd
je 0x401ee9
mov eax, dword [0x410270]
mov edi, dword [esi]
add ecx, eax
out 0x4e, al
adc al, 0xeb
sub eax, 0x53388eff
add byte [eax], al
mov eax, dword [0x40d0c0]
mov edx, dword [0x2740d00a]
add ecx, eax
mov eax, dword [esi + 0x3900083c]
adc eax, edx
clc
jg 0x408415
jl 0x401ef3
cmp ebx, ecx
invalid
inc ecx
mov ecx, dword [ecx + eax*8 - 0x5a0c5317]
mov edx, dword [ebp + ecx*8 - 0x1f]
add esi, ebx
movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x5b8dab1c]
test byte [ecx], al
add byte [eax], al
mov word [eax], es
mov esp, ebp
pop ebp
sub dword [edx - 0x57ff7ab], ecx
jne 0x4084a8
mov ecx, ebp
sbb byte [ebp - 0x748b8040], al
invalid
mov esp, ecx
stc
mov al, byte [ebx]
mov byte [esi], al
xor eax, 0xdbff8543
sbb ecx, dword [ebx - 0x3f7a77bb]
adc eax, 0x2e06c604
inc esi
mov eax, dword [ebp + 0x18]
mov cl, byte [ebx]
test cl, cl
je 0x4084d4
mov byte [ebx], bh
mov cl, byte [ebx + 1]
inc esi
inc ebx
test cl, cl
jne 0x4084df
cmp dl, 0xa6
je 0x408541
mov byte [esi], dl
inc esi
dec eax
add byte [ebp - 0x11], al
out dx, eax
je 0x408535
lea ecx, [ebp + 0x1c]
push ebp
fist word [ecx - 0x73]
dec ebp
or byte [edx + 0x51], dl
push 0
push eax
cmp dl, 0xfb
invalid
shr byte [edx - 0x339b96b], 1
xor byte [esi - 0x3a], al
push es
mov dword [esi - 0x75], eax
cld
mov edi, esp
xor al, 0x8b
push edx
and al, 0x2b
invalid
Function at 0x401ea0
Capabilities:
Terminate process

Disassembly:
ret
push ebp
mov ebp, esp
cmp dword [eax + edi*2 + 0x56], 0xffffff8b
jne 0x401e98
push edi
lea eax, [ebp - 0x78]
push 0xfffffffffffffff2
mov byte [edx - 0xe], ch
not dword [ebp - 0x5a]
mov dword [eax], ebp
add byte [edi + edi*4 + 8], cl
fst qword [sym.imp.MSVCRT.dll__iob]
push eax
push ecx
add edx, 0x40
push str._s:__s___d__n
push edx
mov ebp, 0x40c18096
add byte [ecx + 0x4102ac], ah
add edx, 0x14
test eax, eax
je 0x401e8c
push eax
push 0xc440d254
call ebp
jns 0x401e48
inc eax
add dh, al
les ebx, [edx - 0x56]
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
loopne 0x401e27
retf 0x9090
nop
nop
push ss
nop
nop
or al, 0x90
nop
push ebp
mov ebp, esp
sbb dword [ebx - 0x74daac71], 1
or byte [edi + 0x61], dl
inc esi
adc al, 0x89
inc ebp
or al, ch
dec ecx
inc edx
add byte [eax], al
mov dword [0x880ba0], eax
mov dword [0x87520ba4], edx
adc eax, 0x87520ba4
mov ebx, eax
mov ebp, esi
loop 0x401e4d
ror byte [ebx - 0x74438a06], 0x4e
add al, 0x6a
xchg edi, eax
push 0
push ecx
call fcn.00408c70
mov dword [esi + 0x838], ebx
cli
mov esi, 0x8e3
mov dword [esi - 0x7a], 0xb9
mov edx, dword [0x4117ec]
mov ecx, 0x8b000000
adc eax, 0x4117ec
mov dword [esi + 0x14], edx
mov eax, dword [0x410260]
jg 0x401ebd
je 0x401ee9
mov eax, dword [0x410270]
mov edi, dword [esi]
add ecx, eax
out 0x4e, al
adc al, 0xeb
sub eax, 0x53388eff
add byte [eax], al
mov eax, dword [0x40d0c0]
mov edx, dword [0x2740d00a]
add ecx, eax
mov eax, dword [esi + 0x3900083c]
adc eax, edx
clc
jg 0x408415
jl 0x401ef3
cmp ebx, ecx
invalid
inc ecx
mov ecx, dword [ecx + eax*8 - 0x5a0c5317]
mov edx, dword [ebp + ecx*8 - 0x1f]
add esi, ebx
movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x5b8dab1c]
test byte [ecx], al
add byte [eax], al
mov word [eax], es
mov esp, ebp
pop ebp
sub dword [edx - 0x57ff7ab], ecx
jne 0x4084a8
mov ecx, ebp
sbb byte [ebp - 0x748b8040], al
invalid
mov esp, ecx
stc
mov al, byte [ebx]
mov byte [esi], al
xor eax, 0xdbff8543
sbb ecx, dword [ebx - 0x3f7a77bb]
adc eax, 0x2e06c604
inc esi
mov eax, dword [ebp + 0x18]
mov cl, byte [ebx]
test cl, cl
je 0x4084d4
mov byte [ebx], bh
mov cl, byte [ebx + 1]
inc esi
inc ebx
test cl, cl
jne 0x4084df
cmp dl, 0xa6
je 0x408541
mov byte [esi], dl
inc esi
dec eax
add byte [ebp - 0x11], al
out dx, eax
je 0x408535
lea ecx, [ebp + 0x1c]
push ebp
fist word [ecx - 0x73]
dec ebp
or byte [edx + 0x51], dl
push 0
push eax
cmp dl, 0xfb
invalid
shr byte [edx - 0x339b96b], 1
xor byte [esi - 0x3a], al
push es
mov dword [esi - 0x75], eax
cld
mov edi, esp
xor al, 0x8b
push edx
and al, 0x2b
invalid

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

Disassembly:
outsd dx, dword [esi]
dec edx
adc dword [esi + 0x6ba5bffe], esp
jle 0x406e02
out 0xfe, al
mov edi, 0xf97e6ba5
add al, 0