joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c6aa
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, dword [0x4607a8]
push ebp
push esi
push edi
call ebx
mov esi, dword [esp + 0x18]
cmp eax, esi
je 0x44c752
mov edi, dword [0x4607ac]
push 0
push esi
call edi
mov ebp, eax
push 0
mov dword [esp + 0x14], ebp
call ebx
push eax
call edi
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x44c760
mov edi, dword [0x4607b4]
push 1
push eax
push ebp
call edi
mov ebp, dword [0x460800]
push esi
call ebp
push esi
call dword [0x4607fc]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call edi
call ebx
cmp eax, esi
je 0x44c759
mov edi, dword [0x4606f8]
xor ebx, ebx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x2000
call edi
push 2
push ebx
push ebx
mov ebx, 0x2001
push ebx
call edi
push esi
call ebp
push esi
call dword [0x4607fc]
push esi
call dword [0x4607b8]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push ebx
call edi
jmp 0x44c760
push esi
call dword [0x460800]
push esi
call dword [0x4607b8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x44d3f0
Capabilities:
Get session user name

Disassembly:
mov eax, 0x45d8fb
call fcn.00453740
sub esp, 0x280
mov eax, dword [0x477b54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x230], 0x100
call dword [0x460034]
test eax, eax
jne 0x44d437
xor al, al
jmp 0x44d530
push ebx
push 0x468a48
mov ecx, esi
call dword [0x4604a8]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call dword [0x460324]
push dword [0x4775f4]
lea ecx, [ebp - 0x22c]
call dword [0x460398]
xor ebx, ebx
push 0x4692ac
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], ebx
call dword [0x460398]
push eax
lea eax, [ebp - 0x28c]
push 0x461048
push eax
mov byte [ebp - 4], 1
call fcn.004017f0
push esi
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 2
call fcn.004017b0
add esp, 0x18
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call dword [0x460320]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call dword [0x46038c]
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 1
call dword [0x46038c]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], bl
call dword [0x46038c]
push 0x20019
lea ecx, [ebp - 0x22c]
call dword [0x460480]
push eax
push 0x80000002
lea ecx, [ebp - 0x238]
call fcn.004519b9
cmp dword [ebp - 0x238], ebx
lea ecx, [ebp - 0x238]
setne bl
call fcn.004518a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call dword [0x46038c]
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.0045337b
leave
ret

Function at 0x451585
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx]
test eax, eax
jne 0x45158f
xor al, al
jmp 0x4515ad
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x18]
push 0
push dword [esp + 0x14]
push eax
call dword [0x460030]
neg eax
sbb eax, eax
inc eax
ret 0x10
Function at 0x4516b4
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx]
test eax, eax
jne 0x4516be
xor al, al
jmp 0x4516dc
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x18]
push 0
push dword [esp + 0x14]
push eax
call dword [0x460024]
neg eax
sbb eax, eax
inc eax
ret 0x10

Function at 0x453c14
Capabilities:
Parse pe header

