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

Disassembly:
test ecx, ecx
je 0x100123aa
test edi, edi
je 0x100123aa
mov eax, edi
shr eax, 2
xor edx, edx
lea ecx, [ecx + eax*4]
neg eax
push esi
je 0x1001234f
mov esi, dword [ecx + eax*4]
imul esi, esi, 0xcc9e2d51
rol esi, 0xf
imul esi, esi, 0x1b873593
xor edx, esi
rol edx, 0xd
imul edx, edx, 5
add edx, 0xe6546b64
inc eax
jne 0x1001232c
mov eax, edi
and eax, 3
xor esi, esi
dec eax
je 0x1001236f
dec eax
je 0x10012366
dec eax
jne 0x10012385
movzx esi, byte [ecx + 2]
shl esi, 0x10
movzx eax, byte [ecx + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [ecx]
xor eax, esi
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, edi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop esi
ret
xor eax, eax
ret

Function at 0x100127ee
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x41
pop esi
mov edi, eax
call fcn.1001202a
test eax, eax
je 0x10012814
push 0x86
push 0x40
pop ebx
mov edx, 0x10026fb0
call fcn.10011553
mov edx, dword [ebp + 0xc]
lea esi, [edx - 2]
xor ecx, ecx
test esi, esi
jle 0x10012886
mov esi, dword [ebp + 8]
lea edx, [esi + ecx]
movzx ebx, byte [edx]
shr ebx, 2
mov bl, byte [ebx + eax]
mov byte [edi], bl
movsx edx, byte [edx]
lea esi, [esi + ecx + 1]
movzx ebx, byte [esi]
and edx, 3
shl edx, 4
shr ebx, 4
or ebx, edx
mov dl, byte [ebx + eax]
mov byte [edi + 1], dl
movsx esi, byte [esi]
mov edx, dword [ebp + 8]
lea edx, [edx + ecx + 2]
movzx ebx, byte [edx]
and esi, 0xf
shl esi, 2
shr ebx, 6
or esi, ebx
mov bl, byte [esi + eax]
mov byte [edi + 2], bl
movsx edx, byte [edx]
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [edi + 3], dl
mov edx, dword [ebp + 0xc]
add ecx, 3
lea esi, [edx - 2]
add edi, 4
cmp ecx, esi
jl 0x10012820
cmp ecx, edx
jge 0x100128dc
mov esi, dword [ebp + 8]
add esi, ecx
movzx ebx, byte [esi]
shr ebx, 2
mov bl, byte [ebx + eax]
dec edx
mov byte [edi], bl
cmp ecx, edx
movsx ecx, byte [esi]
jne 0x100128b3
and ecx, 3
add ecx, ecx
mov cl, byte [eax + ecx*8]
mov byte [edi + 1], cl
mov byte [edi + 2], 0x3d
jmp 0x100128d5
movzx edx, byte [esi + 1]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
mov cl, byte [ecx + eax]
mov byte [edi + 1], cl
movsx ecx, byte [esi + 1]
and ecx, 0xf
mov cl, byte [eax + ecx*4]
mov byte [edi + 2], cl
add edi, 3
mov byte [edi], 0x3d
inc edi
mov byte [edi], 0
test eax, eax
je 0x100128ea
mov esi, eax
call fcn.100120de
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10015113
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp ecx, edi
je 0x10015217
mov eax, ecx
push esi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10015130
sub eax, esi
je 0x10015216
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10015144
push ebx
lea edx, [ebp - 8]
sub eax, esi
push edx
call fcn.100128f1
mov ebx, eax
cmp ebx, edi
je 0x10015215
cmp dword [ebp - 8], edi
je 0x1001520e
mov ecx, ebx
call fcn.100150df
test eax, eax
je 0x1001520e
lea eax, [ebx + 1]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001517f
movzx ecx, byte [ebx]
sub eax, esi
lea esi, [ecx + eax + 2]
call fcn.1001202a
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1001520e
xor ecx, ecx
cmp byte [ebx], cl
jbe 0x100151d3
mov eax, dword [str.z31:]
xor edx, edx
push 0x19
pop esi
div esi
mov eax, dword [ebp - 4]
add dl, 0x61
mov byte [ecx + eax], dl
mov eax, dword [str.z31:]
add eax, dword [ebx + 8]
mov dword [str.z31:], eax
xor eax, dword [ebx + 0xc]
inc ecx
mov dword [str.z31:], eax
movzx edx, byte [ebx]
cmp ecx, edx
jl 0x100151a6
mov edi, dword [ebp - 4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100151d7
mov esi, 0x100236f0
lea eax, [ebx + 1]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100151eb
mov edi, dword [ebp - 4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100151f8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
call fcn.100120de
pop ebx
pop esi
mov eax, dword [ebp - 4]
pop edi
leave
ret

Function at 0x100155ca
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
test edx, edx
jle 0x10015650
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x100155e7
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + esi]
mov byte [ebp - 2], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
add edi, eax
mov dl, byte [edi]
mov byte [ebp + 0xb], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xb]
mov dword [ebp - 0x10], edi
movzx edi, dl
add edi, eax
mov bl, byte [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp - 1], bl
mov bl, byte [ebp + 0xb]
mov byte [edi], bl
movzx edi, byte [ebp - 1]
movzx ebx, bl
add edi, ebx
mov bl, byte [ebp - 2]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x100155e4
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x100170c6
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x100170f1
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.1001df10
mov eax, ebx
movzx ecx, word [eax*8 + 0x10023282]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x10023280]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x10023284]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x10023286]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x10017155
mov eax, dword [esp + 0x10]
or word [eax], 4
jmp 0x10017162
cmp ebx, 8
jl 0x10017162
mov eax, dword [esp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x100171c4
cmp eax, 0xffffffff
je 0x100171c4
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x1001719f
call fcn.1001731d
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x100171a7
jmp 0x100171d4
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x1001742e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x10017629
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x100174a8
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x100174ea
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x100174ea
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x100174d2
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.100171da
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x100174ea
mov ebx, eax
cmp ebx, 3
jb 0x100175ab
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.10016b72
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x10017578
cmp eax, 3
jb 0x10017578
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x10017526
jmp 0x100175cb
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x100175d1
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.10016b72
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x1001760a
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x100175ea
lea edx, [ecx + esi + 0x1af70]
jmp 0x100175ec
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.100169ab
mov eax, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x1001761b
call fcn.1001731d
cmp dword [esi + 0x6af90], 0
jne 0x10017458
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x1001763c
lea edx, [ecx + esi + 0x1af70]
jmp 0x1001763e
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.100169ab
pop esi
pop ebx
leave
ret
Function at 0x100181df
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x100181ea
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1001829e
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100232d0]
add ecx, 8
sub edi, 8
dec esi
jne 0x10018201
pop ebx
test edi, edi
je 0x100182b7
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x100232d0]
inc ecx
dec edi
jne 0x100182a2
pop esi
not eax
pop edi
ret
Function at 0x1001af29
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1001af34
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1001afe8
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10022d40]
add ecx, 8
sub edi, 8
dec esi
jne 0x1001af4b
pop ebx
test edi, edi
je 0x1001b001
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x10022d40]
inc ecx
dec edi
jne 0x1001afec
pop esi
not eax
pop edi
ret
Function at 0x1001de2c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x100214dc
sub eax, eax
test esi, esi
je 0x1001df04
sub eax, 1
test ecx, ecx
je 0x1001df02
test esi, 3
je 0x1001de6a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001de4f
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x1001dee9
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001de74
mov ecx, edx
test ecx, ecx
je 0x1001df02
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001deef
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x4f9d60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edx, ebx
mov byte [ebp - 0xd], 0
call fcn.004fab70
mov edx, dword [ebp + 0x10]
mov edi, eax
call fcn.004fab70
mov esi, eax
test edi, edi
je 0x4f9e9b
test esi, esi
je 0x4f9e9b
cmp dword [edi + 4], 0
jne 0x4f9dce
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.004f9f40
cmp dword [edi + 4], 0
je 0x4f9e9b
cmp dword [esi + 4], 0
jne 0x4f9e9b
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x34]
push eax
mov esi, ebx
call fcn.004fba00
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x10]
push ecx
call fcn.004fba00
push esi
push edi
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
call fcn.004fb850
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4f9e1a
mov eax, 0x54ee24
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00449e10
test al, al
je 0x4f9e50
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x4f9e34
mov ecx, 0x54ee24
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4f9e40
mov eax, 0x54ee24
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, 1
test eax, eax
jne 0x4f9e53
mov bl, byte [ebp - 0xd]
mov ecx, dword [ebp + 8]
push esi
push edi
push ecx
call fcn.004f9c50
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00507320
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00507320
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00507320
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4fb850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004fb46e
push eax
push esi
push dword [ebp + 8]
call fcn.004fb423
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004fb46e
push eax
push esi
push dword [ebp + 8]
call fcn.004fb423
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004fb45e
cmp dword [eax - 0x62772984], ebp
jl 0x4fb8e3
invalid
invalid
Function at 0x4fbac0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4fbb12
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
push eax
add al, 0x8d
dec eax
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
jae 0x4fbb0d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4fbaf7
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4fbaff
cmp edx, ebx
jne 0x4fbc4d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4fbace
add eax, dword [eax + 4]
jmp 0x4fbabb
mov dword [ebp + 0xc], ebx
jmp 0x4fbb1d

Function at 0x4fbb50
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4fbb35
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4fbb53
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4fbbb1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4fbb98
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4fbba1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4fbbab
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4fbb8d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4fbb17
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4fbbfe
dec eax
je 0x4fbbf5
sub eax, 3
je 0x4fbbec
mov dword [ebp - 4], 0x40
jmp 0x4fbc1b
mov dword [ebp - 4], 4
jmp 0x4fbc01
mov dword [ebp - 4], 0x20
jmp 0x4fbc01
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4fbc4d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4fbbcd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004fb45e
ror dword [ecx - 0x58], 0x5e
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4fbc59
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40103d
or eax, eax
or edx, esi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea edx, [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x401079
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x405be1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b090]
jne 0x405beb
repz ret
jmp fcn.00408876

Function at 0x40fb42
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b090]
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.0040baf5
and dword [ebp - 0x14], 0
cmp dword [0x41ce98], 0
mov dword [ebp - 0x18], eax
jne 0x40fbf5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40fc9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40fc9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41ce98], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41ce9c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41cea0], eax
call edi
push eax
call esi
mov dword [0x41cea8], eax
test eax, eax
je 0x40fbf5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41cea4], eax
mov eax, dword [0x41cea4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40fc4e
cmp dword [0x41cea8], ecx
je 0x40fc4e
push eax
call esi
push dword [0x41cea8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40fc4e
test ebx, ebx
je 0x40fc4e
call edi
test eax, eax
je 0x40fc45
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40fc45
test byte [ebp - 8], 1
jne 0x40fc4e
or dword [ebp + 0x10], 0x200000
jmp 0x40fc81
mov eax, dword [0x41ce9c]
cmp eax, dword [ebp - 0x18]
je 0x40fc81
push eax
call esi
test eax, eax
je 0x40fc81
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40fc81
mov eax, dword [0x41cea0]
cmp eax, dword [ebp - 0x18]
je 0x40fc81
push eax
call esi
test eax, eax
je 0x40fc81
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41ce98]
call esi
test eax, eax
je 0x40fc9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40fc9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405be1
leave
ret