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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x100b60ef
pop dword [ebp - 0x48]
mov eax, 0x100b60ef
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x573669ef
sub dword [ebp - 0x58], 0x8e424a4
mov dword [ebp - 0x54], 0xb076e044
add dword [ebp - 0x54], 0x81bc6c01
mov dword [ebp - 0x50], 0x322b78b9
add dword [ebp - 0x50], 0x1a20cb75
mov dword [ebp - 0x4c], 0x244213f
sub dword [ebp - 0x4c], 0x244213f
lea eax, [ebp - 0x58]
push eax
mov eax, 0xdd341c7c
sub eax, 0xcd240be8
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x89c7a93e
add dword [ebp - 0x58], 0xeaaac018
mov dword [ebp - 0x54], 0x136c3746
add dword [ebp - 0x54], 0x2e002a2f
mov dword [ebp - 0x50], 0x2d25f6d9
add dword [ebp - 0x50], 0x36497593
mov dword [ebp - 0x4c], 0x1ca87a2c
sub dword [ebp - 0x4c], 0x1ca87a2c
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x67a44
push 0
call eax
mov ecx, 0x3f87
mov edi, eax
mov edx, 0xed196410
add edx, 0x22f8d9f0
add edx, dword [ebp - 0x48]
mov esi, 0x32d83701
add esi, 0xb76a67cd
add dword [ebp - 0x10], esi
mov ebx, dword [edx]
add dword [ebp - 0x24], eax
xor ebx, esi
sub dword [ebp - 0x40], 0x3e01e20a
mov dword [edi], ebx
sub dword [ebp - 0xc], 0x197a8d90
add edi, 4
add edx, 4
loop 0x100b6201
add eax, 0x3ad847
sub eax, 0x39e758
mov ebx, eax
add eax, 0x762f62b7
sub eax, 0x762f62b2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e8df
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0x20000000
je 0x45e916
mov dword [ebp - 8], 1
mov ecx, dword [ebp + 8]
and ecx, 0x40000000
je 0x45e92c
mov dword [ebp - 0xc], 1
mov edx, dword [ebp + 8]
and edx, 0x80000000
je 0x45e942
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x80
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], pe_nt_image_headers32
mov eax, dword [ebp - 8]
shl eax, 4
lea ecx, [ebp + eax - 0x30]
mov edx, dword [ebp - 0xc]
lea eax, [ecx + edx*8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
and eax, 0x4000000
je 0x45e9ad
mov ecx, dword [ebp - 4]
or ecx, 0x200
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41c290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41c2aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c2b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c2a0
mov eax, 1
add ebx, ebx
jne 0x41c2c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c2b8
jne 0x41c2d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c2b8
xor ecx, ecx
sub eax, 3
jb 0x41c2e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c35a
mov ebp, eax
add ebx, ebx
jne 0x41c2f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c324
inc ecx
add ebx, ebx
jne 0x41c310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c305
jne 0x41c321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c305
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c335
jmp 0x41c2a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c344
add edi, ecx
jmp 0x41c2a6
pop esi
mov edi, esi
mov ecx, 0x5e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c362
cmp byte [edi], 7
jne 0x41c362
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41c367
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c3d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c20c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c394
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c214]
or eax, eax
je 0x41c3d0
mov dword [ebx], eax
add ebx, 4
jmp 0x41c3b1
call dword [esi + 0x1c210]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41c407
cmp al, 0xef
ja 0x41c3fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41c3dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41c3e9
mov ebp, dword [esi + 0x1c218]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41c43b
sub esp, 0xffffff80
jmp 0x4013c2
Function at 0x1025a700
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10285440], 0
mov byte [0x10285444], 0
mov dword [0x10285434], 0x25ec
mov dword [0x1028543c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x10285438], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10285438]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x10285434], esi
mov esi, dword [0x1028543c]
add esi, 1
mov dword [0x1028543c], esi
cmp esi, 0x100
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
jl 0x1025a745
jmp 0x1025a88c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, 0xfffff02c
mov edi, 0x1b14
mov ebx, 0x100
mov dword [0x10285448], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
xor ecx, ecx
mov dword [ebp - 0x38], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x38]
mov dword [0x10285434], ecx
mov ecx, dword [0x10285440]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x30]
movzx ecx, byte [ecx + edx]
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, byte [edx + ecx]
mov edx, dword [ebp - 0x44]
add edx, ecx
mov dword [0x10285448], edx
mov eax, edx
cdq
idiv ebx
mov dword [0x10285440], edx
mov dword [0x10285434], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov cl, byte [ecx + ebx]
mov byte [0x10285444], cl
mov ecx, dword [ebp - 0x34]
mov dword [0x10285434], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x10285444]
mov edx, dword [0x10285440]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x10285434], 0x2b4
mov dword [0x10285438], 0xfffff6fd
mov edx, dword [0x1028543c]
add edx, 1
mov dword [0x1028543c], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], edx
jl 0x1025a794
jmp 0x1025a8b6
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x1028543c], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1025a794
mov dword [0x10285434], 0xffffeb3b
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025a960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1028543c], 0
mov dword [0x10285440], 0
mov dword [0x1028544c], 0
mov edi, dword [0x10285434]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
add eax, 0x3c3
mov dword [0x10285434], eax
mov dword [0x10285438], 0x5f1
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x1025ab45
jmp 0x1025ab0e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, 0x100
mov dword [0x10285438], 0x1cfd
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1028543c], edx
mov dword [0x10285434], 0x18db
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10285440], edx
mov dword [0x10285438], 0x198a
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10285444], cl
mov dword [0x10285434], 0x13a5
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10285438], 0x1ce8
mov dword [0x10285434], 0x15f
mov cl, byte [0x10285444]
mov edx, dword [0x10285440]
mov byte [edi + edx], cl
mov edx, dword [0x10285434]
add edx, 0xffffedd6
mov dword [0x10285434], edx
mov edx, dword [0x1028543c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10285440]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1028544c], ebx
mov dword [0x10285434], 0x2cc
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov edx, dword [0x10285438]
mov bl, cl
add bl, byte [0x10285451]
mov byte [0x10285450], bl
mov byte [0x10285451], ch
mov byte [0x10285452], cl
xor ch, cl
add edx, 0xffffee6e
mov dword [0x10285438], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov byte [edx + esi], ch
mov dword [0x10285434], 0x13c3
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x3c], esi
je 0x1025ab43
jmp 0x1025ab22
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
jmp 0x1025a9d2
mov eax, dword [0x1028543c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10285440]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jmp 0x1025a9d2
jmp 0x1025ab45
mov dword [0x10285434], 0xb60
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025b340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10285438], 0x1626
mov ecx, dword [0x10285434]
add ecx, 0x31
mov dword [0x10285434], ecx
mov dword [ebp - 0x10], eax
call fcn.1025ad10
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10285434], 0xd6b
mov esi, dword [eax + esi + 0x78]
mov dword [0x10285434], 0x12
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x10285438], 0x40a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x1025b4bd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
mov byte [ebp - 0x4b], bl
je 0x1025b456
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x50], eax
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x4a]
and dl, cl
mov esi, dword [ebp - 0x50]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov cl, byte [ebp - 0x4a]
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x4b], cl
jne 0x1025b3f4
mov al, byte [ebp - 0x4b]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
jne 0x1025b487
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jb 0x1025b3da
jmp 0x1025b4b6
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
mov dword [0x10285438], 0x182a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x10285434], 0x274
mov dword [ebp - 0x28], esi
jmp 0x1025b4bd
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x1025b4bd
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025b4d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword [0x10285438]
add eax, 0x1c78
mov dword [0x10285438], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10285438], 0x19
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1025b572
jmp 0x1025b554
mov dword [0x10285434], 0x7df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x1025b5c0
jmp 0x1025b623
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x104
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x1025b513
mov eax, dword [ebp - 0x18]
mov dword [0x10285438], 0x56e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1025b623
mov dword [0x10285434], 0x582
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1025b623
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1025b52b
jmp 0x1025b623
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1025b623
mov dword [0x10285434], 0x91c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1025b623
mov dword [0x10285438], 0x153e
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x6c
jne 0x1025b623
mov eax, 1
mov dword [0x10285438], 0x190e
mov dword [ebp - 0x2c], eax
jmp 0x1025b632
xor eax, eax
mov dword [0x10285434], 0x10e3
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x1025bf60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x10285434], 0x1594
call fcn.10001090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
je 0x1025bf9a
jmp 0x1025c112
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x1025c112
lea eax, [esp + 0x48]
mov dword [0x10285438], 0x1aa1
mov dword [0x10285434], 0x17ad
mov dword [esp + 0x2c], eax
call fcn.1025b4d0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x30], ecx
jne 0x1025bf8d
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.1025b720
lea ecx, [0x1025a3e0]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov dword [0x10285438], 0x1364
mov dword [esp + 0x5c], 0x11be00
mov edx, dword [0x10285420]
mov dword [esp + 0x64], edx
mov edx, dword [0x10285424]
mov dword [esp + 0x60], edx
mov edx, dword [0x10285428]
mov dword [esp + 0x70], edx
mov edx, dword [0x1028542c]
mov dword [esp + 0x68], edx
mov edx, dword [0x10285430]
mov dword [esp + 0x98], edx
mov dword [0x10285434], 0x423
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x1025c07d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x1b], dl
mov al, byte [esp + 0x1b]
test al, 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jne 0x1025c099
jmp 0x1025c07d
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x1025c03b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
mov dword [esp + 0x80], eax
mov dword [0x10285438], 0x2099
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x90], eax
mov dword [0x10285434], 0xa15
mov eax, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.1025b090
mov ecx, dword [0x10285434]
add ecx, 0xbd7
mov dword [0x10285434], ecx
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10285434], 0x1824
mov dword [esp + 0x30], eax
jmp 0x1025bf8d
mov eax, dword [esp + 0x34]
mov esp, ebp
pop ebp
ret
Function at 0x7f6370
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 0x7f638e
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 0x81f074
push ecx
mov edi, eax
call fcn.0080a198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7f63cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0080a02e
push esi
call fcn.00809fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x7f9850
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 0x7f98ae
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 0x824720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7f98ba
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.0080a1e1
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 0x7f98ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x824720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7f992a
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.0080b082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x7f9957
mov word [eax], si
add eax, 2
push eax
call fcn.0080b030
add esp, 4
jmp 0x7f9959
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 0x7f98ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7f98b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x7f9ff0
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