Disassembly:
push 0x2c
push 0x46a420
call fcn.004539d8
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call dword [0x4601e4]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp word [ecx], 0x5a4d
jne 0x453c80
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [eax], 0x4550
je 0x453c58
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x453c86
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x453c50
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x453c50
mov al, 1
jmp 0x453c52
or dword [ebp - 4], 0xffffffff
xor al, al
call fcn.00453a13
ret
Function at 0x453dc6
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
mov ebx, 0x10000
jbe 0x453de9
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x453dec
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x453dff
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x453e06
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x478240]
test eax, eax
mov ecx, dword [0x47823c]
jne 0x453e20
test ecx, ecx
je 0x453e35
mov eax, ecx
mov dword [0x478240], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x453e35
cmp edx, dword [ebp - 4]
jb 0x453e35
cmp edx, dword [ebp - 8]
jbe 0x453f09
mov eax, ecx
test ecx, ecx
jmp 0x453e59
test eax, eax
je 0x453e54
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x453e54
cmp ecx, dword [ebp - 4]
jb 0x453e54
cmp ecx, dword [ebp - 8]
jbe 0x453f09
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x478240], eax
jne 0x453e3b
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp - 4]
mov edi, esi
jbe 0x453fa4
cmp edi, 0x70000000
jb 0x453e89
cmp edi, 0x80000000
ja 0x453e89
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [0x4601e4]
test eax, eax
je 0x453fa4
cmp dword [ebp - 0x30], ebx
jne 0x453ea8
cmp dword [ebp - 0x34], ebx
jae 0x453ebb
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x453e74
jmp 0x453fa4
push 0x40
push 0x3000
push ebx
push edi
call dword [0x460164]
test eax, eax
mov dword [0x478240], eax
je 0x453fa4
mov ecx, dword [0x47823c]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x47823c], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x453efb
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x453fa9
cmp esi, dword [ebp - 8]
ja 0x453fa9
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.0045373a
add esp, 0xc
mov eax, esi
jmp 0x453fab
cmp esi, 0x70000000
jb 0x453f4d
cmp esi, 0x80000000
ja 0x453f4d
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [0x4601e4]
test eax, eax
je 0x453fa9
cmp dword [ebp - 0x14], ebx
jne 0x453f9b
cmp dword [ebp - 0x18], ebx
jb 0x453f9b
mov ecx, esi
and ecx, 0xffff
je 0x453f7f
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [0x460164]
test eax, eax
mov dword [0x478240], eax
jne 0x453ed7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x453f38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453fd1
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x46a430
call fcn.004539d8
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [0x4601e4]
test eax, eax
je 0x45402c
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x454028
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x454028
cmp word [eax + 0x14], 0
jne 0x45401d
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x45402e
mov eax, ecx
jmp 0x454017
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00453a13
ret

Function at 0x4552d7
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x45700a
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x477b54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
je 0x45713a
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x457139
cmp edi, 0x40
jbe 0x457054
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
call fcn.00456eb9
add esp, 0xc
push 0x14
lea eax, [ebp - 0x18]
pop edi
mov dword [ebp - 0x1c], eax
push ebx
push 0x40
lea eax, [esi + 0x5c]
push 0x36
push eax
call fcn.0045373a
push 0x40
lea ebx, [esi + 0x9c]
push 0x5c
push ebx
call fcn.0045373a
add esp, 0x18
test edi, edi
jbe 0x45708c
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
mov dl, byte [ecx]
xor byte [eax - 0x40], dl
mov dl, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
dec edi
jne 0x45707e
push esi
call fcn.004552d7
add esp, 4
lea eax, [esi + 0x5c]
test eax, eax
push 0x40
pop ebx
mov dword [ebp - 0x1c], eax
je 0x457128
mov ecx, dword [esi]
mov edi, ecx
push ebx
and edi, 0x3f
pop eax
add ecx, ebx
sub eax, edi
cmp ecx, ebx
mov dword [ebp - 0x20], eax
mov dword [esi], ecx
jae 0x4570bf
inc dword [esi + 4]
test edi, edi
je 0x4570f5
cmp eax, 0x40
ja 0x4570f5
push eax
push dword [ebp - 0x1c]
lea eax, [edi + esi + 0x1c]
push eax
call fcn.00453784
add esp, 0xc
lea eax, [esi + 0x1c]
mov ecx, esi
call fcn.00455306
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x1c], eax
push 0x40
pop ebx
sub ebx, eax
xor edi, edi
cmp ebx, 0x40
jb 0x457113
mov eax, ebx
shr eax, 6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00455306
add dword [ebp - 0x1c], 0x40
sub ebx, 0x40
dec dword [ebp - 0x20]
jne 0x4570fd
test ebx, ebx
jbe 0x457128
push ebx
push dword [ebp - 0x1c]
lea eax, [edi + esi + 0x1c]
push eax
call fcn.00453784
add esp, 0xc
push 0x14
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.0045373a
add esp, 0xc
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045337b
leave
ret
Function at 0x458223
Capabilities:
Create directory

Disassembly:
mov eax, 0x45e54c
call fcn.00453740
sub esp, 0x20
mov eax, dword [0x477b54]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x4582b2
cmp word [edi], bx
je 0x4582b2
push edi
call fcn.00457ce2
test al, al
pop ecx
je 0x45825a
mov al, 1
jmp 0x4582b4
mov esi, dword [0x46069c]
push ebx
push edi
push ebx
call esi
cmp eax, ebx
je 0x458256
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00454dfa
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
je 0x4582a1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x458289
lea eax, [ebp - 0x28]
push eax
call fcn.00458223
cmp al, bl
pop ecx
je 0x4582a1
push ebx
push edi
push ebx
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [0x46038c]
mov al, bl
jmp 0x4582b4
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045337b
leave
ret

Function at 0x4582cd
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x459003
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x477b54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
je 0x459133
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x459132
cmp edi, 0x40
jbe 0x45904d
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
call fcn.00458eb2
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
pop edi
mov dword [ebp - 0x18], eax
push ebx
push 0x40
lea eax, [esi + 0x58]
push 0x36
push eax
call fcn.0045373a
push 0x40
lea ebx, [esi + 0x98]
push 0x5c
push ebx
call fcn.0045373a
add esp, 0x18
test edi, edi
jbe 0x459085
mov ecx, dword [ebp - 0x18]
mov eax, ebx
mov dl, byte [ecx]
xor byte [eax - 0x40], dl
mov dl, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
dec edi
jne 0x459077
push esi
call fcn.004582cd
add esp, 4
lea eax, [esi + 0x58]
test eax, eax
push 0x40
pop ebx
mov dword [ebp - 0x18], eax
je 0x459121
mov ecx, dword [esi]
mov edi, ecx
push ebx
and edi, 0x3f
pop eax
add ecx, ebx
sub eax, edi
cmp ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [esi], ecx
jae 0x4590b8
inc dword [esi + 4]
test edi, edi
je 0x4590ee
cmp eax, 0x40
ja 0x4590ee
push eax
push dword [ebp - 0x18]
lea eax, [edi + esi + 0x18]
push eax
call fcn.00453784
add esp, 0xc
lea eax, [esi + 0x18]
mov ecx, esi
call fcn.004582f5
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
push 0x40
pop ebx
sub ebx, eax
xor edi, edi
cmp ebx, 0x40
jb 0x45910c
mov eax, ebx
shr eax, 6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, esi
call fcn.004582f5
add dword [ebp - 0x18], 0x40
sub ebx, 0x40
dec dword [ebp - 0x1c]
jne 0x4590f6
test ebx, ebx
jbe 0x459121
push ebx
push dword [ebp - 0x18]
lea eax, [edi + esi + 0x18]
push eax
call fcn.00453784
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0045373a
add esp, 0xc
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045337b
leave
ret
Function at 0x459e5c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x459ea3
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x459ea3
xor edx, edx
mov eax, esi
shl eax, 3
push 6
pop ecx
div ecx
lea ecx, [eax + eax*2]
shl ecx, 1
mov edx, ecx
mov ecx, esi
shl ecx, 3
sub ecx, edx
dec ecx
dec ecx
je 0x459e96
dec ecx
dec ecx
jne 0x459e99
inc eax
inc eax
jmp 0x459e99
add eax, 3
mov ecx, dword [ebp + 0xc]
inc eax
cmp dword [ecx], eax
jae 0x459eaa
mov dword [ecx], eax
push 0xfffffffffffffff0
pop eax
pop edi
pop esi
leave
ret
push ebx
xor edx, edx
push 3
pop ecx
mov eax, esi
div ecx
mov ecx, dword [ebp + 8]
xor edx, edx
lea eax, [eax + eax*2]
test eax, eax
jbe 0x459f30
push 3
dec eax
pop esi
div esi
inc eax
lea edx, [eax + eax*2]
mov dword [ebp - 4], edx
movzx esi, byte [edi]
inc edi
movzx edx, byte [edi]
mov ebx, esi
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edi
mov dword [ebp + 0x10], edx
movzx edx, byte [edi]
mov byte [ecx], bl
mov ebx, dword [ebp + 0x10]
shr ebx, 4
shl esi, 4
add ebx, esi
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edi
inc ecx
mov byte [ecx], bl
mov ebx, dword [ebp + 0x10]
mov esi, edx
shr esi, 6
lea esi, [esi + ebx*4]
and esi, 0x3f
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], bl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
dec eax
jne 0x459ecd
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp edx, esi
jae 0x459f85
movzx eax, byte [edi]
inc edx
cmp edx, esi
jae 0x459f42
movzx edi, byte [edi + 1]
jmp 0x459f44
xor edi, edi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, edi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, esi
jae 0x459f7d
and edi, 0xf
mov al, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x459f80
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
pop ebx
mov dword [edx], eax
mov byte [ecx], 0
xor eax, eax
jmp 0x459ea6
Function at 0x459f9a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
push ebx
push esi
push edi
je 0x45a0b0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x45a0b0
xor esi, esi
xor ebx, ebx
xor edx, edx
test edi, edi
jbe 0x45a0ac
mov eax, edi
sub eax, edx
cmp eax, 2
jb 0x459fdb
cmp byte [edx + ecx], 0xd
jne 0x459fdb
cmp byte [edx + ecx + 1], 0xa
je 0x45a016
mov al, byte [edx + ecx]
cmp al, 0xa
je 0x45a016
cmp al, 0x3d
jne 0x459ff0
inc ebx
cmp ebx, 2
ja 0x45a0b0
cmp al, 0x7f
ja 0x45a0b0
movzx eax, al
mov al, byte [eax + 0x46b700]
cmp al, 0x7f
je 0x45a0b0
cmp al, 0x40
jae 0x45a015
test ebx, ebx
jne 0x45a0b0
inc esi
inc edx
cmp edx, edi
jb 0x459fc5
test esi, esi
je 0x45a0ac
mov ecx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
lea eax, [eax + eax + 7]
shr eax, 3
cmp dword [ecx], eax
jae 0x45a03a
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x45a0b2
mov ecx, dword [ebp + 8]
push 3
xor ebx, ebx
xor esi, esi
test edx, edx
pop edi
jbe 0x45a0a4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0xd
je 0x45a09c
cmp al, 0xa
je 0x45a09c
movzx eax, al
movzx eax, byte [eax + 0x46b700]
xor edx, edx
cmp al, 0x40
sete dl
shl ebx, 6
and eax, 0x3f
or eax, ebx
mov ebx, eax
sub edi, edx
inc esi
cmp esi, 4
jne 0x45a09c
xor esi, esi
test edi, edi
jbe 0x45a087
shr eax, 0x10
mov byte [ecx], al
inc ecx
cmp edi, 1
jbe 0x45a094
mov eax, ebx
shr eax, 8
mov byte [ecx], al
inc ecx
cmp edi, 2
jbe 0x45a09c
mov byte [ecx], bl
inc ecx
inc dword [ebp + 0x10]
dec dword [ebp - 4]
jne 0x45a04b
sub ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
jmp 0x45a0b3
push 0xffffffffffffffee
pop eax
pop edi
pop esi
pop ebx
leave
ret

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 0x4172b3
Capabilities:
Parse pe header

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

Function at 0x429590
Capabilities:
Parse pe header

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

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret
Function at 0x40fb30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4739bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00467d50
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40fbb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004657d0
mov eax, dword [eax]
push 0x6f51f0
push eax
call fcn.004583f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00467fdb
test bl, bl
je 0x40fbb2
push 0x6f51f0
lea ecx, [esp + 0xc]
call fcn.0046836b
push 0x6f8d8c
lea ecx, [esp + 0xc]
call fcn.0046836b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40fbee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00467fdb
jmp 0x40fcb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40fc72
lea edx, [esp + 0x7c]
push 0x6f8d88
push edx
call fcn.004583f4
add esp, 8
test eax, eax
je 0x40fc72
lea eax, [esp + 0x7c]
push 0x6f8d84
push eax
call fcn.004583f4
add esp, 8
test eax, eax
je 0x40fc72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40fc02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00467fdb
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4104b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410512
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x473a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6ff304]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467fdb
xor eax, eax
jmp 0x4106cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468118
push esi
lea ecx, [esp + 0xc]
call fcn.004683a7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4106ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004104b0
test eax, eax
jne 0x4106ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004104b0
test eax, eax
jne 0x4106ad
lea eax, [esp + 0x14]
push 0x6f8da0
push eax
call fcn.00459430
mov esi, eax
add esp, 8
test esi, esi
jne 0x41068c
lea ecx, [esp + 0x14]
push 0x6f8d9c
push ecx
call fcn.004593b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41068c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41068f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004680c8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41059e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467fdb
xor eax, eax
jmp 0x4106cf
mov byte [esi], 0
push 0x6f8d98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00467fdb
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4