joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b93
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42b7f8
call fcn.0042238c
mov edi, 0x94
mov eax, edi
call fcn.00421df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x42a084]
mov ecx, dword [esi + 0x10]
mov dword [0x463b28], ecx
mov eax, dword [esi + 4]
mov dword [0x463b34], eax
mov edx, dword [esi + 8]
mov dword [0x463b38], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463b2c], esi
cmp ecx, 2
je 0x422bf3
or esi, 0x8000
mov dword [0x463b2c], esi
shl eax, 8
add eax, edx
mov dword [0x463b30], eax
xor esi, esi
push esi
mov edi, dword [0x42a07c]
call edi
cmp word [eax], 0x5a4d
jne 0x422c2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422c2e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x422c46
cmp eax, 0x20b
je 0x422c33
mov dword [ebp - 0x1c], esi
jmp 0x422c5a
cmp dword [ecx + 0x84], 0xe
jbe 0x422c2e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x422c54
cmp dword [ecx + 0x74], 0xe
jbe 0x422c2e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00425b9f
pop ecx
test eax, eax
jne 0x422c86
cmp dword [0x463b08], 1
jne 0x422c73
call fcn.00425354
push 0x1c
call fcn.004251dd
push 0xff
call fcn.00423d5c
pop ecx
pop ecx
call fcn.00425afd
mov dword [ebp - 4], esi
call fcn.00425952
test eax, eax
jge 0x422c9f
push 0x1b
call fcn.00422b6e
pop ecx
call dword [0x42a1c8]
mov dword [0x4650f0], eax
call fcn.00425830
mov dword [0x463b00], eax
call fcn.0042578e
test eax, eax
jge 0x422cc5
push 8
call fcn.00422b6e
pop ecx
call fcn.0042555b
test eax, eax
jge 0x422cd6
push 9
call fcn.00422b6e
pop ecx
push 1
call fcn.00423d8c
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x422cec
push eax
call fcn.00422b6e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x42a1cc]
call fcn.004254fe
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x422d0d
movzx eax, word [ebp - 0x40]
jmp 0x422d10
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040da5b
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422d2e
push edi
call fcn.00423eb7
call fcn.00423ed9
jmp 0x422d60
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004223c7
ret
Function at 0x423df6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x463b68], esi
push edi
jne 0x423e16
push dword [ebp + 8]
call dword [0x42a0c8]
push eax
call dword [0x42a1c4]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x463b64], esi
mov byte [0x463b60], al
jne 0x423e7c
mov ecx, dword [0x4650e8]
test ecx, ecx
je 0x423e5d
mov eax, dword [0x4650e4]
sub eax, 4
cmp eax, ecx
jmp 0x423e56
mov eax, dword [eax]
test eax, eax
je 0x423e48
call eax
mov eax, dword [0x4650e4]
sub eax, 4
cmp eax, dword [0x4650e8]
mov dword [0x4650e4], eax
jae 0x423e40
mov eax, 0x42e02c
mov esi, 0x42e034
cmp eax, esi
mov edi, eax
jae 0x423e7c
mov eax, dword [edi]
test eax, eax
je 0x423e75
call eax
add edi, 4
cmp edi, esi
jb 0x423e6d
mov eax, 0x42e038
mov esi, 0x42e03c
cmp eax, esi
mov edi, eax
jae 0x423e9b
mov eax, dword [edi]
test eax, eax
je 0x423e94
call eax
add edi, 4
cmp edi, esi
jb 0x423e8c
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x423eb5
push dword [ebp + 8]
mov dword [0x463b68], 1
call fcn.00423d5c
pop ebp
ret

Function at 0x424093
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [0x42a210]
cmp eax, 0xffffffff
jne 0x4240b3
call dword [0x42a0b8]
push eax
call fcn.004270f9
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4240d4
test byte [esp + 8], 2
je 0x4240d4
mov dword [0x463b1c], 0xd
mov dword [0x463b20], 5
jmp 0x4240af
xor eax, eax
ret
Function at 0x424246
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x424274
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42427b
cmp ebx, dword [eax + 4]
jae 0x42427b
xor eax, eax
jmp 0x42446b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42428c
xor eax, eax
inc eax
jmp 0x42446a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4242a2
cmp ecx, edx
jae 0x4243e7
cmp dword [eax + 4], 0
je 0x4242ab
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x424293
cmp dword [ebp + 8], 0
je 0x4242cd
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4243e7
cmp eax, esi
jae 0x4243e7
mov eax, dword [0x463b70]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4242f2
cmp dword [esi*4 + 0x463b78], edi
je 0x4243eb
inc esi
cmp esi, eax
jl 0x4242e0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x42a1b8]
test eax, eax
je 0x424467
cmp dword [ebp - 8], 0x1000000
jne 0x424467
test byte [ebp - 0xc], 0xcc
je 0x424370
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x424467
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x424467
cmp word [eax + 0x18], 0x10b
jne 0x424467
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x424467
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x424370
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x424370
test byte [ecx + 0x27], 0x80
jne 0x4243e7
push 1
push 0x463bb8
call dword [0x42a1bc]
test eax, eax
jne 0x424284
mov ecx, dword [0x463b70]
test ecx, ecx
mov edx, ecx
jle 0x4243a4
lea eax, [ecx*4 + 0x463b74]
cmp dword [eax], edi
je 0x4243a4
dec edx
sub eax, 4
test edx, edx
jg 0x424398
test edx, edx
jne 0x4243d5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4243b1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4243c9
lea eax, [edx*4 + 0x463b78]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4243b7
cmp ecx, 0x10
jge 0x4243d5
inc ecx
mov dword [0x463b70], ecx
push 0
push 0x463bb8
call dword [0x42a1bc]
jmp 0x424284
xor eax, eax
jmp 0x42446a
test esi, esi
jle 0x424284
mov ebx, dword [0x42a1bc]
push 1
push 0x463bb8
call ebx
test eax, eax
jne 0x424284
cmp dword [esi*4 + 0x463b78], edi
je 0x424441
mov eax, dword [0x463b70]
lea esi, [eax - 1]
test esi, esi
jl 0x42442f
cmp dword [esi*4 + 0x463b78], edi
je 0x42442b
dec esi
jns 0x42441f
test esi, esi
jge 0x42443f
cmp eax, 0x10
jge 0x42443a
inc eax
mov dword [0x463b70], eax
lea esi, [eax - 1]
jmp 0x424441
je 0x424459
xor ecx, ecx
test esi, esi
jl 0x424459
lea eax, [ecx*4 + 0x463b78]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x424447
push 0
push 0x463bb8
call ebx
jmp 0x424284
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424f32
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00421df0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [0x42a1b8]
test eax, eax
je 0x424fcd
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [0x42a080]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x463b28]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x424fcd
cmp eax, 1
je 0x424fee
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [0x42a1b8]
test eax, eax
je 0x424fcd
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x424f9a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x424fc9
xor eax, eax
inc eax
jmp 0x42500d
cmp edi, eax
jae 0x424fd1
xor eax, eax
jmp 0x42500d
cmp eax, esi
jae 0x424fd8
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x42a198]
mov eax, dword [0x463b28]
jmp 0x424ff1
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x42a19c]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4251dd
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x44f2ec]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x44f1c0]
je 0x425212
inc eax
cmp eax, 0x13
jb 0x425203
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x44f1c0]
jne 0x425338
mov eax, dword [0x463b08]
cmp eax, 1
je 0x425310
cmp eax, edx
jne 0x425242
cmp dword [0x44ede4], 1
je 0x425310
cmp ecx, 0xfc
je 0x425338
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [0x42a0d8]
test eax, eax
jne 0x425278
lea eax, [ebp - 0x80]
push 0x42c22c
push eax
call fcn.004220a0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00422780
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4252ac
mov eax, edi
push eax
call fcn.00422780
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c228
push edi
call fcn.00421e30
add esp, 0x10
push edi
call fcn.00422780
push dword [esi + 0x44f1c4]
mov ebx, eax
call fcn.00422780
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00421df0
mov ebx, esp
push 0x42c20c
push ebx
call fcn.004220a0
push edi
push ebx
call fcn.004220b0
push 0x42c208
push ebx
call fcn.004220b0
push dword [esi + 0x44f1c4]
push ebx
call fcn.004220b0
push 0x12010
push 0x42c1e0
push ebx
call fcn.00428152
add esp, 0x2c
jmp 0x425338
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x44f1c4]
push dword [esi]
call fcn.00422780
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x42a194]
push eax
call dword [0x42a1d4]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00426128
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x425e36
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x463d7c]
mov eax, dword [0x44f2ec]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x425ffc
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x463d80]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x425ffc
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x425ea0
xor eax, eax
jmp 0x426010
test al, 0x20
je 0x425eb1
push 2
push edi
push edi
push ecx
call fcn.00428345
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x425f86
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x425fcd
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x425f13
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x425f04
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x425ee6
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [0x42a1d4]
test eax, eax
je 0x425f53
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x425f5f
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x425eda
jmp 0x425f61
call dword [0x42a0b8]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x425ff7
cmp dword [ebp + 0x3a4], edi
je 0x425fcd
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x425fbf
mov dword [0x463b20], eax
jmp 0x426003
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [0x42a1d4]
test eax, eax
je 0x425fb1
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x425f61
call dword [0x42a0b8]
mov dword [ebp + 0x3a4], eax
jmp 0x425f61
push dword [ebp + 0x3a4]
call fcn.004270f9
pop ecx
jmp 0x42600d
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x425fe5
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x425e99
mov dword [0x463b1c], 0x1c
mov dword [0x463b20], edi
jmp 0x42600d
sub eax, dword [ebp - 0x7c]
jmp 0x426010
and dword [0x463b20], 0
mov dword [0x463b1c], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.00426128
add ebp, 0x39c
leave
ret
Function at 0x426d1b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], bl
je 0x426d46
cmp eax, 1
je 0x426d46
jle 0x426d4e
cmp eax, 3
jle 0x426d46
cmp eax, 4
jne 0x426d4e
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x426d77
mov dword [0x463b1c], 0x16
mov dword [0x463b20], ebx
or eax, 0xffffffff
jmp 0x426ee9
inc eax
cmp byte [eax], bl
jne 0x426d66
lea ecx, [eax + 1]
cmp byte [ecx], bl
je 0x426d77
mov byte [eax], 0x20
mov eax, ecx
cmp byte [eax], bl
jne 0x426d66
push esi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00421c60
mov dword [ebp - 0x68], esi
mov esi, dword [0x463d7c]
add esp, 0xc
cmp esi, ebx
je 0x426dba
lea eax, [esi - 1]
mov ecx, eax
sar ecx, 5
mov ecx, dword [ecx*4 + 0x463d80]
mov edx, eax
and edx, 0x1f
cmp byte [ecx + edx*8 + 4], bl
jne 0x426dba
dec esi
dec eax
cmp esi, ebx
jne 0x426d9d
lea eax, [esi + esi*4 + 4]
mov word [ebp - 0x36], ax
push edi
movzx eax, ax
push 1
push eax
call fcn.0042807f
cmp esi, ebx
mov dword [ebp - 0x34], eax
pop ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
pop ecx
mov dword [ebp - 8], ebx
lea ecx, [eax + 4]
lea edx, [eax + esi + 4]
jle 0x426e1f
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 8]
sar eax, 5
mov eax, dword [eax*4 + 0x463d80]
and edi, 0x1f
lea edi, [eax + edi*8]
mov al, byte [edi + 4]
test al, 0x10
jne 0x426e0b
mov byte [ecx], al
mov eax, dword [edi]
mov dword [edx], eax
jmp 0x426e10
mov byte [ecx], bl
or dword [edx], 0xffffffff
inc dword [ebp - 8]
inc ecx
add edx, 4
cmp dword [ebp - 8], esi
jl 0x426de6
mov eax, dword [ebp - 0x34]
cmp byte [ebp - 1], bl
je 0x426e50
lea ecx, [eax + 4]
xor edx, edx
lea eax, [eax + esi + 4]
cmp esi, 3
jge 0x426e36
mov edi, esi
jmp 0x426e39
push 3
pop edi
cmp edx, edi
jge 0x426e49
mov byte [ecx], bl
or dword [eax], 0xffffffff
inc edx
inc ecx
add eax, 4
jmp 0x426e2d
mov dword [ebp - 0xc], 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp + 0x14]
mov dword [0x463b1c], ebx
push dword [ebp - 0xc]
mov dword [0x463b20], ebx
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [0x42a130]
mov esi, eax
call dword [0x42a0b8]
push dword [ebp - 0x34]
mov edi, eax
call fcn.00424e76
cmp esi, ebx
pop ecx
jne 0x426e9e
push edi
call fcn.004270f9
pop ecx
or eax, 0xffffffff
jmp 0x426ee7
cmp dword [ebp + 8], 2
jne 0x426eaa
push ebx
call fcn.00423ec8
cmp dword [ebp + 8], ebx
mov esi, dword [0x42a1e0]
jne 0x426ed7
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [0x42a0bc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [0x42a160]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x24]
call esi
jmp 0x426ee0
cmp dword [ebp + 8], 4
je 0x426ed0
mov ebx, dword [ebp - 0x24]
push dword [ebp - 0x20]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428152
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x463d3c], ebx
push esi
push edi
jne 0x4281d2
push 0x42c2f8
call dword [0x42a074]
mov edi, eax
cmp edi, ebx
je 0x42820d
mov esi, dword [0x42a078]
push 0x42c2ec
push edi
call esi
test eax, eax
mov dword [0x463d3c], eax
je 0x42820d
push 0x42c2dc
push edi
call esi
push 0x42c2c8
push edi
mov dword [0x463d40], eax
call esi
cmp dword [0x463b28], 2
mov dword [0x463d44], eax
jne 0x4281d2
push 0x42c2ac
push edi
call esi
test eax, eax
mov dword [0x463d4c], eax
je 0x4281d2
push 0x42c294
push edi
call esi
mov dword [0x463d48], eax
mov eax, dword [0x463d48]
test eax, eax
je 0x428217
call eax
test eax, eax
je 0x4281fe
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x463d4c]
test eax, eax
je 0x4281fe
test byte [ebp - 8], 1
jne 0x428217
cmp dword [0x463b34], 4
jb 0x428211
or byte [ebp + 0x12], 0x20
jmp 0x428236
xor eax, eax
jmp 0x428246
or byte [ebp + 0x12], 4
jmp 0x428236
mov eax, dword [0x463d40]
test eax, eax
je 0x428236
call eax
mov ebx, eax
test ebx, ebx
je 0x428236
mov eax, dword [0x463d44]
test eax, eax
je 0x428236
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x463d3c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429475
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42948e
or eax, 0xffffffff
jmp 0x4294ef
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4294eb
push 0x3d
push esi
call fcn.00426bf8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4294eb
cmp esi, eax
je 0x4294eb
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x463b48]
sete cl
cmp eax, dword [0x463b4c]
mov dword [ebp - 8], ecx
jne 0x4294d1
mov edi, eax
call fcn.00429414
mov dword [0x463b48], eax
cmp eax, ebx
jne 0x42952a
cmp dword [ebp + 0xc], ebx
je 0x4294f3
cmp dword [0x463b50], ebx
je 0x4294f3
call fcn.00427197
test eax, eax
je 0x42952a
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4294fc
xor eax, eax
jmp 0x4294ee
push 4
call fcn.00424f20
cmp eax, ebx
pop ecx
mov dword [0x463b48], eax
je 0x4294eb
mov dword [eax], ebx
cmp dword [0x463b50], ebx
jne 0x42952a
push 4
call fcn.00424f20
cmp eax, ebx
pop ecx
mov dword [0x463b50], eax
je 0x4294eb
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x463b48]
call fcn.004293c7
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x42958b
cmp dword [esi], ebx
je 0x42958b
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00424e76
cmp dword [ebp - 8], ebx
pop ecx
jne 0x42956e
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4295cc
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x429565
mov eax, edi
shl eax, 2
push eax
push dword [0x463b48]
call fcn.00428e8d
cmp eax, ebx
pop ecx
pop ecx
je 0x4295cc
jmp 0x4295c7
cmp dword [ebp - 8], ebx
jne 0x429637
cmp edi, ebx
jge 0x42959a
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x463b48]
call fcn.00428e8d
cmp eax, ebx
pop ecx
pop ecx
je 0x4294eb
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x463b48], eax
cmp dword [ebp + 0xc], ebx
je 0x429621
push dword [ebp - 4]
call fcn.00422780
inc eax
inc eax
push eax
call fcn.00424f20
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x429621
push dword [ebp - 4]
push esi
call fcn.004220a0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [0x42a138]
test eax, eax
jne 0x42961a
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00424e76
pop ecx
cmp dword [ebp - 8], ebx
je 0x42962f
push dword [ebp - 4]
call fcn.00424e76
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4294ee
push dword [ebp - 4]
call fcn.00424e76
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4294f8
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x408d57
Capabilities:
Read file on windows

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

Function at 0x409f84
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00409c32
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x43b623
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
mov esi, eax
sub esi, 0x2402490f
call fcn.0043b669
add eax, esi
dec esi
xor dword [ebx], edi
sub esp, 4
mov dword [esp], esi
pop eax
add esi, eax
push 0xdb2b59d3
mov eax, dword [esp]
add esp, 4
inc ebx
and esi, esi
cmp ebx, edx
jne fcn.0043b623
sub esi, eax
ret
Function at 0x4055c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
push eax
push 0x4f57a0
push 1
push 0
push 0x4f9200
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x4055e9
xor al, al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 4]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x4f91f0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x405638
mov eax, dword [esp + 8]
push 1
push dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
mov ecx, dword [esp + 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
add esp, 8
ret