joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f5d6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10049e88]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001f61c
cmp word [ebx], dx
jne 0x1001f61c
or byte [eax + edi + 0x28], 4
jmp 0x1001f621
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1001f784
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1001f764
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1001f662
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1001f698
cmp eax, edx
jae 0x1001f6a6
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1001f63d
jmp 0x1001f784
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001f75f
cmp dword [ebp - 0x18], 0
je 0x1001f75f
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10049e88]
test byte [eax + edi + 0x28], 0x48
je 0x1001f735
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1001f6f9
mov word [esi], cx
jmp 0x1001f730
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10049e88]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10049e88]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10049e88]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1001f784
pop eax
cmp word [ebp - 4], ax
jne 0x1001f745
cmp esi, ebx
jne 0x1001f745
mov word [esi], ax
jmp 0x1001f781
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1002000f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1001f784
push 0xd
pop eax
jmp 0x1001f740
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10049e88]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1001f77e
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1001f784
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10022269
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10022306
push ebx
push esi
call fcn.10022232
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002102e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100222b3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10022305
push edi
push eax
call fcn.1001d2ee
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100222d3
call fcn.1001b9fb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10022304
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002102e
add esp, 0x20
test eax, eax
jne 0x100222f2
push edi
call fcn.1001b9fb
jmp 0x100222fa
push ebx
call fcn.1001b9fb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100255ff
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100199c7
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002566e
cmp esi, dword [ebp - 4]
je 0x10025669
cmp dword [ebp + 0xc], 0
je 0x10025669
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10025646
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10025151
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10025670
xor eax, eax
inc eax
jmp 0x10025670
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100256d5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10038080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100199c7
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100199c7
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1002574c
cmp word [ecx], dx
je 0x1002574c
mov eax, dword [0x10030794]
push edi
dec eax
push eax
push 0x10030680
call fcn.10025674
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100257bf
cmp word [eax], dx
je 0x100257bf
mov eax, dword [edi]
test eax, eax
je 0x10025770
cmp word [eax], dx
je 0x10025770
lea eax, [ebp - 0x10]
push eax
call fcn.10025057
jmp 0x10025779
lea eax, [ebp - 0x10]
push eax
call fcn.100250f2
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100257e9
mov eax, dword [0x1003067c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10030370
call fcn.10025674
add esp, 0xc
test al, al
je 0x100257e9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100257b4
cmp word [eax], di
je 0x100257b4
lea eax, [ebp - 0x10]
push eax
call fcn.10025057
pop ecx
jmp 0x100257eb
lea eax, [ebp - 0x10]
push eax
call fcn.100250f2
jmp 0x100257b1
mov eax, dword [edi]
test eax, eax
je 0x100257d6
cmp word [eax], dx
je 0x100257d6
lea eax, [ebp - 0x10]
push eax
call fcn.1002500c
pop ecx
jmp 0x100257e9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100258b4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100254f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100258b4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100258b4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100258b4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10025841
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001c051
test ebx, ebx
je 0x100258af
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001c051
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100258b4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100258b4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1002874c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100258b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c80f
leave
ret
Function at 0x10028481
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100283fd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100285f0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100285f0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100285a5
jg 0x100284dd
test eax, eax
je 0x1002859b
push 1
push 0x1000
call fcn.1001b569
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10028500
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10028592
push 0x8000
push ebx
call fcn.1002832e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10028529
jg 0x10028524
cmp ecx, 0x1000
jb 0x10028529
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001cd07
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002856e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10028524
jl 0x10028555
test ecx, ecx
jne 0x10028516
push dword [ebp - 0xc]
push ebx
call fcn.1002832e
push esi
call fcn.1001b9fb
add esp, 0xc
xor ebx, ebx
jmp 0x100285fe
cmp byte [edi + 0x24], 0
je 0x10028585
cmp dword [edi + 0x20], 5
jne 0x10028585
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10028590
mov ebx, dword [edi + 0x18]
jmp 0x10028592
xor ebx, ebx
push esi
call fcn.1001b9fb
pop ecx
jmp 0x100285fe
test ecx, ecx
jg 0x10028567
jl 0x100285a5
test eax, eax
jae 0x10028567
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1002000f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100285c5
cmp byte [edi + 0x1c], 0
je 0x10028567
jmp 0x100285f6
push ebx
call fcn.1002349e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10028567
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100285fe
cmp byte [edi + 0x1c], 0
je 0x100285fb
mov ebx, dword [edi + 0x18]
jmp 0x100285fe
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1002000f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002a3a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a3cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a3cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40152e
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x124]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x124], 0x14
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x120]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x40158a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.0040152e
mov dword [esp], 0x401664
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x4020c6
sub eax, 0x401664
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x40162d
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.0040144c
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004014ad
lea eax, [ebx + 0x1b600]
mov cl, bl
mov edx, 0x40300c
shl eax, cl
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, edx
or eax, 1
imul ebx, eax
sub edx, ebx
mov dword [esp], edx
call fcn.00401dc9
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret

Function at 0x408941
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408962
inc esi
sub esp, 4
mov dword [esp], edi
pop esi
xor dword [ecx], edx
add edi, esi
mov esi, 0xae1510c
inc ecx
cmp ecx, eax
jne fcn.00408941
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov dword [0x40d02d], esp
push ebp
mov eax, 0x40a2f8
mov esi, eax
mov edx, ecx
call fcn.004035e7
in al, 0xca
cmp dword [ebp - 0x38], edx
and byte [eax], cl
add ebx, ebp
adc al, 0x7e
fmul dword [edi]
pop esi
call 0x247e0715
invalid
Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

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

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x100060a4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x100224d0
push str.FlsAlloc
push 0
call fcn.10006024
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100060d6
push dword [ebp + 8]
mov ecx, esi
call fcn.100054a3
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x10006118
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x100224f4
push str.FlsGetValue
push 2
call fcn.10006024
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x10006149
mov ecx, esi
call fcn.100054a3
call esi
jmp 0x1000614f
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x10006152
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x10022508
push str.FlsSetValue
push 3
call fcn.10006024
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x10006186
mov ecx, esi
call fcn.100054a3
call esi
jmp 0x1000618c
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0xee4000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xee400a
jmp 0xee600f
jmp fcn.00a96160
Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.00408985
push edx
pop ecx
add edx, edx
xor dword [edi], ebx
inc edi
mov ecx, 0x22514647
and edx, ecx
cmp edi, eax
jne fcn.00408956
ret
Function at 0x42f350
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d6c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c8b39
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f3d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c6070
mov eax, dword [eax]
push 0x509d1c
push eax
call fcn.004b7494
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c8dc4
test bl, bl
je 0x42f3d2
push 0x509d1c
lea ecx, [esp + 0xc]
call fcn.004c91a0
push 0x509d28
lea ecx, [esp + 0xc]
call fcn.004c91a0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42f40e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c8dc4
jmp 0x42f4d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42f492
lea edx, [esp + 0x7c]
push 0x509d24
push edx
call fcn.004b7494
add esp, 8
test eax, eax
je 0x42f492
lea eax, [esp + 0x7c]
push 0x509d20
push eax
call fcn.004b7494
add esp, 8
test eax, eax
je 0x42f492
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f422
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c8dc4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42fd00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42fd62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc