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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419364]
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.0040b952
and dword [ebp - 0x14], 0
cmp dword [0x42fba8], 0
mov dword [ebp - 0x18], eax
jne 0x411845
push 0x403e58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4118ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e4c
push ebx
call edi
test eax, eax
je 0x4118ed
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x42fba8], eax
call edi
push eax
call esi
push 0x403e28
push ebx
mov dword [0x42fbac], eax
call edi
push eax
call esi
push 0x403e0c
push ebx
mov dword [0x42fbb0], eax
call edi
push eax
call esi
mov dword [0x42fbb8], eax
test eax, eax
je 0x411845
push 0x403df4
push ebx
call edi
push eax
call esi
mov dword [0x42fbb4], eax
mov eax, dword [0x42fbb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41189e
cmp dword [0x42fbb8], ecx
je 0x41189e
push eax
call esi
push dword [0x42fbb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41189e
test ebx, ebx
je 0x41189e
call edi
test eax, eax
je 0x411895
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411895
test byte [ebp - 8], 1
jne 0x41189e
or dword [ebp + 0x10], 0x200000
jmp 0x4118d1
mov eax, dword [0x42fbac]
cmp eax, dword [ebp - 0x18]
je 0x4118d1
push eax
call esi
test eax, eax
je 0x4118d1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4118d1
mov eax, dword [0x42fbb0]
cmp eax, dword [ebp - 0x18]
je 0x4118d1
push eax
call esi
test eax, eax
je 0x4118d1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42fba8]
call esi
test eax, eax
je 0x4118ed
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4118ef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040927b
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x523874ac
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1d146540
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
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
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4f6f031
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4f74708]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x108]
push edx
push 0xf003f
push 0
push ecx
push eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4f6f0c9
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
mov edi, 0x100
jmp 0x4f6f093
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call fcn.04f6f031
push edi
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4f6f081
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.04f72e95
leave
ret 8

Function at 0x4f6f1ae
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4f74708]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push esi
mov dword [ebp - 0x40c], ecx
cmp edi, ebx
je 0x4f6f216
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04f6d059
push 0x4f638d4
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04f6f0dc
push edi
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04f6f0dc
lea eax, [ebp - 0x404]
push ebx
lea ecx, [ebp - 0x408]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4f6f270
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x40c]
push 1
push ebx
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.04f72e95
leave
ret 8

Function at 0x4f7219e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi], eax
je 0x4f721ac
inc eax
pop esi
ret
cmp dword [esi + 8], eax
jne 0x4f721b8
mov eax, 0x80004005
pop esi
ret
lea ecx, [esi + 4]
push ecx
push eax
push esi
push 0x4f7218b
push eax
push eax
mov dword [esi + 0x2c], 0x80004005
mov byte [esi + 0x30], al
call dword [sym.imp.msvcrt.dll__beginthreadex]
mov dword [esi], eax
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
ret
Function at 0x4030c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x83e080], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0xc], eax
jne 0x4030f9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x41eef8]
mov ebx, dword [0x41eefc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.004030b0
mov edx, dword [0x41ef00]
mov eax, dword [0x41ef04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x403140
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x83e080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4031a8
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x402590
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor edx, edx
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x83e080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4031c2
mov dword [0x83d61c], 0xedeb2e40
jmp 0x4031d4
cmp ecx, 0x3eb
jne 0x4031d4
mov dword [0x83cfd0], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add edx, esi
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0x83d618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x83e080], 0xc
jne 0x403232
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, edx
xor ecx, eax
mov dword [ebp - 4], ecx
sub esi, ecx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
sub edi, 1
jne 0x403140
cmp dword [0x83e080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x403299
push 0
push 0x4025c4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4032b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x83e080]
mov ecx, dword [0x83cfd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x40338a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x83e080], 0x959
jne 0x403370
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x4025f8
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004030c0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4032f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403680
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41d058
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x4036bb
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4036a8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x4036e2
cmp ebx, 0x785074d5
jne 0x4036eb
inc esi
cmp esi, 0x1c1b
jl 0x4036d0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x40371d
inc esi
cmp esi, 0x4f6a4
jl 0x403700
cmp dword [0x83e080], 0x400
jne 0x403757
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x30]
call fcn.004037f0
push 0
mov dword [ebp - 4], 0
call fcn.00403b24
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403810
mov ecx, dword [0x41f13c]
mov edx, dword [0x41f110]
mov dword [0x83e080], ecx
mov dword [0x83e084], edx
call fcn.004033b0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x403794
cmp ebx, 0x785074d5
jne 0x40379d
inc esi
cmp esi, 0x11915
jl 0x403780
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x83e080], 0x51f
jne 0x4037c2
lea eax, [ebp - 0x54]
push eax
call esi
sub edi, 1
jne 0x4037b0
mov eax, dword [0x83cfd4]
mov dword [0x83d614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e0c8]
jne 0x40449a
repz ret
jmp fcn.00406bfe
Function at 0x40681f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404511
and dword [ebp - 4], 0
cmp dword [0x41fa10], 0
mov ebx, eax
jne 0x4068d0
push 0x4019c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406981
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019bc
push edi
call esi
test eax, eax
je 0x406981
push eax
call fcn.0040449f
mov dword [esp], 0x4019ac
push edi
mov dword [0x41fa10], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x401998
push edi
mov dword [0x41fa14], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x40197c
push edi
mov dword [0x41fa18], eax
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x41fa20], eax
test eax, eax
je 0x4068d0
push 0x401964
push edi
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x41fa1c], eax
mov eax, dword [0x41fa1c]
cmp eax, ebx
je 0x406928
cmp dword [0x41fa20], ebx
je 0x406928
push eax
call fcn.0040451a
push dword [0x41fa20]
mov esi, eax
call fcn.0040451a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406928
test edi, edi
je 0x406928
call esi
test eax, eax
je 0x40691f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40691f
test byte [ebp - 0xc], 1
jne 0x406928
or dword [ebp + 0x10], 0x200000
jmp 0x406961
mov eax, dword [0x41fa14]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406961
mov eax, dword [0x41fa18]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41fa10]
call fcn.0040451a
pop ecx
test eax, eax
je 0x406981
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406983
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002a0a0
Capabilities:
Authenticate hmac

