joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4093f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ebx
push edi
cmp dword [ebx + 0x14], 8
mov edi, dword [ebp + 8]
jb 0x409415
mov eax, dword [ebx]
lea ecx, [ebp - 8]
push ecx
push 0x2001f
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40944c
cmp dword [ebx + 0x14], 8
jb 0x409438
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
push ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40947a
mov eax, dword [esi + 0x10]
add eax, eax
cmp dword [esi + 0x14], 8
jb 0x409459
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x409461
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e3a6
mov esp, ebp
pop ebp
ret
Function at 0x419618
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041948e

Function at 0x6e5c7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x6e5c71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x6e5c707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e5c706a
add dl, dl
jne 0x6e5c7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e5c70dc
xor eax, eax
add dl, dl
jne 0x6e5c7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e5c717d
add dl, dl
jne 0x6e5c70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e5c70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e5c70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e5c70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6e5c70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x6e5c7075
mov eax, 1
add dl, dl
jne 0x6e5c70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e5c70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e5c70e1
sub eax, ebx
mov ebx, 1
jne 0x6e5c7128
mov ecx, 1
add dl, dl
jne 0x6e5c710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6e5c7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e5c7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e5c7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6e5c713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6e5c714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e5c7136
cmp eax, 0x7d00
jae 0x6e5c716d
cmp eax, 0x500
jb 0x6e5c7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e5c7075
cmp eax, 0x7f
ja 0x6e5c7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e5c7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6e5c719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x6e5c7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ca1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x401cdb
push 6
call fcn.004418bf
add esp, 4
jmp 0x401ce0
mov esp, ebp
pop ebp
ret 4
Function at 0x406568
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [ebp + 0xc], 2
jne 0x4065cf
mov dword [ebp - 4], esp
push 0
push dword [0x59e522]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4065a5
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 4], esp
push 1
push dword [0x59e51a]
call dword [sym.imp.USER32.dll_EnableWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4065cf
push 6
call fcn.004418bf
add esp, 4
mov eax, 0xffffffff
jmp 0x4065d9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4065fe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [0x59e526]
mov ebx, dword [ebx + 4]
call fcn.00401641
mov eax, 0
cmp eax, ecx
jl 0x40662b
push 1
call fcn.004418bf
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 4], ebx
push dword [ebp - 4]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
cmp dword [ebp + 8], eax
jne 0x40669d
mov dword [ebp - 4], esp
push 0
push dword [0x59e522]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x406673
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 4], esp
push 1
push dword [0x59e51a]
call dword [sym.imp.USER32.dll_EnableWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40669d
push 6
call fcn.004418bf
add esp, 4
mov esp, ebp
pop ebp
ret 0x14

Function at 0x417a28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x200
call fcn.00401ca1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x200
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x417a76
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x461b6c]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040101b
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.00441e30
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x59b5e3
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00402322
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417ae2
push ebx
call fcn.004418cb
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040209b
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417b0a
push ebx
call fcn.004418cb
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x417b12
mov esp, ebp
pop ebp
ret 4
Function at 0x42fa7e
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call dword [sym.imp.IMM32.dll_ImmGetContext]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x42fabe
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42fbef
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004424e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
push 0x800
push dword [ebp - 4]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42fb1b
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42fb2e
push ebx
call fcn.004418cb
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x184
call fcn.004421f0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42fb67
push ebx
call fcn.004418cb
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x800
push dword [ebp - 4]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x42fb98
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x42fbbd
push 6
call fcn.004418bf
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0042fc11
test eax, eax
je 0x42fbef
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42fbea
push eax
mov ebx, eax
call fcn.004019a7
inc eax
push eax
call fcn.004418b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42fbf9
mov eax, 0x461b97
jmp 0x42fbf9
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42fc0a
push ebx
call fcn.004418cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x43e31d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x20], 0
jne 0x43e337
mov dword [ebp + 0x1c], 1
cmp dword [ebp + 0x18], 0
jne 0x43e35f
mov eax, 0x59d5dc
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x43e359
push ebx
call fcn.004418cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push dword [ebp + 0x1c]
push 0x461b97
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x43e39a
push 6
call fcn.004418bf
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x20
mov eax, 0
setg al
jmp 0x43e3ae
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4425e0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret

Function at 0x442620
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4426b2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4426a4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x44269c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x442665
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x4429a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004448c0
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x442af0
test ecx, ecx
je 0x442af0
inc ecx
push ecx
call fcn.00451ae8
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00445bc0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x442a19
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x442add
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.00451ae8
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x442aa1
cmp eax, 0xea
jne 0x442ac9
push esi
call fcn.00451b11
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00451ae8
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x442a6c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x442aaf
cmp eax, 2
jne 0x442ac9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.00444370
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.00451b11
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00451b11
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x442b1e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x442b2a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x442b2a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00444370
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x442b40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x442b81.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x442b81.2
jmp dword [eax*4 + 0x442c0c]
mov word [esp + 0x48], di
jmp 0x442bba
mov word [esp + 0x48], 2
jmp 0x442bba
mov word [esp + 0x48], 3
jmp 0x442bba
mov word [esp + 0x48], 4
jmp 0x442bba
mov word [esp + 0x48], 7
jmp 0x442bba
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x442c04
cmp dword [esp + 0x70], edi
je 0x442bf0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x443330
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x443380
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x443375
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00444370
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x4433d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
je 0x443453
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x443453
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x443446
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
ret
mov eax, ebp
pop esi
pop ebp
ret
Function at 0x456f10
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x456f3e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x456f5c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00456e76
jmp 0x456f5c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x456f5c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00456e76
test edi, edi
mov eax, edi
jne 0x456f46
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402e4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4144b0]
jne 0x402e58
repz ret
jmp fcn.004066e4

Function at 0x40c7bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4144b0]
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.00407207
and dword [ebp - 0x14], 0
cmp dword [0x4166c8], 0
mov dword [ebp - 0x18], eax
jne 0x40c86f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c917
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40c917
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4166c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4166cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4166d0], eax
call edi
push eax
call esi
mov dword [0x4166d8], eax
test eax, eax
je 0x40c86f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4166d4], eax
mov eax, dword [0x4166d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c8c8
cmp dword [0x4166d8], ecx
je 0x40c8c8
push eax
call esi
push dword [0x4166d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c8c8
test ebx, ebx
je 0x40c8c8
call edi
test eax, eax
je 0x40c8bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c8bf
test byte [ebp - 8], 1
jne 0x40c8c8
or dword [ebp + 0x10], 0x200000
jmp 0x40c8fb
mov eax, dword [0x4166cc]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c8fb
mov eax, dword [0x4166d0]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4166c8]
call esi
test eax, eax
je 0x40c917
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c919
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e4e
leave
ret

Function at 0x7aed5c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7aed66
pushal
call 0x7aed6c
pop ebp
sub ebp, 0x10
sub ebp, 0x3aed5c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x7aed90
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x7aed99
mov eax, 0x3aed5c
add eax, ebp
add eax, 0x63
mov ecx, 0x5fc
mov edx, 0xe19b04c9
xor byte [eax], dl
inc eax
dec ecx
jne 0x7aedb0
jmp 0x7aedc3
inc edx
add al, 0x42
inc eax
cmc
leave
leave
leave
dec eax
or byte [ecx], dh
leave
leave
leave
retf 0x7104
Function at 0x10025fd5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025ff2
push 0x130f
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10026032
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
push 0x7e90
mov eax, dword [ebp - 0x10]
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0
push dword [ebp - 0x18]
call fcn.10026170
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10029467
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.100292ba
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10029497
xor eax, eax
jmp 0x100295d1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100294b5
xor eax, eax
jmp 0x100295d1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.1002809a
pop ecx
pop ecx
cmp dword [ebp - 0xc], 0
jne 0x100294d0
xor eax, eax
jmp 0x100295d1
push 1
lea eax, [ebp - 0xc]
push eax
push 0x17c5
push 0x229d
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.10028dbc
add esp, 0x20
push 0x4fee
push 0
push dword [ebp - 4]
push 0x7db8
push dword [ebp - 8]
push dword [ebp + 8]
push 0x76af
call fcn.100281b1
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002953d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x5b5
push 1
call fcn.10029309
add esp, 0x10
push dword [ebp - 4]
call fcn.10027d68
pop ecx
test eax, eax
jne 0x10029551
xor eax, eax
jmp 0x100295d1
push 0x4b46
push 1
push 0x63c0
lea eax, [ebp - 4]
push eax
call fcn.10029379
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100295b9
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 0x10029588
xor eax, eax
jmp 0x100295d1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100295a1
xor eax, eax
jmp 0x100295d1
push 0x40fe
push 1
lea eax, [ebp - 4]
push eax
push 0x720a
call fcn.100293f3
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100295ca
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100295ce
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003da5d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003da94
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003da92
push 0
push 0
push 0
push 0
push 0xd00
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1003da9f
push 0x113
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret