joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1074c108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1074c258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1074c12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074c11a
add dl, dl
jne 0x1074c139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074c18c
xor eax, eax
add dl, dl
jne 0x1074c146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1074c22d
add dl, dl
jne 0x1074c155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074c160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074c16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074c176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1074c182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1074c125
mov eax, 1
add dl, dl
jne 0x1074c19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1074c1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074c191
sub eax, ebx
mov ebx, 1
jne 0x1074c1d8
mov ecx, 1
add dl, dl
jne 0x1074c1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1074c1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074c1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074c125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1074c1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1074c1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1074c1e6
cmp eax, 0x7d00
jae 0x1074c21d
cmp eax, 0x500
jb 0x1074c218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074c125
cmp eax, 0x7f
ja 0x1074c220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1074c125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1074c24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1074c125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403093
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi - 0x4b4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [eax + edi - 0x4b4], 0x4b1858
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x4b4]
mov dword [edx + edi - 0x4b8], eax
mov eax, dword [edi - 0x3cc]
test eax, eax
jne 0x475078
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x4aef0c
call dword [0x48d7a8]
mov esi, ebx
cmp dword [edi - 0x2e8], ebx
ja 0x403292
cmp dword [edi - 0x318], ebx
ja 0x475084
lea ebx, [edi - 0x4b4]
mov ecx, ebx
call fcn.00403025
xor esi, esi
cmp dword [edi - 0x308], esi
ja 0x4750e8
xor esi, esi
cmp dword [edi - 0x2f8], esi
ja 0x47510c
lea esi, [edi - 0x2dc]
mov ecx, esi
call fcn.00412c20
xor ecx, ecx
mov dword [esi + 0xc], 1
mov dword [esi], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, edi
cmp dword [eax - 0x4b0], ecx
je 0x403181
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [eax - 0x4b4]
call fcn.004032e8
mov eax, dword [ebx]
lea ecx, [edi - 0x4b0]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00403367
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, edi
cmp dword [eax - 0x4b0], 0
jne 0x40314f
call dword [0x48d840]
mov ecx, dword [edi - 0x20]
test ecx, ecx
jne 0x47514e
lea ecx, [edi - 0x2c]
call fcn.004035b0
lea ecx, [edi - 0x3c]
call fcn.0040358e
lea ecx, [edi - 0x5c]
call fcn.0040cb37
lea ecx, [edi - 0x198]
call fcn.004033bc
lea ecx, [edi - 0x1b4]
call fcn.00404052
lea ecx, [edi - 0x2bc]
call fcn.00403438
lea ecx, [edi - 0x2cc]
call fcn.0040cb37
mov ecx, esi
call fcn.00412c20
lea ecx, [edi - 0x2f0]
call fcn.00404052
lea ecx, [edi - 0x300]
call fcn.00403729
lea ecx, [edi - 0x310]
call fcn.00403729
lea ecx, [edi - 0x320]
call fcn.00403729
lea ecx, [edi - 0x32c]
call fcn.00403494
lea ecx, [edi - 0x33c]
call fcn.00403729
lea ecx, [edi - 0x348]
call fcn.004034a2
lea ecx, [edi - 0x354]
call fcn.004034b0
lea ecx, [edi - 0x364]
call fcn.0040cb37
lea ecx, [edi - 0x37c]
call fcn.004034be
lea ecx, [edi - 0x388]
call fcn.004032d3
lea ecx, [edi - 0x394]
call fcn.004032d3
lea ecx, [edi - 0x3dc]
call fcn.0040cb37
lea ecx, [edi - 0x3ec]
call fcn.0040cb37
lea ecx, [edi - 0x3fc]
call fcn.0040cb37
lea ecx, [edi - 0x42c]
call fcn.004034eb
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi - 0x2ec]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test eax, eax
je 0x4032c4
push dword [eax]
push dword [0x4c10e8]
call dword [0x48d5cc]
mov eax, dword [edi - 0x2ec]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4032c4
push ecx
call fcn.0041ecf0
inc esi
cmp esi, dword [edi - 0x2e8]
jae 0x4030f0
jmp 0x403292
test byte [edx], dh
popal
leave
xchg esp, eax
jo 0x475039
imul dword [ebp + 0x1aaf0129]
out dx, al
push ebp
jne 0x47506d
test dword [0x4aafbf0], edi