Disassembly:
arpl word [ebp - 0x5796ecd8], bx
push edx
xchg ebp, eax
sahf
sbb ch, byte [esi]
fadd dword [edx + 0x24f878bc]
cmp ebp, dword [esi]
lodsd eax, dword [esi]
mov bh, 0x2e
jl 0x1002a063
dec esi
sub byte [edi - 0x50], bh
mov ebp, 0xe9031700
sal dword [esi], 1
cld
xlatb
out 0x19, al
idiv byte [eax]
sub al, 0xa5
movsd dword es:[edi], dword [esi]
pop eax
daa
aad 0x33

Function at 0x1002a0d0
Capabilities:
Authenticate hmac

Disassembly:
add dl, cl
cli
mov dl, 0xb4
cmp eax, 0xd327b531
pop ds
adc esi, dword [edx - 0x46]
mov dh, 0xe4
add byte [ebx + 0x1f], cl
loop 0x1002a119
cld
xor byte [edx + 0x49], cl
adc al, 0x48
sub al, 0x5c
sbb al, 0xac
salc
test al, 0x9d
stc
fnstsw word [edx + 0xf20a406]
push 0xeffaacd8
in al, dx
rol dword ss:[esi - 0x7f904f41], cl
rol dword [esi - 0x7f904f41], cl
jmp 0x1002a09e
aas
mov bl, 0x2b
aad 0xa0
mov ebp, dword [ecx - 0x51299049]
loope 0x1002a182
mov bh, 0xc7
lea esp, [ebp - 0x1f]
xor al, 0xc5
pop edi
fisub dword [edi + edi - 0x77cb7553]
add eax, 0x58d4ded8
or eax, dword [esi - 0x725527fc]
sub eax, 0x8575face
mov bh, 0x9c
mov dword [0x69f8fe83], eax
sbb al, 0xe4
imul ebx, dword [esp], 0x7efd6177
pop ds
ja 0x1002a1e5
std
jle 0x1002a1a6
outsb dx, byte [esi]
adc eax, 0x9c2eda88
or eax, ebp
js 0x1002a185
sbb al, 0xa7
ret 0xe90d
jnp 0x1002a162
or al, 0x91
sbb al, 0x79
cmc
invalid
jno 0x1002a17f
xchg esp, eax
jp 0x1002a234
mov dword [0x110f52aa], eax
sub eax, 0xcfab02bf
sub dh, ch
or byte [esi + 0x27d97bee], bh
stc
or dh, byte [ebx - 0x15]
aas
jb 0x1002a262
pop ecx
xor bh, byte [ebx - 0x69]
push ebx
and al, 0x20
add dl, byte [ecx - 0x35]
pushfd
test dword [edx - 0xc1e6b0d], edx
sahf
mov cl, 0xb4
mov ebx, 0x15150fc
out 0x41, eax
int3
sal byte [ebp - 0x33777e07], 1
arpl word [esi + 0x35], sp
push ds
inc eax
pop ebx
je 0x1002a2d9
out 0x82, eax
invalid
mov dl, 0xb1
movsb byte es:[edi], byte [esi]
push ebp
hlt
Function at 0x1002a890
Capabilities:
Encode data using xor

Disassembly:
fisub word [ebx + 0x65ad0559]
ficom word [eax + 0x326f1c42]
inc edx
sbb al, 0x6f
xor ah, byte [esi]
lodsd eax, dword [esi]
cdq
xlatb
sets byte [edi]
cmp cl, byte [ecx + 0x35]
pop ecx
loopne 0x1002a767
sal bl, cl
mov eax, 0xc8665281
lss ecx, [eax]
cmp edx, dword [ecx + edi*8]
in al, dx
aad 0x27
mov dh, 0x6a
int1
scasd eax, dword es:[edi]
xor eax, 0x233fa1f4
adc al, 0xa6
xor ah, byte [ebp + 0x3ce1e742]
leave
lodsb al, byte [esi]
rcl dword [ebx], cl
or al, cl
or al, cl
lahf
in al, dx
xor esi, edi
and al, 3
pop ds
inc edx
fst qword [esi]
xchg edx, eax
xchg ebx, eax
jbe 0x1002a7a4
cmp eax, 0x8d3143b0
push ss
fisubr dword [0x725ea2f6]
sub ch, ah
stosb byte es:[edi], al
popal
mov eax, dword [0xc5a8f4f7]
xor eax, esi
les edx, [ebx]
test al, 0xcc
xor al, 0x94
push eax
mov dh, byte [ecx + 0x4a]
dec edx
int 0x23
aam 0x93
inc esp
out 0x80, eax
mov word [esi + 0x6d996bc8], gs
or eax, 0xe131e949
dec esi
mov dword [esi - 0x76bcca04], 0x13cc3c4c
jge 0x1002a894
pop ss
ret 0x6e36
and dword [ebx], esp
mov ecx, 0xffb8639e
cmp eax, dword [edx - 0x5a]
xor ch, bl
fstp qword [edi]
mov edi, 0xed47fe9e
inc byte [edi - 0x13]
pop ds
sub eax, 0xd70750fa
push edi
stc
jnp 0x1002a885
jg 0x1002a8f7
and dword [ebx], 0x8c0970a0
shl dword [ecx + 0x5467aa88], cl
mov bl, 0x22
ret 0xb859
or byte [0xa4a54bdf], ch
adc ecx, dword [edi - 0x23afca68]
add bh, byte [edx]
xchg esp, ecx
xor eax, 0x99ed3694
inc esp
test dword [esi], 0x24a9e72c
pushal
adc dword [ebx + ebx*4 - 0x1b5a8142], 4
les ebx, [eax]
daa
invalid

Function at 0x10a2501f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10a21110]
jne 0x10a25029
repz ret
jmp fcn.10a252ab
Function at 0x10a28e11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10a21110]
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.10a253b1
and dword [ebp - 0x14], 0
cmp dword [0x10a24224], 0
mov dword [ebp - 0x18], eax
jne 0x10a28ec4
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10a28f6c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10a28f6c
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10a24224], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10a24228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10a2422c], eax
call edi
push eax
call esi
mov dword [0x10a24234], eax
test eax, eax
je 0x10a28ec4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10a24230], eax
mov eax, dword [0x10a24230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x10a28f1d
cmp dword [0x10a24234], ecx
je 0x10a28f1d
push eax
call esi
push dword [0x10a24234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10a28f1d
test ebx, ebx
je 0x10a28f1d
call edi
test eax, eax
je 0x10a28f14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10a28f14
test byte [ebp - 8], 1
jne 0x10a28f1d
or dword [ebp + 0x10], 0x200000
jmp 0x10a28f50
mov eax, dword [0x10a24228]
cmp eax, dword [ebp - 0x18]
je 0x10a28f50
push eax
call esi
test eax, eax
je 0x10a28f50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10a28f50
mov eax, dword [0x10a2422c]
cmp eax, dword [ebp - 0x18]
je 0x10a28f50
push eax
call esi
test eax, eax
je 0x10a28f50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10a24224]
call esi
test eax, eax
je 0x10a28f6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10a28f6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10a2501f
leave
ret