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

Disassembly:
invalid
xchg esp, eax
jo 0x439e49
jp 0x439eb8
push esp
outsd dx, dword [esi]
dec edx
daa
insd dword es:[edi], dx
mov eax, 0xe78a7ec2
wait
leave
xor bh, byte [ecx - 0x2c]
jge 0x439e5a
insd dword es:[edi], dx
push edi
and byte [edi + 0x51d1bc21], dl
xchg esp, eax
xor al, 0xf0
inc ebx
jne 0x439ede
outsd dx, dword [esi]
pop ds
lds ecx, [ecx + ebp*4 + 0x51]
pop ebp
jb 0x439ea1
out 0xf0, al
sub eax, 0xe78a2124
mov dword [0xcd9cefa0], eax
xor eax, 0x9fb0bc05
xor esi, esi
test eax, 0x63f102ee
imul ebp, dword [0x8c9076b7], 0xd0f56d79
shr byte [eax - 0x4f], cl
xor dword [edx + 0x6d], 9
inc ebx
js 0x439edb
rcl dl, 1
push 0x6d7283b1
or dword [ebx + 0x78], eax
das
sti
xchg esp, eax
add byte [esp + edi*8 - 0x1f5f2e60], ah
xchg dword [esi + esi*2 + 0x19], ecx
jae 0x439ec6
sbb dword [ebx + 0xb], esi
xchg edi, eax
popfd
sub esi, dword [edi + 0x27]
invalid
jns 0x439f0f
xchg edi, eax
mov ecx, ebp
pop ss
pop edi
push 0x61
test eax, 0x6bf6f9ad
mov dl, 0xeb
xor byte [eax - 0x6b], bl
pop ecx
test edi, edx
xlatb
invalid
sbb dword [ecx + 0x43], ecx
imul eax, dword [ecx + ecx*8 + 0x493df141], 0xc6b951b2
invalid
invalid

Function at 0x44ff43
Capabilities:
Encode data using xor

Disassembly:
arpl word [ebp + 0x58], si
mov eax, 0x46d024f2
and al, 0xd0
inc esi
cmp al, 0x3e
inc esp
push cs
xor al, 0x18
sbb ebp, ecx
lahf
scasb al, byte es:[edi]
sbb dword [esi + 0x4e766e5b], edx
xchg dword [0xef3c1905], esp
pop esi
aaa
loopne 0x44ff47
inc esi
lodsb al, byte [esi]
mul dl
pop ebp
mov edx, 0xc1408f39
inc esp
retf 0xee44

Function at 0x46ea3c
Capabilities:
Encode data using xor

Disassembly:
and dword [edi + 0x60b1fc66], 0xffffffde
sbb esp, ecx
call 0x4c277a08
jecxz 0x46ea8f
pop ecx
ror dh, 0x23
push esi
xor byte [ebp + 0x3f], bh
aas
wait
daa
nop
shl dword [eax - 0x54], cl
shl dword [ebx + 0x204bf325], 0x5c
dec ebx
invalid
pop esp
dec ebx
and byte [ecx + esi - 0x70], bl
add eax, 0xa1b1e1cc
adc al, 0xeb
add byte [ecx - 0x3e], al
push ss
cmp dword [ecx - 0x729553e1], 0x4d80dd0e
fistp dword [eax + 0x24f45b84]
mov eax, dword [0xf5621934]
jecxz 0x46ea2e
pop esp
xor dword [eax - 0x4e1e33fb], edx
mov eax, dword [0x4100eb14]
jmp 0x46ea4a
inc ecx
ret 0x8116
das
cld
fiadd word [edx - 0x3a]
test al, 0x6f
cwde
add dword [esi - 0x1b], ebx
bound edx, qword [edx]
pop esp
push cs
lds ebx, [ebp - 0x35]
aad 0x58
loope 0x46ea48
scasd eax, dword es:[edi]
loop 0x46ea1a
sbb bh, byte es:[eax - 0x2f6d2e2e]
je 0x46ea3f
xor al, 0xba
cli
or eax, 0x44b4c4cd
mov ah, 0x44
into
call 0x2b29888c
xchg byte [esp + esi*2], ch
popal
hlt
Function at 0x47d113
Capabilities:
Encode data using xor

Disassembly:
sub bl, ch
in al, dx
pushal
inc esp
lds eax, [0x187beb24]
and al, 0xeb
jnp 0x47d0f8
les eax, [ebx - 0x54a911b8]
cmp eax, 0xb4c29bbe
int 0x50
std
mov dl, 0xaf
test byte [0x7339cec9], cl
push esp
movsb byte es:[edi], byte [esi]
xchg dword [ebx - 0x30], ebx
and edi, dword [ebx + 0x10d76c30]
invalid
mov byte [0x4b3d8438], al
ljmp 0xbfeb
lahf
lahf
jns 0x47d0dc
das
mov edi, 0x6fd24402
out dx, al
das
and edi, dword [ecx + 0x33d4a306]
pop ds
mov ch, 0xd6
aam 0x42
popfd
mov cl, byte [edi]
das
sbb dword [edx + ebx - 0x5a19002b], 0xffffffa6
ja 0x47d102
leave
and dword [edi], 0x3372b23e
ja 0x47d0d5
dec esp
invalid

Function at 0x4ae47b
Capabilities:
Encode data using xor

Disassembly:
js 0x4ae4c2
inc eax
sbb dword [esi + 0x9357f21], eax
cmp eax, 0x9ce80e68
sar dword [edi], 1
dec esi
sbb al, 0x91
mov byte [0xc8f9e60b], al
loopne 0x4ae495
enter 0xffffffffffffffe0, 0xffffffffffffffa5
jmp dword [ebp - 0x13a8f422]
movsd dword es:[edi], dword [esi]
fimul word [ebx]
push edi
in al, dx
push ss
cwde
sbb al, 0x29
xor al, 0xcb
xchg byte [esi], cl
fild word [edx + 0x5a]
inc edx
pop edx
mov ebx, 0x6eeec112
aas
jp 0x4ae493
rol dword [ebx - 0x69d6b8e0], 1
bound edi, qword [edi]
pop edx
je 0x4ae47d
pop edi
int1
push cs
arpl word [ebx], ax
cwde
dec edi
rcl dword [edi]
pop eax
jb 0x4ae4a4
salc
and eax, 0x8371df3f
inc esi
cmpsb byte [esi], byte es:[edi]
xchg ebp, eax
push 0xffffffffffffff83
sbb ebx, dword [ecx]
loope 0x4ae529
adc byte [ebp + 0x32946d4a], dh
retf
sbb eax, 0xf4de2f15
pop edi
sbb al, 0x3e
adc al, 0xf3
or eax, 0x83cf1760
jne 0x4ae569
test al, 0x7c
fld qword [edi]
das
daa
mov ebx, 0x415f65bc
add dl, byte [ecx + 0x10]
cmc
dec edi
cld
xor byte [ebx + 0x7e0f24ae], ch
lodsd eax, dword [esi]
push eax
retf
cmp ch, byte [ecx - 0x3983a77b]
or al, byte [ecx - 0x64]
mov byte [0x60a48044], al
dec esi
adc byte [edx], 0xdc
jne 0x4ae5b4
cmpsd dword [esi], dword es:[edi]
das
int 0xc6
cmp al, 0xd
bound ebp, qword [esi]
mov esp, 0x1ea55e68
stosb byte es:[edi], al
xchg esi, eax
mov al, byte [0xe71997c6]
mov dword [0x964ea51d], edx
movsd dword es:[edi], dword [esi]
dec esi
xchg esi, eax
salc
das
aas
push ds
insb byte es:[edi], dx
or al, 0x84
out dx, eax
in eax, 0x5c
xor ah, byte [0x3a970818]
retf 0x1833
dec esi
xor al, 1
xchg ch, cl
pop esp
cmp ecx, esi
adc ch, byte [edi - 0x21004151]
stosb byte es:[edi], al
lodsb al, byte [si]
xor al, 0xd
inc ebx
jno 0x4ae597
in eax, dx
test byte [ebx + 0x3b], bl
in eax, dx
xor byte [edi + 0x73f59d7c], ch
xor eax, 0x5b65cf75
adc ebx, dword [edx + edx]
arpl word [ebx - 0x12], cx
nop
push edx
jp 0x4ae5f4
ja 0x4ae595
int3
rcl dword [eax + 0x34c3249d]
and ah, byte [ecx + 0x57]
push ebp
les ecx, [edx + eax]
bound ebx, qword [edi]
fdivr dword [edi + 0x6a]
invalid
Function at 0x6295e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303b0
cmp edx, dword [eax]
je 0x62960b
add eax, 8
inc ecx
cmp eax, 0x630440
jl 0x6295fc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303b0]
jne 0x629739
mov eax, dword [0x636d50]
cmp eax, 1
je 0x629713
test eax, eax
jne 0x62963c
cmp dword [0x6302dc], 1
je 0x629713
cmp edx, 0xfc
je 0x629739
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629673
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629fd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6296b6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e644
push edi
call fcn.0062c330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629fd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629fe0
lea eax, [ebp - 0xa0]
push 0x62e624
push eax
call fcn.00629fe0
push dword [esi + 0x6303b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629fe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c2a4
add esp, 0x2c
pop edi
jmp 0x629739
lea eax, [ebp + 8]
lea esi, [esi + 0x6303b4]
push 0
push eax
push dword [esi]
call fcn.0062a460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x59ef1faa
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x51bc0e61
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40d4c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x43b1d0]
cmp ax, 0xcb
je 0x40d5bc
cmp ax, 0xcc
je 0x40d5bc
mov edx, dword [0x446650]
test edx, edx
je 0x40d4f2
mov eax, dword [0x4464f0]
call edx
mov ebx, eax
jmp 0x40d4f7
mov ebx, 0x4464f4
cmp word [0x4464e0], 0
jle 0x40d51a
mov eax, 0x4464c0
call fcn.0040d730
mov eax, ebx
call fcn.0040d0a0
mov eax, ebx
call fcn.0040d110
mov edi, dword [ebx]
jmp 0x40d53a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40d535
mov edx, edi
mov eax, ebx
call fcn.0040c570
jmp 0x40d538
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40d520
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x4464e0], 0
jle 0x40d5bc
mov edx, 0x446400
mov eax, ebx
call fcn.0040c6a0
mov edi, eax
test edi, edi
je 0x40d58f
mov eax, dword [0x446494]
mov dword [edi + 0xc], eax
cmp dword [0x446494], 0
je 0x40d584
mov eax, dword [0x446494]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x446494], eax
sub word [0x4464e0], 1
cmp word [0x4464e0], 0
sete bl
mov eax, 0x4464c0
call fcn.0040d740
test bl, bl
je 0x40d5bc
mov eax, 0x4464c0
call fcn.0040d720
pop edi
pop esi
pop ebx
ret
Function at 0x40eee0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [0x446240], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.0040f0c0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x446240]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402830
call sub.kernel32.dll_GetCommandLineA
mov dword [0x43b240], eax
mov esi, dword [0x43b240]
jmp 0x40f080
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x40ef70
cmp byte [esi], 0
je 0x40f089
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x40efe5
mov al, byte [esi]
cmp al, 1
jb 0x40efdb
sub al, 0x20
jbe 0x40efac
sub al, 2
je 0x40efbf
jmp 0x40efdb
mov al, byte [ebp - 0x10c]
test al, al
je 0x40efea
add dword [ebp - 0x110], 1
jmp 0x40efe2
cmp byte [esi + 1], 0x22
je 0x40efd6
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x40efe2
add esi, 1
jmp 0x40efe2
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x40ef9c
test dword [ebp - 0x114], 0xffffffff
je 0x40f079
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.0040f0c0
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x446240]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x40f071
mov al, byte [esi]
cmp al, 1
jb 0x40f067
sub al, 0x20
jbe 0x40f038
sub al, 2
je 0x40f04b
jmp 0x40f067
mov al, byte [ebp - 0x10c]
test al, al
je 0x40f076
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x40f06e
cmp byte [esi + 1], 0x22
je 0x40f062
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x40f06e
add esi, 1
jmp 0x40f06e
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x40f028
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x40ef73
mov ebx, dword [ebp - 0x114]
mov dword [0x446230], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x446240
call fcn.0040d320
mov eax, dword [0x446240]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0
mov ebx, 1
mov esi, 6
add esi, 1
sub esi, 1
movzx eax, byte [esi + 0x43bed0]
push eax
call sub.user32.dll_GetKeyState
movsx eax, ax
mov edx, ebx
and edx, eax
je 0x417fbe
movzx edx, byte [esi + 0x43bee0]
mov eax, edi
or eax, edx
mov edi, eax
mov ebx, 0x8000
test esi, esi
jg 0x417f98
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419dd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 0x10c], edx
test edi, edi
jne 0x419e24
push 0
push 0x105
lea eax, [ebp - 0x108]
push eax
push 0
call fcn.00417cb0
mov esi, eax
lea eax, [ebp - 0x108]
mov ebx, eax
mov eax, dword [ebp - 0x10c]
call fcn.00402d50
mov eax, dword [ebp - 0x10c]
mov edx, ebx
mov ecx, esi
call fcn.00408c50
jmp 0x419e7b
call fcn.00417ca0
mov ebx, eax
nop
mov eax, ebx
call fcn.00419d70
mov esi, eax
call fcn.00419d90
mov ebx, eax
sub edi, 1
test edi, edi
jge 0x419e2c
mov eax, ebx
sub eax, esi
cmp eax, 2
jl 0x419e5d
cmp byte [esi], 0x22
jne 0x419e5d
cmp byte [ebx - 1], 0x22
jne 0x419e5d
add esi, 1
sub ebx, 1
push 0
sub ebx, esi
mov eax, dword [ebp - 0x10c]
call fcn.00402d50
mov eax, dword [ebp - 0x10c]
mov edx, esi
mov ecx, ebx
call fcn.00408c50
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41bc90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
and dword [ebx + 0x24], 0xefffffff
test dl, dl
je 0x41bca8
or dword [ebx + 0x24], 0x10000000
test dl, dl
je 0x41bcb2
or byte [ebx + 0x27], 0x10
jmp 0x41bcb6
and byte [ebx + 0x27], 0xef
cmp dword [ebx + 0x1c], 0
je 0x41bcea
test dl, dl
je 0x41bcd4
mov eax, ebx
call dword [0x43be90]
push 5
push dword [ebx + 0x1c]
call sub.user32.dll_ShowWindow
jmp 0x41bcea
and byte [ebx + 0x37], 0xfe
push 0
push dword [ebx + 0x1c]
call sub.user32.dll_ShowWindow
mov eax, ebx
call dword [0x43be90]
pop ebx
leave
ret

Function at 0x41f600
Capabilities:
Check os version

Disassembly:
push ebx
cmp byte [0x43c020], 0xff
je 0x41f615
mov bl, byte [0x43c020]
jmp 0x41f68f
call sub.kernel32.dll_GetVersion
mov dl, al
mov cx, ax
and ecx, 0xffff
shr ecx, 8
and ecx, 0xff
test eax, eax
jl 0x41f65f
mov bl, 4
cmp dl, 6
jb 0x41f646
cmp cl, 1
jb 0x41f642
mov bl, 9
jmp 0x41f687
mov bl, 8
jmp 0x41f687
cmp dl, 5
jb 0x41f687
cmp cl, 1
jb 0x41f65b
mov bl, 6
cmp cl, 2
jb 0x41f687
mov bl, 7
jmp 0x41f687
mov bl, 5
jmp 0x41f687
mov bl, 1
cmp dl, 4
ja 0x41f670
cmp dl, 4
jne 0x41f680
cmp cl, 0xa
jb 0x41f680
mov bl, 2
cmp dl, 4
jne 0x41f687
cmp cl, 0x5a
jb 0x41f687
mov bl, 3
jmp 0x41f687
cmp dl, 3
ja 0x41f687
mov bl, 0
movzx eax, bl
mov byte [0x43c020], al
mov al, bl
pop ebx
ret

Function at 0x421730
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, esi
mov cx, 0
mov edx, 0x200
call fcn.00408430
push 0x200
mov eax, dword [esi]
push eax
push dword [ebx + 0xc]
call fcn.00417e20
mov edx, eax
mov eax, esi
mov cx, 0
call fcn.00408430
lea eax, [ebx + 4]
mov cx, 0
mov edx, 0x200
call fcn.00408430
push 0x200
mov eax, dword [ebx + 4]
push eax
push dword [ebx + 0xc]
call fcn.00417e00
mov edx, eax
lea eax, [ebx + 4]
mov cx, 0
call fcn.00408430
pop esi
pop ebx
leave
ret
Function at 0x424520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
je 0x424581
mov byte [ebx + 0x28], 0
push 0
push dword [ebx + 4]
call sub.kernel32.dll_TerminateProcess
push dword [ebx + 4]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0x14]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0x18]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0x1c]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 8]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0xc]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0x10]
call sub.kernel32.dll_CloseHandle
push dword [ebx + 0x24]
call sub.kernel32.dll_CloseHandle
mov dword [ebx + 4], 0
pop ebx
leave
ret

Function at 0x432ff0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040ab00
call fcn.0040c370
push eax
test eax, eax
jne 0x4330b4
mov ebx, 1
sub ebx, 1
mov esi, esi
add ebx, 1
lea eax, [ebx*4 + 0x44701c]
mov edx, 0
call fcn.00407810
mov dword [ebx*4 + 0x44703c], 0xffffffff
cmp ebx, 7
jl 0x433028
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4330b4
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cx, 0
mov edx, 0xa
call fcn.004081d0
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.0042c6a0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4330b4
push 4
push ebx
push esi
mov eax, 0x432eb0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x432f50
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040ad80
lea eax, [ebp - 0x38]
call fcn.00402d50
pop eax
test eax, eax
je 0x4330cb
call fcn.0040aeb0
pop esi
pop ebx
leave
ret
Function at 0xff8370
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 0xff838e
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 0x1021074
push ecx
mov edi, eax
call fcn.0100c198
mov esi, eax
add esp, 8
test esi, esi
jne 0xff83cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0100c02e
push esi
call fcn.0100bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xffb850
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 0xffb8ae
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 0x1026720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xffb8ba
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.0100c1e1
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 0xffb8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1026720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xffb92a
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.0100d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xffb957
mov word [eax], si
add eax, 2
push eax
call fcn.0100d030
add esp, 4
jmp 0xffb959
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 0xffb8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xffb8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xffc0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1021458
push ecx
call fcn.0100c1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0100c1e1
add esp, 0x10
jmp 0xffc0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0100c20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0100bdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ffc050
mov eax, dword [0x1026728]
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 0xffc13b
push esi
call fcn.00ffbfb0
add esp, 4
mov dword [0x1026728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xffc14c
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.00ffbff0
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 0xfff440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xfff4b7
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 0xfff48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xfff471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xfff47e
add edx, ecx
cmp ebx, edx
jb 0xfff48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xfff467
xor ecx, ecx
jmp 0xfff4a2
test eax, eax
jne 0xfff492
xor ecx, ecx
jmp 0xfff4a2
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.00fff3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xfff8f0
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 0xfff921
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 0xfff946
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 0xfff96e
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 0xfff993
push ecx
push esi
call fcn.00fff4c0
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