joyce8/EMBER2024-capa huggingface dataset:
Function at 0x503edf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x588790]
jne 0x503ee9
repz ret
jmp fcn.0050f75b

Function at 0x50456d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x504594
call fcn.0050d382
mov dword [eax], esi
call fcn.0050d36f
push 0x16
pop esi
mov dword [eax], esi
call fcn.0050ff96
mov eax, esi
jmp 0x5045e9
test dword [ebp + 0xc], 0xfffffff9
jne 0x50457a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5045c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050d395
pop ecx
call fcn.0050d36f
mov eax, dword [eax]
jmp 0x5045e9
test al, 0x10
jne 0x5045e7
test al, 1
je 0x5045e7
test byte [ebp + 0xc], 2
je 0x5045e7
call fcn.0050d382
mov dword [eax], 5
call fcn.0050d36f
mov dword [eax], 0xd
jmp 0x5045b8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x51b62a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00510466
and dword [ebp - 0x14], 0
cmp dword [0x58f234], 0
mov dword [ebp - 0x18], eax
jne 0x51b6dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51b785
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x535b38
push ebx
call edi
test eax, eax
je 0x51b785
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x535b28
push ebx
mov dword [0x58f234], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x58f238], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x58f23c], eax
call edi
push eax
call esi
mov dword [0x58f244], eax
test eax, eax
je 0x51b6dd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x58f240], eax
mov eax, dword [0x58f240]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51b736
cmp dword [0x58f244], ecx
je 0x51b736
push eax
call esi
push dword [0x58f244]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51b736
test ebx, ebx
je 0x51b736
call edi
test eax, eax
je 0x51b72d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51b72d
test byte [ebp - 8], 1
jne 0x51b736
or dword [ebp + 0x10], 0x200000
jmp 0x51b769
mov eax, dword [0x58f238]
cmp eax, dword [ebp - 0x18]
je 0x51b769
push eax
call esi
test eax, eax
je 0x51b769
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51b769
mov eax, dword [0x58f23c]
cmp eax, dword [ebp - 0x18]
je 0x51b769
push eax
call esi
test eax, eax
je 0x51b769
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x58f234]
call esi
test eax, eax
je 0x51b785
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51b787
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503edf
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6e5c3b70
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x15b86804
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x7c545e8a
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x2da175b0
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100395c
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10039cd
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10039bb
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], ebx
je 0x10039cd
mov al, 1
jmp 0x10039cf
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.010032ed
leave
ret 4
Function at 0x6d541712
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d57b389
call fcn.6d574b54
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x10], esi
jbe 0x6d541732
mov eax, ebx
jmp 0x6d541735
xor eax, eax
inc eax
push eax
mov ecx, esi
call fcn.6d5400c8
cmp ebx, edi
mov dword [ebp - 4], edi
ja 0x6d541747
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esi + 0xc]
call fcn.6d539edf
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x6d544159
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6d57b452
call fcn.6d574b54
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0x6d513de0
mov dword [esi + 0xc], ebx
push dword [ebp + 8]
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
mov dword [esi], 0x6d514a30
mov dword [esi + 4], 0x6d514a00
mov dword [esi + 8], 0x6d5149f0
mov dword [esi + 0x10], ebx
call fcn.6d53ec82
mov byte [esi + 0x18], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
xor eax, eax
inc eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
push eax
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.6d541712
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x70], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x7694c9
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov bh, 0x29
fnstcw word [edi]
aas
add dword [ebx - 0x367aebb3], ecx
jle 0x769486
sti
ret
jmp dword [ecx - 0x37]
test esi, esi
js 0x76951a
mov eax, dword [edx]
add eax, dword [edx + 8]
out dx, eax
jb 0x7694c4
cmpsb byte [esi], byte es:[edi]
inc ecx
push eax
call 0x44ad1c27
add dword [edx + 8], ebx
sub dword [esi + 0x45], esi
cmc
mov ebx, 0xce013ade
test esi, esi
jle 0xf8167e2c
insb byte es:[edi], dx
xlatb
sbb edi, edi
mov ecx, esi
js 0x769483
dec dword [ebx - 0x28768732]
xlatb
bound ecx, qword [ecx + 0x1dff61fa]
add esp, edi
mov ecx, esi
dec ecx
je 0x8a578026
int1
neg ecx
xor eax, eax
inc eax
jg 0x76952b
inc eax
std
cmp ecx, 2
cmovge eax, ecx
dec esi
invalid
dec ebp
ror dword [esi - 0x10], 0x8b
dec ebp
sbb byte [ebx - 0x3e42f7af], cl
test ecx, esp
lea ecx, [edx + 1]
jb 0x769583
loope 0x7694f5
add al, 0x11
xor bh, al
invalid
invalid
Function at 0x92e990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x66700d
lea edi, [esi - 0x26600d]
push edi
or ebp, 0xffffffff
jmp 0x92e9b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x92e9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92e9a8
mov eax, 1
add ebx, ebx
jne 0x92e9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x92e9c0
jne 0x92e9dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x92e9c0
xor ecx, ecx
sub eax, 3
jb 0x92e9f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x92ea62
mov ebp, eax
add ebx, ebx
jne 0x92e9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x92ea08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x92ea2c
inc ecx
add ebx, ebx
jne 0x92ea18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x92ea0d
jne 0x92ea29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x92ea0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x92ea4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x92ea3d
jmp 0x92e9ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x92ea4c
add edi, ecx
jmp 0x92e9ae
pop esi
mov edi, esi
mov ecx, 0x173a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x92ea6a
cmp byte [edi], 0x11
jne 0x92ea6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x92ea6f
lea edi, [esi + 0x52a000]
mov eax, dword [edi]
or eax, eax
je 0x92eade
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5360d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53612c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x92ea9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x536134]
or eax, eax
je 0x92ead8
mov dword [ebx], eax
add ebx, 4
jmp 0x92eab9
call dword [esi + 0x536130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x92eb0f
cmp al, 0xef
ja 0x92eb02
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x92eae4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x92eaf1
mov ebp, dword [esi + 0x536138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x92eb43
sub esp, 0xffffff80
jmp 0x4124dc
Function at 0x62a0ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303b0
cmp edx, dword [eax]
je 0x62a0cf
add eax, 8
inc ecx
cmp eax, 0x630440
jl 0x62a0c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303b0]
jne 0x62a1fd
mov eax, dword [0x637d40]
cmp eax, 1
je 0x62a1d7
test eax, eax
jne 0x62a100
cmp dword [0x6302d8], 1
je 0x62a1d7
cmp edx, 0xfc
je 0x62a1fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a137
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062aa90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062af20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a17a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062af20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f4ac
push edi
call fcn.0062cdf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062aa90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062aaa0
lea eax, [ebp - 0xa0]
push 0x62f48c
push eax
call fcn.0062aaa0
push dword [esi + 0x6303b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062aaa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062cd64
add esp, 0x2c
pop edi
jmp 0x62a1fd
lea eax, [ebp + 8]
lea esi, [esi + 0x6303b4]
push 0
push eax
push dword [esi]
call fcn.0062af20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x298e0a9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jb 0x298e0e3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 8], ecx
jb 0x298e108
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jle 0x298e0f4
mov eax, dword [ebp + 8]
jmp 0x298e11d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x298e0c7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x29a05e9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [0x10095fa0]
or eax, dword [0x10095fa4]
jne 0x29a0650
push 0x33
call fcn.029a0616
mov eax, dword [0x10095fa0]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x10095fa4]
mov dword [ebp - 8], ecx
push 0x33
call fcn.029a0668
Function at 0x29aa869
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
cmp dword [0x10096060], 0
jne 0x29aa88c
xor eax, eax
xor edx, edx
jmp 0x29aaa58
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x10], 0
jle 0x29aa8bb
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x54], edx
jmp 0x29aa8c4
xorpd xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 0
jle 0x29aa8f9
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x48]
add eax, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x68], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x64], eax
jmp 0x29aa902
xorpd xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
cmp dword [ebp + 0x10], 0
jle 0x29aa937
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x5c], ecx
jmp 0x29aa940
xorpd xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
jle 0x29aa975
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x4c], edx
jmp 0x29aa97e
xorpd xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
sub eax, 8
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call fcn.029aa9d9
add byte [eax], al
invalid
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.029ed4fd
mov esp, ebp
pop ebp
ret
Function at 0x29aaa69
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0x29aaa93
cmp dword [ebp + 0xc], 0
jne 0x29aaa8d
cmp dword [ebp + 0x10], 0
je 0x29aaa93
cmp dword [ebp + 0x14], 0
jne 0x29aaa97
xor al, al
jmp 0x29aaafb
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push 0x33
call fcn.029aaaae
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.029ed4fd
mov esp, ebp
pop ebp
ret

Function at 0x29aaef9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0x29aaf23
cmp dword [ebp + 0xc], 0
jne 0x29aaf1d
cmp dword [ebp + 0x10], 0
je 0x29aaf23
cmp dword [ebp + 0x14], 0
jne 0x29aaf25
jmp 0x29aaf78
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 0x33
call 0x29aaf38
add dword [esp], 5
retf
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.029ed4fd
mov esp, ebp
pop ebp
ret

Function at 0x29aafd9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push 0x33
call 0x29aaff9
add dword [esp], 5
retf

Function at 0x29b2a59
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x29b2aa2
mov al, byte [esi]
push eax
call fcn.029bfe49
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x29b2a80
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x29bbae9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x71e], 0
je 0x29bbb6c
cmp dword [edi + 0x1b0], 0
je 0x29bbb36
push esi
push 1
push edi
call fcn.029ae9c9
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.029ae9c9
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x29bbb6c
push dword [edi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x10081650
push 2
push eax
call fcn.029ee16e
push dword [edi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.029ee16e
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x29be1e9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.029a1089
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.029fa21b
Function at 0x29c3c59
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x29c3c77
cmp dword [esi + 0x78], 0
je 0x29c3c77
push 2
push 3
push esi
call fcn.029c0469
add esp, 0xc
push dword [ebp + 0xc]
call fcn.029c3659
add esp, 4
test esi, esi
je 0x29c3c97
cmp dword [esi + 0x78], 0
je 0x29c3c97
push 3
push esi
call fcn.029c04a9
add esp, 8
pop esi
pop ebp
ret
Function at 0x29cf819
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.029f2dfd
add esp, 0x18
test eax, eax
je 0x29cf83b
cmp eax, 0xffffffff
jne 0x29cf83d
xor eax, eax
pop ebp
ret

Function at 0x29d54f9
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0x51eb851f
imul ecx
push ebx
sar edx, 5
push esi
mov esi, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
push edi
add eax, edx
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 2
je 0x29d5536
push 0x100861ec
push esi
call fcn.029bbb79
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x29d554d
push ecx
push 0x10086208
push esi
call fcn.029bbc39
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x29d5566
push ebx
push esi
call fcn.029d51b9
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x29d557b
push esi
call fcn.029d41e9
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x29d5590
push esi
call fcn.029d5199
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x29d55a0
push esi
call fcn.029d53d9
add esp, 4
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x29ebcc9
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x100928cc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x29ebcf6
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x29ebd3d
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x29ebd43
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x29ebda3
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ebx, [ebx]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
dec dword [ebp + 0x10]
jne 0x29ebd69
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x29ebdd0
nop
mov eax, dword [esi + 4]
push 1
push 0x10089165
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10089164
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x29ebda9
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret