joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4077f4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x1c46c230]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4077fe
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x407844
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x407823
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x407863
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00436f20
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4078f3
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x4078a9
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x4078bf
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4078e6
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407898
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x4112be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x4113f5
cmp byte [edi + 0x3d], bl
je 0x4113f5
call fcn.00403a9d
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0040e906
pop ecx
pop ecx
test al, al
je 0x411314
xor al, al
jmp 0x4113f7
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00405e0c
lea ebp, [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0040307c
add esi, eax
lea ecx, [esp + 0x2c]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
mov ecx, dword [edi + 0x38]
push eax
push ebp
call fcn.0040ec8a
sub eax, ebx
je 0x41137c
sub eax, 1
je 0x41137f
dec eax
sub eax, 1
jne 0x4113e8
inc eax
jmp 0x4113e6
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x4113c4
push dword [edi + 0x4c]
lea eax, [esp + 0x28]
push esi
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
push eax
call fcn.00440aec
add esp, 0x10
cmp esi, eax
jne 0x4113e4
cmp byte [edi + 0x3d], bl
je 0x4113e2
test esi, esi
jne 0x411323
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00403651
jmp 0x411323
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x28]
call fcn.00402bd8
mov al, bl
jmp 0x4113f7
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412358
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov esi, dword [ebx]
mov edx, dword [ebx + 0x3c]
movzx ebp, word [esi + 0x14]
add ebp, esi
mov eax, dword [ebp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
call fcn.0041218f
lea edx, [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.0041229c
mov ebx, dword [ebp + 0x3c]
mov edi, eax
and dword [esp + 0x34], 0
xor eax, eax
inc eax
mov dword [esp + 0x2c], edi
add ebp, 0x40
mov dword [esp + 0x30], ebx
cmp ax, word [esi + 6]
mov esi, ecx
mov dword [esp + 0x20], eax
jae 0x41246a
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0041218f
mov edx, ebp
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.0041229c
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x28], eax
je 0x412421
lea ecx, [edi + edx]
cmp ecx, eax
ja 0x41241d
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.004122bb
test eax, eax
je 0x412487
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x412445
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
mov edi, 0x2000000
test edi, eax
je 0x412435
test edi, ebx
je 0x412435
or ebx, eax
jmp 0x41243d
or ebx, eax
and ebx, 0xfdffffff
mov edi, ecx
sub edi, edx
add edi, dword [esp + 0x1c]
mov eax, dword [esi]
add ebp, 0x28
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
movzx eax, word [eax + 6]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x4123b4
xor eax, eax
inc eax
lea edx, [esp + 0x24]
mov dword [esp + 0x34], eax
mov ecx, esi
call fcn.004122bb
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
jmp 0x41247f
Function at 0x422641
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x42266c
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x42266c
cmp al, 0xc0
je 0x42266c
cmp al, 0xcc
je 0x42266c
add edx, 2
cmp dx, cx
jb 0x422651
pop esi
ret

Function at 0x42511b
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.004250b8
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x425136
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x425144
pop edi
pop esi
ret

Function at 0x42739f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4273b7
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x4273aa
pop esi
ret

Function at 0x4273b9
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x4273d4
shr esi, 2
push esi
call fcn.0042739f
pop ecx
pop esi
ret
test esi, esi
je 0x4273e5
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x4273da
pop esi
ret

Function at 0x4273e7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x42740b
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x4273fa
pop edi
pop esi
pop ebx
ret
Function at 0x42be76
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
mov esi, edx
sub esi, eax
mov dword [esp + 0x10], edx
push edi
xor edi, edi
mov ebx, ecx
and dword [esp + 0x18], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebp]
jbe 0x42bead
mov eax, 0xffffff53
jmp 0x42c080
mov esi, dword [esp + 0x20]
cmp edx, 3
jbe 0x42c06e
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea edx, [esp + 0x18]
call fcn.0042be18
add esp, 4
test eax, eax
jne 0x42c067
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
test cl, cl
je 0x42c06e
dec dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.0042be18
add esp, 4
test eax, eax
jne 0x42c080
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x12], cl
mov ecx, ebx
push eax
call fcn.0042be18
add esp, 4
test eax, eax
jne 0x42c080
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x24], cl
mov ecx, ebx
push eax
call fcn.0042be18
add esp, 4
test eax, eax
jne 0x42c080
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
mov dh, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp dl, 0x2b
jb 0x42c060
mov cl, byte [esp + 0x12]
cmp cl, 0x2b
jb 0x42c060
mov al, byte [esp + 0x24]
cmp al, 0x2b
jb 0x42c060
cmp dh, 0x2b
jb 0x42c060
cmp dl, 0x7a
ja 0x42c060
cmp cl, 0x7a
ja 0x42c060
cmp al, 0x7a
ja 0x42c060
cmp dh, 0x7a
ja 0x42c060
xor ecx, ecx
cmp al, 0x3d
setne cl
xor eax, eax
inc ecx
cmp dh, 0x3d
setne al
add ecx, edi
add eax, ecx
cmp eax, dword [ebp]
ja 0x42bea3
mov cl, byte [esp + 0x12]
movzx eax, dl
mov al, byte [eax + 0x1c468845]
mov byte [esp + 0x13], al
movzx eax, cl
mov ch, byte [eax + 0x1c468845]
mov al, byte [esp + 0x24]
cmp al, 0x3d
jne 0x42c003
xor cl, cl
jmp 0x42c00c
movzx eax, al
mov cl, byte [eax + 0x1c468845]
cmp dh, 0x3d
jne 0x42c015
xor al, al
jmp 0x42c01e
movzx eax, dh
mov al, byte [eax + 0x1c468845]
mov ah, byte [esp + 0x13]
mov dl, cl
shl dl, 6
or dl, al
shl ah, 2
mov al, ch
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp byte [esp + 0x24], 0x3d
je 0x42c04a
shr cl, 2
shl ch, 4
or cl, ch
mov byte [edi + esi], cl
inc edi
cmp dh, 0x3d
je 0x42c06e
mov byte [edi + esi], dl
inc edi
cmp dword [esp + 0x14], 3
ja 0x42beba
jmp 0x42c06e
mov eax, 0xffffff66
jmp 0x42c080
cmp eax, 0xffffff7c
jne 0x42c080
test esi, esi
je 0x42c07b
cmp dword [ebp], edi
jbe 0x42c07b
mov byte [edi + esi], 0
mov dword [ebp], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x42f77c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42f876
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42f79d
test esi, esi
jne 0x42f876
cmp edx, 3
je 0x42f7d3
cmp edx, 4
je 0x42f7d3
cmp edx, 5
je 0x42f7d3
cmp edx, 6
je 0x42f7d3
cmp edx, 7
je 0x42f7d3
cmp edx, 8
je 0x42f7d3
cmp edx, 0xa
je 0x42f7d3
cmp edx, 0xb
je 0x42f7d3
cmp edx, 0xc
je 0x42f7d3
cmp edx, 0xd
jne 0x42f876
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042f75f
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42f87b
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42f876
cmp esi, 0x40
ja 0x42f819
cmp dword [esp + 0x14], ebx
je 0x42f842
push esi
push dword [esp + 0x18]
push ecx
call fcn.00436f20
add esp, 0xc
jmp 0x42f83f
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.0043465e
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42f872
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.00434739
mov ebp, eax
test ebp, ebp
jne 0x42f872
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42f85a
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.004374a0
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x42f85a
mov eax, ebp
jmp 0x42f87b
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4336fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
inc esi
cmp dword [esp + 0xe8], 0
mov edi, ecx
push 0
cmovne ebx, dword [esp + 0xec]
mov ebp, edx
pop ecx
test bl, 0x1f
mov eax, ebx
push 0x37
push dword [esp + 0xf0]
setne cl
shr eax, 5
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00436f20
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0x433838
lea ecx, [esp + 0x74]
call fcn.00434778
mov esi, eax
test esi, esi
jne 0x433838
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.0043465e
mov esi, eax
pop ecx
test esi, esi
jne 0x433838
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.00434739
mov esi, eax
test esi, esi
jne 0x433838
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00436f20
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0x4337e3
cmp eax, dword [edi + 4]
jne 0x4337e3
cmp byte [edi + 0x76], 1
je 0x433856
mov edx, dword [esp + 0x10]
mov byte [edi + 0x76], 1
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x4337ea
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0x433825
test ebx, ebx
je 0x433825
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0x433818
push 0x20
push eax
push ebp
call fcn.00436f20
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.004336eb
jmp 0x433825
push ebx
push eax
push ebp
call fcn.00436f20
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0x433758
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.0041dcac
xor eax, eax
test esi, esi
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 3
pop eax
jmp 0x43384b

