joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa18000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xa18131
push esi
call fcn.00a1b145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00a0a080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xa18131
push 0
push ebp
call fcn.00a0a3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00a0a260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xa1808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00a0a2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xa18121
push str.CompanyName
push edi
call fcn.00a193f0
push eax
push ebx
push esi
call fcn.00a17f60
push str.FileDescription
push edi
call fcn.00a193f0
push eax
push ebx
push esi
call fcn.00a17f60
push str.LegalCopyright
push edi
call fcn.00a193f0
push eax
push ebx
push esi
call fcn.00a17f60
push str.ProductName
push edi
call fcn.00a193f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00a17f60
push str.ProductVersion
push edi
call fcn.00a193f0
push eax
push ebx
push esi
call fcn.00a17f60
push str.FileVersion
push edi
call fcn.00a193f0
push eax
push ebx
push esi
call fcn.00a17f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xa191b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a19140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a19140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a19140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a19140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa19bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa19c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa2b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa19c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa19c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x5d8ad6
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x5d87dc
add ebx, 1
call fcn.005d8b14
add eax, eax
dec ebx
sub ebx, 0x47c1d28a
xor dword [esi], ecx
add ebx, 0x557e50b7
dec ebx
add esi, 2
mov ebx, eax
cmp esi, edx
jl fcn.005d8ad6
inc eax
sub ebx, 0x19c21079
and ebx, eax
ret
Function at 0x478460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
jmp 0x47847a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x478481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x478470
mov eax, 1
add ebx, ebx
jne 0x478493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4784a4
jne 0x4784c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4784c3
dec eax
add ebx, ebx
jne 0x4784b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x478488
add ebx, ebx
jne 0x4784bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x478515
xor ecx, ecx
sub eax, 3
jb 0x4784db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47854a
sar eax, 1
mov ebp, eax
jmp 0x4784e6
add ebx, ebx
jne 0x4784e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4784b4
inc ecx
add ebx, ebx
jne 0x4784f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4784b4
add ebx, ebx
jne 0x478501
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4784f6
jne 0x478512
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4784f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x478534
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x478526
jmp 0x478476
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x478534
add edi, ecx
jmp 0x478476
pop esi
mov edi, esi
mov ecx, 0xb31
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x478552
cmp byte [edi], 9
jne 0x478552
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 0x478557
lea edi, [esi + 0x75000]
mov eax, dword [edi]
or eax, eax
je 0x4785c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x78304]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x78398]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x478584
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x783a0]
or eax, eax
je 0x4785c0
mov dword [ebx], eax
add ebx, 4
jmp 0x4785a1
call dword [esi + 0x7839c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4785f7
cmp al, 0xef
ja 0x4785ea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4785cc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4785d9
mov ebp, dword [esi + 0x783a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x47862b
sub esp, 0xffffff80
jmp 0x4106b2
Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004010c0
add esp, 0xc
mov dword [esp + 0x10], 0x44
lea eax, [esp]
xorps xmm0, xmm0
movups xmmword [esp], xmm0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str..winMediaViewer.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
add esp, 0x54
ret

Function at 0x4010a0
Capabilities:
Terminate process

Disassembly:
push 0
push 0
call fcn.00401050
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40037c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ecx
push ebx
push edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [0x4002ba], eax
mov edx, 0x400325
mov ebx, eax
mov esi, dword [ebx + 0x3c]
mov esi, dword [ebx + esi + 0x78]
add esi, ebx
mov edi, dword [esi + 0x20]
add edi, ebx
mov ecx, dword [esi + 0x14]
xor ebp, ebp
push esi
push edi
push ecx
mov edi, dword [edi]
add edi, ebx
mov esi, edx
push 0xe
pop ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x4003c8
pop ecx
pop edi
add edi, 4
inc ebp
loop 0x4003b1
pop ecx
pop edi
pop esi
mov ecx, ebp
mov eax, dword [esi + 0x24]
add eax, ebx
shl ecx, 1
add eax, ecx
xor ecx, ecx
mov cx, word [eax]
mov eax, dword [esi + 0x1c]
add eax, ebx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, ebx
mov dword [0x400334], eax
push 0x400312
push dword [0x4002ba]
call fcn.0040058e
mov dword [0x400321], eax
push 0
push 0
push 0x400237
call eax
mov dword [0x400242], eax
mov ebx, eax
push 0x400246
push ebx
call fcn.0040058e
mov dword [0x40024d], eax
push 0x400266
push ebx
call fcn.0040058e
mov dword [0x40026b], eax
push 0x400251
push ebx
call fcn.0040058e
mov dword [0x400259], eax
push 0x40025d
push ebx
call fcn.0040058e
mov dword [0x400262], eax
push 0x40026f
push ebx
call fcn.0040058e
mov dword [0x40027b], eax
push 0x40027f
push ebx
call fcn.0040058e
mov dword [0x400288], eax
push 0x40028c
push ebx
call fcn.0040058e
mov dword [0x40029a], eax
push 0x40029e
push ebx
call fcn.0040058e
mov dword [0x4002a9], eax
push 0
push 0
push 0x4002ad
call fcn.00400588
mov dword [0x4002ba], eax
mov ebx, eax
mov ebx, dword [0x4002ba]
push 0x4002be
push ebx
call fcn.0040058e
mov dword [reloc.kernel32.dll_ExitProcess], eax
push 0x4002ce
push ebx
call fcn.0040058e
mov dword [reloc.kernel32.dll_VirtualAlloc], eax
push 0x4002df
push ebx
call fcn.0040058e
mov dword [0x4002eb], eax
push 0x4002ff
push ebx
call fcn.0040058e
mov dword [0x40030e], eax
push 0x4002ef
push ebx
call fcn.0040058e
mov dword [0x4002fb], eax
push 0x400349
push ebx
call fcn.0040058e
mov dword [0x40035a], eax
push 0x400338
push ebx
call fcn.0040058e
mov dword [0x400345], eax
push 0x40035e
push ebx
call fcn.0040058e
mov dword [0x400368], eax
push 0x40036c
push ebx
call fcn.0040058e
mov dword [0x400378], eax
pop edx
pop ebx
pop ecx
pop edi
pop esi
ret

Function at 0x400726
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00400741
xor byte [edx], al
inc edx
loop 0x400731
pop ecx
pop edx
leave
ret 8

Function at 0x400947
Capabilities:
Encode data using xor

Disassembly:
call fcn.0040037c
call fcn.0040089c
call fcn.004005d3
call fcn.004005ff
push 0
call fcn.00400576
mov edx, 0x400205
mov ecx, 0x6bb
call fcn.0040092d
xor byte [edx], al
inc edx
loop 0x400951
jmp 0x4005b8
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401bd7
pop dword [ebp - 0x4c]
mov eax, 0x979405f7
add eax, 0x68ac15e0
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc89cb8d8
sub dword [ebp - 0x5c], 0x7a4a738d
mov dword [ebp - 0x58], 0x732baceb
sub dword [ebp - 0x58], 0x40f860a6
mov dword [ebp - 0x54], 0xb4a731c0
add dword [ebp - 0x54], 0x97a5126e
mov dword [ebp - 0x50], 0x4d6db36b
add dword [ebp - 0x50], 0xb2924c95
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x8cadefb
add eax, 0xf7759165
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xfc7b3ff0
add dword [ebp - 0x5c], 0x77f72966
mov dword [ebp - 0x58], 0x938a36e8
sub dword [ebp - 0x58], 0x521dd573
mov dword [ebp - 0x54], 0x9aa62dac
add dword [ebp - 0x54], 0xc8c93ec0
mov dword [ebp - 0x50], 0x5b3b529d
add dword [ebp - 0x50], 0xa4c4ad63
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x39cfdad1
sub eax, 0x398f69d1
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3752b
push 0
call eax
mov ecx, 0xcbee6e04
sub ecx, 0xcbee2306
mov ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x4c]
mov edi, 0x76deb4a8
xor dword [ebp - 0x18], 0xc8f811f
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 0x34], edi
mov dword [ebx], esi
add dword [ebp - 0x1c], ebx
add ebx, 4
add edx, 0xee762911
sub edx, 0xee76290d
loop 0x401ced
add eax, 0x11ecb
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x2b0c1b92
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x74e37fdc
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001bc7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
movaps xmm0, xmmword [0x10016c20]
mov edx, 0x5069e158
mov dword [ebp - 0x20], edx
mov eax, esi
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], esi
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 4], 0x664c6324
xor dword [ebp + eax*4 - 0x14], edx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x10001c11
mov edx, dword [ebp - 0x20]
jmp 0x10001c02
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x60d3c2c9
mov ecx, dword [edi + eax]
mov eax, 0x60d3c2b1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0x664c6324
xor dword [ebp + esi*4 - 8], eax
inc esi
cmp esi, dword [ebp - 0x10]
jae 0x10001c4a
mov eax, dword [ebp - 0x14]
jmp 0x10001c3b
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 8]
add eax, ecx
mov eax, dword [eax + edi]
pop edi
pop esi
leave
ret
Function at 0x10002ac2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, ecx
push ebx
push ebp
push esi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, esi
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], esi
call fcn.10001bc7
xor ecx, ecx
mov dword [esp + 0x38], 3
mov edx, 0x713da40a
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
lea ebx, [esi + eax]
mov dword [esp + 0x40], 0x713da42a
mov dword [esp + 0x1c], ebx
mov eax, ecx
mov dword [esp + 0x44], 0x76b6447d
mov dword [esp + 0x48], 0x7c2ee4f0
xor dword [esp + eax*4 + 0x40], edx
inc eax
cmp eax, dword [esp + 0x38]
jae 0x10002b2d
mov edx, dword [esp + 0x34]
jmp 0x10002b1c
mov eax, dword [esp + 0x3c]
mov edx, 0x41a78562
movaps xmm0, xmmword [0x10016c10]
mov eax, dword [esp + eax*4 + 0x40]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], ecx
mov ebp, dword [eax + ebx]
mov eax, ecx
add ebp, esi
mov dword [esp + 0x24], ebp
movups xmmword [esp + 0x40], xmm0
xor dword [esp + eax*4 + 0x40], edx
inc eax
cmp eax, dword [esp + 0x38]
jae 0x10002b72
mov edx, dword [esp + 0x34]
jmp 0x10002b61
mov eax, dword [esp + 0x3c]
mov edx, 0x521166bb
movaps xmm0, xmmword [0x10016c30]
mov eax, dword [esp + eax*4 + 0x40]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + ebx]
add eax, esi
mov dword [esp + 0x50], 0x67f3e887
mov dword [esp + 0x2c], eax
mov eax, ecx
movups xmmword [esp + 0x40], xmm0
xor dword [esp + eax*4 + 0x40], edx
inc eax
cmp eax, dword [esp + 0x38]
jae 0x10002bbf
mov edx, dword [esp + 0x34]
jmp 0x10002bae
mov eax, dword [esp + 0x3c]
mov edx, ecx
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [eax + ebx]
add eax, esi
mov dword [esp + 0x28], eax
mov edi, 0x627b4814
mov dword [esp + 0x38], 2
mov dword [esp + 0x34], edi
mov eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x627b480c
mov dword [esp + 0x44], 0x67f3e887
xor dword [esp + eax*4 + 0x40], edi
inc eax
cmp eax, dword [esp + 0x38]
jae 0x10002c0a
mov edi, dword [esp + 0x34]
jmp 0x10002bf9
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + eax*4 + 0x40]
cmp edx, dword [ebx + eax]
jae 0x10002c8c
mov ebp, dword [ebp + edx*4]
add ebp, esi
mov edi, ebp
lea eax, [edi + 1]
mov dword [esp + 0x14], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x10002c26
sub edi, dword [esp + 0x14]
push 0x1d
lea eax, [edi + 1]
mov edi, ecx
mov dword [esp + 0x18], eax
pop eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ecx
jbe 0x10002c6b
mov ebx, dword [esp + 0x14]
mov esi, eax
movsx eax, byte [edi + ebp]
xor eax, esi
imul esi, eax, 5
inc edi
cmp edi, ebx
jb 0x10002c4d
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x20]
je 0x10002c7b
mov ebp, dword [esp + 0x24]
inc edx
jmp 0x10002bd2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movzx eax, word [eax + edx*2]
mov ecx, dword [ecx + eax*4]
add ecx, esi
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x44
jmp ecx
Function at 0x10002c9b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, ecx
push ebx
push ebp
push esi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
call fcn.10001bc7
xor ebp, ebp
mov dword [esp + 0x30], 3
mov ecx, 0x713da40a
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ecx
lea edi, [esi + eax]
mov dword [esp + 0x38], 0x713da42a
mov dword [esp + 0x3c], 0x76b6447d
mov eax, ebp
mov dword [esp + 0x40], 0x7c2ee4f0
xor dword [esp + eax*4 + 0x38], ecx
inc eax
cmp eax, dword [esp + 0x30]
jae 0x10002d02
mov ecx, dword [esp + 0x2c]
jmp 0x10002cf1
mov eax, dword [esp + 0x34]
mov ecx, 0x41a78562
movaps xmm0, xmmword [0x10016c10]
mov eax, dword [esp + eax*4 + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], ebp
mov ebx, dword [eax + edi]
mov eax, ebp
add ebx, esi
mov dword [esp + 0x1c], ebx
movups xmmword [esp + 0x38], xmm0
xor dword [esp + eax*4 + 0x38], ecx
inc eax
cmp eax, dword [esp + 0x30]
jae 0x10002d47
mov ecx, dword [esp + 0x2c]
jmp 0x10002d36
mov eax, dword [esp + 0x34]
mov ecx, 0x521166bb
movaps xmm0, xmmword [0x10016c30]
mov eax, dword [esp + eax*4 + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], ebp
mov eax, dword [eax + edi]
add eax, esi
mov dword [esp + 0x48], 0x67f3e887
mov dword [esp + 0x24], eax
mov eax, ebp
movups xmmword [esp + 0x38], xmm0
xor dword [esp + eax*4 + 0x38], ecx
inc eax
cmp eax, dword [esp + 0x30]
jae 0x10002d94
mov ecx, dword [esp + 0x2c]
jmp 0x10002d83
mov eax, dword [esp + 0x34]
mov ecx, ebp
mov eax, dword [esp + eax*4 + 0x38]
mov eax, dword [eax + edi]
add eax, esi
mov dword [esp + 0x20], eax
mov edx, 0x627b4814
mov dword [esp + 0x30], 2
mov dword [esp + 0x2c], edx
mov eax, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x627b480c
mov dword [esp + 0x3c], 0x67f3e887
xor dword [esp + eax*4 + 0x38], edx
inc eax
cmp eax, dword [esp + 0x30]
jae 0x10002ddf
mov edx, dword [esp + 0x2c]
jmp 0x10002dce
mov eax, dword [esp + 0x34]
mov eax, dword [esp + eax*4 + 0x38]
cmp ecx, dword [edi + eax]
jae 0x10002e4a
mov ebx, dword [ebx + ecx*4]
add ebx, esi
mov edx, ebx
lea ebp, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10002df6
sub edx, ebp
push 0x1d
pop ebp
lea eax, [edx + 1]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x10002e23
mov esi, eax
movsx eax, byte [edx + ebx]
xor eax, ebp
imul ebp, eax, 5
inc edx
cmp edx, esi
jb 0x10002e11
mov esi, dword [esp + 0x14]
cmp ebp, dword [esp + 0x18]
je 0x10002e35
mov ebx, dword [esp + 0x1c]
inc ecx
xor ebp, ebp
jmp 0x10002da7
mov eax, dword [esp + 0x20]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*4]
add eax, esi
xor ebp, ebp
jmp 0x10002e4c
mov eax, ebp
mov ecx, dword [esp + 0x28]
push ebp
push ebp
push dword [esp + 0x60]
mov dword [ecx], eax
push dword [esp + 0x60]
push ebp
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x14
Function at 0x1000358e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1000356a
pop esi
leave
ret 8

Function at 0x10003a19
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
push 0x105
call fcn.100035de
mov edi, eax
test edi, edi
jne 0x10003a40
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, esi
jmp 0x10003a89
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x10003a84
test al, 0x10
je 0x10003a84
test eax, 0x400
je 0x10003a80
push 0x2000000
push 0x80
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.10003a8f
push dword [ebp - 4]
mov esi, eax
call fcn.1000361a
test esi, esi
jne 0x10003a84
xor edx, edx
jmp 0x10003a86
mov edx, ebx
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x10007671
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100076b0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100076b0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100076b0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100076b0
cmp dword [ecx + 0x74], 0xe
jbe 0x100076b0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret