joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100065ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.dll
mov byte [ebp - 1], 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.OpenProcessToken
push ebx
call esi
push str.AdjustTokenPrivileges
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.LookupPrivilegeValueA
push ebx
mov dword [ebp - 0x18], eax
call esi
push str.kernel32.dll
mov dword [ebp - 0x14], eax
call edi
push str.GetCurrentProcess
push eax
mov dword [ebp - 0xc], eax
call esi
lea ecx, [ebp - 8]
push ecx
push 0x28
call eax
push eax
call dword [ebp - 0x10]
test eax, eax
je 0x1000667f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 1
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push 0
call dword [ebp - 0x14]
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push eax
push 0x10
push ecx
push eax
push dword [ebp - 8]
call dword [ebp - 0x18]
push str.KERNEL32.dll
call edi
push str.GetLastError
push eax
call esi
call eax
test eax, eax
je 0x1000665a
and byte [ebp - 1], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10006670
push ebx
call esi
cmp dword [ebp - 0xc], 0
je 0x1000667b
push dword [ebp - 0xc]
call esi
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100069d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100072b0
push 0x10006cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x38], edi
push str.RegCreateKeyExA
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x2c], eax
push str.RegSetValueExA
push edi
call esi
mov dword [ebp - 0x34], eax
push str.RegDeleteKeyA
push edi
call esi
mov dword [ebp - 0x1c], eax
push str.RegDeleteValueA
push edi
call esi
mov dword [ebp - 0x40], eax
push str.RegOpenKeyExA
push edi
call esi
mov dword [ebp - 0x28], eax
push str.RegCloseKey
push edi
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
sub eax, ebx
je 0x10006abe
dec eax
je 0x10006adc
dec eax
je 0x10006a98
dec eax
jne 0x10006b39
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10006b39
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x40]
jmp 0x10006b2e
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10006b39
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x1c]
jmp 0x10006b2e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x2c]
test eax, eax
jne 0x10006b39
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10006b39
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jbe 0x10006b39
cmp esi, 2
jbe 0x10006b15
cmp esi, 4
je 0x10006b0b
cmp esi, 7
je 0x10006b15
jmp 0x10006b39
push 4
lea eax, [ebp + 0x1c]
push eax
push 4
jmp 0x10006b24
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x18]
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x34]
test eax, eax
jne 0x10006b39
mov dword [ebp - 0x20], 1
or dword [ebp - 4], 0xffffffff
call fcn.10006b64
cmp edi, ebx
je 0x10006b4d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006b71
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10006b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10006b8e
xor eax, eax
ret
push 1
pop eax
ret
Function at 0x10016f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10016fab
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10016f8c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10016fa9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10019832
mov dword [eax], 0xfffffffd
jmp 0x10016f81
jmp 0x10016fc3
push 0
push 0x92c
push 0
push 0
push 0x1c43
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x100170a8
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100170be
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10017109
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100170ec
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10017109
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10019832
mov dword [eax], 1
jmp 0x100170e1
mov esp, ebp
pop ebp
ret

Function at 0x10017186
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100171b6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100171b4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10017201
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100171e4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10017201
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10019832
mov dword [eax], 0x79815c87
jmp 0x100171d9
mov esp, ebp
pop ebp
ret
Function at 0x1001fab5
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001fc09
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x1001fb19
mov dword [ebp - 8], 1
jmp 0x1001fb1d
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0x7d66
jge 0x1001fb2f
mov dword [ebp - 0xc], 1
jmp 0x1001fb33
and dword [ebp - 0xc], 0
mov esi, dword [ebp - 0xc]
neg esi
push 1
mov ecx, dword [ebp - 4]
call fcn.10019832
add esi, dword [eax]
cmp esi, 0xb41c
jge 0x1001fb55
mov dword [ebp - 0x14], 1
jmp 0x1001fb59
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jne 0x1001fb6c
mov dword [ebp - 0x18], 1
jmp 0x1001fb70
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jl 0x1001fb83
mov dword [ebp - 0x1c], 1
jmp 0x1001fb87
and dword [ebp - 0x1c], 0
imul esi, dword [ebp - 0x1c], 0xfffffff7
push 0
mov ecx, dword [ebp - 4]
call fcn.10019832
sub esi, dword [eax]
cmp esi, 0xe86d
jg 0x1001fba8
mov dword [ebp - 0x20], 1
jmp 0x1001fbac
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10019832
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x1001fbc6
mov dword [ebp - 0x24], 1
jmp 0x1001fbca
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jl 0x1001fbdd
mov dword [ebp - 0x28], 1
jmp 0x1001fbe1
and dword [ebp - 0x28], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10019832
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jne 0x1001fbfb
mov dword [ebp - 0x30], 1
jmp 0x1001fbff
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1001fc0f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100203b2
Capabilities:
Create thread
Set environment variable

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100203c9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x100203e1
push 0
push 0x92c
push 0
push 0
push 0x1c43
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1002bb45
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002bb6a
push 0
push 0x92c
push 0
push 0
push 0x1c43
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1002bb84
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
pop ebp
ret

Function at 0x10030483
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003049c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x100305cf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10019832
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10030502
push 0
mov ecx, dword [ebp - 8]
call fcn.10019832
cmp dword [eax], 0
je 0x10030502
mov dword [ebp - 0x10], 1
jmp 0x10030506
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10019832
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jl 0x10030520
mov dword [ebp - 0xc], 1
jmp 0x10030524
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx]
jle 0x10030544
mov dword [ebp - 0x14], 1
jmp 0x10030548
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfffffff9
jge 0x10030557
mov dword [ebp - 0x18], 1
jmp 0x1003055b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
je 0x10030576
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10030576
mov dword [ebp - 0x1c], 1
jmp 0x1003057a
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10019832
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x1c]
add edx, 0x4adf
sub ecx, edx
imul ecx, dword [eax]
test ecx, ecx
jne 0x100305a9
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x100305a9
and dword [ebp - 0x20], 0
jmp 0x100305b0
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x100305c3
mov dword [ebp - 0x24], 1
jmp 0x100305c7
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003071e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030738
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10030783
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10030766
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10030783
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10019832
mov dword [eax], 1
jmp 0x1003075b
mov esp, ebp
pop ebp
ret

Function at 0x10033f7c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033fa0
xor eax, eax
jmp 0x1003410a
lea eax, [ebp - 0x10]
push eax
push 1
push 0x34ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.100317a3
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033fcd
xor eax, eax
jmp 0x1003410a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x2562
push 1
push 0x38a1
call fcn.10031804
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10033ff6
xor eax, eax
jmp 0x1003410a
push 0x7f41
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1621
push 1
lea eax, [ebp - 4]
push eax
push 0x1d2
push 0x47eb
lea eax, [ebp - 8]
push eax
call fcn.10032130
add esp, 0x28
push 0
push dword [ebp + 8]
push 0x204d
push dword [ebp - 8]
push 0x6dca
push dword [ebp - 4]
call fcn.1002a9cf
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x1ea8
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.100322a0
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x10034080
push 0x213
push 0x466d
push dword [ebp - 0x14]
push 0
push dword [ebp - 4]
call fcn.10031804
add esp, 0x14
push dword [ebp - 4]
call fcn.1003140f
pop ecx
test eax, eax
jne 0x10034091
xor eax, eax
jmp 0x1003410a
push 0x1bd7
push 0x2c98
push dword [ebp - 4]
push 0
push 0x198
call fcn.100322a0
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100340f2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100340cc
xor eax, eax
jmp 0x1003410a
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100340e5
xor eax, eax
jmp 0x1003410a
push 1
lea eax, [ebp - 4]
push eax
call fcn.10033e49
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10034103
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10034107
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004bf57
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004bfa2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
shl eax, 2
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [eax + 0x20], ecx
jmp 0x1004bfb4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004bfb4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esp, ebp
pop ebp
ret
Function at 0x10087570
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009238c]
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.1007849a
mov dword [ebp - 0x14], eax
cmp dword [0x1067fd94], esi
jne 0x10087663
push 0x800
push esi
push 0x10007efc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100875f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10087743
push esi
push esi
push 0x10007efc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10087743
push 0x10007f14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10087743
push eax
call ebx
push 0x10007f20
push edi
mov dword [0x1067fd94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f30
push edi
mov dword [0x1067fd98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f44
push edi
mov dword [0x1067fd9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fda4], eax
test eax, eax
je 0x10087660
push 0x10007f60
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fda0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10087688
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008767b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008769d
push 4
pop eax
jmp 0x10087745
cmp dword [ebp - 0x14], esi
je 0x1008769d
push dword [0x1067fd94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10087682
mov eax, dword [0x1067fda0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100876fb
cmp dword [0x1067fda4], edi
je 0x100876fb
push eax
call ebx
push dword [0x1067fda4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100876fb
test eax, eax
je 0x100876fb
call ecx
test eax, eax
je 0x100876f0
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 0x100876f0
test byte [ebp - 8], 1
jne 0x100876fb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1008772b
mov eax, dword [0x1067fd98]
cmp eax, edi
je 0x10087728
push eax
call ebx
test eax, eax
je 0x10087728
call eax
mov esi, eax
test esi, esi
je 0x10087728
mov eax, dword [0x1067fd9c]
cmp eax, edi
je 0x10087728
push eax
call ebx
test eax, eax
je 0x10087728
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067fd94]
call ebx
test eax, eax
je 0x10087743
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10087745
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100730ac
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1001df50
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x100e3008]
xor eax, esp
mov dword [esp + 0x144], eax
cmp dword [ecx + 0x14], 8
push ebx
push esi
jb 0x1001df74
mov ecx, dword [ecx]
sub esp, 0x14
call fcn.10087250
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
jne 0x1001df9c
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x40
lea eax, [esp + 0x1c]
xor bl, bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], 0x40
jne 0x1001e017
mov eax, 0x5a4d
cmp word [esp + 0x10], ax
jne 0x1001e017
push 0
push 0
push dword [esp + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1001e017
push 0
lea eax, [esp + 0x10]
push eax
push 0xf8
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], 0xf8
jne 0x1001e017
cmp dword [esp + 0x50], 0x4550
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14c]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret