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

Disassembly:
or eax, 0x2a176daa
pop ecx
sub ah, byte [esi]
pop ecx
mov ch, 0xe9
mov cx, 0x467a
sal dword [esi - 0x300c6709], 1
shl dword [ecx - 0x57], 1
sahf
or al, 0xfa
pop ebp
jae 0x534356
stosb byte es:[edi], al
sub edx, dword [edi + 0x6a1fddd]
jge 0x5343eb
mov edi, 0x59005944
mov eax, ds
loop 0x53435a
push ds
xchg ecx, eax
ja 0x5343ee
jbe 0x534416
mov al, byte [0xc701e64]
test al, 0xb2
pop edx
add esp, ebp
sub ah, 0xc4
cmp eax, 0xbf59741
xchg edx, eax
loope 0x534376
mov esp, 0x79434f48
lodsb al, byte [esi]
invalid
xlatb
mov dword [ebx - 0x2e], esp
jne 0x53442a
sal byte [ebp + 0x39], cl
shld ecx, ecx, cl
adc dword [eax], esi
lea esp, [esp + eax*4 + 0x6d]
dec ebp
push edi
lodsd eax, dword [esi]
push ebp
fxch st(5)
adc al, 0x3c
xchg esi, eax
mov esp, 0xf89439e2
mov ah, 0xde
push esi
mov esp, 0x7f31fac6
sahf
cli
xor dword [edi - 0x62], edi
mov byte [0x17ac655f], al
pop ss
stosd dword es:[edi], eax
jbe 0x53440e
shl byte [edi - 0x16e712e4], 0xbf
push esi
insb byte es:[edi], dx
sub eax, 0x89df0888
dec ebp
inc ebx
stosd dword es:[edi], eax
nop
xor eax, 0x39260430
hlt

Function at 0x537942
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x89
or dword [edi], 0xe7ede3e6
mov dword [esp + edx*4], eax
mov ecx, 0x295635a6
inc edi
and bh, byte [ebx + 0x5888ad88]
lodsd eax, dword [esi]
mov byte [eax - 0x63], bl
push edi
out dx, eax
ficomp word [esi - 0x39]
sahf
sbb eax, 0xd8e3cd48
std
xor eax, 0xcd99ea85
sbb al, 0x30
pop edi
dec ebx
aad 0xf5
mov edx, 0xe7e0f9ff
outsb dx, byte [esi]
jnp 0x5379e5
mov eax, 0xeb9c7688
iretd
rcl dword [ebp - 0x700a055d], 0xc4
push ss
mov eax, 0x40798721
sub eax, 0x3de7ac4e
xchg esi, eax
pop edx
adc bh, byte [edi + eax]
mov fs, word [ecx - 0x3a265728]
mov dh, 0xb8
push esp
sub dword [esi + 0x7855d94b], esp
jl 0x537a7b
cmpsd dword [esi], dword es:[edi]
invalid
add edx, dword [edx + ebx*8]
call 0xa6e90b57
adc byte [ebx + esi*4 - 0x75], bh
or dh, dh
push ebp
dec eax
imul esi, dword gs:[esi - 0x4a475951], 0x4a493aa9
xchg edx, eax
arpl word [ebp + 0x15], di
pop ecx
add dword [edx - 0x4b], ebx
xchg ebp, eax
and dword fs:[ebp - 0xf30aecc], eax
pushfd
hlt

Function at 0x541d79
Capabilities:
Encode data using xor

Disassembly:
and al, 0x75
popal
imul esi, dword [esp + eax*4 + 0x36], 0xf547d846
invalid
Function at 0x581cc0
Capabilities:
Encode data using xor

