joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408635
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x2c
mov eax, 0x439d62
call fcn.00421730
lea esi, [ecx + 0x124]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.004017de
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x408754
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040186a
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004013b4
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.004017de
push eax
push ebx
push 0x44009c
lea ecx, [ebp - 0x10]
call fcn.00408dae
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040184e
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040186a
lea ecx, [ebp - 0x38]
call fcn.00414276
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.0040728d
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1001
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.004146fe
test eax, eax
jne 0x4086f9
mov ecx, esi
call fcn.00401451
jmp 0x408736
push 0x4400a4
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.00414a65
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], vtable.CFileException.0
lea ecx, [ecx - 0x10]
call fcn.0040184e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041429d
call fcn.004216fe
ret

Function at 0x408771
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x439d95
call fcn.00421730
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004013b4
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.004017de
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040184e
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040186a
lea ecx, [ebp - 0x2c]
call fcn.00415479
mov eax, dword [edi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], 0
je 0x40881e
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415716
test eax, eax
je 0x40881e
lea ecx, [ebp - 0x2c]
call fcn.004158be
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004159d7
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040132a
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.0040184e
lea ecx, [ebp - 0x2c]
call fcn.004156ca
jmp 0x408820
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041562a
mov eax, ebx
call fcn.004216fe
ret 4
Function at 0x40aa8d
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x43923e
call fcn.00421730
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.00401945
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov ebx, dword [eax - 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40ab09
mov ecx, dword [ebp + 0x18]
cmp ecx, 1
je 0x40aae0
cmp ecx, 2
je 0x40aae0
push ebx
jmp 0x40aae4
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
push ecx
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40ab2e
mov ebx, 0x453994
push 0x43ecfc
mov ecx, ebx
call fcn.00401ec3
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00403dd6
mov ecx, 0x4538c8
call fcn.0040a5c4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040184e
mov eax, esi
call fcn.004216fe
ret

Function at 0x40ab41
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40aba3
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40aba3
inc edi
jmp 0x40abc8
mov esi, 0x453994
push str.Failed_to_register_DWORD_value:
mov ecx, esi
call fcn.00401ec3
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00403dd6
mov ecx, 0x4538c8
call fcn.0040a5c4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40eb7d
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 0x40ebc2
call fcn.0041869c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ebc2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40ebde
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ae7b
mov ebx, eax
test edi, edi
je 0x40ebdc
test esi, esi
je 0x40ebdc
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 0x432305
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4515a0]
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.00428002
mov dword [ebp - 0x14], eax
cmp dword [0x456954], esi
jne 0x4323f8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x432385
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4324d8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4324d8
push 0x444574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4324d8
push eax
call ebx
push 0x444580
push edi
mov dword [0x456954], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x444590
push edi
mov dword [0x456958], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45695c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456964], eax
test eax, eax
je 0x4323f5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456960], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43241d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x432410
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x432432
push 4
pop eax
jmp 0x4324da
cmp dword [ebp - 0x14], esi
je 0x432432
push dword [0x456954]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x432417
mov eax, dword [0x456960]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x432490
cmp dword [0x456964], edi
je 0x432490
push eax
call ebx
push dword [0x456964]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x432490
test eax, eax
je 0x432490
call ecx
test eax, eax
je 0x432485
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 0x432485
test byte [ebp - 8], 1
jne 0x432490
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4324c0
mov eax, dword [0x456958]
cmp eax, edi
je 0x4324bd
push eax
call ebx
test eax, eax
je 0x4324bd
call eax
mov esi, eax
test esi, esi
je 0x4324bd
mov eax, dword [0x45695c]
cmp eax, edi
je 0x4324bd
push eax
call ebx
test eax, eax
je 0x4324bd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x456954]
call ebx
test eax, eax
je 0x4324d8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4324da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420e80
mov esp, ebp
pop ebp
ret
Function at 0x4767e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x476805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x476878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x47683a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x47686d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x47686b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x476831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4767fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000ce10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000ce1f
pop dword [ebp - 0x40]
mov eax, 0x1000ce1f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x5b6e6875
sub dword [ebp - 0x50], 0xd1c232a
mov dword [ebp - 0x4c], 0x908b812b
add dword [ebp - 0x4c], 0xa1a7cb1a
mov dword [ebp - 0x48], 0xae143042
add dword [ebp - 0x48], 0x9e3813ec
mov dword [ebp - 0x44], 0xa21270e3
add dword [ebp - 0x44], 0x5ded8f1d
lea eax, [ebp - 0x50]
push eax
mov eax, 0x53644de1
add eax, 0xbc9d730b
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x83101a2e
sub dword [ebp - 0x50], 0xe9db0d8
mov dword [ebp - 0x4c], 0x5d52bcb6
add dword [ebp - 0x4c], 0xe419a4bf
mov dword [ebp - 0x48], 0x37504e4d
add dword [ebp - 0x48], 0x2c1f1e1f
mov dword [ebp - 0x44], 0x178c1992
sub dword [ebp - 0x44], 0x178c1992
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xccdb5ee4
sub eax, 0xbcd99e9c
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3d10c
push 0
call eax
mov ecx, 0x5be07180
sub ecx, 0x5be024fe
xor ebx, ebx
add ebx, eax
mov edi, 0x10029a00
add edi, dword [ebp - 0x40]
mov edx, 0xe77e3a19
xor dword [ebp - 0x14], 0xa506fcb1
mov esi, dword [edi]
sub dword [ebp - 0x14], esi
add esi, edx
mov dword [ebp - 0x2c], 0x4358665b
mov dword [ebx], esi
add ebx, 4
add edi, 0x9abce7e
sub edi, 0x9abce7a
loop 0x1000cf32
add eax, 0x124db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc1ffa659
sub ecx, 0xb1ffa659
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10006690
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x100066a9
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x1000669b
ret

Function at 0x10008ef7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10008f06
pop dword [ebp - 0x3c]
mov eax, 0x107750
sub eax, 0xf00fe84a
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x393eb
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x48b6
xor ebx, ebx
add ebx, eax
mov esi, 0x4a9caec8
add esi, 0xc566bb38
add esi, dword [ebp - 0x3c]
mov edx, 0xe5392ee6
add edx, 0x6c5c99d9
xor dword [ebp - 0x28], 0xd9cc4941
mov edi, dword [esi]
xor dword [ebp - 8], 0xffa39fd5
sub edi, edx
mov dword [ebx], edi
add dword [ebp - 0x20], edx
add ebx, 0x39f367b9
sub ebx, 0x39f367b5
add esi, 0x34f5fb9f
sub esi, 0x34f5fb9b
loop 0x10008f5c
add eax, 0x115ab
mov ebx, eax
add eax, 0xd4885837
sub eax, 0xd4885832
mov ecx, 0xb82d3e6a
add ecx, 0x57d2c196
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x1000b06c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000b0ba
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000b0cb
push 0xd
pop eax
jmp 0x1000b0f5
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000b0ce
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000b5af
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10008ef7
mov ebx, eax
cmp ebx, esi
je 0x1000b622
lea ecx, [ebp - 0x74]
call fcn.10009ecc
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ba56
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000b63a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000b5af
cmp eax, esi
jne 0x1000b66c
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x1000b62a
lea ecx, [ebp - 0x74]
call fcn.10009ecc
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000af95
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10009ecc
mov eax, esi
jmp 0x1000b608
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40cfbb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40cfca
pop dword [ebp - 0x14]
mov eax, 0x40cfca
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x8ca5a571
add dword [ebp - 0x24], 0xc1ac9fda
mov dword [ebp - 0x20], 0xdcdb774c
add dword [ebp - 0x20], 0x5557d4f9
mov dword [ebp - 0x1c], 0x7a997d77
add dword [ebp - 0x1c], 0xd1b2c6b7
mov dword [ebp - 0x18], 0xad9f24e8
sub dword [ebp - 0x18], 0xad9f24e8
lea eax, [ebp - 0x24]
push eax
mov eax, 0x8aba20f3
add eax, 0x75880f81
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x9576b9e3
add dword [ebp - 0x24], 0xdefbaf73
mov dword [ebp - 0x20], 0x3d91f0a6
add dword [ebp - 0x20], 0x3da70cf
mov dword [ebp - 0x1c], 0x288c6808
sub dword [ebp - 0x1c], 0xc51cfb9c
mov dword [ebp - 0x18], 0x2700284c
sub dword [ebp - 0x18], 0x2700284c
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xd5072f3b
add eax, 0x2b3b01e9
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3d223
push 0
call eax
mov ecx, 0x43a06ae7
sub ecx, 0x43a0251e
xor edi, edi
add edi, eax
mov ebx, 0x1fbb90a8
add ebx, 0xe087b358
add ebx, dword [ebp - 0x14]
mov esi, 0x87e05943
add esi, 0x843d7fed
add dword [ebp - 4], ebx
mov edx, dword [ebx]
xor dword [ebp - 8], edx
add edx, esi
sub dword [ebp - 8], 0x8091ba86
mov dword [edi], edx
sub dword [ebp - 8], eax
add edi, 0x4bd1f0e1
sub edi, 0x4bd1f0dd
add ebx, 0x5f45bfcd
sub ebx, 0x5f45bfc9
loop 0x40d0e9
add eax, 0x750fd07a
sub eax, 0x750ec683
xor ebx, ebx
add ebx, eax
add eax, 0xdc2457ba
add eax, 0x23dba84b
mov ecx, 0xb648d004
add ecx, 0x49f72ffc
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40fcde
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x9e3779b9
mov eax, 0x34
xor edx, edx
div dword [ebp + 0xc]
add eax, 6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
test eax, eax
jbe 0x40fe29
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
and eax, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x40fd4f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
sub eax, 1
cmp dword [ebp - 0x18], eax
jae 0x40fdc1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
shr eax, 5
mov ecx, dword [ebp - 8]
shl ecx, 2
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 3
mov ecx, dword [ebp - 4]
shl ecx, 4
xor edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
and ecx, 3
xor ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + ecx*4]
xor ecx, dword [ebp - 4]
add edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
jmp 0x40fd46
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
shr eax, 5
mov ecx, dword [ebp - 8]
shl ecx, 2
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 3
mov ecx, dword [ebp - 4]
shl ecx, 4
xor edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
and ecx, 3
xor ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + ecx*4]
xor ecx, dword [ebp - 4]
add edx, ecx
xor eax, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + edx*4 - 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 4], edx
jmp 0x40fd14
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413c95
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 0x413d49
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00413c25
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x413d22
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413d55
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 0x413d70
test ebp, ebp
je 0x413d70
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x413d78
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 0x413db8
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 0x413e14
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x413e0f
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 0x413dfa
test dl, dl
je 0x413df6
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x413dfa
add ecx, 2
add eax, 2
test dl, dl
jne 0x413dda
xor eax, eax
jmp 0x413dff
sbb eax, eax
or eax, 1
test eax, eax
je 0x413e1e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x413dc7
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
Function at 0x413e35
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00413c95
test eax, eax
jne 0x413e4d
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00413d55
mov esi, eax
test esi, esi
jne 0x413e83
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x413e9d
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret