joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f5a4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.00403470
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret

Function at 0x4a1d08
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f14
xor eax, eax
push ebp
push 0x4a1d60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov cx, word [0x4a1d6c]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00433dc4
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1d67
lea eax, [ebp - 8]
call fcn.00404a60
ret

Function at 0x4a3c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f14
mov eax, dword [ebp - 0xc]
call fcn.00404f14
xor eax, eax
push ebp
push 0x4a3d63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x4a99ec]
cmp dword [eax], 6
jge 0x4a3cca
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404f24
push eax
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
push 0x4a3d74
mov eax, dword [ebp - 4]
call fcn.00449290
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4a3d3e
xor eax, eax
push ebp
push 0x4a3d34
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
mov eax, dword [ebp - 4]
call fcn.00449290
mov dword [ebp - 0x44], eax
mov eax, 0x4a3d7c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00404f24
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00404f24
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3d3e
push 0x3e8
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3d6a
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a84
ret
Function at 0x4a3d94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f14
xor eax, eax
push ebp
push 0x4a3f2f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4a972c], 0
je 0x4a3f04
lea edx, [ebp - 0x10]
mov eax, 0x4a1800
call fcn.00406b38
xor eax, eax
push ebp
push 0x4a3eeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a99ec]
cmp dword [eax], 6
jge 0x4a3e92
xor eax, eax
push ebp
push 0x4a3e8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x2001f
mov dl, 1
mov eax, dword [0x424568]
call fcn.004246ac
mov dword [ebp - 0xc], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00424744
lea edx, [ebp - 0x18]
mov eax, 0x4a3d8c
call fcn.00406b38
mov edx, dword [ebp - 0x18]
mov cl, 1
mov eax, dword [ebp - 0xc]
call fcn.004247a8
lea eax, [ebp - 0x1c]
mov ecx, 0x4a3f48
mov edx, dword [ebp - 8]
call fcn.00404d70
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00424afc
mov eax, dword [ebp - 0xc]
call fcn.00424714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3ee1
cmp dword [ebp - 0xc], 0
je 0x4a3e8a
mov eax, dword [ebp - 0xc]
call fcn.00403b5c
ret
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x4a3d84
call fcn.00406b38
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x2c]
xor ecx, ecx
pop eax
call fcn.0040a558
mov eax, dword [ebp - 0x20]
call fcn.00404f24
push eax
push 0x4a3f4c
push 0x4a3f5c
mov eax, dword [ebp - 4]
call fcn.00449290
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3f36
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404a84
lea eax, [ebp - 0x10]
call fcn.00404a60
lea eax, [ebp - 8]
call fcn.00404a60
ret
Function at 0xd81058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d811a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd8107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8106a
add dl, dl
jne 0xd81089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd810dc
xor eax, eax
add dl, dl
jne 0xd81096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd8117d
add dl, dl
jne 0xd810a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd810b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd810bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd810c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd810d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd81075
mov eax, 1
add dl, dl
jne 0xd810ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd810f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd810e1
sub eax, ebx
mov ebx, 1
jne 0xd81128
mov ecx, 1
add dl, dl
jne 0xd8110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd81119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd81105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd81075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd8113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd8114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd81136
cmp eax, 0x7d00
jae 0xd8116d
cmp eax, 0x500
jb 0xd81168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd81075
cmp eax, 0x7f
ja 0xd81170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd81075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd8119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd81075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x443c60
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x443ce6
mov ecx, dword [edi]
push ebx
push ebp
mov byte [ecx + 0x16], dl
push esi
mov esi, dword [edi + 4]
mov byte [ecx + 0x17], dl
xor eax, eax
cmp esi, edx
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], dl
jle 0x443c9f
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x6b6060]
inc edx
cmp edx, esi
jl 0x443c83
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x443cca
mov edi, dword [edi + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x6b6060]
inc edx
cmp edx, esi
jl 0x443cb0
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
pop esi
shr edx, 0x10
shr eax, 0x18
pop ebp
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
ret
Function at 0x4b2417
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14c], 0
jne 0x4b2429
pop esi
jmp fcn.004b19d7
call fcn.004b21b6
test al, al
je 0x4b2459
lea eax, [esi + 0x150]
inc dword [eax]
mov eax, dword [eax]
imul eax, eax, 0xa5
push edi
add esi, 0x158
mov edi, dword [esi]
push 0xfffffffffffffff1
push eax
mov ecx, esi
call dword [edi + 4]
push eax
mov ecx, esi
call dword [edi]
pop edi
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14c], 0
jne 0x4b246d
pop esi
jmp fcn.004b19d7
call fcn.004b21d9
test al, al
je 0x4b249d
lea eax, [esi + 0x150]
dec dword [eax]
mov eax, dword [eax]
imul eax, eax, 0xa5
push edi
add esi, 0x158
mov edi, dword [esi]
push 0xfffffffffffffff1
push eax
mov ecx, esi
call dword [edi + 4]
push eax
mov ecx, esi
call dword [edi]
pop edi
pop esi
ret

