joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c7fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0xd34cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0xd29670]
mov eax, dword [esi*4 + 0xd296b0]
xor eax, dword [esp]
call fcn.005c7f70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005c7fac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0xd29680]
mov eax, dword [esi*4 + 0xd296c0]
xor eax, dword [esp]
call fcn.005c7f70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005c7fac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0xd29690]
mov eax, dword [esi*4 + 0xd296d0]
xor eax, dword [esp]
call fcn.005c7f70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005c7fac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0xd296a0]
mov eax, dword [esi*4 + 0xd296e0]
xor eax, dword [esp]
call fcn.005c7f70
mov edi, eax
mov eax, edi
call fcn.005c7fac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5c7fe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5c8138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5c816d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5c8193
inc ebx
cmp ebx, 0xf
jne 0x5c817d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5c814f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x284c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x284c1a8
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 0x284c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x284c06a
add dl, dl
jne 0x284c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x284c0dc
xor eax, eax
add dl, dl
jne 0x284c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x284c17d
add dl, dl
jne 0x284c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x284c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x284c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x284c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x284c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x284c075
mov eax, 1
add dl, dl
jne 0x284c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x284c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x284c0e1
sub eax, ebx
mov ebx, 1
jne 0x284c128
mov ecx, 1
add dl, dl
jne 0x284c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x284c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x284c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x284c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x284c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x284c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x284c136
cmp eax, 0x7d00
jae 0x284c16d
cmp eax, 0x500
jb 0x284c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x284c075
cmp eax, 0x7f
ja 0x284c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x284c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x284c19e
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 0x284c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xb5e1b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb5e308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb5e1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e1ca
add dl, dl
jne 0xb5e1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e23c
xor eax, eax
add dl, dl
jne 0xb5e1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e2dd
add dl, dl
jne 0xb5e205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb5e232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb5e1d5
mov eax, 1
add dl, dl
jne 0xb5e24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e241
sub eax, ebx
mov ebx, 1
jne 0xb5e288
mov ecx, 1
add dl, dl
jne 0xb5e26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb5e279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb5e29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb5e2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e296
cmp eax, 0x7d00
jae 0xb5e2cd
cmp eax, 0x500
jb 0xb5e2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e1d5
cmp eax, 0x7f
ja 0xb5e2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb5e2fe
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 0xb5e1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403e59
pop dword [ebp - 8]
mov eax, 0xd44374cb
add eax, 0x2bfcc98e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x16e58825
add dword [ebp - 0x18], 0x376cbd26
mov dword [ebp - 0x14], 0x9083fce0
sub dword [ebp - 0x14], 0x5e50b09b
mov dword [ebp - 0x10], 0xe4581f1f
sub dword [ebp - 0x10], 0x980bdaf1
mov dword [ebp - 0xc], 0x37ac1b1
sub dword [ebp - 0xc], 0x37ac1b1
lea eax, [ebp - 0x18]
push eax
mov eax, 0x92fe61e3
sub eax, 0x92bdf17f
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x7c07fe0b
sub dword [ebp - 0x18], 0x79594b5
mov dword [ebp - 0x14], 0xeb3ab40
add dword [ebp - 0x14], 0x32b8b635
mov dword [ebp - 0x10], 0xd6c19d89
add dword [ebp - 0x10], 0x8cadcee3
mov dword [ebp - 0xc], 0x12efb49
add dword [ebp - 0xc], 0xfed104b7
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3c639
push 0
call eax
mov ecx, 0x5e91
mov edi, eax
mov edx, 0xb297f216
sub edx, 0xb256f216
add edx, dword [ebp - 8]
mov esi, 0x3d4ea3a9
sub esi, 0x3dd3564d
xor dword [ebp - 4], edx
mov ebx, dword [edx]
add dword [ebp - 4], 0xcbc0a8a7
xor ebx, esi
mov dword [edi], ebx
add dword [ebp - 4], 0x38ecfe18
add edi, 4
add edx, 0x3d3d39c5
sub edx, 0x3d3d39c1
loop 0x403f70
add eax, 0x7e00fa9a
sub eax, 0x7dff8d83
xor ebx, ebx
add ebx, eax
add eax, 0xcc715de
add eax, 0xf338ea27
mov ecx, 0xd053b83c
sub ecx, 0xd013b83c
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x41e6ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x41e72d
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x41e6de
add word [ebp - 6], 0x2000
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x41e6f0
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x41e6fc
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0041e538
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41e721
push ebp
mov eax, dword [ebp - 4]
call fcn.0041e61c
pop ecx
mov ebx, eax
cmp bl, 2
je 0x41e6fc
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f9ec
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f9f2
ret

Function at 0x4246ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457c1c
cmp dword [edi], 0
jne 0x424768
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x457c18]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x452ea0
mov ecx, 2
call fcn.0043f70c
mov edx, 0x4246c4
lea eax, [esi + 5]
call fcn.004246e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004246e4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42473d
mov dword [0x457c18], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424884
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4248d4]
test si, 4
je 0x424898
or bl, 1
test si, 8
je 0x4248a2
or bl, 4
test si, 1
je 0x4248ac
or bl, 8
test si, 2
je 0x4248b6
or bl, 0x10
test si, 0x10
je 0x4248c0
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4248cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4177ef
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
inc esp
mov edi, 0xaf762d63
popal
xchg edi, eax
sub ecx, edi
xchg ebp, eax
jecxz 0x4177a9
dec eax
inc eax
or bh, byte [ecx - 0x3c]
lodsd eax, dword [esi]
sbb dh, dh
pushal
push cs
not byte [esp + ecx*2 - 0x3521479d]
inc esi
aad 0xe4
dec edi

Function at 0x4178d7
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
popal
cmp cl, ah
adc byte [ecx - 0x42c5aeb0], dh
sbb cl, byte [edi - 0x365bab83]
in al, dx
pop esi
loope 0x41793f
or byte [ecx + 0x744c319d], 0xb1
add eax, 0xbbf5ff32
fdivr qword [ebx + 2]
lcall 0x386e, 0x6c005493
cld
pop edi
cmp dword [edi - 0x49def96d], edx
invalid
dec esi
inc esp
scasd eax, dword es:[edi]
invalid
jle 0x417903
fist word [ebx + 0x38bb9031]
outsb dx, byte [esi]
js 0x41791f
mov dword [0x2b3c47f1], ebx
div byte [edx - 0x6138c7a3]
cmc
test al, ah
cli
cdq
xchg cl, bh
xlatb
ljmp 0x7d4d

Function at 0x4b93ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13e8
cmp edx, dword [eax]
je 0x4b940f
add eax, 8
inc ecx
cmp eax, 0x4c1478
jl 0x4b9400
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13e8]
jne 0x4b953d
mov eax, dword [0x4c5d6c]
cmp eax, 1
je 0x4b9517
test eax, eax
jne 0x4b9440
cmp dword [0x4c1314], 1
je 0x4b9517
cmp edx, 0xfc
je 0x4b953d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b9477
lea eax, [ebp - 0x1a4]
push 0x4be878
push eax
call fcn.004b9dd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b94ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be874
push edi
call fcn.004bc130
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be858
push eax
call fcn.004b9dd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9de0
lea eax, [ebp - 0xa0]
push 0x4be854
push eax
call fcn.004b9de0
push dword [esi + 0x4c13ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9de0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be82c
push eax
call fcn.004bc0a4
add esp, 0x2c
pop edi
jmp 0x4b953d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13ec]
push 0
push eax
push dword [esi]
call fcn.004ba260
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 0x10001ab0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100163a0
push 0x10003b64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x10002721
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x100026cb
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x100026ff
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100026ff
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x1000268e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10002730
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x100027e4
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10002787
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100027ca
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x1001b4dc]
je 0x1000279e
or dh, 2
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x100027b7
test al, 0x40
je 0x100027ae
mov ecx, dword [ebx + 0x20]
jmp 0x100027b5
test al, 0x80
je 0x100027ca
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x100027ca
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x10002754
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x49be12
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x49be5f
mov al, cl
cmp al, 0x61
jb 0x49be3a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x49be5f
mov al, cl
cmp al, 0x61
jb 0x49be52
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x49be2b
cmp edx, dword [esp + 0x18]
je 0x49be6f
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x49be24
xor eax, eax
jmp 0x49be72
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

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

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x49bf61
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x49bf67
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x49bec6
cmp al, 0x61
jb 0x49bebe
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x49beb1
cmp edx, dword [esp + 0x14]
je 0x49bed6
dec ecx
jne 0x49bea6
xor eax, eax
jmp 0x49bf61
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x49bf61
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x49bf61
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x49bf12
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x49bf21
jmp 0x49bf09
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.0049be12
test eax, eax
je 0x49bf61
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x49bf5c
cmp al, 0x61
jb 0x49bf54
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x49bf47
call fcn.0049be7a
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x49bf7f
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x49bf7f
sub edx, ecx
mov ecx, edx
jmp 0x49bed6
xor eax, eax
jmp 0x49bf61

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x98]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x49f0fb
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x49f3e5
add dword [esp], 5
retf
Function at 0x10037ef9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x10037f51
cmp byte [esi + 0x3d], bl
je 0x10037f51
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10037f8b
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x10037f62
sub eax, 1
je 0x10037f65
dec eax
sub eax, 1
jne 0x10037f8b
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7229
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10037f83
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10037f8b
cmp byte [esi + 0x3d], bl
sete al
jmp 0x10037f53
xor al, al
jmp 0x10037f53

Function at 0x10039aa7
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x100e29d4], 0
push ebx
push esi
push edi
je 0x10039b82
mov ecx, dword [0x10428fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10039b82
mov edi, dword [0x1042902c]
xor esi, esi
mov ebx, dword [edi + 0x28]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10039b82
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, 0x811c9dc5
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
xor ecx, ecx
inc ecx
cmp byte [eax + ecx], 0
jne 0x10039b02
xor edx, edx
test ecx, ecx
je 0x10039b35
mov ebx, dword [ebp - 4]
movsx eax, byte [eax + edx]
xor eax, ebx
imul ebx, eax, 0x1000193
inc edx
mov eax, dword [ebp - 8]
cmp edx, ecx
jb 0x10039b12
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], 0x5ff56dc5
mov ebx, dword [ebp - 0xc]
je 0x10039b3c
inc esi
cmp esi, ebx
jb 0x10039ae8
jmp 0x10039b82
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10039b82
mov edx, dword [ecx + 0x88]
test edx, edx
jle 0x10039b82
mov ecx, dword [ecx + 0x7c]
vmovss xmm1, dword [0x100bf6d0]
add ecx, 0x418
vmovss xmm0, dword [ecx]
vucomiss xmm0, dword [0x100bf510]
lahf
test ah, 0x44
jp 0x10039b77
vmovss dword [ecx], xmm1
add ecx, 0x420
sub edx, 1
jne 0x10039b61
pop edi
pop esi
pop ebx
leave
ret