joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6039d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0051ade0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x51d239
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00518220
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00518210
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0051c890
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x607718]
push 0
lea ecx, [esp + 0x4c]
call fcn.005f9d8a
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0052be10
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0051a840
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x6071b8]
mov ecx, ebx
call fcn.00518190
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x51d304
push edi
mov ecx, esi
call fcn.0051a950
push eax
push ebp
mov ecx, esi
call fcn.0051ab10
cmp eax, dword [esp + 0x40]
jg 0x51d300
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x51d2de
mov eax, ebx
jmp 0x51d30a
cmp edi, ebx
jl 0x51d308
mov eax, ebx
jmp 0x51d30a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x51d31b
mov dword [esp + 0x30], eax
jmp 0x51d326
cmp edi, ebx
jl 0x51d321
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00518150
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x51d36d
push edi
mov ecx, esi
call fcn.0051a870
push eax
push ebx
mov ecx, esi
call fcn.0051ac40
cmp eax, dword [esp + 0x44]
jg 0x51d365
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x51d33f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x51d377
cmp edi, ebp
jl 0x51d371
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x51d377
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x51d380
mov ecx, eax
jmp 0x51d389
cmp edi, ebp
jl 0x51d386
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0051a860
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.005f9dfc
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x5232c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x603e88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x5232f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x52340c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x52330d
mov eax, 0xffffffc7
jmp 0x52340e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x52331e
cmp dword [esi + 8], eax
jne 0x52330d
cmp dword [esi + 8], eax
jne 0x523337
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x523337
mov eax, 0xffffffc7
jmp 0x52340e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x52334b
push eax
mov ecx, ebx
call fcn.00522af0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004e7a70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x52337c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004e7a90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00522260
test eax, eax
mov dword [esp + 0x38], eax
je 0x5233af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7c8f48
call fcn.004e7c70
mov eax, dword [esp + 0x38]
jmp 0x52340e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00523120
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x5233f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00523140
mov esi, eax
test esi, esi
jne 0x523423
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00523120
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x5233c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7c8f48
call fcn.004e7c70
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7c8f48
call fcn.004e7c70
mov eax, esi
jmp 0x52340e
Function at 0x52c470
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x604528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x607718]
push 0
lea ecx, [esp + 0x20]
call fcn.005f9d8a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0052be10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005f9cb8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005f649c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005f649c
push 1
push 0
push 0
mov ecx, esi
call fcn.005f6444
push 1
push 0
push 1
mov ecx, esi
call fcn.005f6444
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005f9dfc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x52c5f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x604548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005f9d8a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0052be10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005f9cb8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x607718]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x52c6b4
cmp dword [esp + 0x40], 1
jne 0x52c6b2
cmp ecx, eax
jge 0x52c6b4
mov eax, ecx
cmp eax, 0xc8
jge 0x52c6c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0052c470
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x607714]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005f9dfc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5457f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005452f0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00545360
push 0
mov ecx, esi
call fcn.00545770
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x545928
lea ecx, [esp + 0xc]
call fcn.00518430
cmp eax, 1
jae 0x545877
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00545310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x5458c4
push 0
lea ecx, [esp + 0x10]
call fcn.00519fb0
push eax
push edi
mov ecx, 0x84a024
call fcn.00544f20
test eax, eax
jne 0x5458cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00545310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00545360
push edi
mov ecx, 0x84a024
call fcn.00544e80
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00519fa0
push eax
call dword [0x6073ec]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x545928
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [0x6073a4]
test eax, eax
mov dword [esi + 4], eax
je 0x545928
push 0
push 0
push 0
push 2
push eax
call dword [str._fg6]
test eax, eax
mov dword [esi + 8], eax
jne 0x545958
push 1
mov ecx, esi
call fcn.00545770
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00545310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00545310
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x55ff70
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6058eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a0
mov eax, dword [esp + 0x8b0]
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [0x607268]
mov ecx, dword [ebp]
push 0x3e8
push eax
push ecx
call esi
mov edx, dword [esp + 0x8c0]
mov ebx, eax
mov eax, dword [ebp + 4]
push 0x3e8
push edx
push eax
mov dword [esp + 0x20], ebx
call esi
xor esi, esi
mov dword [esp + 0x1c], eax
cmp ebx, esi
jle 0x56016c
cmp eax, esi
jle 0x56016c
mov ecx, dword [ebp + 4]
push edi
imul ecx, dword [ebp]
mov edi, eax
imul edi, ebx
lea eax, [ecx*4 + 0x36]
shl edi, 2
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
call int.005f2f36
lea edx, [edi + 0x36]
popal
je 0x560065
popal
add dword [eax], eax
add byte [eax], al
add dl, al
push ds
add byte [eax], al
add byte [eax], al
add dh, bh
sub bh, byte [ebp - 0x198b9998]
test ah, 0x39
cdq
push 0xffffffffffffffea
sti
aam 0x8c
out dx, eax
push edi
mov edi, 0xe6db782f
insd dword es:[edi], dx
cmpsd dword [esi], dword es:[edi]
inc edi
xor dword [edi + 0x7d9ddf1e], ecx
ja 0x560003
scasd eax, dword es:[edi]
adc dword [edi + 0x586e580e], edi
invalid
and eax, 0xb01eb1ae
invalid
cmp al, ah
xor eax, 0x57367736
xchg ebx, eax
sbb cl, byte [edx - 0xf]
invalid
pop es
jecxz 0x560118
invalid

