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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x6dc26c]
mov edi, eax
pop ecx
test edi, edi
je 0x5decdb
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x5dec58
push ecx
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
call dword [esi + 8]
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x5dec5e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x5decd3
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 4]
push 1
mov al, byte [eax]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov ecx, dword [ebp - 4]
push 1
mov al, byte [ecx]
xor al, 0x5c
inc ecx
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov dword [ebp - 4], ecx
call dword [esi + 4]
add esp, 0x18
sub ebx, 1
jne 0x5dec78
mov ebx, dword [ebp - 8]
jmp 0x5decd3
push 1
push 0x67e867
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x67e868
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x5decb5
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x603c7f
Capabilities:
Read file on windows

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

Function at 0x603c8a
Capabilities:
Read file on windows

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

Function at 0x607511
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006071d1
Function at 0x611cd2
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x65e55d
call fcn.0054619b
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x611def
cmp byte [ebx + 0x3e], 0
je 0x611def
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.00541a22
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x611d1e
xor al, al
jmp 0x611df1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004c3530
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x611d4e
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00541a22
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x611d83
sub eax, 1
je 0x611d87
dec eax
sub eax, 1
je 0x611ddd
xor bl, bl
jmp 0x611ddf
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x611d97
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x611dbf
cmp eax, 0x10
jae 0x611da6
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.005f05c3
add esp, 0x10
cmp esi, eax
jne 0x611d7f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x611ddd
test esi, esi
jne 0x611d42
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004c3a30
jmp 0x611d3c
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00414d00
mov al, bl
jmp 0x611df1
mov al, 1
call fcn.00546145
ret
Function at 0x611fee
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x65e3e0
call fcn.0054619b
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x612013
xor eax, eax
jmp 0x61218c
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x61203f
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x61203f
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x61218c
cmp dword [esi + 0x4c], 0
je 0x612189
mov ecx, esi
call fcn.00611eb9
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x612072
push dword [esi + 0x4c]
push edi
call fcn.006119a1
pop ecx
pop ecx
test al, al
je 0x612189
movzx ebx, di
jmp 0x612189
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004c3530
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x6120aa
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.00541a22
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x61217d
cmp eax, 1
jg 0x612158
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x6120f3
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x612120
cmp eax, 0x10
jae 0x612102
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.005f05c3
add esp, 0x10
cmp edi, eax
jne 0x612153
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x612123
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x61214d
test edi, edi
jne 0x61209e
cmp dword [ebp - 0x18], 0x20
jae 0x612177
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.004c3a30
jmp 0x612098
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x612177
cmp eax, 3
jne 0x61217d
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.006119a1
pop ecx
pop ecx
test al, al
je 0x612177
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00414d00
mov ax, bx
call fcn.00546145
ret 4
Function at 0x614dfd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ecx + 8]
push esi
push edi
sub eax, 0
je 0x614e7a
sub eax, 1
je 0x614e6b
sub eax, 1
je 0x614e5c
sub eax, 1
je 0x614e44
sub eax, 1
je 0x614e37
sub eax, 1
jne 0x614e90
cmp byte [ecx], 0
mov eax, str.true
mov edx, str.false
cmove eax, edx
push eax
jmp 0x614e7f
cmp dword [ecx], 0
mov eax, 0x691362
cmovne eax, dword [ecx]
jmp 0x614e34
movsd xmm0, qword [ecx]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [ebp + 8]
call fcn.0061545a
add esp, 0xc
jmp 0x614e87
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 8]
call fcn.0061555c
jmp 0x614e57
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 8]
call fcn.006154f1
jmp 0x614e57
push 0x691362
mov ecx, dword [ebp + 8]
call fcn.00414c10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 4
push 8
pop ecx
mov esi, 0x6898d0
mov edi, 0x29a
rep movsd dword es:[edi], dword [esi]
push 0x7b
movsw word es:[edi], word [esi]
call fcn.005f37aa
int3

Function at 0x614eca
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 0xffffffff
jne 0x614ee6
mov esi, dword [ebp + 8]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x614edd
sub esi, ecx
mov eax, accept
cmp esi, 0x7fffffff
cmovae esi, eax
lea eax, [esi + 1]
push eax
call fcn.005e74a6
mov edi, eax
pop ecx
test edi, edi
je 0x614f1b
push esi
push dword [ebp + 8]
push edi
call fcn.005e0850
add esp, 0xc
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 9
pop ecx
mov esi, str.Failed_to_allocate_string_value_buffer
mov edi, 0x29a
rep movsd dword es:[edi], dword [esi]
push 0x7b
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.005f37aa
int3
Function at 0x619ac1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x619ae2
xor eax, eax
jmp 0x619c37
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x619b0e
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x619b0b
inc edx
cmp edx, ecx
jb 0x619afe
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x619c1b
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x619b46
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x619b83
cmp al, 0xff
je 0x619b83
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x619c14
dec ecx
shl esi, cl
and esi, 7
je 0x619b26
movzx eax, byte [esi + 0x689904]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x6898fc], 0
mov al, byte [ecx + 4]
je 0x619b6d
test al, al
je 0x619b6d
cmp al, 0xff
jne 0x619b26
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x619af5
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x619bb0
add ebx, edi
add ebx, edx
jmp 0x619bb4
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x619bea
movzx eax, byte [esi + 0x689904]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x619bd9
cmp al, 0xff
jne 0x619bea
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x619ba4
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x619b78
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6230c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
call fcn.005f0356
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
xorps xmm1, xmm1
movsd qword [ebp - 0x20], xmm1
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov al, byte [eax]
mov dword [esi], ecx
mov byte [ebp - 1], al
movzx eax, byte [ecx]
test byte [eax + 0x68c359], 8
je 0x62310f
inc ecx
movzx eax, byte [ecx]
test byte [eax + 0x68c359], 8
jne 0x6230ff
mov dword [ebp + 8], ecx
lea eax, [ebp + 8]
push eax
call fcn.00622754
mov esi, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x18], eax
cmp byte [esi], 0x30
jne 0x62324c
mov cl, byte [esi + 1]
cmp cl, 0x78
je 0x623139
cmp cl, 0x58
jne 0x62324c
mov al, byte [ebp - 1]
add esi, 2
mov cl, byte [esi]
cmp cl, al
jne 0x623154
cmp dword [ebp - 0xc], 0
jne 0x6231b2
mov dword [ebp - 0xc], 1
jmp 0x6231af
movzx eax, cl
test byte [eax + 0x68c359], 0x10
je 0x6231b2
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x623171
cmp cl, 0x30
jne 0x623171
inc dword [ebp - 0x14]
jmp 0x6231a5
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1e
jg 0x6231a4
movsx eax, cl
push eax
call fcn.00622cbf
movsd xmm1, qword [ebp - 0x20]
mulsd xmm1, qword [0x68a550]
pop ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebp - 0x20], xmm1
jmp 0x6231a5
inc edi
cmp dword [ebp - 0xc], 0
mov al, byte [ebp - 1]
je 0x6231af
dec edi
inc esi
jmp 0x62313f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], edi
push 0
pop edi
add eax, ecx
je 0x62324c
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov cl, byte [esi]
shl eax, 2
cmp cl, 0x70
je 0x6231dd
cmp cl, 0x50
jne 0x62322d
lea eax, [ebp + 8]
inc esi
push eax
mov dword [ebp + 8], esi
call fcn.00622754
mov edx, dword [ebp + 8]
mov esi, eax
pop ecx
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x68c359], 2
je 0x62324c
imul ecx, edi, 0xa
movsx edi, al
add edi, 0xffffffd0
add edi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x68c359], 2
mov al, byte [edx]
jne 0x6231fe
test esi, esi
je 0x62321e
neg edi
mov ecx, dword [ebp - 8]
mov eax, ecx
mov esi, dword [ebp + 0xc]
shl eax, 2
add eax, edi
mov dword [esi], edx
cmp dword [ebp - 0x18], 0
je 0x62323a
xorps xmm1, xmmword [0x6bb0c0]
push eax
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.005f5b3a
add esp, 0xc
jmp 0x62324e
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x62903c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.005468f0
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x1018], ebx
call fcn.0061b657
push ebx
lea esi, [eax - 1]
mov dword [ebp - 0x1020], esi
call fcn.00641f83
pop ecx
pop ecx
test esi, esi
jne 0x6290b2
push 1
push ebx
push edi
call fcn.006296c6
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov ebx, eax
inc esi
push dword [ebp - 0x1018]
call fcn.005f3f01
pop ecx
test eax, eax
je 0x62920e
push 0
push 0
push edi
call fcn.0061ccb7
jmp 0x629209
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.0061cb29
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp - 0x1020]
add esp, 0xc
inc ebx
mov dword [ebp - 0x101c], esi
dec eax
mov dword [ebp - 0x1020], eax
test ebx, ebx
je 0x62908f
push esi
push edi
call fcn.0061c40d
pop ecx
pop ecx
cmp eax, 3
jne 0x62917f
push esi
push edi
call fcn.0061c9b6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x62912f
mov ebx, dword [ebp - 0x1018]
push ebx
call fcn.005f4075
mov esi, eax
push ebx
push esi
call fcn.005f41ca
push 0x691362
push edi
call fcn.0061bb1d
xor ebx, ebx
add esp, 0x14
cmp esi, 0xffffffff
setne bl
jmp 0x629177
lea eax, [ebp - 0x1014]
push eax
push edi
call fcn.0061c90a
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0061d240
push dword [ebp - 0x1018]
push esi
push 1
push eax
call fcn.005f45d2
mov esi, eax
lea eax, [ebp - 0x1014]
add dword [ebp - 0x100c], esi
push eax
call fcn.0061d2bf
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb ebx, ebx
neg ebx
mov esi, dword [ebp - 0x101c]
jmp 0x6291e3
push 0
push esi
push edi
call fcn.0061ca16
add esp, 0xc
cmp byte [eax], 0x2a
jne 0x629191
inc eax
movsx eax, byte [eax]
sub eax, 0x4c
je 0x6291d0
sub eax, 0x15
je 0x6291bd
sub eax, 0xb
je 0x6291b9
dec eax
sub eax, 1
jne 0x6291fd
push dword [ebp - 0x1018]
push edi
call fcn.006297db
pop ecx
pop ecx
jmp 0x6291e1
push 1
jmp 0x6291d2
push dword [ebp - 0x1018]
push edi
call fcn.00629652
pop ecx
xor ebx, ebx
pop ecx
inc ebx
jmp 0x6291e3
push 0
push dword [ebp - 0x1018]
push edi
call fcn.006296c6
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x1020]
inc esi
mov dword [ebp - 0x101c], esi
test eax, eax
jne 0x6290d6
jmp 0x62908f
push str.invalid_format
push esi
push edi
call fcn.0061c82d
add esp, 0xc
jmp 0x629228
test ebx, ebx
jne 0x629223
push 0xfffffffffffffffe
push edi
call fcn.0061c0d8
push edi
call fcn.0061baeb
add esp, 0xc
sub esi, dword [ebp + 0x10]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x629239
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0061b657
mov edi, dword [ebp + 0x10]
pop ecx
push 1
pop esi
sub eax, edi
je 0x6292ff
dec eax
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.0061c40d
pop ecx
pop ecx
cmp eax, 3
jne 0x6292d2
push edi
push ebx
call fcn.0061b712
pop ecx
pop ecx
push 0
push edi
push ebx
test eax, eax
je 0x629294
call fcn.0061c264
push edx
push eax
push str._lld
push dword [ebp + 0xc]
call fcn.006142bd
add esp, 0x1c
jmp 0x6292af
call fcn.0061c32d
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.006142bd
add esp, 0x10
test esi, esi
je 0x6292b7
test eax, eax
jg 0x6292fa
xor esi, esi
mov eax, dword [ebp - 4]
inc edi
test eax, eax
jne 0x629258
test esi, esi
jne 0x6292ff
push esi
push esi
push ebx
call fcn.0061ccb7
add esp, 0xc
jmp 0x629302
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
call fcn.0061ca16
add esp, 0xc
test esi, esi
je 0x6292b7
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.005f05c3
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jne 0x6292b7
xor esi, esi
inc esi
jmp 0x6292b9
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x629652
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.005468f0
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1014]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ecx
push eax
call fcn.0061c90a
pop ecx
pop ecx
mov edi, 0x1000
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.0061d240
push esi
push edi
push 1
push eax
call fcn.005f45d2
add dword [ebp - 0x100c], eax
add esp, 0x18
cmp eax, edi
je 0x629685
lea eax, [ebp - 0x1014]
push eax
call fcn.0061d2bf
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x6334d5
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6dccc0], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x6dccb0
jne 0x63355f
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00416b10
push eax
mov ecx, edi
call fcn.00410c90
push 0
push 1
lea ecx, [ebp - 0x444]
call fcn.004168d0
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004dff00
cmp dword [0x6dccc4], 8
lea ecx, [ebp - 0x444]
cmovae edi, dword [0x6dccb0]
push edi
call fcn.00416b10
push str._install_path_
lea ecx, [ebp - 0x45c]
call fcn.00416b10
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0063339d
add esp, 0xc
lea ecx, [ebp - 0x45c]
xor ebx, ebx
push ebx
push 1
call fcn.004168d0
push ebx
push 1
lea ecx, [ebp - 0x444]
call fcn.004168d0
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005e0dd0
add esp, 0xc
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00416b10
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x45d], 0x5c
mov byte [ebp - 0x45e], 0x2f
jb 0x633632
mov ecx, dword [esi]
jmp 0x633634
mov ecx, esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x633644
mov ecx, dword [esi]
jmp 0x633646
mov ecx, esi
lea edx, [ebp - 0x45d]
push edx
lea edx, [ebp - 0x45e]
push edx
push eax
push ecx
call fcn.00633409
add esp, 0x10
lea ecx, [ebp - 0x42c]
push ebx
push 1
call fcn.004168d0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x63367f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x230]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x22c
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x63371e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x633713
cmp dword [edi + 0x14], 8
jb 0x6336e4
mov eax, dword [edi]
jmp 0x6336e6
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x633706
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.0063409f
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x6336da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545b50
mov esp, ebp
pop ebp
ret

Function at 0x63372f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0x22c
xor ebx, ebx
push ebx
push eax
call fcn.005e0dd0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x633772
xor al, al
jmp 0x6337e1
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x6337d4
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00416b10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004eb170
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.004caf90
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00414d00
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.004168d0
lea eax, [ebp - 0x260]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x63378b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545b50
mov esp, ebp
pop ebp
ret