Function at 0x4b3bef
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [ecx + 0x9c4]
cmp eax, 0x270
jl 0x4b3caf
cmp eax, 0x271
jne 0x4b3c11
push 0x1105
call fcn.004b3b75
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 4]
mov edx, edi
mov ebx, 0xe3
mov esi, 0x7fffffff
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [edx]
mov ebp, eax
shr eax, 1
and ebp, 1
xor eax, dword [ebp*4 + 0x6eabcc]
xor eax, dword [edx + 0x634]
mov dword [edx], eax
add edx, 4
dec ebx
jne 0x4b3c24
lea edx, [ecx + 0x390]
mov ebx, 0x18c
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [edx]
mov ebp, eax
shr eax, 1
and ebp, 1
xor eax, dword [ebp*4 + 0x6eabcc]
xor eax, dword [edx - 0x38c]
mov dword [edx], eax
add edx, 4
dec ebx
jne 0x4b3c54
mov eax, dword [ecx + 0x9c0]
xor eax, dword [edi]
pop edi
and eax, esi
xor eax, dword [ecx + 0x9c0]
pop esi
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x6eabcc]
xor edx, dword [ecx + 0x634]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c4], ebx
pop ebp
mov dword [ecx + 0x9c0], edx
pop ebx
mov eax, dword [ecx + 0x9c4]
mov edx, dword [ecx + eax*4 + 4]
inc eax
mov dword [ecx + 0x9c4], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x4e209c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6f2bf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.004e1ff0
xor eax, eax
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x35
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x30
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 1
mov byte [ebp - 8], 2
mov byte [ebp - 7], 3
mov byte [ebp - 6], 0x68
mov byte [ebp - 5], 0x3e
lea edi, [ecx + 0x48]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ecx + 0x70], al
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov byte [ecx + 0x71], al
mov dword [ecx], vtable.NekoGameSDK4th::Base::COnahole.0
mov eax, ecx
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
pop edi
xor ecx, ebp
pop esi
call fcn.005f39d3
leave
ret

Function at 0x4e353d
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x6615f8
call fcn.005f4fdc
mov esi, ecx
lea eax, [esi + 0x6c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045cbe3
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 8]
lea edi, [esi + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], 0
lea ebx, [esi + 8]
mov byte [esi + 0xc], 1
push ebx
jne 0x4e35b8
push 0
push esi
push 0x4e34e8
push 0x100000
push 0
call fcn.005f6e9e
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4e35fb
and dword [ebx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045cc8b
xor al, al
call fcn.005f50b4
ret 4
push 4
push esi
push 0x4e34e8
push 0x100000
push 0
call fcn.005f6e9e
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4e35ea
and dword [ebx], eax
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045cc8b
mov al, bl
jmp 0x4e35b0
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 8]
mov bl, 1
jmp 0x4e35da
Function at 0x614d0d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x614e2e
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x614e12
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x614d64
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x614d42
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x62d730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6710ce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.0062d630
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.0
mov dword [esi + 0xc], vtable.CBaseRenderer.2.0
mov dword [esi + 0x10], vtable.CBaseRenderer.1.0
mov dword [esi + 0x50], edi
call fcn.00630620
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.00630620
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.00630620
push ebx
mov ebx, dword [0x67d21c]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x62d827
mov edx, dword [esi + 0x5c]
push edx
call dword [0x67d0f0]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x6331f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6714c4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], vtable.SQNativeClosure.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov ecx, 0x1000001
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
add eax, 0x44
push esi
push eax
mov byte [esp + 0x1c], 4
mov dword [esi + 0x3c], ecx
call fcn.0063ed40
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x6382d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6718b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], 0x1000001
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0xc]
mov edi, dword [ecx + 0x24]
lea edx, [esi + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.006372d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.006372d0
lea edx, [edi + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.006372d0
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x638363
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.006352c0
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.006372d0
add edi, 0x14
push edi
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.006372d0
mov ecx, dword [esi + 0x30]
push ebx
lea eax, [esp + 0x14]
push eax
sub ecx, 5
push ecx
push 5
lea edx, [esi + 0x50]
push edx
mov ecx, esi
call fcn.0063c480
push 5
mov ecx, esi
call fcn.00637260
or ecx, 0xffffffff
test dword [esp + 0x10], 0x8000000
mov dword [esp + 0x28], ecx
je 0x6383da
mov eax, dword [esp + 0x14]
add dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], ebx
ja 0x6383da
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x63eb60
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, edx
or ecx, 0x20
shr ecx, 5
mov eax, edx
cmp edx, ecx
jb 0x63eba1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea esp, [esp]
mov edi, eax
mov ebx, eax
shr ebx, 2
shl edi, 5
add edi, ebx
movsx bx, byte [esi]
movzx ebx, bx
add edi, ebx
sub edx, ecx
xor eax, edi
inc esi
cmp edx, ecx
jae 0x63eb80
pop edi
pop esi
pop ebx
ret
Function at 0x642220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x672449
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 8], 0x1000001
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0064b160
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push esi
push 0x641950
push eax
mov dword [esi + 0xb4], ebp
mov edx, dword [ebp + 0x80]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.0064b1e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x80]
push 0xffffffffffffffff
push eax
push ecx
call fcn.006351d0
mov edi, eax
mov ebp, 0x8000010
mov edx, 1
add dword [edi + 4], edx
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebp
add dword [edi + 4], edx
mov byte [esp + 0x28], 3
test eax, 0x8000000
je 0x6422f2
add dword [ecx + 4], 0xffffffff
jne 0x6422f2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add dword [edi + 4], 0xffffffff
mov byte [esp + 0x28], 2
jne 0x642306
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov cl, byte [esp + 0x44]
mov dl, byte [esp + 0x40]
mov byte [esi + 0x58], cl
mov byte [esi + 0x59], dl
mov dword [esi + 0x70], ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
Function at 0x6492f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6728e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xdc]
push eax
push ecx
push edx
call fcn.006351d0
mov ecx, 1
mov dword [esp + 0x1c], 0x8000010
mov dword [esp + 0x20], eax
add dword [eax + 4], ecx
add esp, 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x5000002
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], cl
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x84]
call fcn.0063c8e0
test dword [esp + 8], 0x8000000
mov byte [esp + 0x20], 0
je 0x649397
mov eax, dword [esp + 0xc]
dec dword [eax + 4]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 4], 0
ja 0x649397
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esp + 0x20], 0xffffffff
test ecx, 0x8000000
je 0x6493cc
dec dword [eax + 4]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 0
ja 0x6493cc
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x403388
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48700c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403420
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403400
xor eax, eax
push ebp
push 0x4033f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40343c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403400
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48700c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48700c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404100
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x489048], 0
je 0x404161
cmp word [0x48921c], 0xd7b2
jne 0x404129
cmp dword [0x489224], 0
jbe 0x404129
mov eax, 0x489218
call dword [0x489234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x487054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404188
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48701c], 0
jne 0x40417d
push 0
push 0x487074
push 0x487054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret