joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479fb0
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 0x47a003
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 0x479fea
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 0x480980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4adffe
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.004812a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4d2f04
call fcn.0049f35f
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x480a13
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f35f
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x480a0c
push 0
mov ecx, eax
call fcn.00477b20
mov dword [esi + 0xc], eax
jmp 0x480a15
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x480a15
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 0x4a19ec
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a1a24
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049fa79
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049fa51
jmp 0x4a1a30
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a30de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a3120
call fcn.004a8b96
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a3120
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a3117
xor eax, eax
jmp 0x4a3128
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a312e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a90c6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a90f4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a9112
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a902c
jmp 0x4a9112
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a9112
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a902c
test edi, edi
mov eax, edi
jne 0x4a90fc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x401c66
pop dword [ebp - 8]
mov eax, 0x27edd11e
sub eax, 0x27adb4b8
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x8d1ee86d
sub dword [ebp - 0x18], 0x3ecca322
mov dword [ebp - 0x14], 0xccbe1c1d
sub dword [ebp - 0x14], 0x9a8acfd8
mov dword [ebp - 0x10], 0x7c7dae26
sub dword [ebp - 0x10], 0x303169f8
mov dword [ebp - 0xc], 0x4c6a55bd
sub dword [ebp - 0xc], 0x4c6a55bd
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x99fcf4f9
add dword [ebp - 0x18], 0xda75745d
mov dword [ebp - 0x14], 0x313fcb60
add dword [ebp - 0x14], 0x102c9615
mov dword [ebp - 0x10], 0xd04e45a
add dword [ebp - 0x10], 0x566a8812
mov dword [ebp - 0xc], 0x83a072d3
add dword [ebp - 0xc], 0x7c5f8d2d
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x5618894e
add eax, 0xaa27a6de
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x338c6
push 0
call eax
mov ecx, 0xd19deee8
add ecx, 0x2e624d5d
xor edx, edx
add edx, eax
mov esi, 0x7fbcaeab
sub esi, 0x7f7c3eab
add esi, dword [ebp - 8]
mov ebx, 0x6cf3da6c
add ebx, 0xf57b94aa
mov dword [ebp - 4], 0x7f486dec
mov edi, dword [esi]
sub dword [ebp - 4], eax
xor edi, ebx
mov dword [edx], edi
xor dword [ebp - 4], ebx
add edx, 4
add esi, 0x863a73ea
add esi, 0x79c58c1a
loop 0x401d85
add eax, 0xe3e7
mov ebx, eax
add eax, 5
mov ecx, 0xbb3f0e2c
add ecx, 0x4500f1d4
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1000800f
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x178
mov eax, 0x1000bbb4
call fcn.10009cac
cmp byte [0x10044502], 0
mov edi, dword [ebp + 8]
push 0xa
pop eax
jne 0x1000819d
lea eax, [ebp - 0x15c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREApple_Computer__Inc.QuickTime
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100080c1
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 4
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
push ebx
push str.Version
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x15c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100080c1
mov ecx, dword [ebp - 0x164]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
push 0xa
mov byte [0x1004450b], al
mov byte [0x1004450a], cl
mov word [0x10044508], bx
pop eax
jmp 0x1000818e
push 0x104
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push ebx
push 0x1000cb50
lea eax, [ebp - 0x128]
push 0x118
push eax
call fcn.10005a7a
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x10008180
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x184]
call fcn.10005a7a
lea ecx, [ebp - 0x184]
call fcn.10005a7a
mov esi, edx
mov ebx, eax
mov ecx, esi
mov edx, ebx
shr ecx, 0x10
mov eax, esi
and cl, 0xf
mov byte [0x1004450b], cl
mov ecx, esi
shrd edx, ecx, 0x1c
mov ecx, ebx
shrd ecx, eax, 0x10
shrd ebx, esi, 0x1c
xor dl, cl
xor eax, eax
and dl, 0xf
mov word [0x10044508], ax
xor dl, bl
mov dword [0x10044504], eax
mov byte [0x1004450a], dl
mov esi, eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], eax
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
call fcn.10007bfb
or dword [ebp - 4], 0xffffffff
mov ebx, dword [0x10044504]
test esi, esi
push 0xa
pop eax
cmovne ebx, eax
mov dword [0x10044504], ebx
mov byte [0x10044502], 1
jmp 0x100081a3
mov ebx, dword [0x10044504]
test ebx, ebx
jne 0x100081bd
push 4
push 0x10044508
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.10009c56
ret
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
push 0x10042958
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

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 0x1001b900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1001b90f
pop dword [ebp - 0x3c]
mov eax, 0xcd63ed6e
sub eax, 0xbd62345f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x95a557dd
sub dword [ebp - 0x4c], 0x47531292
mov dword [ebp - 0x48], 0xeddb6bad
sub dword [ebp - 0x48], 0xbba81f68
mov dword [ebp - 0x44], 0x3a56c3e9
add dword [ebp - 0x44], 0x11f58045
mov dword [ebp - 0x40], 0x358d7712
add dword [ebp - 0x40], 0xca7288ee
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4e788a6e
add dword [ebp - 0x4c], 0x25f9dee8
mov dword [ebp - 0x48], 0x978aa4f3
add dword [ebp - 0x48], 0xa9e1bc82
mov dword [ebp - 0x44], 0xd9594263
sub dword [ebp - 0x44], 0x75e9d5f7
mov dword [ebp - 0x40], 0xc4116786
sub dword [ebp - 0x40], 0xc4116786
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x47982
push 0
call eax
mov ecx, 0x4e99803e
add ecx, 0xb166dcb7
xor edx, edx
add edx, eax
mov ebx, 0xbd7fde
sub ebx, 0xf0b74fde
add ebx, dword [ebp - 0x3c]
mov esi, 0x758a53c6
sub esi, 0xd8b9b8a8
xor dword [ebp - 0x14], edx
mov edi, dword [ebx]
sub edi, esi
xor dword [ebp - 0x14], edx
mov dword [edx], edi
xor dword [ebp - 0x14], 0xb90cc292
add edx, 0xe4d49ec8
sub edx, 0xe4d49ec4
add ebx, 0xcc7613f8
add ebx, 0x3389ec0c
loop 0x1001ba29
add eax, 0x812ea0f2
add eax, 0x7ed2c5b5
mov ebx, eax
add eax, 0x8ef4d8ec
sub eax, 0x8ef4d8e7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10001f8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001c7f1
call fcn.1001c3b8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000219d
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001fdd
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], edx
call fcn.10001357
test eax, eax
js 0x1000219d
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1000202e
mov ecx, esi
call fcn.10001387
test al, al
je 0x1000202e
mov eax, esi
call fcn.1001c519
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000203a
push esi
lea ecx, [ebp - 0x428]
call fcn.1001339a
push 3
push esi
mov edx, edi
mov ecx, eax
call fcn.1001339a
mov edi, eax
test edi, edi
je 0x10002197
push 0x60
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
jne 0x10002088
push 2
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x10002088
call fcn.10001543
mov edi, eax
jmp 0x1000217c
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100020ab
call fcn.10001543
jmp 0x1000216f
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x100020a1
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x100020de
mov edi, 0x8007000e
jmp 0x10002171
mov byte [ebp - 4], 2
call fcn.10005d4e
cmp eax, 0x400
jbe 0x100020fc
push eax
lea ecx, [ebp - 0x418]
call fcn.1001339a
jmp 0x10002108
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000212c
cmp dword [ebp - 0x418], 0
je 0x100020d4
mov ecx, dword [ebp - 0x418]
mov edx, edi
push edi
push dword [ebp - 0x420]
call fcn.1001339a
pop ecx
pop ecx
mov ecx, eax
call fcn.100014e5
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x14]
mov byte [eax + edi], bl
push dword [ebp - 0x418]
call fcn.1001339a
mov edi, eax
test esi, esi
je 0x1000217c
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100021b7
lea ecx, [ebp - 0x418]
call fcn.100058b0
jmp 0x100021b7
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x100021b2
lea ecx, [ebp - 0x418]
call fcn.100058b0
mov edi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.10005668
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1001c309
ret 0x10
Function at 0x1001339a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100133a9
pop dword [ebp - 0x18]
mov eax, 0x30dddad1
add eax, 0xdf2358d8
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x1741554c
add dword [ebp - 0x28], 0x3710efff
mov dword [ebp - 0x24], 0x5f34c2d3
sub dword [ebp - 0x24], 0x2d01768e
mov dword [ebp - 0x20], 0xd9caacd5
sub dword [ebp - 0x20], 0x8d7e68a7
mov dword [ebp - 0x1c], 0x7b07e97a
sub dword [ebp - 0x1c], 0x7b07e97a
lea eax, [ebp - 0x28]
push eax
mov eax, 0x1692bcb9
add eax, 0xf96f2397
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xa296f4fa
sub dword [ebp - 0x28], 0x2e248ba4
mov dword [ebp - 0x24], 0x6e62724a
add dword [ebp - 0x24], 0xd309ef2b
mov dword [ebp - 0x20], 0xf9689360
sub dword [ebp - 0x20], 0x95f926f4
mov dword [ebp - 0x1c], 0x476c81ba
sub dword [ebp - 0x1c], 0x476c81ba
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xb43c28e8
add eax, 0x5bc5b748
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3cec4
push 0
call eax
mov ecx, 0x6b17f2bd
sub ecx, 0x6b17a83a
xor edi, edi
add edi, eax
mov esi, 0xe0b4eae6
sub esi, 0xd0b20ee6
add esi, dword [ebp - 0x18]
mov ebx, 0x9434b0e4
add ebx, 0x71ca34a6
xor dword [ebp - 0xc], 0x281d90dd
mov edx, dword [esi]
mov dword [ebp - 0xc], 0x5df91f43
xor edx, ebx
add dword [ebp - 8], 0x8712f0f
mov dword [edi], edx
mov dword [ebp - 0xc], 0xda01c38
add edi, 0x3bc8fad8
add edi, 0xc437052c
add esi, 4
loop 0x100134cd
add eax, 0x9997dd47
add eax, 0x66693f98
xor ebx, ebx
add ebx, eax
add eax, 0x1d59fa00
add eax, 0xe2a60605
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

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 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 0x1002ff22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1002ff31
pop dword [ebp - 0x4c]
mov eax, 0xc5b4dde2
sub eax, 0xb5b1deb1
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x35ef0
push 0
mov eax, 0x6f3a039b
sub eax, 0x5f3254f3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x1f2de420
sub ecx, 0x1f2da182
xor edx, edx
add edx, eax
mov ebx, 0x10085e00
add ebx, dword [ebp - 0x4c]
mov edi, 0x5114604e
sub edi, 0x5e00ca01
add dword [ebp - 8], 0xe79e6a7a
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0x9aaf9344
add esi, edi
mov dword [ebp - 8], 0x73a7f122
mov dword [edx], esi
mov dword [ebp - 0x2c], 0xb5ed122d
add edx, 0x2ce37ad2
add edx, 0xd31c8532
add ebx, 0x902bde71
add ebx, 0x6fd42193
loop 0x1002ff8c
add eax, 0xeba98595
sub eax, 0xeba8884a
mov ebx, eax
add eax, 5
mov ecx, sym.mozglue.dll_Ordinal_0
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1006bb80
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [0x1007e4e8], 0
je 0x1006bbba
push 0x10074c1c
push str.MOZ_SKELETON_UI_RESTARTING
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov eax, dword [0x1007d204]
cmp eax, 0xffffffff
je 0x1006bbb1
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov byte [esi + 4], 0
mov eax, esi
pop esi
pop ebp
ret
mov byte [esi + 4], 1
mov dword [esi], 2
jmp 0x1006bbb5

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 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 0x407b4e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
push edi
xor eax, eax
call fcn.00407267
mov edi, eax
mov eax, dword [0x41a4cc]
test eax, eax
jne 0x407b9a
lea eax, [esp + 0xd8]
push eax
xor eax, eax
push str.TimeCorr
inc eax
call fcn.00407e2b
test eax, eax
pop ecx
pop ecx
je 0x407b9a
lea eax, [esp + 0xd8]
call fcn.00405624
mov dword [0x41a4cc], eax
add eax, edi
xor edx, edx
mov ecx, 0x4b0
div ecx
lea esi, [esp + 0x70]
mov edi, eax
test edi, edi
jne 0x407bba
mov byte [esp + 0x70], 0x30
mov byte [esp + 0x71], al
jmp 0x407bf8
mov ecx, 0x3b9aca00
cmp edi, ecx
jae 0x407bd4
mov eax, ecx
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, eax
cmp edi, ecx
jb 0x407bc3
jmp 0x407bf2
xor edx, edx
mov eax, edi
div ecx
push 0xa
mov dl, al
imul eax, ecx
add dl, 0x30
sub edi, eax
mov byte [esi], dl
mov eax, ecx
xor edx, edx
pop ecx
div ecx
inc esi
mov ecx, eax
test ecx, ecx
jne 0x407bd4
mov byte [esi], cl
cmp byte [esp + 0x70], 0
mov edx, str.__scMMdj490_0_Osd
lea eax, [esp + 0x70]
je 0x407c0e
inc eax
cmp byte [eax], 0
jne 0x407c08
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
test cl, cl
jne 0x407c0e
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
lea eax, [esp + 0x70]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407c46
lea ecx, [esp + 0x70]
sub eax, ecx
dec eax
mov edx, eax
cmp edx, edi
jle 0x407c6e
push edx
push ecx
lea ecx, [esp + 0x20]
push ecx
shl eax, 3
xor ecx, ecx
call fcn.0040bca3
add esp, 0xc
lea eax, [esp + 8]
push eax
lea esi, [esp + 0x1c]
jmp 0x4293e3

Function at 0x407cd7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0040d5a0
push esi
push edi
mov esi, 0x1000
push esi
lea eax, [ebp - 0x2000]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x407d0d
lea edx, [ebp - 0x2000]
call fcn.00406cf9
jmp 0x407d1b
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, str._viesazm.mpk
lea eax, [ebp - 0x2000]
call fcn.004054ed
cmp dword [ebp + 8], edi
push 4
pop eax
je 0x407d36
push 3
pop eax
push edi
push 2
push eax
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x2000]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
mov dword [0x4110b0], eax
pop esi
mov eax, ecx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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 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 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