Disassembly:
pop ecx
out dx, al
sub ebx, edi
ljmp 0x3c0a
imul ebp, esp, 0x26
mov edx, 0x61316e64
jbe 0x581caf
arpl word [esi + 0xb], bx
push ecx
adc dword [ecx + 0x5ef87f5c], edx
adc eax, 0x894c1b7d
enter 0x3388, 0x45
out dx, eax
mov dh, 0xf
lodsb al, byte [esi]
std
sbb byte [ebp + 0x3ba9a29c], 0xc9
pop edi
sbb dword [edx], edx
adc eax, 0x1783e970
mov al, 0x9c
mov al, 0x39
lodsd eax, dword [esi]
cwde
push ecx
mov esi, 0x9731a7cc
pop ss
imul edi, dword [edi - 0x6e], 0xbb0f5997
mov al, byte [0x8baffc31]
cmp dword [ebp - 0x3341ae68], ebp
cmpsd dword [esi], dword es:[edi]
xor dword [edi - 0x6d8096e9], edx
xchg edi, eax
pop ecx
btc dword [eax - 0x745003cf], esp
cmp ah, cl
out 0x95, al
adc eax, 0xc1deffb
xchg edx, eax
adc eax, 0xa755f891
adc edi, esp
sti
fisub word [eax]
cmpsd dword [esi], dword es:[edi]
scasd eax, dword es:[edi]
mov ss, word [esi]
sbb byte [ecx + 0x2b15490b], al
pcmpeqw mm1, qword [edi - 0x33]
adc eax, 0xefeb6a7c
mov dl, 0x8e
xchg edi, eax
movsd dword es:[edi], dword [esi]
aad 0xe
mov eax, dword [0x5150b162]
mov byte [0x2358dadd], al
jg 0x581cf4
test eax, 0x14bb433e
push cs
mov edx, 0x7f2e7ae
lahf
fdivr qword [edx + 0xa]
push esi
aaa
invalid
Function at 0x60e4c6
Capabilities:
Encode data using xor

Disassembly:
and edx, ebx
invalid
sbb al, 0x53
dec eax
mov bl, 0xb5
std
call dword [ebp - 0xb]
shl ebp, 1
aad 0xa9
pushfd
jg 0x60e4e6
mov dword [eax], eax
clc
aaa
mov cl, 0x6f
dec esp
cmpsd dword [esi], dword es:[edi]
jbe 0x60e4bc
mov byte [ebx + edx*2 + 3], ch
push esp
adc dword [0x7dc10c61], eax
jl 0x60e555
sbb dword [ebp - 0x4e], 0x3d
sar dword [0x433d3040], 0x60
mov edx, 0x4e436de4
dec esi
mov ah, 0xc6
inc esp
mov fs, word [0xfffd00a3]
hlt
imul edx, dword [edi + 0x3322078f], 0x2b
cmp dword [ebx], ebx
insb byte es:[edi], dx
push edi
or ch, byte [eax]
xor eax, 0xabccd1c3
adc ecx, dword [edx]
sbb byte fs:[edx], ch
mov eax, 0x7b43f45
sti
pop edx
salc
rol dword [edi], 0x9e
nop
mov eax, dword [0x8d898053]
jb 0x60e572
mov dword [ebp - 0xbd4e68e], ecx
sub esi, esp
out dx, eax
loop 0x60e5db
sub eax, ebp
xor eax, 0x1d3920a8
popal
push 0x78
je 0x60e52f
push ecx
jne 0x60e5d5
and eax, 0x1480b49d
jp 0x60e5ed
mov byte [0x10dbbc92], al
invalid
cmc
mov ecx, 0xe669b34a
push ebp
cmpsd dword [esi], dword es:[edi]
das
adc esp, ebp
loop 0x60e5e6
and dl, ch
popal
mov al, byte [0x83018801]
imul esp, edx, 0x25
sub dword [ebx - 0x1e], 0x25
ja 0x60e593
in eax, 0x43
push ebp
mov bl, 0x21
mov dl, 0x88
pop ebp
cmc
cli
adc eax, 0x39e7d234
adc ebp, edx
inc eax
aad 0x40
invalid
fistp qword [ecx]
mov esp, 0x9c83de1a
pushfd
movsd dword es:[edi], dword [esi]
dec ecx
int1
add dword gs:[edx + 0x2d1820e6], eax
mul ebp
sub ecx, dword [eax]
jo 0x60e5a7
sal byte [edi - 0x2e675a67], 0x83
out 0xde, al
xchg edi, eax
loopne 0x60e5bd
mov bh, 0x99
movsd dword es:[edi], dword [esi]
cwde
rol dword [ebx - 0x1f68211a], 1
vcvtss2sd xmm4, xmm6, xmm7
psrlq mm0, qword [edx - 0x21de99c3]
into
pop edx
out 0xf, eax
rol dword [edx - 0x21de99c3], cl
add ebx, esi
dec ecx
jge 0x60e616
movsd dword es:[edi], dword [esi]
pop ebp
ja 0x60e688
cmp dword [ebp - 0x2c], ecx
adc byte [ebp + 0x5c], dh
aad 0x21
loope 0x60e65e
and dword [ebx - 0x19], eax
mov cl, 0x83
mov ch, 0x35
inc ebx
out 0xb1, eax
and dword [edi - 0x4b], 0x35
aaa
les esp, [0xd060b733]
rep movsb byte es:[edi], byte [esi]
xchg ecx, eax
mov eax, 0x757da38b
popal
push ebp
int1
stc
leave
and eax, 0x1d91efba
mov dword [ecx + ecx*8 - 0x4feaeea0], ebx
push esi
shr byte [ebx + eax], 0xa4
adc esi, dword [eax - 0x54]
mov bh, 1
invalid
xchg ecx, eax
outsd dx, dword [esi]
adc al, bl
or eax, 0x718190b5
lahf
sub byte [edx], bl
sub dl, dh
push ecx
pushfd
cwde
xor eax, 0x11559af4
fsubr st(6)
adc dword [0x71c5501a], 0x11
je 0x60e602
jns 0x60e680
jmp [edx - 0x786cefdb]
stosb byte es:[edi], al
and eax, 0x85879310
jecxz 0x60e683
adc byte [ebx - 0x51c7a79], dl
cli
push ebp
push eax
dec eax
outsb dx, byte [esi]
xchg ebx, eax
or eax, 0xe8e1666a
enter 0x6065, 3
xchg edi, eax
movsd dword es:[edi], dword [esi]
adc dh, ah
adc eax, 0x81032c77
mov ch, 0x55
movsd dword es:[edi], dword [esi]
push eax
adc eax, 0x6d41d619
arpl di, bx
inc ebx
cmc
retf 0xc15b
Function at 0x60f90d
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x93
xor esp, dword [eax - 0x4d]
and al, 0x72
invalid
xchg esp, eax
and byte [edx], dl
xor edi, dword [ebx + ebx*8]
push ecx
xchg ah, dh
inc eax
push ebx
mov byte [0x2f2c], al
inc ebp
inc ecx
mov bh, 0x34
cdq
leave
jnp 0x60f8ff
add dword [esi], edi
sbb ebx, esp
imul esp, dword [esi + 0x35], 0xffffffe1
push ebx
mov ecx, 0xf4eb691a
adc dword [ecx - 0x2f], 0x974be26
xor eax, 0xbb42a671
xor eax, 0x4d5f64ea

Function at 0x610a0b
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0xa5
sub eax, 0x4cc63dd1
aad 0x60
cmp eax, ebp
cmp byte [eax - 0x5efa5806], 0x34
xchg esp, eax
popal
retf 0x107
inc edx
dec ecx
mov al, 0x51
push ecx
jne 0x6109a0
sbb ch, byte [ecx + 0x25]
push 0xe316a185
push 0xc904267b
xchg ebp, eax
sar dword [ebx], 0xdf
mov edi, 0x9333e333
push esp
xchg ecx, eax
jne 0x6109be
xchg esp, eax
imul esp, dword [edx + edx*2 - 0x2affccff], 0xffffffb1
xor dword [ebx], edi
push 0x25
jge 0x610a29
invalid

Function at 0x617079
Capabilities:
Encode data using xor

Disassembly:
cli
wait
jmp 0xbad5976d
rcr byte [ebx], 0xf1
scasb al, byte es:[edi]
lodsb al, byte [esi]
das
mov dl, 0xe9
stc
loop 0x61705d
lodsd eax, dword [esi]
imul esi, dword [edx - 0x15], 0x254dcb95
lodsb al, byte [esi]
add dword [ecx + 0x7360c94f], 0x5f9384f9
jp 0x617069
dec ebp
mov esp, 0x5efa7c35
or ah, ah
jne 0x61706e
shr dword [ebp - 0x28], 1
outsb dx, byte [esi]
test dword [eax + ecx*8], 0x1ae1df31
fsubr dword [esi - 9]
or al, 0xc8
xor edi, ebx
loope 0x61708c
xor ebx, 0xffffffdf
or dl, cl
aaa
invalid
cmp edi, dword [esi]
inc edi
loopne 0x61703c
aas
inc ebp
xchg edx, eax
pop ebx
lodsb al, byte [esi]
xor dword [0x3b9dd357], ecx
lds ebx, [eax + 0x71]
mov dword [esi + 0x13], eax
mov edx, 0xb115b30e
jno 0x617017
inc esi
adc edi, dword [edx - 0x4eea4cf2]
test esi, ebp
mov cl, 3
fnsave dword [edx - 0x7b]
dec ebx
mov al, byte [0x35e88a0b]
xchg ecx, eax
adc dword [edi - 0x6a1e5bfd], edx
mov dword [ebp - 0x1ab185ea], edx
mov al, byte [0x819fac09]
cmc
and dword [0x7371614d], 0xffffffcb
sub dword [ebp + 0x4f], 0xca0abb3a
mov eax, dword [0x8791475d]
add byte [esi - 0x1b], ch
push eax
adc al, byte [eax - 0x38]
lodsb al, byte [esi]
jne 0x617109
std
push ss
sub eax, dword [ebx + 0x3dd25ce4]
lodsd eax, dword [esi]
test dword [ebp - 0x765c34e6], ebp
xor byte [ebx + 0x31], al
fisub dword [edx - 0x1b]
insd dword es:[edi], dx
lds edi, [esi + 0x29]
pop esi
bound eax, qword [ecx + 0x244c888b]
nop
sahf
scasd eax, dword es:[edi]
xor al, 0x3e
aad 0xa1
js 0x6170d6
and esp, 0x5c
sar byte [0x1aad85ad], cl
retf
invalid
xor dh, byte [esi - 0x5b]
cmp eax, 0x5afec16b
push 0x9b75941c
pushfd
add eax, 0x30c3eef9
dec esp
and eax, 0x6bb95189
adc ebx, dword [ebp + 0x7b]
adc al, 0xc
xchg esp, eax
ljmp 0x65cf
Function at 0x62be4d
Capabilities:
Encode data using xor

