joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019f93
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10029080]
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.1000fb96
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.1000fb96
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 0x1001a00a
cmp word [ecx], dx
je 0x1001a00a
mov eax, dword [0x10022984]
push edi
dec eax
push eax
push 0x10022870
call fcn.10019f32
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001a07d
cmp word [eax], dx
je 0x1001a07d
mov eax, dword [edi]
test eax, eax
je 0x1001a02e
cmp word [eax], dx
je 0x1001a02e
lea eax, [ebp - 0x10]
push eax
call fcn.10019915
jmp 0x1001a037
lea eax, [ebp - 0x10]
push eax
call fcn.100199b0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001a0a7
mov eax, dword [0x1002286c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10022560
call fcn.10019f32
add esp, 0xc
test al, al
je 0x1001a0a7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001a072
cmp word [eax], di
je 0x1001a072
lea eax, [ebp - 0x10]
push eax
call fcn.10019915
pop ecx
jmp 0x1001a0a9
lea eax, [ebp - 0x10]
push eax
call fcn.100199b0
jmp 0x1001a06f
mov eax, dword [edi]
test eax, eax
je 0x1001a094
cmp word [eax], dx
je 0x1001a094
lea eax, [ebp - 0x10]
push eax
call fcn.100198ca
pop ecx
jmp 0x1001a0a7
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 0x1001a172
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10019db7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001a172
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001a172
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001a172
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001a0ff
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10014192
test ebx, ebx
je 0x1001a16d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10014192
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001a172
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 0x1001a172
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001c1e4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001a174
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007369
leave
ret
Function at 0x1001c711
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.1001c68d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001c880
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001c880
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001c835
jg 0x1001c76d
test eax, eax
je 0x1001c82b
push 1
push 0x1000
call fcn.100127d5
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001c790
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001c822
push 0x8000
push ebx
call fcn.1001c5be
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001c7b9
jg 0x1001c7b4
cmp ecx, 0x1000
jb 0x1001c7b9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100125b9
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001c7fe
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 0x1001c7b4
jl 0x1001c7e5
test ecx, ecx
jne 0x1001c7a6
push dword [ebp - 0xc]
push ebx
call fcn.1001c5be
push esi
call fcn.1000f7f2
add esp, 0xc
xor ebx, ebx
jmp 0x1001c88e
cmp byte [edi + 0x24], 0
je 0x1001c815
cmp dword [edi + 0x20], 5
jne 0x1001c815
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001c820
mov ebx, dword [edi + 0x18]
jmp 0x1001c822
xor ebx, ebx
push esi
call fcn.1000f7f2
pop ecx
jmp 0x1001c88e
test ecx, ecx
jg 0x1001c7f7
jl 0x1001c835
test eax, eax
jae 0x1001c7f7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10012a78
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001c855
cmp byte [edi + 0x1c], 0
je 0x1001c7f7
jmp 0x1001c886
push ebx
call fcn.1001a54d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001c7f7
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 0x1001c88e
cmp byte [edi + 0x1c], 0
je 0x1001c88b
mov ebx, dword [edi + 0x18]
jmp 0x1001c88e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10012a78
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001db90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001dbbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001dbbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
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
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

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 0x44e529
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa2c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x44e682
push ebx
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x4b4d38
push eax
call fcn.00422e0b
lea eax, [ebp - 0x20c]
push eax
call fcn.004223bb
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x20e], 0x5c
jne 0x44e59d
cmp word [ebp + ebx*2 - 0x210], 0x3a
je 0x44e59d
xor eax, eax
mov word [ebp + ebx*2 - 0x20e], ax
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44e5b7
cmp byte [ebp + 0x10], al
je 0x44e673
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e66a
push 0x618
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00422430
lea eax, [ebx + ebx]
mov word [ebp - 0x81a], ax
mov eax, dword [ebp - 0x81a]
add eax, 2
mov word [ebp - 0x818], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x814]
push eax
mov dword [ebp - 0x824], 0xa0000003
call fcn.004236d0
mov eax, dword [ebp - 0x81a]
add esp, 0x18
add eax, 0xc
xor edx, edx
push edx
mov word [ebp - 0x820], ax
lea ecx, [ebp + 8]
push ecx
push edx
movzx eax, ax
push edx
add eax, 8
push eax
lea eax, [ebp - 0x824]
push eax
push 0x900a4
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
test eax, eax
jne 0x44e677
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x44e680
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 0xc
Function at 0x403c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x408460]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
push ecx
push 0
mov byte [ebp - 0x13d], 0
mov dword [ebp - 0x144], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403d00
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x403cc7
push ebx
lea ecx, [ebp - 0x13c]
push ecx
push 1
push esi
call edi
add esp, 0x10
mov byte [ebp - 0x13d], 1
lea edx, [ebp - 0x148]
push edx
mov dword [ebp - 0x148], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x403cf7
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp byte [ebp - 0x13d], 0
jne 0x403d0b
push ebx
push 0
push 1
push esi
call edi
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040423b
mov esp, ebp
pop ebp
ret

Function at 0x403ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x408460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403f6e
mov ecx, dword [ebp - 0x144]
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x13c]
push eax
push 0
push ecx
mov dword [ebp - 0x148], 0x136
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x403f41
mov byte [ebp - 0x13d], 0
jmp 0x403f58
push ebx
lea edx, [ebp - 0x13c]
push edx
push 0
push esi
mov byte [ebp - 0x13d], 1
call edi
add esp, 0x10
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x13d], 0
jne 0x403f79
push ebx
push 0
push 0
push esi
call edi
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040423b
mov esp, ebp
pop ebp
ret

Function at 0x40423b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408460]
jne 0x404245
repz ret
jmp fcn.004046da

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 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 0x40e27b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409431
mov dword [ebp - 0x14], eax
cmp dword [0x8165dc], esi
jne 0x40e36e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e44e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e44e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e44e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8165dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8165e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8165e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8165ec], eax
test eax, eax
je 0x40e36b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8165e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e393
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e386
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push 4
pop eax
jmp 0x40e450
cmp dword [ebp - 0x14], esi
je 0x40e3a8
push dword [0x8165dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e38d
mov eax, dword [0x8165e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e406
cmp dword [0x8165ec], edi
je 0x40e406
push eax
call ebx
push dword [0x8165ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e406
test eax, eax
je 0x40e406
call ecx
test eax, eax
je 0x40e3fb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e3fb
test byte [ebp - 8], 1
jne 0x40e406
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e436
mov eax, dword [0x8165e0]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
call eax
mov esi, eax
test esi, esi
je 0x40e433
mov eax, dword [0x8165e4]
cmp eax, edi
je 0x40e433
push eax
call ebx
test eax, eax
je 0x40e433
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8165dc]
call ebx
test eax, eax
je 0x40e44e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e450
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404483
mov esp, ebp
pop ebp
ret
Function at 0x10002290
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
mov ebx, 4
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
lea eax, [esi + 0xd]
mov cl, byte [edx + 0xd]
mov byte [eax], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xf]
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov ch, byte [eax - 1]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dh, byte [eax + 2]
mov byte [ebp - 4], ch
mov byte [ebp - 3], cl
mov byte [ebp - 1], dl
mov byte [ebp - 2], dh
test bl, 3
jne 0x1000236d
movzx edx, cl
movzx ecx, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 3], cl
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, byte [ebp - 4]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
mov ecx, ebx
shr ecx, 2
mov ch, byte [ecx + 0x10079250]
xor ch, byte [edx + str.cw]
mov dl, byte [ebp - 1]
mov dh, byte [ebp - 2]
mov cl, byte [eax - 0xd]
inc ebx
xor cl, ch
mov byte [eax + 3], cl
mov cl, byte [eax - 0xc]
xor cl, byte [ebp - 3]
mov byte [eax + 4], cl
mov cl, byte [eax - 0xb]
xor cl, dl
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp ebx, 0x2c
jb 0x10002310
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100025b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
mov edi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
sub edi, esi
mov ebx, 4
nop dword [eax]
mov edx, 4
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x100025d5
sub ebx, 1
jne 0x100025d0
mov byte [ebp - 1], 1
nop dword [eax]
mov edi, esi
mov ebx, 4
nop word [eax + eax]
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x10002610
inc edi
sub ebx, 1
jne 0x10002600
cmp byte [ebp - 1], 0xa
movzx eax, byte [esi + 5]
mov cl, byte [esi + 1]
mov byte [esi + 1], al
movzx eax, byte [esi + 9]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [esi + 9], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 0xd], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 0xf], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xb], al
mov byte [esi + 7], cl
je 0x10002750
lea edi, [esi + 2]
lea esi, [edx + 4]
nop word [eax + eax]
mov bh, byte [edi + 1]
lea edi, [edi + 4]
mov al, byte [edi - 6]
mov bl, bh
mov ch, byte [edi - 4]
mov cl, al
mov dl, byte [edi - 5]
xor bl, ch
mov byte [ebp - 2], al
xor cl, dl
mov dh, bl
xor dh, al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
xor dh, dl
imul eax, eax, 0x1b
xor al, cl
mov cl, dl
xor al, byte [ebp - 2]
xor cl, ch
xor al, dh
mov byte [edi - 6], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
mov cl, byte [ebp - 2]
xor al, dl
xor cl, bh
xor al, dh
mov byte [edi - 5], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
xor al, ch
xor al, dh
mov byte [edi - 4], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
xor al, bh
xor al, dh
mov byte [edi - 3], al
sub esi, 1
jne 0x10002690
mov ch, byte [ebp - 1]
mov ebx, 4
mov esi, dword [ebp - 0xc]
mov eax, esi
movzx edx, ch
shl edx, 4
add edx, dword [ebp - 8]
mov edi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x10002736
sub ebx, 1
jne 0x10002731
inc ch
mov byte [ebp - 1], ch
jmp 0x100025f0
mov ecx, dword [ebp - 8]
mov edi, 4
add ecx, 0xa0
nop
mov edx, 4
mov al, byte [ecx]
inc ecx
xor byte [esi], al
inc esi
sub edx, 1
jne 0x10002765
sub edi, 1
jne 0x10002760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002780
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], eax
mov esi, ebx
lea edi, [eax + 0xa0]
mov edx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edi]
inc edi
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x100027a5
sub edx, 1
jne 0x100027a0
mov byte [ebp - 1], 9
nop dword [eax]
movzx eax, byte [ebx + 9]
mov esi, ebx
mov cl, byte [ebx + 0xd]
mov edi, 4
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 1]
mov byte [ebx + 5], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 1], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 6], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xe], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xb], al
mov byte [ebx + 0xf], cl
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x10079150]
mov byte [ecx - 4], al
sub edx, 1
jne 0x10002830
inc esi
sub edi, 1
jne 0x10002820
mov ch, byte [ebp - 1]
mov eax, ebx
movzx edx, ch
mov edi, 4
shl edx, 4
add edx, dword [ebp - 8]
nop dword [eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x10002865
sub edi, 1
jne 0x10002860
test ch, ch
je 0x10002888
mov ecx, ebx
call fcn.100023b0
dec byte [ebp - 1]
jmp 0x100027c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006370
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10086014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 8]
push edi
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x10006438
push esi
mov esi, 1
cmp dword [ebp - 8], esi
jle 0x10006430
push ebx
mov ebx, esi
push str._showLSX
push dword [edi + esi*4]
call fcn.10048d80
add esp, 8
test eax, eax
jne 0x100063cf
mov byte [0x10089498], bl
jmp 0x10006429
push str._hideVersion
push dword [edi + esi*4]
call fcn.10048d80
add esp, 8
test eax, eax
jne 0x100063eb
mov byte [0x10089499], bl
jmp 0x10006429
push str._showConsole
push dword [edi + esi*4]
call fcn.10048d80
add esp, 8
test eax, eax
jne 0x10006407
mov byte [0x1008949a], bl
jmp 0x10006429
push str._noConsole
push dword [edi + esi*4]
call fcn.10048d80
movzx ecx, byte [0x1008949b]
add esp, 8
test eax, eax
cmove ecx, ebx
mov byte [0x1008949b], cl
inc esi
cmp esi, dword [ebp - 8]
jl 0x100063b3
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov edx, dword [ebp + 0x1c]
pop edi
cmp edx, 8
jb 0x1000646f
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006465
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000647d
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c310
mov esp, ebp
pop ebp
ret
call fcn.100475cc
int3
Function at 0x1000ae30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100695f6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10086014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.1000e250
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
add esi, 0x18
mov dword [ebp + 8], edi
push esi
mov ecx, edi
call fcn.1000e250
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
call fcn.1000e250
add edi, 0x30
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x30]
push 0x70
mov dword [ebp - 0x14], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1003c34f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x3c]
push dword [edi + 4]
sar eax, 2
push eax
call fcn.10010920
mov eax, dword [esi + 0x34]
mov ecx, edi
push eax
push dword [eax]
call fcn.100156b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4