Function at 0x4044ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x474fc0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042381e
add esp, 0x10
leave
ret 0x10
Function at 0x40d388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x80]
push edi
xor edi, edi
lea eax, [esi + 4]
cmp dword [eax], edi
jne 0x40d3fa
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x18]
cmp eax, 0x100
jge 0x47ccdc
mov eax, dword [ebp + 0xc]
mov edi, dword [esi + 0xc]
mov byte [edi + esi + 0x810], al
cmp eax, 8
je 0x40d3dc
mov eax, dword [ebp + 0x10]
mov dword [esi + edi*8 + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + edi*8 + 0x14], eax
lea eax, [edi + 1]
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0xffffffff
je 0x40d3ea
lea ecx, [ebp + 0x10]
call fcn.0041a73d
cmp dword [ebp + 0x14], 0xffffffff
je 0x40d3c2
lea ecx, [ebp + 0x14]
call fcn.0041a73d
jmp 0x40d3c2
mov esi, dword [eax]
jmp 0x40d398

Function at 0x40d6e9
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub eax, 0
je 0x40d721
dec eax
jne 0x40d73a
cmp dword [0x4c20f0], eax
je 0x40d741
cmp byte [0x4c20f9], al
jne 0x40d74c
mov ecx, dword [0x4c20f4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d764
mov al, 1
pop ebp
ret 0x10
cmp dword [0x4c20f0], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jne 0x40d756
mov ecx, 0x4c20e0
jmp 0x40d716
dec eax
jne 0x4742b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x40d733
mov eax, dword [0x4c20f4]
mov ecx, dword [eax + 8]
jmp 0x40d70d
mov ecx, 0x4c20f0
call fcn.0044817f
mov ecx, eax
jmp 0x40d716
sar dword [ebx + 0xb86371d], 1
Function at 0x40d764
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push ebx
push dword [ebp + 8]
call fcn.0040d9a0
test al, al
jne 0x40d7eb
xor ecx, ecx
test ecx, ecx
jne 0x474490
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x20
and edi, 0xff00
call fcn.0041f4ea
mov esi, eax
pop ecx
test esi, esi
je 0x40d7ef
mov ecx, esi
call fcn.0040d7f7
cmp esi, dword [ebp + 8]
je 0x40d7b0
push dword [ebp + 8]
mov ecx, esi
call fcn.0040dd47
push 0x10
mov dword [esi + 0x10], edi
call fcn.0041f4ea
mov edi, eax
pop ecx
test edi, edi
je 0x40d7f3
push dword [ebp + 0xc]
and dword [edi + 8], 0
mov ecx, edi
call fcn.00411720
and dword [esi + 0x1c], 0
and dword [esi + 0x18], 0
mov dword [esi + 0x14], edi
push dword [ebx]
push esi
call fcn.0040d8c0
pop edi
mov dword [ebx], eax
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebx]
jmp 0x40d779
xor esi, esi
jmp 0x40d7a1
xor edi, edi
jmp 0x40d7cf
insd dword es:[edi], dx
mov dl, 0x35
dec ecx
bound edi, qword [eax]
dec esp
xor eax, 0x4c386249
fsub qword [edi + 0x45]
wait
salc
cmp eax, 0x4a125e99
in eax, 0xc
sub eax, 0x6a569cec
dec ecx
popal
test al, 0x1a
leave
cdq
out 0xcc, al
out 0x24, eax
lds edi, [esi - 0x14]
divps xmm1, xmmword [edi - 0x5f]
push cs
imul edx
cmp al, 0xcc
cdq
repne lodsd eax, dword [esi]
sar edi, cl
sbb esp, ebp
adc esi, esp
int1
mov word [ebx], cs
and eax, 0x995a6a42
cdq
jns 0x4743f7
adc eax, 0xf8fb2015
push edx
out dx, eax
pop ebx
fcmovne st(0), st(0)
mov byte [0x3e0f2fc], al
out 0x1a, al
mov ah, 0xfe
mov esi, 0x8d07beb2
arpl word fs:[eax + 0x46], di
push ebp
scasb al, byte es:[edi]
jg 0x474485
aaa
fidiv dword [edx - 0x61d47e05]
in al, dx
xor eax, 0x906fcf1
inc ebp
or eax, 0x7919cb35
push ebx
dec edx
cmc
jg 0x4743f9
arpl word [edx], ax
fcompi st(2)
stc
ret
aaa
mov ch, 0xbd
int3
cli
dec eax
push ebp
aas
jle 0x4744f3
je 0x474476
pop ebx
add dword [ebx], edi
sahf
cvtps2pi mm7, qword [eax + 0x6d6a64ee]
push ds
mov al, 0x54
jne 0x4744fd
jl 0x474436
mov eax, 0x23005760
inc edx
dec word [esi]
adc eax, 0x39f4785c
ret 0xee45
nop
in eax, dx
cwde
cmp ebp, dword ss:[edi + 0x1b]
ror byte [ebx + ebp*8], 0x34
pop esi
xor al, 0x5e
nop
je 0x8b9a85b8
jecxz 0x474488
xor eax, 0x2b7c39dd
wait
add eax, edx
add al, 0x5f
mov bl, 0xc3
jb 0x47457b
dec ebp
mov bl, 0xbf
jg 0x474566
invalid
fist word cs:[edx + 0x189e8212]
mov edx, 0xbda118de
lodsb al, byte [esi]
xchg edi, eax
jb 0x47450e