Function at 0x5c6f60
Capabilities:
Encode data using xor

Disassembly:
pop edx
mov esi, 0x304cd0bb
aad 0x4e
lodsd eax, dword [esi]
add bl, ch
xor dword [edi - 0x588839e3], esp
and byte [ebp - 0x143bd8e1], bh
lea esi, [edx]
xchg edi, eax
inc esp
cmpsb byte [esi], byte es:[edi]
add byte [edi], 0x16
inc eax
lahf
call 0x8e310e60
xor edi, ecx
push es
and eax, ecx
invalid

Function at 0x5cff88
Capabilities:
Encode data using xor

Disassembly:
adc al, 0xe0
std
test esp, edi
mov byte [0x45c7136b], al
mov al, 0x2b
fidiv word [bx + 0x7caa]
push ecx
adc cl, al
mov dh, 0x94
invalid

Function at 0x5f1a65
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebx - 0x38], 0x9a8418c6
ljmp 0x37cb
cmp al, 0xe9
sbb dword [edi], eax
xchg edi, eax
popal
je 0x5f1a65
add dword [eax], eax
add byte [eax], al
add byte [esi + 0x1f], cl
add byte [eax], al
add byte [eax], al
add al, dl
out dx, al
jo 0x5f19da
and al, 0x46
invalid
movsd dword es:[edi], dword [esi]
xchg ebx, eax
mov edx, 0x24a726b
sbb eax, ecx
xor eax, 0xe9391156
pop ds
jp 0x5f1aef
jp 0x5f19fb
aaa
invalid
jo 0x5f1a7a
pushfd
je 0x5f1adc
dec ebx
cmp dword [ebx - 0x17], ecx
dec esi
pushal
aad 0xc8
push 0xffffffffffffffa4
or edi, dword [ebp - 0x18c362f1]
cmp al, 0xe7
shl dword [eax + 0x2841e84b], 0xf
std
dec esp
clc
add byte [eax - 0x2b833fe7], 0x7c
mov dh, 0xf9
cmp dword [edi], esp
xchg dword [ebx - 0x23], esi
jg 0x5f1add
pop edi
test byte [ecx - 0x7652eccf], ch
adc ebp, dword [ebp - 0x361da977]
Function at 0x5f3625
Capabilities:
Encode data using xor

Disassembly:
inc edx
aad 0x99
cld
mov ebp, dword [esi + ecx*4 + 0x622802d4]
inc ebp
mov dh, 0xb2
imul ebx, ecx, 0xffffff8e
insb byte es:[edi], dx
sub esi, dword [esi]
mov byte [ebx], cl
js 0x5f360a
mov cl, 0xbb
call 0xcc18c096
cmpsb byte [esi], byte es:[edi]
push edi
cmpsb byte [esi], byte es:[edi]
invalid
cmp al, 0x24
jg 0x5f3593
lcall 0xaa8e, 0x85e44045
stosb byte es:[edi], al
invalid
push edx
pop ss
dec ecx
jo 0x5f35bd
mov eax, 0xa45f4a3f
add eax, 0x6084d380
sbb bh, byte [esi + 0x34803d0f]
ljmp 0xbea8
adc eax, 0
add ah, ch
in al, 0x38
leave
dec eax
jnp 0x5f35d4
wait
mov ebp, 0xfc57fcb7
rcl ecx, cl
leave
call 0xc06b967e
rol byte [ebp + 0x6a1ff045], 0x11
jne 0x5f3654
arpl word [ecx], cx
arpl word [ebx], cx
jmp 0x5f363c
adc eax, 0xb7024c0a
dec eax
sub al, 0xfe
test eax, 0xf57f7ffd
inc ecx
sbb dword [ecx - 0x7f], 0x2ca46078
push edx
salc
pop ebp
jbe 0x5f36a4
test byte [ebx + 0x56], 0x20
mov bl, 0xcb
xor byte [ecx + 0x64], bl
nop
and al, 0xa8
jne 0x5f3675
mov ecx, 0xb027f237
sub dword [eax - 0x23f557ed], edx
adc dh, byte [eax + 0x31]
fcom qword [edx]
jo 0x5f36a4
inc eax
jno 0x5f36c2
mov ecx, edi
mov cl, cl
push ds
in al, dx
mov ecx, 0x83be3afc
dec ebx
jecxz 0x5f366f
fldcw word [esi]
test byte [ecx], 0xe6
imul esp, dword [esi + 0x39], 0x80fe9ebd
cli
pushfd
retf 0xb986
idiv dword [edx - 0x3d544b15]
xchg ecx, eax
jecxz 0x5f36dd
fmul dword [edx - 0x5bc15b93]
invalid
invalid
wait
invalid

Function at 0x5f649c
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x8c
sbb ah, byte [edi - 0x43a9d5ce]
invalid

Function at 0x5f9dfc
Capabilities:
Encode data using xor

Disassembly:
dec eax
ror byte [esi + 0x210e062], 0xa4
or cl, bl
add ebx, eax
xchg esp, eax
popal
adc al, 0x2b
xor byte [bx + si - 0x27], 0xaf
shr ah, 0x30
mov bh, 0xff
adc cl, byte [edx]
mov edi, dword [ecx - 0x52800a]
test dword [edx], esp
loopne 0x5f9dbf
jns 0x5f9d8f
inc dl
push ebx
inc edi
shl dword [edi + 0x61641604], 1
je 0x5f9e65
add dword [eax], eax
add byte [eax], al
add byte [edx + 0x53], dh
push ebx
add byte [eax], al
add byte [eax], al
add byte [ebp + 0xc], ah
add byte [eax], al
js 0x5f9db2
jge 0x5f9e6f
pop es
push eax
push ebx
pop ecx
fisttp dword [esi]
ret 0x820a
push esp
add eax, 0xde975542
add dh, byte [esi]
push esp
movsb byte es:[edi], byte [esi]
pop ss
movsd dword es:[edi], dword [esi]
sub byte [edx + 0x44], dl
push ss
push ecx
mov cl, byte [edx + 0x3f04580d]
adc al, 0x8d
or byte [eax - 0x6d], cl
cmc
invalid
jmp 0x5f9e5f
out 0xde, al
jae 0x5f9e48
ja 0x5f9e0a
out 0x3d, eax
iretd
jns 0x5f9e40
xor esi, dword [ebx - 0x19]
xchg ecx, eax
pop ebp
sbb al, 0x81
sub dh, dl
add byte [eax], al
add byte [eax + 0x24], cl
loopne 0x5f9e5f
and al, 0xe0
fsub qword [ebx + esi*4]
and al, 0xb3
lodsd eax, dword [esi]
in al, 0x51
xchg ebx, eax
fld xword [eax]
jns 0x5f9e80
loopne 0x5f9e4b
pushal
leave
movsb byte es:[edi], byte [esi]
int3
Function at 0x40188b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
push esi
je 0x4018da
xor esi, esi
cmp ebx, esi
je 0x4018da
cmp dword [ebp + 8], 1
jb 0x4018da
cmp dword [ebp + 8], esi
jbe 0x4018d6
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [edi + 4]
call dword [sym.imp.l_mt5clwtst__ReadFile]
test eax, eax
je 0x4018d6
cmp dword [ebp - 4], 0
je 0x4018d6
add esi, dword [ebp - 4]
cmp esi, dword [ebp + 8]
jb 0x4018a7
mov eax, esi
jmp 0x4018dc
xor eax, eax
pop esi
leave
ret 4

Function at 0x406f69
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x406f77
push 0xd
pop eax
jmp 0x406faa
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.l_mt5clwtst__lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406f7e
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [0x430028]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4073cf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 4]
push dword [esi]
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00407391
mov ebx, eax
cmp ebx, edi
je 0x407412
cmp dword [ebp - 0xc], edi
je 0x40740e
push dword [ebp - 0xc]
call dword [0x430038]
mov eax, ebx
jmp 0x40747f
mov ebx, dword [0x430030]
jmp 0x407430
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xc]
call fcn.004073cf
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x407486
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x100
call ebx
test eax, eax
je 0x40741a
mov ebx, dword [0x430038]
cmp dword [ebp - 0xc], edi
je 0x407466
push dword [ebp - 0xc]
call ebx
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
call fcn.004074e5
mov esi, eax
cmp dword [ebp - 0xc], edi
je 0x40747d
push dword [ebp - 0xc]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 0xc], edi
je 0x407494
push dword [ebp - 0xc]
call dword [0x430038]
mov eax, dword [ebp - 0x14]
jmp 0x40747f

Function at 0x4074e5
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x44126c], 0
jne 0x407515
push str.Advapi32.dll
call dword [sym.imp.l_mt5clwtst__GetModuleHandleW]
test eax, eax
je 0x40750e
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.l_mt5clwtst__GetProcAddress]
mov dword [0x441270], eax
mov byte [0x44126c], 1
mov eax, dword [0x441270]
test eax, eax
je 0x40752d
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x407539
push dword [esp + 4]
push dword [esi]
call dword [0x43003c]
ret 4
Function at 0x407d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
xor esi, esi
push 2
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x40c], esi
call dword [sym.imp.l_mt5clwtst__LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
jne 0x407d38
call fcn.00406ae4
mov esi, eax
jmp 0x407e23
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.l_mt5clwtst__FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x407d55
call fcn.00406ae4
jmp 0x407e1a
push edi
push ebx
call dword [sym.imp.l_mt5clwtst__LoadResource]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x407d4b
push edi
push ebx
call dword [sym.imp.l_mt5clwtst__SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x407d98
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x407d8e
lea eax, [ebp - 0x40c]
call fcn.00406aba
mov eax, 0x8007000e
jmp 0x407e3e
push 2
pop ecx
mul ecx
cmp edx, esi
ja 0x407da6
cmp eax, 0xffffffff
jbe 0x407db0
push 0x80070057
call fcn.004072c3
cmp eax, 0x400
jbe 0x407dc6
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00406ac3
jmp 0x407dd2
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], esi
jne 0x407de1
mov esi, 0x8007000e
jmp 0x407e1c
push edi
push dword [ebp - 0x40c]
push edi
push dword [ebp + 8]
push esi
push 3
call dword [sym.imp.l_mt5clwtst__MultiByteToWideChar]
cmp eax, esi
je 0x407d4b
mov edx, dword [ebp - 0x40c]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.00407bd0
mov esi, eax
push ebx
call dword [sym.imp.l_mt5clwtst__FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x407e3c
lea eax, [ebp - 0x40c]
call fcn.00406aba
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4086c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [0x43001c]
test eax, eax
jne 0x408727
cmp dword [ebp + 0xc], 1
je 0x4086ff
cmp dword [ebp + 0xc], 2
je 0x4086ff
push 0xd
pop eax
jmp 0x408727
mov eax, dword [ebp - 4]
test edi, edi
je 0x408721
test eax, eax
je 0x40871c
test al, 1
jne 0x4086fa
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x408721
jmp 0x4086fa
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x408ed3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x408f1d
mov eax, dword [esi + 4]
mov edi, dword [0x4303d8]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [0x430478]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x408f44
shr eax, 2
test al, 1
je 0x408f4d
push dword [esi + 4]
call dword [0x4303d8]
push dword [esi + 4]
mov edi, eax
call dword [0x430478]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [0x430444]
jmp 0x408f80
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x43594c
push ebx
call dword [0x430374]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x408f7f
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [0x43049c]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret

Function at 0x40b149
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b8
push ebx
push esi
lea eax, [ebp - 0x9b8]
call fcn.0040648e
lea eax, [ebp - 0x218]
call fcn.0040648e
lea eax, [ebp - 0x7a0]
call fcn.00409fa5
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x464]
push ebx
push eax
mov dword [ebp - 0x468], ebx
call fcn.004243a0
add esp, 0xc
push 0x435adc
lea esi, [ebp - 0x218]
call fcn.0040afd8
mov eax, esi
lea ecx, [ebp - 0x7a0]
call fcn.0040a128
test al, al
jne 0x40b1c4
lea eax, [ebp - 0x7a0]
call fcn.00409fea
pop esi
mov al, bl
pop ebx
leave
ret
lea eax, [ebp - 0x7a0]
push eax
call fcn.0040b6c0
push 0x4323d8
push dword [0x44133c]
lea eax, [ebp - 0x9b8]
push str._slanguages_s_.lng
call fcn.004017f8
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x9b4]
call dword [sym.imp.l_mt5clwtst__FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b262
lea eax, [ebp - 0x43c]
push eax
push dword [0x44133c]
lea eax, [ebp - 0x218]
push str._slanguages_s
call fcn.004017f8
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x7a0]
call fcn.0040a128
test al, al
je 0x40b249
lea eax, [ebp - 0x7a0]
push eax
call fcn.0040b6c0
lea eax, [ebp - 0x468]
push eax
push esi
call dword [sym.imp.l_mt5clwtst__FindNextFileW]
test eax, eax
jne 0x40b208
push esi
call dword [sym.imp.l_mt5clwtst__FindClose]
mov bl, 1
jmp 0x40b1b3