Disassembly:
mov word [eax], es
shr dword [ebp - 0x5ebbe1fa], cl
sti
sal dword [ebp + esi*2 + 0x49], 1
add dword [edx - 0xd], edi
mov ah, byte [eax + 0x1772194]
and dword [edi + 1], esi
lea eax, [eax + 0x35]
mov dh, 0x79
inc ebp
xor byte [ebp - 0x85e2b79], dh
nop
in eax, 0xdf
cmp eax, 0x1bb28f3f
xchg ecx, eax
pop edx
nop
cmp byte [esi + 0x4dfe55], 0x9e
add bl, byte [edi - 0x29dff6f7]
inc eax
scasd eax, dword es:[edi]
loop 0x62be60
dec ecx
dec eax
push esp
pop ss
xor byte [edx + esi*8 + 0x3f], ah
or byte [0x55c143f2], al
cmc
push ecx
ret 0x2dec

Function at 0x62fd59
Capabilities:
Encode data using xor

Disassembly:
daa
insb byte es:[edi], dx
mov ch, 0x70
adc al, 0xc5
invalid
ja 0x62fcfc
xor ebx, edi
rcr dword [eax + 0x274bf4eb], 0xc6
jge 0x62fdc5
stosd dword es:[edi], eax
xor dword [ecx], 0x2c334bd5
dec esi
scasd eax, dword es:[edi]
mov ecx, 0xb5b82541
lodsd eax, dword [esi]
xor byte [edi], bh
adc dword [ecx + 0x5451fde0], ebx
inc esp
rcl dword [ebp - 0x5c], 0xe5
wait
xor eax, 0xb626aa3d
fimul dword [0xd731d61d]
adc al, 0xd4
mov ch, 0x3c
mov al, 0x84
or byte [ebx], 0x7f
invalid
invalid
Function at 0x401a24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d0d0]
jne 0x401a2e
repz ret
jmp fcn.00402816