Function at 0x433f52
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x433efe
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.004374a0
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0x433f5c
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x433ef0
Function at 0x43467d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x43468b
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x4346d8
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.004374a0
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.00433ec6
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00433f64
test eax, eax
jne 0x434734
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.004374a0
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.00433ec6
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00436f20
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00436f20
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00433f64
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x434739
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x434770
test edi, edi
je 0x434770
call fcn.0043467d
test eax, eax
jne 0x434775
push 0x20
mov edx, esi
mov ecx, esi
call fcn.00433ec6
push 0x20
push esi
push edi
call fcn.00436f20
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x433ef0
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x434828
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x4348c2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4348c2
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.0042ff0b
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4348c7
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x434888
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434812
mov ecx, ebx
mov esi, eax
call fcn.00434812
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x434862
jmp 0x4348ad
mov ecx, dword [esp + 0x10]
jmp 0x4348ad
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434812
mov ecx, ebx
mov esi, eax
call fcn.00434812
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x43488e
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x4348c7
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44c6f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c574
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40642a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x406439
pop dword [ebp - 0x28]
mov eax, 0xea25a8cf
sub eax, 0xe9e54496
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x6f69705c
add dword [ebp - 0x38], 0xdee8d4ef
mov dword [ebp - 0x34], 0x6bee5dff
sub dword [ebp - 0x34], 0x39bb11ba
mov dword [ebp - 0x30], 0x68cd6940
add dword [ebp - 0x30], 0xe37edaee
mov dword [ebp - 0x2c], 0xfb54ca9c
add dword [ebp - 0x2c], 0x4ab3564
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x392a20f8
add dword [ebp - 0x38], 0x3b48485e
mov dword [ebp - 0x34], 0xe5d39620
add dword [ebp - 0x34], 0x5b98cb55
mov dword [ebp - 0x30], 0xe6c2b53f
sub dword [ebp - 0x30], 0x835348d3
mov dword [ebp - 0x2c], 0x58c13277
add dword [ebp - 0x2c], 0xa73ecd89
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcde1661
add eax, 0xf362b9e7
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3999b
push 0
call eax
mov ecx, 0x485d
mov ebx, eax
mov edi, 0x609636d8
add edi, 0x9fab7928
add edi, dword [ebp - 0x28]
mov edx, 0xf97e6b6b
sub edx, 0xb3f5b3df
mov dword [ebp - 0x24], 0x8bd7397a
mov esi, dword [edi]
add dword [ebp - 4], 0xc76dd72f
xor esi, edx
add dword [ebp - 4], 0xe219d68
mov dword [ebx], esi
xor dword [ebp - 0xc], edi
add ebx, 4
add edi, 4
loop 0x406550
add eax, 0x11447
xor ebx, ebx
add ebx, eax
add eax, 0x4ad0d4c6
sub eax, 0x4ad0d4c1
mov ecx, 0x44d2ee0f
add ecx, 0xbb6d11f1
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x44339e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xffffffff
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jecxz 0x4433bf
movzx edx, al
xor dl, byte [esi]
inc esi
shr eax, 8
xor eax, dword [edi + edx*4]
loop 0x4433b1
not eax
jmp 0x4433c8
jmp 0x4433cd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4941c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x536ccb
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.005285d5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x494242
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00525151
mov eax, dword [eax]
push 0x58f23c
push eax
call fcn.005170a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00528860
test bl, bl
je 0x494242
push 0x58f23c
lea ecx, [esp + 0xc]
call fcn.00528c3c
push 0x592f04
lea ecx, [esp + 0xc]
call fcn.00528c3c
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 0x49427e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00528860
jmp 0x494349
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 0x494302
lea edx, [esp + 0x7c]
push 0x592f00
push edx
call fcn.005170a4
add esp, 8
test eax, eax
je 0x494302
lea eax, [esp + 0x7c]
push 0x592efc
push eax
call fcn.005170a4
add esp, 8
test eax, eax
je 0x494302
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 0x494292
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.00528860
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 0x494fd0
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 0x495032
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 0x495040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x536d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a3370]
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 0x495178
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4950a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00528860
xor eax, eax
jmp 0x4951ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005289e9
push esi
lea ecx, [esp + 0xc]
call fcn.00528c78
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x592f3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4951cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00494fd0
test eax, eax
jne 0x4951cd
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 SysReAllocStringLen
mov ecx, edi
call fcn.00494fd0
test eax, eax
jne 0x4951cd
lea eax, [esp + 0x14]
push 0x592f18
push eax
call fcn.00518250
mov esi, eax
add esp, 8
test esi, esi
jne 0x4951ac
lea ecx, [esp + 0x14]
push 0x592f14
push ecx
call fcn.005181d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4951ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4951af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00528999
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4950be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00528860
xor eax, eax
jmp 0x4951ef
mov byte [esi], 0
push 0x592f10
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.00528860
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