Function at 0x40d83d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
sub eax, ebx
je 0x4742f8
dec eax
jne 0x4742d3
cmp dword [0x4c20f0], ebx
je 0x40d8b1
push esi
cmp byte [0x4c20f9], bl
jne 0x40d89f
mov esi, dword [0x4c20f4]
push esi
push dword [ebp + 8]
call fcn.0040d9a0
test al, al
je 0x40d8a9
mov edx, dword [esi]
pop esi
test edx, edx
je 0x40d8ad
mov ecx, dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
and ecx, 0xff00
mov dword [eax], ecx
mov eax, dword [edx + 0x14]
test eax, eax
je 0x40d898
xor ebx, ebx
inc ebx
mov al, bl
pop ebx
pop ebp
ret 0xc
mov eax, dword [0x4c20f4]
mov esi, dword [eax + 8]
jmp 0x40d86c
mov edx, ebx
jmp 0x40d87b
mov eax, ebx
jmp 0x40d891
mov ecx, 0x4c20e0
jmp 0x4742e8
pop esi
Function at 0x41e593
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c10c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.00422933
pop ecx
push eax
call fcn.00422765
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040d5e4
test al, al
jne 0x474256
lea ecx, [ebp - 0x18]
call fcn.0041e63a
mov ecx, edi
call fcn.0040936c
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0041e65e
push dword [ebp - 0x18]
push 0x4aec6c
push esi
call fcn.00422b2c
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x474276
lea ecx, [ebp - 0x18]
call fcn.0040cb37
mov edi, dword [ebp - 8]
push esi
call fcn.00422cf1
pop ecx
cmp ebx, 0xffffffff
je 0x47428d
push ebx
push esi
call fcn.00422933
pop ecx
push eax
call fcn.00422765
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ea69
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c1628
jne 0x47dc2c
mov ecx, dword [0x4c1694]
cmp ecx, 0xffffffff
je 0x41eb0f
mov eax, dword [0x4c1688]
push ebx
mov eax, dword [eax + ecx*4]
push esi
mov esi, dword [eax]
xor ecx, ecx
mov ebx, dword [esi]
cmp byte [esi + 0x3a], cl
je 0x41eabb
mov byte [esi + 0x3a], cl
cmp dword [esi + 0x18c], ecx
jge 0x47dc43
cmp dword [esi + 0x1a4], ecx
jne 0x47dc6a
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x47dc91
je 0x41eae3
test edi, edi
je 0x41eb30
cmp edi, 1
je 0x41eae3
cmp edi, 2
je 0x41eb27
cmp edi, 3
je 0x41eb1e
jle 0x41eb05
cmp edi, 5
jg 0x41eb13
cmp byte [esi + 0x38], 0
jne 0x41eb3e
push edi
push ebx
call dword [0x48d704]
cmp edi, 8
je 0x41eb01
cmp edi, 4
je 0x41eb01
push ebx
call fcn.0041eb42
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop ebx
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x41eb0a
cmp edi, 6
je 0x47dc79
jmp 0x41eb05
mov byte [esi + 0x38], 1
jmp 0x47dce6
mov byte [esi + 0x38], 1
jmp 0x47dc79
push ecx
push ebx
call dword [0x48d704]
mov byte [esi + 0x38], 0
jmp 0x41eb05
xor eax, eax
jmp 0x41eb08
jge 0x47dc51
and byte [edi + ecx*4], dl
push esi
cmp eax, 0x9d927b6c
xor byte [ebp + esi*8 - 0x66], dh
mov dl, 0xf1
jnp 0x47dcb8
retf
mov esi, 0xaf2a48cd
cmc
arpl word [ebp + ebp*2], sp
jl 0x47dc8b
add byte [ebx + ebx + 0x44], bh
inc esp
mov ch, 0x85
sti
pop edi
add ch, byte [ecx + 0x52]
xlatb
jp 0x47dc16
neg byte [ecx - 0x41]
sub al, 0x8b
pop es
dec edi
lds esi, [ebp + 0x58]
invalid
wait
mov word [edi], gs
or dword [eax], ecx
sbb al, 0xea
pushal
in al, dx
jecxz 0x47dc6d
call 0xf75020db
pop ds
and byte [edi - 0x38403eb6], dh
enter 0xffffffffffff9303, 0x44
jnp 0x47dd09
invalid

Function at 0x440175
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov bl, 0x12
xor byte [ebp + 0x11], cl
pop dword [ebx]
movsd dword es:[edi], dword [esi]
pushfd
test byte [edi], 0xd7
push ss
mov dl, byte [ecx + 0x3648b47d]
mov edi, 0xbd920063
Function at 0x1092370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x109238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x10bb074
push ecx
mov edi, eax
call fcn.010a6198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10923cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010a602e
push esi
call fcn.010a5fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1095850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x10958ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x10c0720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10958ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.010a61e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x10958ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x10c0720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x109592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.010a7082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1095957
mov word [eax], si
add eax, 2
push eax
call fcn.010a7030
add esp, 4
jmp 0x1095959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x10958ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10958b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x1095ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1096080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x10960c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x10bb458
push ecx
call fcn.010a61e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.010a61e1
add esp, 0x10
jmp 0x10960d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.010a620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.010a5dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.01096050
mov eax, dword [0x10c0728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x109613b
push esi
call fcn.01095fb0
add esp, 4
mov dword [0x10c0728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x109614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.01095ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x1099440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10994b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x109948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1099471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x109947e
add edx, ecx
cmp ebx, edx
jb 0x109948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1099467
xor ecx, ecx
jmp 0x10994a2
test eax, eax
jne 0x1099492
xor ecx, ecx
jmp 0x10994a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.010993c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x10998f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1099921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x1099946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x109996e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x1099993
push ecx
push esi
call fcn.010994c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x109ac00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x109ac4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x109ac2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x109ac38
add edx, eax
cmp ebx, edx
jb 0x109ac46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x109ac21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x109ac50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x109ac70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x109acb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x109ac9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x109aca8
add edx, ecx
cmp ebx, edx
jb 0x109acb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x109ac91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x109af60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.010a7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x109affb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x109afdd
lea eax, [esp + 0x18]
push eax
jmp 0x109afe2
push 0x10c0720
call fcn.010a6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x109afb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x109af40
push 4
push ecx
push eax
call fcn.010a743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x109b310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.010a7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x109b3ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x109b38d
lea eax, [esp + 0x18]
push eax
jmp 0x109b392
push 0x10c0720
call fcn.010a6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x109b360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x109af40
push 4
push ecx
push eax
call fcn.010a743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret