joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20010e40
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x2001a028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x2001b94c
mov edi, dword [0x2001b284]
lea eax, [esi + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call edi
lea ecx, [esi + 0x10]
push 0
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov edi, dword [0x2001b2ac]
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 0x30]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [esi + 0x2c]
mov edi, dword [0x2001b2e4]
push ecx
call edi
mov edx, dword [esi + 0x30]
push edx
call edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x20010eb7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.20006430
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x20010fc0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x20025d00]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001b2dc]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x20011063
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001b238]
cmp eax, 0x3200000
jae 0x2001100f
push 2
push 0
push 0
push ebx
call dword [0x2001b2e0]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001b28c]
mov edi, eax
push edi
call fcn.200199e6
add esp, 4
mov esi, eax
test edi, edi
jle 0x20011040
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x20011034
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x2001b2c4]
push ebx
call dword [0x2001b2e4]
push esi
call fcn.200199d6
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x20013aa0
Capabilities:
Move file

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push esi
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push edx
call dword [0x2001b0bc]
test eax, eax
je 0x20013ad0
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, esi
push edi
jne 0x20013b92
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xd], eax
push 0xa
mov dword [esp + 0x15], eax
push ecx
mov dword [esp + 0x1d], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
call fcn.2000e1b0
add esp, 8
push 1
push 0x20022648
call fcn.20009db0
push 1
push 0x20022634
call fcn.20009db0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push esi
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push esi
push edx
push eax
call dword [0x2001b0c0]
mov ecx, dword [esp + 0x30]
mov edi, dword [0x2001b0d0]
push ecx
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [0x2001b0c4]
mov esi, eax
lea ecx, [esp + 0xc]
neg esi
sbb esi, esi
push ecx
inc esi
call dword [0x2001b27c]
mov eax, dword [esp + 0x2c]
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ebx
push edx
push 0x20019
push esi
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov eax, dword [esp + 0x28]
mov ebx, dword [0x2001b0c8]
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
push ebp
push eax
call ebx
test eax, eax
jne 0x20013c20
mov ecx, dword [esp + 0x34]
add ecx, 2
push ecx
call fcn.200199e6
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x34]
mov edi, eax
push edx
lea eax, [esp + 0x30]
push edi
push eax
push 0
push ebp
push ecx
call ebx
test eax, eax
jne 0x20013c17
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push edi
push eax
push 0
push ebp
push ecx
call dword [0x2001b0cc]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.200199d6
add esp, 4
mov edx, dword [esp + 0x28]
mov edi, dword [0x2001b0d0]
push edx
call edi
mov eax, dword [esp + 0x30]
pop ebx
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret

Function at 0x20013d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 1
call fcn.200091b0
add esp, 8
nop
xor ecx, ecx
test eax, eax
jle 0x20013dc4
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x5f
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x46
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x20013d93
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x20014c30
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x11c
push ebx
push ebp
push esi
push 0x400
mov dword [esp + 0x20], ecx
push 0x40
mov dword [esp + 0x14], 0xff
call dword [0x2001b244]
mov esi, dword [esp + 0x130]
mov ebp, eax
push esi
lea eax, [ebp + 2]
mov byte [ebp], 0x8f
push eax
mov byte [ebp + 1], 0xa
call dword [0x2001b290]
push esi
call dword [0x2001b28c]
lea ecx, [esp + 0x20]
mov ebx, eax
push ecx
mov ecx, dword [esp + 0x130]
push 0
push 0
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push 0
push ecx
add ebx, 3
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x103
je 0x20014d98
push edi
test eax, eax
jne 0x20014d57
push ebp
call dword [0x2001b304]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + edx + 2]
cmp ecx, eax
jbe 0x20014ce0
lea edx, [ebx + 0x400]
push 0x42
push edx
push ebp
call dword [0x2001b248]
mov ebp, eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x2c]
mov eax, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x18]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x34]
push 0
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x13c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x20014d56
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x34]
push eax
push edx
push eax
push eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x20014d4b
mov byte [ebx + ebp], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x2001b0d0]
inc ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x3c]
inc eax
push ecx
push edx
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x14c]
push eax
mov dword [esp + 0x30], 0xff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x103
jne 0x20014cb3
pop edi
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
call fcn.20014e80
push ebp
call dword [0x2001b254]
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 8

Function at 0x200156b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x200156f1
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x200156e5
cmp bl, 0x41
jl 0x200156e5
add bl, 0x20
cmp bl, bh
jne 0x200156c4
inc esi
inc esi
inc edi
test bx, bx
jne 0x200156d3
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x200157c0
Capabilities:
Clear file content

Disassembly:
sub esp, 0x400
push esi
push edi
push 0
push 0
push 0x20022830
push 1
push 0x2002281c
push 0x200227e4
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
mov ecx, 0xc
mov esi, 0x200227b0
lea edi, [esp + 0x24]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf3
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0
stosb byte es:[edi], al
push 0
push 4
lea eax, [esp + 0x34]
push 0x2002279c
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
mov esi, dword [0x2001b2f0]
add esp, 0x38
lea ecx, [esp + 8]
push str.ARvCDLPMKA_akFXN_KjJHf_wZXY_ZNRSSM__
push ecx
call esi
push 0
push 1
push 0
push 4
lea edx, [esp + 0x18]
push str.DlbficDggi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
add esp, 0x1c
lea eax, [esp + 8]
push 0x20022758
push 0x5c
push eax
call dword [0x2001b374]
mov edi, dword [0x2001b290]
add esp, 8
push eax
call edi
mov ecx, dword [esp + 0x410]
push 0
push ecx
push 0
push 4
lea edx, [esp + 0x18]
push 0x2002274c
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
add esp, 0x1c
lea eax, [esp + 8]
push 0x2002271c
push eax
call edi
push 0
push 2
push 0
push 4
lea ecx, [esp + 0x18]
push 0x20022714
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
add esp, 0x1c
lea edx, [esp + 8]
push 0x20022708
push edx
call esi
mov eax, dword [esp + 0x40c]
push 0
push 0
push eax
push 2
lea ecx, [esp + 0x18]
push 0x200226fc
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005a20
add esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, eax
test edi, edi
je 0x200159cf
mov esi, dword [0x2001b0ac]
push ebp
push 0xf01ff
push 0x200226f0
push edi
call esi
mov ebp, eax
test ebp, ebp
je 0x2001599a
push ebx
push ebp
call fcn.20002950
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x20015987
push 0xf01ff
push 0x200226e4
push edi
call esi
mov esi, eax
push 1
push esi
call fcn.2000cc70
push 0
push ebx
call fcn.20001110
push esi
call fcn.20002950
add esp, 0x14
test eax, eax
jne 0x20015980
mov ebx, dword [0x2001b2b8]
push 0x7d0
call ebx
push esi
call fcn.20002950
add esp, 4
test eax, eax
je 0x2001596c
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov edx, dword [0x20022a80]
lea eax, [esp + 0xc]
add edx, 0x128
push edx
push 0x2002265c
push eax
call dword [0x2001b48c]
add esp, 0xc
lea ecx, [esp + 0xc]
push 0
push ecx
call dword [0x2001b134]
pop ebp
pop edi
pop esi
add esp, 0x400
ret
Function at 0x20015a80
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x490
or ecx, 0xffffffff
xor eax, eax
push esi
mov esi, dword [esp + 0x498]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x20015bfe
mov ecx, 0xff
lea edi, [esp + 0x99]
mov byte [esp + 0x98], al
mov dword [esp + 0xc], 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x20023c88
push SysReAllocString
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x20015bfe
lea ecx, [esp + 0xc]
lea edx, [esp + 0x98]
push ecx
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 8]
push ecx
call dword [0x2001b0d0]
lea edx, [esp + 0x98]
push edx
call dword [0x2001b28c]
test eax, eax
je 0x20015bfe
lea eax, [esp + 0x98]
push 0x2002244c
push eax
call dword [0x2001b390]
add esp, 8
test eax, eax
je 0x20015bfe
push esi
push eax
call dword [0x2001b290]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4a0]
mov dword [esp + 0x54], 0x44
test eax, eax
mov dword [esp + 0x80], 1
mov word [esp + 0x84], ax
je 0x20015bc0
mov ecx, dword [str.FG]
mov dl, byte [0x20023c84]
mov dword [esp + 0x20], ecx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
mov esi, dword [0x2001b2f0]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push 0x20023c78
push eax
call esi
lea ecx, [esp + 0x20]
push str.ddbqir_a_bk_PI
push ecx
call esi
lea edx, [esp + 0x20]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0xb4]
push 0
push edx
push 0
call dword [0x2001b264]
test eax, eax
je 0x20015bfe
mov eax, dword [esp + 0x14]
mov esi, dword [0x2001b2e4]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
xor al, al
pop esi
add esp, 0x490
ret
Function at 0x20015ec0
Capabilities:
Move file

Disassembly:
mov eax, dword [0x20023278]
sub esp, 0x20c
cmp eax, 0xffffffff
je 0x20015ed7
push eax
call dword [0x2001b2e4]
push esi
mov esi, dword [0x2001b27c]
push 0x20025840
call esi
mov eax, dword [0x20025c98]
mov byte [0x20025b79], 1
test eax, eax
je 0x20015efe
push 0xffffffffffffffff
push eax
call dword [0x2001b2ac]
mov eax, 0x20025958
test eax, eax
je 0x20015f0a
push eax
call esi
push edi
mov edi, dword [0x2001b290]
lea ecx, [esp + 0xc]
push 0x20025a70
push ecx
call edi
mov edx, dword [0x200220a0]
push 0x20025a70
lea eax, [esp + 0x114]
push edx
push eax
call dword [0x2001b48c]
lea ecx, [esp + 0x18]
push 0x20023d2c
push ecx
call fcn.2000baa0
lea edx, [esp + 0x20]
push edx
call fcn.20013d50
add esp, 0x18
test al, al
je 0x20015fb0
push 1
push 0x20022648
call fcn.20009db0
push 1
push 0x20022634
call fcn.20009db0
lea eax, [esp + 8]
lea ecx, [esp + 0x110]
push eax
push 0xf003f
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [0x2001b0c4]
lea ecx, [esp + 0xc]
push ecx
call esi
mov byte [0x20025c9c], 0
jmp 0x20015fb7
mov byte [0x20025c9c], 1
push 4
push 0
push 0x20025840
call dword [0x2001b268]
mov edx, dword [0x20022a80]
lea eax, [esp + 0xc]
add edx, 0x10
push edx
push eax
call edi
lea ecx, [esp + 0xc]
push 0x20023c60
push ecx
call fcn.20013ef0
add esp, 8
lea edx, [esp + 0xc]
push edx
call esi
call fcn.200079e0
mov esi, eax
mov al, byte [0x20025c9c]
test al, al
pop edi
je 0x2001604e
push 0
push esi
call sym.davclnt.dll_DllCanUnloadNow
add esp, 8
cmp eax, 0xbca43352
je 0x20016029
mov eax, dword [0x200225a8]
push 0
push 0x20025a70
push esi
push eax
call fcn.200051a0
add esp, 0x10
mov al, byte [0x20025c9c]
test al, al
je 0x2001604e
test byte [0x20025944], 0x10
je 0x2001604e
lea ecx, [esp + 0x10c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x2001b404]
push 0
push 5
push 7
call fcn.20003190
mov al, byte [0x20025c9c]
add esp, 0xc
test al, al
pop esi
je 0x20016073
push 0x20025a70
call fcn.20007370
add esp, 4
push 0
push 0
push 1
call fcn.20003190
mov edx, dword [0x20025a68]
add esp, 0xc
push edx
call dword [0x2001b2b0]
add esp, 0x20c
ret

Function at 0x20016500
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2001b8c0
push 0x20019a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
xor ebx, ebx
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x200165a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2001b8d0
push 0x20019a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], ebx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x2001667e
lea ecx, [ebp - 0x38]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x2001667e
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov edi, eax
add edi, 0x10
mov dword [ebp - 0x2c], edi
push edi
push 8
call dword [0x2001b14c]
push eax
call dword [0x2001b150]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x2001667e
push 2
push edi
push esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
je 0x2001667e
mov ecx, dword [ebp - 0x38]
push ecx
push 0x10000000
push 2
push esi
call dword [0x2001b0a0]
test eax, eax
je 0x2001667e
push ebx
push esi
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test eax, eax
je 0x2001667e
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
call fcn.200166bc
cmp dword [ebp - 0x24], ebx
jne 0x200166cb
cmp esi, ebx
je 0x200166a2
push esi
push ebx
call dword [0x2001b14c]
push eax
call dword [0x2001b148]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xfd9370
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 0xfd938e
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 0x1002074
push ecx
mov edi, eax
call fcn.00fed198
mov esi, eax
add esp, 8
test esi, esi
jne 0xfd93cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00fed02e
push esi
call fcn.00fecfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xfdc850
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 0xfdc8ae
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 0x1007720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfdc8ba
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.00fed1e1
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 0xfdc8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1007720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfdc92a
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.00fee082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xfdc957
mov word [eax], si
add eax, 2
push eax
call fcn.00fee030
add esp, 4
jmp 0xfdc959
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 0xfdc8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xfdc8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xfdcff0
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 0xfdd080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xfdd0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1002458
push ecx
call fcn.00fed1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00fed1e1
add esp, 0x10
jmp 0xfdd0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00fed20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00fecdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00fdd050
mov eax, dword [0x1007728]
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 0xfdd13b
push esi
call fcn.00fdcfb0
add esp, 4
mov dword [0x1007728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xfdd14c
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.00fdcff0
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 0xfe0440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xfe04b7
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 0xfe048e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xfe0471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xfe047e
add edx, ecx
cmp ebx, edx
jb 0xfe048a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xfe0467
xor ecx, ecx
jmp 0xfe04a2
test eax, eax
jne 0xfe0492
xor ecx, ecx
jmp 0xfe04a2
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.00fe03c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xfe08f0
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 0xfe0921
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 0xfe0946
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 0xfe096e
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 0xfe0993
push ecx
push esi
call fcn.00fe04c0
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