joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4408aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4408ef
call fcn.00450cd2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4408ef
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44090b
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043c37b
mov ebx, eax
test edi, edi
je 0x440909
test esi, esi
je 0x440909
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4453ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00450cd2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x445436
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00445457
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47bb22
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bb760]
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.0047090e
mov dword [ebp - 0x14], eax
cmp dword [0x4c24cc], esi
jne 0x47bc15
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47bba2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47bcf5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47bcf5
push 0x49b170
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47bcf5
push eax
call ebx
push 0x49b17c
push edi
mov dword [0x4c24cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49b18c
push edi
mov dword [0x4c24d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c24d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c24dc], eax
test eax, eax
je 0x47bc12
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c24d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47bc3a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47bc2d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47bc4f
push 4
pop eax
jmp 0x47bcf7
cmp dword [ebp - 0x14], esi
je 0x47bc4f
push dword [0x4c24cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47bc34
mov eax, dword [0x4c24d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47bcad
cmp dword [0x4c24dc], edi
je 0x47bcad
push eax
call ebx
push dword [0x4c24dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47bcad
test eax, eax
je 0x47bcad
call ecx
test eax, eax
je 0x47bca2
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 0x47bca2
test byte [ebp - 8], 1
jne 0x47bcad
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47bcdd
mov eax, dword [0x4c24d0]
cmp eax, edi
je 0x47bcda
push eax
call ebx
test eax, eax
je 0x47bcda
call eax
mov esi, eax
test esi, esi
je 0x47bcda
mov eax, dword [0x4c24d4]
cmp eax, edi
je 0x47bcda
push eax
call ebx
test eax, eax
je 0x47bcda
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c24cc]
call ebx
test eax, eax
je 0x47bcf5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47bcf7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004697c7
mov esp, ebp
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40509d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x408010]
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.00403f1d
and dword [ebp - 0x14], 0
cmp dword [0x4096f8], 0
mov dword [ebp - 0x18], eax
jne 0x405150
push 0x401dec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4051f8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401de0
push ebx
call edi
test eax, eax
je 0x4051f8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401dd0
push ebx
mov dword [0x4096f8], eax
call edi
push eax
call esi
push 0x401dbc
push ebx
mov dword [0x4096fc], eax
call edi
push eax
call esi
push 0x401da0
push ebx
mov dword [0x409700], eax
call edi
push eax
call esi
mov dword [0x409708], eax
test eax, eax
je 0x405150
push 0x401d88
push ebx
call edi
push eax
call esi
mov dword [0x409704], eax
mov eax, dword [0x409704]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4051a9
cmp dword [0x409708], ecx
je 0x4051a9
push eax
call esi
push dword [0x409708]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4051a9
test ebx, ebx
je 0x4051a9
call edi
test eax, eax
je 0x4051a0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4051a0
test byte [ebp - 8], 1
jne 0x4051a9
or dword [ebp + 0x10], 0x200000
jmp 0x4051dc
mov eax, dword [0x4096fc]
cmp eax, dword [ebp - 0x18]
je 0x4051dc
push eax
call esi
test eax, eax
je 0x4051dc
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4051dc
mov eax, dword [0x409700]
cmp eax, dword [ebp - 0x18]
je 0x4051dc
push eax
call esi
test eax, eax
je 0x4051dc
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4096f8]
call esi
test eax, eax
je 0x4051f8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4051fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402f0f
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x488004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
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.0040261d
and dword [ebp - 4], 0
cmp dword [0x489cdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x489cdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x489ce0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x489ce4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x489cec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x489ce8], eax
mov eax, dword [0x489ce8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x489cec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x489cec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x489ce0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x489ce4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x489cdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x483d60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x483d81
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x483dd6
push esi
jmp 0x483d90
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00483d50
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x483d90
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x483df1
mov dword [0x2b87ef8], 0xa62e7790
mov dword [0x2b87efc], 0xffffffff
add esp, 8
ret
Function at 0x432c3e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44fb10]
jne 0x432c48
repz ret
jmp fcn.00437d8d

Function at 0x439b6f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44fb10]
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.0043551f
and dword [ebp - 0x14], 0
cmp dword [0x66961c], 0
mov dword [ebp - 0x18], eax
jne 0x439c22
push 0x405140
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439cca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x405134
push ebx
call edi
test eax, eax
je 0x439cca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x405124
push ebx
mov dword [0x66961c], eax
call edi
push eax
call esi
push 0x405110
push ebx
mov dword [0x669620], eax
call edi
push eax
call esi
push 0x4050f4
push ebx
mov dword [0x669624], eax
call edi
push eax
call esi
mov dword [0x66962c], eax
test eax, eax
je 0x439c22
push 0x4050dc
push ebx
call edi
push eax
call esi
mov dword [0x669628], eax
mov eax, dword [0x669628]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x439c7b
cmp dword [0x66962c], ecx
je 0x439c7b
push eax
call esi
push dword [0x66962c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x439c7b
test ebx, ebx
je 0x439c7b
call edi
test eax, eax
je 0x439c72
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x439c72
test byte [ebp - 8], 1
jne 0x439c7b
or dword [ebp + 0x10], 0x200000
jmp 0x439cae
mov eax, dword [0x669620]
cmp eax, dword [ebp - 0x18]
je 0x439cae
push eax
call esi
test eax, eax
je 0x439cae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439cae
mov eax, dword [0x669624]
cmp eax, dword [ebp - 0x18]
je 0x439cae
push eax
call esi
test eax, eax
je 0x439cae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x66961c]
call esi
test eax, eax
je 0x439cca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439ccc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432c3e
leave
ret
Function at 0x402400
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.Distributia
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x408d98]
test eax, eax
je 0x402455
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.ImagePath
push eax
call dword [0x408d94]
test eax, eax
je 0x4024a1
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x408d90]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov edx, dword [esp + 0x10]
push edx
call dword [0x408d90]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4024c8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea ecx, [esp + 0x2c]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4024f5
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x402519
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40253b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push 0
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40256d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x120]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x40259d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push edx
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4025d6
push str.Distributia
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.Distributia
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x4025f7
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e008]
jne 0x40100a
repz ret
jmp fcn.00401aba

