joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e070
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call fcn.10002b80
mov byte [0x10029220], 1
mov eax, dword [0x100352e0]
mov dword [0x10029a10], eax
mov dword [ebp - 8], 0
mov eax, dword [0x100352e0]
test eax, eax
je 0x1000e19c
sub eax, 1
je 0x1000e0c4
sub eax, 1
je 0x1000e13c
sub eax, 1
je 0x1000e16c
jmp 0x1000e1e8
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x100360b0], eax
mov eax, 0x10036170
call fcn.10002ad0
test eax, eax
jne 0x1000e120
xor eax, eax
push 0x1000e10a
push ebp
push 0x1000f100
push dword fs:[eax]
mov dword fs:[eax], esp
call dword [0x10035334]
mov dword [ebp - 8], 0xffffffff
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x1000e1e8
cmp dword [0x10034010], 0
sete al
and eax, 0xff
neg eax
mov dword [ebp - 8], eax
jmp 0x1000e1e8
call fcn.1000c280
mov eax, 0x1000000
call fcn.1000bf00
cmp dword [0x10029460], 0
je 0x1000e1e8
mov eax, dword [0x100352f0]
call dword [0x10029460]
nop
jmp 0x1000e1e8
cmp dword [0x10029470], 0
je 0x1000e180
mov eax, dword [0x100352f0]
call dword [0x10029470]
mov eax, dword [0x100299b0]
push dword [eax]
call sub.kernel32.dll_TlsGetValue
test eax, eax
je 0x1000e1e8
call fcn.1000bfd0
lea esi, [esi]
jmp 0x1000e1e8
cmp dword [0x100360b0], 0
je 0x1000e1f2
lea esi, [esi]
mov eax, 0x10036170
call fcn.10002ad0
test eax, eax
jne 0x1000e1d4
cmp dword [0x10029450], 0
je 0x1000e1cc
mov eax, dword [0x100352f0]
call dword [0x10029450]
mov esi, esi
call fcn.1000a600
lea esi, [esi]
call fcn.1000c3a0
call fcn.1000c320
mov dword [0x100360b0], 0
mov dword [0x10029a10], 0xffffffff
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015120
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.10015110
push ebp
push 0x1000ed80
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x100367ac]
xor edx, edx
call fcn.10005e80
mov dword [ebx*4 + 0x100367cc], 0xffffffff
cmp ebx, 7
jl 0x10015148
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 0x100151d4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.10006870
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.1000fc10
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100151d4
push 4
push ebx
push esi
mov eax, 0x10014ff0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x10015080
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10015110
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015920
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.100158f0
push ebp
push 0x1000ed80
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.1000f8e0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.10005e80
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.10007230
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.10005e80
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x10015a2c
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.100067d0
mov eax, dword [ebp - 8]
test eax, eax
je 0x100159b7
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.10007230
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.10006db0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.10006c50
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.1000f8e0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.100069f0
test eax, eax
jne 0x10015a24
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10015a13
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.10006c50
jmp 0x10015a35
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x100159a0
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.100158f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015a80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x10036810], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x10036670], eax
mov eax, dword [ebp - 0x90]
mov dword [0x10036680], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x10036690], eax
mov eax, dword [ebp - 0x88]
mov dword [0x100366a0], eax
mov edx, 0x100366b1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.10002420
lea eax, [ebp - 0x80]
call fcn.10002f80
mov byte [0x100366b0], al
mov eax, str.kernel32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x10036820], eax
test eax, eax
je 0x10015b20
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x10036820]
call sub.kernel32.dll_GetProcAddress
mov dword [0x10036810], eax
nop
cmp dword [0x10036680], 6
jae 0x10015b34
mov dword [0x10029ba0], 0
nop
cmp dword [0x10036680], 6
jb 0x10015b50
cmp dword [0x10036690], 1
jb 0x10015b50
mov dword [0x10029bb0], 2
mov esp, ebp
pop ebp
ret
Function at 0x10016f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10016f60
push ebp
push 0x1000ed80
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017088
mov al, byte [ebp - 0x110]
test al, al
je 0x10017051
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10016fda
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017088
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10017051
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017154
mov al, byte [ebp - 0x110]
test al, al
je 0x1001711d
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x100170a6
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017154
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x1001711d
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016bf0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10016f60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10016fda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10016f60
push ebp
push 0x1000ed80
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017088
mov al, byte [ebp - 0x110]
test al, al
je 0x10017051
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10016fda
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017088
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10017051
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017154
mov al, byte [ebp - 0x110]
test al, al
je 0x1001711d
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x100170a6
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017154
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x1001711d
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016bf0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10016f60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10017051
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10016f60
push ebp
push 0x1000ed80
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017088
mov al, byte [ebp - 0x110]
test al, al
je 0x10017051
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10016fda
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017088
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x10017051
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017154
mov al, byte [ebp - 0x110]
test al, al
je 0x1001711d
lea eax, [ebp - 0xc]
call fcn.100028d0
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034f0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.10006700
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.10007230
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x100170a6
mov ecx, ebp
call fcn.1000ec40
jmp 0x10017154
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x1002e970
call fcn.100142e0
mov edx, 0x1001711d
mov ecx, ebp
call fcn.1000ec40
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016bf0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10016f60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10023b60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x220]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
call fcn.10005e50
mov dword [ebp - 0x220], 0
xor eax, eax
push fcn.10023b40
push ebp
push 0x1000ed80
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push 0x10023c54
push ebp
push 0x1000f100
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x10023bbc
lea eax, [ebp - 4]
call fcn.10023b30
lea esi, [esi]
cmp dword [ebp - 4], 0
jne 0x10023bd0
lea eax, [ebp - 4]
mov edx, 0x10030dbc
call fcn.10005e80
nop
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x220]
call fcn.100028d0
push 0
mov edx, dword [ebp - 4]
mov ecx, 0x10030dcc
lea eax, [ebp - 0x220]
call fcn.10005f80
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x10023c2c
mov eax, 0x10035310
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0x214]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, 8
call fcn.1000fb00
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x10023c66
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10023b40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call fcn.10023c80
test al, al
jne 0x10024078
push dword [ebp - 8]
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 4], eax
jmp 0x100240f0
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x100240f0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
lea eax, [edx + ecx]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x10]
mov edi, eax
mov eax, dword [edi + 0x18]
sub eax, 1
mov esi, eax
test esi, esi
jl 0x100240e8
mov ebx, 0xffffffff
add ebx, 1
mov eax, dword [edi + 0x20]
add eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.1000f560
test eax, eax
jne 0x100240e4
mov eax, edi
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x10]
movsx eax, word [eax + ebx*2]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
lea eax, [edx + ecx]
mov dword [ebp - 0xc], eax
cmp esi, ebx
jg 0x100240a8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov esi, esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008cc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10008cd1
pop dword [ebp - 0x4c]
mov eax, 0x10008cd1
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x67a377bb
sub dword [ebp - 0x5c], 0x19513270
mov dword [ebp - 0x58], 0xf530322b
sub dword [ebp - 0x58], 0xc2fce5e6
mov dword [ebp - 0x54], 0x5ee5e8b9
add dword [ebp - 0x54], 0xed665b75
mov dword [ebp - 0x50], 0xd4463d87
add dword [ebp - 0x50], 0x2bb9c279
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x6d188c81
sub eax, 0x5d16ac01
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x5f187085
add dword [ebp - 0x5c], 0x1559f8d1
mov dword [ebp - 0x58], 0x5cc86a55
add dword [ebp - 0x58], 0xe4a3f720
mov dword [ebp - 0x54], 0x37002cd8
add dword [ebp - 0x54], 0x2c6f3f94
mov dword [ebp - 0x50], 0xdc2b0b70
sub dword [ebp - 0x50], 0xdc2b0b70
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x62bcc34f
sub eax, 0x52bae2cb
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f72f
push 0
call eax
mov ecx, 0x50b0
xor esi, esi
add esi, eax
mov edx, 0x10035800
add edx, dword [ebp - 0x4c]
mov edi, 0x9b8fcf2b
sub edi, 0xc9f438c6
xor dword [ebp - 8], esi
mov ebx, dword [edx]
sub dword [ebp - 0x28], 0x647628e0
add ebx, edi
add dword [ebp - 0x3c], ecx
mov dword [esi], ebx
add dword [ebp - 0x38], edx
add esi, 0x4d033252
add esi, 0xb2fccdb2
add edx, 0x3b01cfac
sub edx, 0x3b01cfa8
loop 0x10008de4
add eax, 0x13593
mov ebx, eax
add eax, 0x3f12624b
sub eax, 0x3f126246
mov ecx, 0x9e54dece
add ecx, 0x71ab2132
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x4048ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x44da2c], 0
mov dword [ebp - 0x18], eax
jne 0x40495e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404a06
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404a06
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44da2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44da30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44da34], eax
call edi
push eax
call esi
mov dword [0x44da3c], eax
test eax, eax
je 0x40495e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44da38], eax
mov eax, dword [0x44da38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4049b7
cmp dword [0x44da3c], ecx
je 0x4049b7
push eax
call esi
push dword [0x44da3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4049b7
test ebx, ebx
je 0x4049b7
call edi
test eax, eax
je 0x4049ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4049ae
test byte [ebp - 8], 1
jne 0x4049b7
or dword [ebp + 0x10], 0x200000
jmp 0x4049ea
mov eax, dword [0x44da30]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4049ea
mov eax, dword [0x44da34]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44da2c]
call esi
test eax, eax
je 0x404a06
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404a08
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219