Function at 0x40dbab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405f51
and dword [ebp - 4], 0
cmp dword [0x4360c0], 0
mov ebx, eax
jne 0x40dc5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dd0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dd0d
push eax
call fcn.00405edf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4360c0], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4360c4], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4360c8], eax
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x4360d0], eax
test eax, eax
je 0x40dc5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x4360cc], eax
mov eax, dword [0x4360cc]
cmp eax, ebx
je 0x40dcb4
cmp dword [0x4360d0], ebx
je 0x40dcb4
push eax
call fcn.00405f5a
push dword [0x4360d0]
mov esi, eax
call fcn.00405f5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dcb4
test edi, edi
je 0x40dcb4
call esi
test eax, eax
je 0x40dcab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dcab
test byte [ebp - 0xc], 1
jne 0x40dcb4
or dword [ebp + 0x10], 0x200000
jmp 0x40dced
mov eax, dword [0x4360c4]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dced
mov eax, dword [0x4360c8]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4360c0]
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dd0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dd0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426b11
Capabilities:
Compare security identifiers
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x42d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x4365ac]
push edi
push dword [eax]
mov edi, dword [0x4364f4]
call fcn.00426a3e
cmp dword [0x4365ac], 0x2f
pop ecx
jne 0x426ba2
push esi
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.00426a88
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00401a24
leave
ret
Function at 0x426ef4
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x4365ac], 0xbf9
jne 0x426f17
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x4365ac], 0x3dc
mov dword [0x4365a0], 0x8e55ceaa
jne 0x426f46
push esi
push 0x42a988
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.canofepusofijinufuj_vil_jacuvopagaruvahobidorojofutove
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x426f04
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x426f62
mov eax, dword [0x435574]
add eax, 0xa231
mov dword [0x4365ac], eax
cmp dword [0x4365ac], 0x141
jne 0x426fa8
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x436274], 0xffffffff
mov dword [0x436270], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x426f4b
call fcn.00426bb7
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4114a1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ecx
cmp dword [eax], edi
jne 0x4114da
mov eax, 0x8000ffff
jmp 0x4115c5
test ebx, ebx
jne 0x4114e8
mov eax, 0x80004003
jmp 0x4115c5
push esi
lea edx, [ebp - 0x214]
mov dword [ebx], edi
push edx
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x208
push edx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push edx
push edi
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x41152c
cmp esi, 0xea
jne 0x4115b5
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4115b5
cmp dword [ebp - 0x210], 1
je 0x411558
cmp dword [ebp - 0x210], 7
je 0x411558
cmp dword [ebp - 0x210], 2
je 0x411558
mov esi, 0x3f4
jmp 0x4115b9
xor ecx, ecx
mov word [ebp - 6], cx
test esi, esi
jne 0x411573
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
jmp 0x4115c2
shr eax, 1
dec eax
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x4115d5
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
push edi
push 0
push 0
push dword [ebp - 0x218]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4115ae
mov dword [ebx], edi
jmp 0x4115c2
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jle 0x4115c2
movzx esi, si
or esi, 0x80070000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00418af8
leave
ret 8
mov eax, 0x8007000e
jmp 0x4115c4

Function at 0x4115dc
Capabilities:
Accept command line arguments

Disassembly:
push 0x43532c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
test ecx, ecx
jne 0x411646
or dword [0x43532c], 0xffffffff
mov ecx, dword [0x435328]
push esi
push edi
push 0x22
pop edi
mov dword [0x435438], ecx
cmp word [ecx], di
jne 0x41161a
add ecx, 2
mov dword [0x435438], ecx
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41161f
sub edx, esi
sar edx, 1
lea eax, [ecx + edx*2]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharPrevW]
cmp word [eax], di
pop edi
pop esi
jne 0x411645
xor ecx, ecx
mov word [eax], cx
ret
mov eax, dword [0x43532c]
dec eax
mov dword [0x43532c], eax
cmp eax, 1
jl 0x4115fb
mov ecx, dword [ecx + 4]
jmp 0x411601
Function at 0x4116e2
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push 0
xor bl, bl
or edi, 0xffffffff
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4116f8
inc bl
mov esi, 0x435300
cmp esi, edi
je 0x41171d
cmp dword [0x435300], 0
mov dword [0x4352ec], esi
je 0x41171d
push 1
call dword [esi + 0x20]
lea esi, [esi + 0x24]
cmp dword [esi], 0
jne 0x411710
mov esi, dword [0x435448]
mov eax, dword [0x43544c]
jmp 0x41173d
mov ecx, dword [esi]
test ecx, ecx
je 0x41173a
push 1
call dword [ecx + 0x1c]
mov eax, dword [0x43544c]
add esi, 4
cmp esi, eax
jb 0x41172a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
call fcn.0041771f
push 0x407f9c
push eax
mov dword [0x435328], eax
call fcn.0041c403
pop ecx
pop ecx
test eax, eax
je 0x411776
call fcn.004115dc
call fcn.004117f0
neg eax
sbb eax, eax
not eax
and edi, eax
mov eax, dword [0x43543c]
test eax, eax
je 0x411786
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x4352ec]
test esi, esi
je 0x4117b0
jmp 0x4117ab
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41179f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0x10], 0
push 0
call dword [esi + 0x20]
add esi, 0x24
cmp dword [esi], 0
jne 0x411792
mov esi, dword [0x435448]
mov eax, dword [0x43544c]
jmp 0x4117d0
mov ecx, dword [esi]
test ecx, ecx
je 0x4117cd
push 0
call dword [ecx + 0x1c]
mov eax, dword [0x43544c]
add esi, 4
cmp esi, eax
jb 0x4117bd
mov ecx, 0x4352c0
call fcn.00414003
test bl, bl
je 0x4117e8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x412142
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x418]
push edi
push 0
push eax
mov ebx, edx
mov esi, ecx
call fcn.00419ee0
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push 0
push eax
call fcn.00419ee0
add esp, 0xc
lea eax, [ebp - 0x418]
push esi
push 0x104
push eax
call fcn.004113ae
push ecx
lea ecx, [ebp - 0x418]
call fcn.00411072
push 0x408024
lea ecx, [ebp - 0x418]
call fcn.00410a50
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x412237
push esi
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004113ae
push ecx
lea ecx, [ebp - 0x210]
call fcn.00411072
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00410a50
lea eax, [ebp - 0x668]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x412237
mov edx, ebx
lea ecx, [ebp - 0x210]
call fcn.00412248
test eax, eax
je 0x412237
lea ecx, [ebp - 0x210]
call fcn.00411887
jmp 0x412239
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418af8
leave
ret
Function at 0x412248
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x84c], edx
mov ebx, ecx
mov dword [ebp - 0x86c], 0x406df4
push edi
mov dword [ebp - 0x844], ebx
mov edi, esi
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x860], esi
mov dword [ebp - 0x85c], esi
mov dword [ebp - 0x858], 0x2000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x864], eax
mov ecx, ebx
lea eax, [ebp - 0x868]
mov dword [ebp - 0x850], esi
push eax
mov dword [ebp - 0x840], esi
call fcn.00410c71
mov ecx, dword [ebp - 0x868]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x854], ecx
test eax, eax
jne 0x4124c4
jmp 0x4124a4
mov esi, dword [ebp - 0x840]
push 0x408030
push esi
call fcn.0041972e
pop ecx
pop ecx
cmp eax, esi
jne 0x412493
push 0x20a
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.00419ee0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00419ee0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00419ee0
and dword [ebp - 0x848], 0
lea eax, [ebp - 0x83c]
and dword [ebp - 0x83c], 0
push eax
push 0x408150
push esi
call fcn.00425b40
lea eax, [ebp - 0x83c]
push eax
push 0x408150
push 0
call fcn.00425b40
lea eax, [ebp - 0x83c]
push eax
push 0x408044
push 0
call fcn.00425b40
add esp, 0x48
lea eax, [ebp - 0x83c]
push eax
push 0x408044
push 0
call fcn.00425b40
lea eax, [ebp - 0x83c]
push eax
push 0x408044
push 0
call fcn.00425b40
lea eax, [ebp - 0x83c]
push eax
push 0x408044
push 0
call fcn.00425b40
add esp, 0x24
lea ecx, [ebp - 0x838]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x628]
push eax
call fcn.00419ee0
xor eax, eax
push eax
push eax
push eax
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x844]
call fcn.004258bb
xor eax, eax
push eax
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00425a8c
add esp, 0x44
lea ecx, [ebp - 0x218]
call fcn.00411072
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x218]
call fcn.00410a50
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0x103
lea eax, [ebp - 0x420]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push dword [ebp - 0x84c]
lea eax, [ebp - 0x420]
push eax
call fcn.0041c403
pop ecx
pop ecx
test eax, eax
jne 0x412493
xor edi, edi
inc edi
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
test edi, edi
jne 0x4124be
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x86c]
call fcn.00410f98
test eax, eax
jne 0x4122db
mov ecx, dword [ebp - 0x868]
test ecx, ecx
je 0x4124d2
push ecx
push esi
push dword [ebp - 0x864]
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418af8
leave
ret