Function at 0x40656b
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.004033a1
and dword [ebp - 4], 0
cmp dword [0x46fdc0], 0
mov ebx, eax
jne 0x40661c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066cd
push eax
call fcn.0040332f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46fdc0], eax
call esi
push eax
call fcn.0040332f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46fdc4], eax
call esi
push eax
call fcn.0040332f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46fdc8], eax
call esi
push eax
call fcn.0040332f
pop ecx
mov dword [0x46fdd0], eax
test eax, eax
je 0x40661c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040332f
pop ecx
mov dword [0x46fdcc], eax
mov eax, dword [0x46fdcc]
cmp eax, ebx
je 0x406674
cmp dword [0x46fdd0], ebx
je 0x406674
push eax
call fcn.004033aa
push dword [0x46fdd0]
mov esi, eax
call fcn.004033aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406674
test edi, edi
je 0x406674
call esi
test eax, eax
je 0x40666b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40666b
test byte [ebp - 0xc], 1
jne 0x406674
or dword [ebp + 0x10], 0x200000
jmp 0x4066ad
mov eax, dword [0x46fdc4]
cmp eax, ebx
je 0x4066ad
push eax
call fcn.004033aa
pop ecx
test eax, eax
je 0x4066ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4066ad
mov eax, dword [0x46fdc8]
cmp eax, ebx
je 0x4066ad
push eax
call fcn.004033aa
pop ecx
test eax, eax
je 0x4066ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46fdc0]
call fcn.004033aa
pop ecx
test eax, eax
je 0x4066cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46a7f0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x46e008]
xor eax, esp
mov dword [esp + 0x428], eax
push ebp
mov ebp, dword [esp + 0x434]
push edi
cmp ebx, 0x182
jne 0x46a824
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x46a85c
cmp ebx, 0x19f
jne 0x46a85c
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push str.waxuzoxosuvowaholoxoh
push str.bulosamimuyesitowukepenaj
push str.wifisuzofuyituvera
push str.rapuwoxo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
xor edi, edi
test ebx, ebx
jle 0x46a8d5
push esi
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.0046a7e0
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
mov cl, byte [esp + 0xc]
xor byte [edi + ebp], cl
cmp ebx, 0xf
jne 0x46a8cf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.gigisetu
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
inc edi
cmp edi, ebx
jl 0x46a863
pop esi
pop edi
pop ebp
cmp ebx, 0x2d
jne 0x46a8f0
mov dword [0x2b6dfe8], 0xa62e7790
mov dword [0x2b6dfec], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0xcef4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 4]
jmp 0xcef4d8
mov dword [eax + 8], reloc.mscoree.dll__CorExeMain
jmp 0xcef4c2

Function at 0xcfdacd
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0cecbc8
jmp 0xcfdb0f
lea esp, [esp + 2]
push word [esp]
ja 0xcfdb05
jbe 0xcfdaef
cdq
add eax, 0xc90ffc95
sub dword [esi + reloc.mscoree.dll__CorExeMain], esi
cmp dword [ebx + reloc.mscoree.dll__CorExeMain], ebp
dec esi
fst dword [edx - 0x3d]
push edx
ret
mov dword [esp], esi
push edi
jmp 0xcfdb09
mov dword [esp], esi
push edi
pushfd
jmp 0xcfd73a
mov cl, bh
jmp 0xcfdb17
mov ecx, edi
mov edi, dword [esp + 0x2c]
bswap ecx

Function at 0xd00594
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
call 0xd00460
not cx
mov ch, ah
jmp 0xd00507
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0xd00502
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0xd00476
xchg bl, dl
jmp 0xd00554
jmp 0xd00576
dec ch
jmp 0xd00536
cpuid
lea esp, [esp + 3]
sub esp, 0xac
jmp 0xd00560
mov edi, dword [esp + 0x2c]
rdtsc
neg ebx
jns 0xd0052c
js 0xd0052c
mov esi, esp
cpuid
push eax
xchg word [esp + 1], cx
mov ebx, edi
jmp 0xd005ee
lea ebp, [esp]
mov edx, ebp
sub esp, 0x17
jae 0xd0052e
dec ch
cpuid
lea esp, [esp + 3]
jmp 0xd0053c
mov word [esp], bx
push dword [esp + 2]
jnp 0xd004f6
jp 0xd0049a
sete ch
mov dx, 0xae39
setge dh
jmp 0xd005c9
rdtsc
lea ecx, [ebx*4]
jmp 0xd005a8
sbb cx, 0x8ccb
mov dx, word [esp]
xor edi, 0x40802586
lea eax, reloc.mscoree.dll__CorExeMain
lea eax, [edx*4]
jmp 0xd00696
dec eax
jbe 0xd005be
rdtsc
lea ecx, [ebx*4]
sete ch
mov dx, 0xae39
setge dh
jmp 0xd005c9
rol edi, 0
jmp 0xd00643
xchg edx, eax
mov ax, cx
mov edx, 0x6412ab1c
mov al, 0x8f
pushfd
bsr ax, sp
jmp 0xd00667
mov dx, bx
rdtsc
jmp 0xd00606
mov edx, 0x6412ab1c
mov al, 0x8f
pushfd
jmp 0xd0061c
jae 0xd0060f
xchg edx, eax
mov ax, cx
jmp 0xd0062d
not cl
jmp 0xd00677
mov ecx, dword [esp]
mov ax, 0x60e3
mov ax, 0x9bbb
jmp 0xd006ed
rol edi, 0
btr eax, edx
jbe 0xd0064c
not cl
jmp 0xd00650
mov ecx, dword [esp]
mov ax, 0x60e3
mov ax, 0x9bbb
bts dx, si
jmp 0xd006ba
rcl edx, 1
jae 0xd00626
mov dx, bx
rdtsc
jmp 0xd00606
dec al
lea edx, [eax + ebx]
rdtsc
jmp 0xd006f3
lea esp, [esp + 4]
add edi, 0x17c132da
stc
js 0xd006a4
jns 0xd006d1
xor bh, byte [ebx + 0xfbd4e2b]
push ds
imul edi, esi, 0x18148dc8
dec al
lea edx, [eax + ebx]
rdtsc
jmp 0xd006f3
bts dx, si
jmp 0xd006ba
neg edi
xchg ah, dh
sub esp, 0x11
jmp 0xd00d67
xchg dh, ch
mov word [esp + 1], cx
lea esp, [esp + 1]
jmp 0xd00b48
add edi, dword [ebp]
mov al, 0x32
dec eax
jne 0xd00c02
je 0xd00ba5
pop edi
rol byte [esi + 0x21], 1
rcl byte [ecx*8 + 0x24648d5c]
add ebx, ebp
in al, 5
lea esp, [esp + 1]
jmp 0xd00b48
mov dl, byte [esp]
shr ah, cl
jmp 0xd00b7a
mov dl, byte [esp]
shr ah, cl
jmp 0xd00b7a
jbe 0xd00700
xchg dh, ch
mov word [esp + 1], cx
jmp 0xd00b5e
Function at 0xd01020
Capabilities:
Execute anti-debugging instructions

Disassembly:
add eax, 0x9820dfc1
jmp 0xd0103c
pop word [esp]
lea esp, [esp + 2]
jmp 0xcff878
bsf edx, esi
jge 0xd01086
jl 0xd01086
call 0xd01070
Function at 0xd0c29d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [esp], ebx
not esi
not dh
mov dh, byte [esp]
mov bl, byte [esp]
not esi
jmp 0xd0c2d6
lea esp, [esp + 2]
jmp 0xd0c287
mov si, 0x2b8
mov si, 0xc854
mov dh, al
mov edx, esp
not ebx
pop ebx
mov esi, dword [esp]
mov esi, ecx
jmp 0xd0c2c0