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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add ecx, 0xdeadbeef
push ebx
mov ebx, dword [ebp + 8]
add ecx, edx
push esi
mov esi, ecx
mov dword [ebp + 0x10], esi
push edi
mov edi, ecx
cmp edx, 0xc
jbe switch.0x1007c9ec
add edx, 0xfffffff3
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
movzx esi, byte [ebx + 7]
movzx eax, byte [ebx + 6]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 5]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
add edi, eax
shl esi, 8
movzx eax, byte [ebx + 0xa]
add edi, esi
movzx esi, byte [ebx + 8]
add edx, eax
movzx eax, byte [ebx + 9]
add esi, ecx
shl edx, 8
add edx, eax
shl edx, 8
add esi, edx
mov edx, dword [ebp + 8]
mov ebx, esi
rol ebx, 4
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
sub ecx, esi
add esi, edi
add ecx, dword [ebp + 0x10]
xor ebx, ecx
sub edi, ebx
mov eax, ebx
add ebx, esi
rol eax, 6
xor eax, edi
sub esi, eax
mov edx, eax
rol edx, 8
add eax, ebx
xor edx, esi
sub ebx, edx
mov esi, edx
rol esi, 0x10
add edx, eax
xor esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
sub eax, esi
ror edi, 0xd
add esi, edx
xor edi, eax
mov dword [ebp + 0x10], esi
sub edx, edi
mov ecx, edi
rol ecx, 4
add ebx, 0xc
xor ecx, edx
mov dword [ebp + 8], ebx
mov edx, dword [ebp + 0xc]
add edi, esi
sub edx, 0xc
sub dword [ebp - 4], 1
mov dword [ebp + 0xc], edx
jne 0x1007c920
cmp edx, 0xc
ja 0x1007ca58
jmp dword [edx*4 + 0x1007caa8]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add ecx, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add ecx, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movzx eax, byte [ebx]
add esi, eax
mov dword [ebp + 0x10], esi
xor ecx, edi
mov eax, edi
rol eax, 0xe
sub ecx, eax
mov eax, ecx
mov esi, ecx
xor esi, dword [ebp + 0x10]
rol eax, 0xb
sub esi, eax
xor edi, esi
mov eax, esi
ror eax, 7
sub edi, eax
mov eax, edi
xor ecx, edi
rol eax, 0x10
sub ecx, eax
mov eax, ecx
mov edx, ecx
rol eax, 4
xor edx, esi
sub edx, eax
mov eax, edx
xor edi, edx
rol eax, 0xe
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 8
sub ecx, eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x54000]
push edi
or ebp, 0xffffffff
jmp 0x4a0492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a0499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a0488
mov eax, 1
add ebx, ebx
jne 0x4a04ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a04a0
jne 0x4a04bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a04a0
xor ecx, ecx
sub eax, 3
jb 0x4a04d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a0542
mov ebp, eax
add ebx, ebx
jne 0x4a04db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a04e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a050c
inc ecx
add ebx, ebx
jne 0x4a04f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a04ed
jne 0x4a0509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a04ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a052c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a051d
jmp 0x4a048e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a052c
add edi, ecx
jmp 0x4a048e
pop esi
mov edi, esi
mov ecx, 0x915
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a054a
cmp byte [edi], 0x11
jne 0x4a054a
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 0x4a054f
lea edi, [esi + 0x9e000]
mov eax, dword [edi]
or eax, eax
je 0x4a05c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa61e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa6290]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a057c
mov ecx, edi
jns 0x4a05ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa6298]
or eax, eax
je 0x4a05c1
mov dword [ebx], eax
add ebx, 4
jmp 0x4a0599
call dword [esi + 0xa6294]
mov ebp, dword [esi + 0xa629c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4a05fb
sub esp, 0xffffff80
jmp 0x403209

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000de34
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], 0x971c
mov edi, ecx
mov dword [ebp - 0x14], 0xffffffff
inc esi
lea ecx, [ebp - 0x2c]
push esi
call fcn.10009afa
mov dword [ebp - 0x14], 0x857b1a09
xor ebx, ebx
mov dword [ebp - 0x18], 0xeb61943e
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 0x97fb
mov dword [ebp - 0x20], 0xc6aa
mov dword [ebp - 0x10], ebx
jmp 0x1000de8f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], 0x6548aab5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1000de7f
cmp dword [ebp - 8], ebx
jne 0x1000dec9
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
neg eax
add eax, dword [ebp - 8]
jne 0x1000dec9
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000dfef
push ebx
push 0x23b
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1000dfef
mov dword [ebp - 0x10], 0xfffffff7
mov dword [ebp - 0xc], 0x5d73
mov dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x14], ebx
jmp 0x1000def1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1000dee3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
sub ecx, eax
imul ecx, dword [ebp - 0xc]
cmp ecx, esi
je 0x1000df13
mov eax, esi
cmp dword [ebp - 0xc], ebx
jne 0x1000df15
mov eax, ebx
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
imul ecx, eax
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setg cl
xor ebx, ebx
cmp ecx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
setle bl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, ebx
setge cl
sub eax, ecx
mov ecx, dword [ebp - 8]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0x594484f7
cmp dword [ebp - 0x10], 0x5c2f4fe1
jl 0x1000dfdb
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
xor ebx, ebx
inc eax
sub eax, 9
jne 0x1000dfa3
mov ecx, ebx
cmp dword [ebp - 8], ebx
je 0x1000dfa5
mov ecx, esi
mov eax, dword [ebp - 0x10]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x38]
add ecx, eax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setg dl
mov dword [eax], edx
inc edx
sub edx, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x20]
jle 0x1000dfdd
jmp 0x1000dfdf
xor ebx, ebx
mov esi, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, esi
setl cl
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x2c], 0
je 0x1000dffe
push dword [ebp - 0x2c]
call fcn.100581d7
pop ecx
mov eax, dword [edi]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100252c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100252f5
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
push 0x3f65
push dword [ebp - 0x20]
push 0
push 0x5dec
call fcn.10025ce6
add esp, 0x10
jmp 0x10025408
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10025346
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10025341
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10025408
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 3
je 0x10025399
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10025399
mov dword [ebp - 0xc], 1
jmp 0x1002539d
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
imul ecx, dword [ecx], 0x314a
cmp eax, ecx
jge 0x100253c4
mov eax, 0xc6d21cd4
test eax, eax
je 0x100253c4
mov dword [ebp - 0x10], 1
jmp 0x100253c8
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10009b6a
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
jne 0x100253e2
mov dword [ebp - 0x14], 1
jmp 0x100253e6
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jg 0x100253f5
mov dword [ebp - 0x1c], 1
jmp 0x100253f9
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10009b6a
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10025834
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002587f
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10025873
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10025871
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x1002587d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1002589d
push 0x37c5
push 0
push 0x356d
push 0x406a
push 0x7ca2
call fcn.1001f6a1
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10026661
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100267a4
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002679a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x16
jmp 0x100266d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jg 0x10026798
mov dword [ebp - 8], 0xffab8c3a
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x10], 0xb78acc4b
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov esi, dword [ebp - 8]
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10009b6a
mov dword [eax], esi
cmp dword [ebp - 0x44], 3
je 0x10026728
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10026728
mov dword [ebp - 0x14], 1
jmp 0x1002672c
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
imul ecx, dword [ebp - 8], 0x314a
cmp eax, ecx
jge 0x1002674f
mov eax, 0xc6d21cd4
test eax, eax
je 0x1002674f
mov dword [ebp - 0x18], 1
jmp 0x10026753
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10009b6a
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
jne 0x1002676d
mov dword [ebp - 0x1c], 1
jmp 0x10026771
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jg 0x10026780
mov dword [ebp - 0x20], 1
jmp 0x10026784
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10009b6a
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x100266c9
jmp 0x100267a2
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x100267d4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
push 0x9d1
push 1
push dword [ebp - 0x48]
push 0x75aa
push 0x525b
push dword [ebp - 0x4c]
push 0xfb4
call fcn.1001fd01
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026946
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100269b1
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002699b
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10026999
push 0x10ae
push 0x23bf
push 0
push 0x1d4b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100269af
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
jmp 0x100269d3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x1e09
push 0xa21
push 0x1587
push 0
call fcn.10027543
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x10027c8c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10027d0f
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10027d03
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10027ce4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10027d01
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10009b6a
mov dword [eax], 0x145b
jmp 0x10027cd9
jmp 0x10027d0d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10027d35
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push 0x7db5
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x3385
push 0
call fcn.100257e7
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1002c23d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c28d
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002c27a
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xc], 0
jmp 0x1002c28b
push 0
push 0x73b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1002c2b2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1003af2c
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1002c2b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c2fe
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
push 0x4921
push 0x601d
push dword [ebp - 0xc]
push 0x4282
push 1
push 0xf87
push dword [ebp - 0x10]
push 0xd18
call fcn.1002c39c
add esp, 0x20
jmp 0x1002c398
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002c35c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002c33c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jg 0x1002c35a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002c358
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1002c331
jmp 0x1002c398
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002c398
push 0
push 0
push 0
push 0x1622
push 0x59a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
mov esp, ebp
pop ebp
ret
Function at 0x100388fe
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10038920
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 1
call fcn.10038969
pop ecx
pop ecx
jmp 0x10038965
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1003894c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003894a
push 0
push 0
push 0x64
push 0
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x10038965
push 0x10ae
push 0x23bf
push 0
push 0x1d4b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x10038c78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10038e38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10038e18
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0x1e41
cmp dword [ebp - 0x20], 0x11c4
jge 0x10038dae
call fcn.10058b50
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x100079a8
push 0x10007a5c
call fcn.10058cff
add esp, 0xc
call fcn.10058b50
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x100079d0
push 0x100079d4
call fcn.10058cff
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x10663c70
call fcn.1001bc37
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x10663c70
call fcn.1001bc37
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 4]
call fcn.1001cb79
movzx eax, al
test eax, eax
je 0x10038dae
mov dword [ebp - 0x10], 1
and dword [ebp - 4], 0
jmp 0x10038d6c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x10038d93
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10663c70
call fcn.1001bc37
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10038c4f
pop ecx
pop ecx
jmp 0x10038d65
push fcn.1000d301
push dword [ebp - 0x10]
mov ecx, 0x10663bb8
call fcn.10040b71
mov ecx, eax
call fcn.100099cf
jmp 0x10038d30
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x48]
push 0
push 0x1020
push 1
push 0x133f
push 0x1673
push 0x6ad9
push 0x24fe
mov eax, dword [ebp - 0x4c]
push dword [eax]
mov eax, dword [ebp - 0x50]
push dword [eax]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.100336f5
add esp, 0x30
jmp 0x10038e36
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10038e36
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10038e4c
push 0x59a2
push 0
push 0x29be
call fcn.10039983
add esp, 0xc
mov esp, ebp
pop ebp
ret