joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.004149e5
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004149e5
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.004149e5
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.004149e5
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.004149e5
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.004149e5
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.004149e5
mov dword [0x42565c], eax
call fcn.004149e5
test eax, eax
jns 0x408ea1
push 8
call fcn.004149e5
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.004149e5
pop ecx
push 1
call fcn.004149e5
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.004149e5
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.004149e5
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.004149e5
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x10076b0
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x101007c]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0xa8], eax
push 0x27
xor eax, eax
cmp ebx, esi
mov word [ebp - 0xa4], si
pop ecx
lea edi, [ebp - 0xa2]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb0], esi
stosw word es:[edi], ax
je 0x1007782
mov ax, word [edx + 6]
push 0x14
pop ecx
mov word [ebp - 0xaa], ax
mov word [ebp - 0xac], si
push dword [ebp - 0xac]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
xor eax, eax
lea edi, [ebp - 0xa4]
push ebx
rep stosd dword es:[edi], eax
call esi
push 0
lea eax, [ebp - 0xb0]
push eax
push 0x4f
push 0x4f
push 0x100135c
lea eax, [ebp - 0xa4]
push eax
call fcn.0100a6b4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push eax
push ebx
call edi
push dword [ebp - 0xac]
push ebx
call esi
cmp dword [ebp - 0xa8], 0
je 0x1007782
push 0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0xa8]
push ebx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010098db
leave
ret 0xc
Function at 0x100d480
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x101007c]
and dword [ebp - 0x198], 0
cmp dword [0x1010098], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
jne 0x100d4e4
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100d4da
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100d58a
mov dword [0x1010098], 1
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 5]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x100d515
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100a9a7
jmp 0x100d555
push esi
push edi
push ebx
call fcn.0100a9fe
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x198], eax
jne 0x100d53e
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push 0x800300fd
jmp 0x100d508
push 2
push 4
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x100d559
xor eax, eax
jmp 0x100d588
push edi
call dword [sym.imp.msvcrt.dll_free]
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
pop ecx
jne 0x100d577
push 0x1001bcc
push eax
call dword [sym.imp.msvcrt.dll_strtok]
pop ecx
pop ecx
push 0xf
push dword [ebp - 0x19c]
push eax
call fcn.0100aaa9
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.010098db
leave
ret 0xc

Function at 0x100d5c0
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101007c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3f
xor edx, edx
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
cmp ebx, edx
lea edi, [ebp - 0x100]
mov dword [ebp - 0x104], edx
rep stosd dword es:[edi], eax
push 0x3f
pop ecx
lea edi, [ebp - 0x200]
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], edx
rep stosd dword es:[edi], eax
je 0x100d6af
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100d6af
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
mov edi, 0x80
push 4
mov dword [ebp - 0x208], edi
call esi
push 0
push 1
push ebx
lea eax, [ebp - 0x104]
push eax
call fcn.0100b094
test eax, eax
je 0x100d6af
push ebx
call fcn.0100d263
cmp eax, 1
jne 0x100d67f
push 0
lea eax, [ebp - 0x204]
push eax
push ebx
call fcn.0100d480
test eax, eax
je 0x100d6b2
push 0
push 1
lea eax, [ebp - 0x204]
push eax
jmp 0x100d69c
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
push 7
mov dword [ebp - 0x208], edi
call esi
push 0
push 1
push ebx
lea eax, [ebp - 0x104]
push eax
call fcn.0100b094
neg eax
sbb eax, eax
inc eax
jmp 0x100d6b2
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010098db
leave
ret 4
Function at 0x40107e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x4ac6c8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4ac6cc]
xor esi, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
call fcn.00401077
mov eax, dword [0x4ac6d0]
add dword [ebp - 0xc], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x4ac6d4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x4010ce
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, ebx
shl eax, 4
cmp dword [0x4bb914], 0xc
mov dword [ebp - 4], eax
jne 0x4010f8
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x4bb914]
cmp eax, 0xfa9
jne 0x401114
mov dword [0x4bb910], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401133
push str.komovavukuniburubawumukoni
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x4bb868], esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, ebx
add eax, ebx
shr edx, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [0x4bb90c], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub edi, eax
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
add eax, edi
mov dword [ebp - 0x18], eax
add esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x4bb914], 0xb03
jne 0x4011ac
push str.ruyenemilimusibubigukexem
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
xor dword [ebp - 4], esi
sub ebx, dword [ebp - 4]
add dword [ebp - 0xc], 0x61c88647
dec dword [ebp - 0x1c]
jne 0x4010cc
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 4
Function at 0x4073c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab83c]
jne 0x4073ca
repz ret
jmp fcn.0040b7cf

Function at 0x40b1bd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405d57
and dword [ebp - 4], 0
cmp dword [0x4b0904], 0
mov ebx, eax
jne 0x40b26e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b31f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b31f
push eax
call fcn.00405ce5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b0904], eax
call esi
push eax
call fcn.00405ce5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0908], eax
call esi
push eax
call fcn.00405ce5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b090c], eax
call esi
push eax
call fcn.00405ce5
pop ecx
mov dword [0x4b0914], eax
test eax, eax
je 0x40b26e
push 0x4a7f18
push edi
call esi
push eax
call fcn.00405ce5
pop ecx
mov dword [0x4b0910], eax
mov eax, dword [0x4b0910]
cmp eax, ebx
je 0x40b2c6
cmp dword [0x4b0914], ebx
je 0x40b2c6
push eax
call fcn.00405d60
push dword [0x4b0914]
mov esi, eax
call fcn.00405d60
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b2c6
test edi, edi
je 0x40b2c6
call esi
test eax, eax
je 0x40b2bd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b2bd
test byte [ebp - 0xc], 1
jne 0x40b2c6
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ff
mov eax, dword [0x4b0908]
cmp eax, ebx
je 0x40b2ff
push eax
call fcn.00405d60
pop ecx
test eax, eax
je 0x40b2ff
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ff
mov eax, dword [0x4b090c]
cmp eax, ebx
je 0x40b2ff
push eax
call fcn.00405d60
pop ecx
test eax, eax
je 0x40b2ff
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b0904]
call fcn.00405d60
pop ecx
test eax, eax
je 0x40b31f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b321
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001de4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10001df3
pop dword [ebp - 0x4c]
mov eax, 0xb1ae08c9
add eax, 0x5e52152a
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xaae73ba0
sub dword [ebp - 0x5c], 0x5c94f655
mov dword [ebp - 0x58], 0x812b3e15
add dword [ebp - 0x58], 0xb1080e30
mov dword [ebp - 0x54], 0x14f35b09
sub dword [ebp - 0x54], 0xc8a716db
mov dword [ebp - 0x50], 0x82a77a5a
sub dword [ebp - 0x50], 0x82a77a5a
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x959ab1c5
sub eax, 0x859a81c1
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xe260f0c1
add dword [ebp - 0x5c], 0x92117895
mov dword [ebp - 0x58], 0x876f0d9c
sub dword [ebp - 0x58], 0x4602ac27
mov dword [ebp - 0x54], 0xed74c3af
add dword [ebp - 0x54], 0x75faa8bd
mov dword [ebp - 0x50], 0xa739faa2
add dword [ebp - 0x50], 0x58c6055e
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x4beb7491
sub eax, 0x3beb4485
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x35054
push 0
call eax
mov ecx, 0x4227
mov edx, eax
mov ebx, 0xec7357c4
sub ebx, 0xdc72f3c4
add ebx, dword [ebp - 0x4c]
mov esi, 0xcf4efea3
add esi, 0xfd05c952
sub dword [ebp - 0x18], ecx
mov edi, dword [ebx]
sub dword [ebp - 0x48], eax
xor edi, esi
xor dword [ebp - 0x20], edi
mov dword [edx], edi
sub dword [ebp - 0x1c], edx
add edx, 0x76cafd16
add edx, 0x893502ee
add ebx, 0x417b358d
add ebx, 0xbe84ca77
loop 0x10001f0f
add eax, 0xc927f71f
sub eax, 0xc926fbb0
mov ebx, eax
add eax, 0xc0274697
add eax, 0x3fd8b96e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10014866
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10014875
pop dword [ebp - 0x20]
mov eax, 0xcd5e4fb8
sub eax, 0xbd5d0743
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x1054f799
sub dword [ebp - 0x30], 0xc202b24e
mov dword [ebp - 0x2c], 0x29454fb1
sub dword [ebp - 0x2c], 0xf712036c
mov dword [ebp - 0x28], 0x22129d28
add dword [ebp - 0x28], 0x2a39a706
mov dword [ebp - 0x24], 0x8e44dfbd
add dword [ebp - 0x24], 0x71bb2043
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xcaed7016
add dword [ebp - 0x30], 0xa984f940
mov dword [ebp - 0x2c], 0x51b15c5e
add dword [ebp - 0x2c], 0xefbb0517
mov dword [ebp - 0x28], 0xfa1cf990
add dword [ebp - 0x28], 0x695272dc
mov dword [ebp - 0x24], 0x997b288a
add dword [ebp - 0x24], 0x6684d776
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x408d0
push 0
call eax
mov ecx, 0xeeb080cf
sub ecx, 0xeeb02d51
xor edx, edx
add edx, eax
mov ebx, 0x3b3d0263
add ebx, 0xd4c5a99d
add ebx, dword [ebp - 0x20]
mov edi, 0xb3a68fd9
xor dword [ebp - 4], ebx
mov esi, dword [ebx]
add dword [ebp - 0x18], edx
add esi, edi
xor dword [ebp - 0x18], 0xc3707858
mov dword [edx], esi
mov dword [ebp - 0xc], 0x72de4436
add edx, 0x80c242f5
sub edx, 0x80c242f1
add ebx, 0xd812c2e7
sub ebx, 0xd812c2e3
loop 0x10014989
add eax, 0x399da5b7
add eax, 0xc6639b14
mov ebx, eax
add eax, 5
mov ecx, 0x6d8e88b1
sub ecx, 0x5d8e88b1
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x1001d7ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10026200]
jne 0x1001d7b6
repz ret
jmp fcn.1001dc29
Function at 0x1002ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
and esi, 0xfffffffc
je 0x1002edcb
lea eax, [esi - 1]
mov edi, eax
shr edi, 2
add edi, 1
mov ecx, edi
and ecx, 3
cmp eax, 0xc
jae 0x1002ed40
xor eax, eax
xor ebx, ebx
jmp 0x1002ed8b
and edi, 0xfffffffc
neg edi
xor eax, eax
xor ebx, ebx
nop dword [eax]
rol eax, 5
xor eax, dword [edx + ebx]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 4]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 8]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 0xc]
imul eax, eax, 0x9e3779b9
add ebx, 0x10
add edi, 4
jne 0x1002ed50
test ecx, ecx
je 0x1002eda9
add ebx, edx
shl ecx, 2
xor edi, edi
rol eax, 5
xor eax, dword [ebx + edi]
imul eax, eax, 0x9e3779b9
add edi, 4
cmp ecx, edi
jne 0x1002ed96
mov edi, dword [ebp + 0xc]
cmp esi, edi
jae 0x1002edc6
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
add esi, 1
cmp edi, esi
jne 0x1002edb0
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1002eda9

Function at 0x1002f5e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002f5f0
pop dword [ebp - 0x3c]
mov eax, 0x5e2c73f2
add eax, 0xb1d681fe
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x35a32
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x41ac
mov edx, eax
mov edi, 0x10085e00
add edi, dword [ebp - 0x3c]
mov esi, 0x2e7e605c
sub esi, 0xad15c83b
mov dword [ebp - 0x34], 0xbc1d050f
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x30], ebx
add edx, 0x8eeb1ea1
add edx, 0x7114e163
add edi, 0x8404874c
add edi, 0x7bfb78b8
loop 0x1002f63e
add eax, 0xef09e43d
add eax, 0x10f71546
xor ebx, ebx
add ebx, eax
add eax, 0x4bb5e092
add eax, 0xb44a1f73
mov ecx, sym.mozglue.dll_Ordinal_0
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x1000b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000b34f
pop dword [ebp - 0x28]
mov eax, 0x1000b34f
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x35280
push 0
mov eax, 0xdf4fdca5
sub eax, 0xcf4d4b99
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x8a4625c1
sub ecx, 0x8a45f3e4
mov ebx, eax
mov esi, 0xfaf0d251
sub esi, 0xeaec6651
add esi, dword [ebp - 0x28]
mov edi, 0xe0ef9583
add edi, 0x26ef5f0a
mov edx, dword [esi]
sub dword [ebp - 0x20], 0xa8597891
xor edx, edi
add dword [ebp - 0x10], 0xe93d826
mov dword [ebx], edx
add ebx, 0xfbf20ad8
add ebx, 0x40df52c
add esi, 4
loop 0x1000b3a9
add eax, 0xba47
xor ebx, ebx
add ebx, eax
add eax, 0xf205c025
sub eax, 0xf205c020
mov ecx, 0x8c140ff1
add ecx, 0x83ebf00f
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x1002071b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x10027a30
call fcn.1002584a
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x1002093c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.1000b340
add esp, 0x10
test eax, eax
js 0x10020936
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x100207bf
push edi
call fcn.1001a3e8
pop ecx
test al, al
je 0x100207bf
mov eax, edi
call fcn.100259d0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x100207d1
push edi
lea ecx, [ebp - 0x424]
call fcn.1000b340
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.1000b340
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10020936
push 0x60
push ebx
push eax
call fcn.10021cbd
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x10020829
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.10021cbd
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x10020829
call fcn.100156c1
mov ebx, eax
jmp 0x10020905
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x10020850
call fcn.100156c1
jmp 0x100208f8
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x10020846
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x10020883
mov ebx, 0x8007000e
jmp 0x100208fa
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000b340
jmp 0x100208a9
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1002087c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.1000b340
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.1000b340
mov ebx, eax
test edi, edi
je 0x10020905
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002091e
lea ecx, [ebp - 0x418]
call fcn.1001ff05
or dword [ebp - 4], 0xffffffff
jmp 0x1002092e
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x10020924
mov eax, ebx
jmp 0x1002096a
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x10020951
lea ecx, [ebp - 0x418]
call fcn.1001ff05
or dword [ebp - 4], 0xffffffff
jmp 0x10020961
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x10020957
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.10025797
ret 0x10