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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov ebx, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x4ef640
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x14], 1
jbe 0x4ef735
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x2c], eax
je 0x4ef735
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
jne 0x4ef6f5
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.004ef280
add esp, 0xc
cmp dword [0x5ffed8], 0
jne 0x4ef832
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x38]
mov esi, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov cl, 0x20
add eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [edi + 4], eax
add edi, 4
mov eax, dword [esp + 0x30]
mov edx, dword [edi - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x3c], eax
dec esi
jne 0x4ef6c6
jmp 0x4ef703
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.004ef840
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor dword [ebx], eax
mov edx, dword [esp + 0x20]
xor dword [ebx + 4], ecx
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
inc dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jb 0x4ef684
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], eax
je 0x4ef75e
mov eax, dword [esp + 0x10]
lea esi, [ebx + 8]
lea edi, [esp + 0x18]
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]
cmp dword [esp + 0x14], 1
jne 0x4ef786
push 0
push 0
push ebx
call fcn.004ef280
add esp, 0xc
cmp dword [0x5ffed8], 0
je 0x4ef7bc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x14], 2
jne 0x4ef7ae
push 0
push 0
push ebx
call fcn.004ef280
add esp, 0xc
cmp dword [0x5ffed8], 0
je 0x4ef7bc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.004ef840
add esp, 8
cmp dword [esp + 0x14], 1
jbe 0x4ef825
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor dword [esp + 0x18], eax
xor dword [esp + 0x1c], ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x4ef7ef
mov dl, byte [ebx + ecx + 8]
lea eax, [ebx + ecx]
inc ecx
mov byte [eax], dl
cmp ecx, dword [esp + 0x10]
mov dl, byte [esp + ecx + 0x17]
mov byte [eax + 8], dl
jb 0x4ef7d8
cmp dword [esp + 0x14], 2
jne 0x4ef817
push 0
push 0
push ebx
call fcn.004ef280
add esp, 0xc
cmp dword [0x5ffed8], 0
je 0x4ef825
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.004ef840
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor dword [ebx], eax
xor dword [ebx + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
Function at 0x4ef840
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0xc
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
add edi, 0x64
mov ebp, dword [esi]
mov eax, dword [esi + 4]
sub ebp, dword [edi]
mov edx, eax
shr edx, 7
mov ebx, ebp
and dl, 0x1f
mov cl, 0x20
sub cl, dl
sub edi, 8
shl ebx, cl
mov cl, dl
shr ebp, cl
or ebx, ebp
mov cl, 0x20
xor ebx, eax
mov eax, ebx
mov dword [esi], ebx
shr eax, 4
mov edx, dword [edi + 4]
add edx, dword [esi + 4]
and al, 0x1f
mov ebp, edx
sub cl, al
shl ebp, cl
mov cl, al
shr edx, cl
or ebp, edx
xor ebp, ebx
dec dword [esp + 0x10]
mov dword [esi + 4], ebp
jne 0x4ef85a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax + 4]
sub dword [esi], ecx
mov edx, dword [eax]
sub dword [esi + 4], edx
pop esi
pop ebx
add esp, 4
ret

Function at 0x4f0e00
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x4f0e29
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.004e8860
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x4f0e44
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x4f0e5a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x4f2d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov eax, 0xffffffff
push esi
xor ecx, ecx
push edi
mov edi, dword [esp + 0x14]
cmp edi, ecx
je 0x4f2db6
mov edx, dword [esp + 0x10]
xor ebx, ebx
mov bl, byte [edx + ecx]
inc ecx
xor ebx, eax
shr eax, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x606c68]
xor esi, eax
cmp ecx, edi
mov eax, esi
jb 0x4f2d96
not eax
pop edi
pop esi
pop ebx
ret
Function at 0x4f3560
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov ebx, dword [esp + 0x6c]
push edi
push ebp
cmp ebx, 0x13d
jne 0x4f359c
xor di, di
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
movsx eax, di
shl eax, 2
inc di
mov esi, dword [edx + eax]
mov dword [eax + ecx], esi
movsx eax, di
cmp eax, 9
jbe 0x4f357e
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
xor ecx, ecx
xor edx, edx
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0x18], edx
movsx ebp, cx
cmp ebp, 0x14
jbe 0x4f35a0
mov si, 0x14
mov eax, ebx
shr eax, 5
sub si, ax
and bx, 0x1f
mov word [esp + 0x16], ax
je 0x4f360c
mov ax, 0x20
mov edx, dword [esp + 0x70]
mov word [esp + 0x14], 9
sub ax, bx
mov word [esp + 0x12], ax
movsx edi, si
movsx eax, word [esp + 0x14]
dec si
mov cl, bl
mov eax, dword [edx + eax*4]
mov ebp, eax
shl ebp, cl
mov cl, byte [esp + 0x12]
or dword [esp + edi*4 + 0x18], ebp
movsx edi, si
shr eax, cl
or dword [esp + edi*4 + 0x18], eax
dec word [esp + 0x14]
jns 0x4f35df
jmp 0x4f3627
mov cx, 9
mov edx, dword [esp + 0x70]
movsx edi, si
movsx eax, cx
dec si
mov ebx, dword [edx + eax*4]
or dword [esp + edi*4 + 0x18], ebx
dec cx
jns 0x4f3614
mov dx, 0xb
mov ecx, 0x14
movsx eax, word [esp + 0x16]
mov si, 0x14
sub ecx, eax
cmp ecx, 0x14
ja 0x4f366e
movsx eax, si
movsx ebp, dx
dec dx
lea edi, [esp + eax*4 + 0x18]
dec si
mov ebx, dword [esp + ebp*4 + 0x18]
movsx eax, dx
shr ebx, 0x1d
or ebx, dword [edi]
mov dword [edi], ebx
mov eax, dword [esp + eax*4 + 0x18]
shl eax, 3
or eax, ebx
movsx ebx, si
mov dword [edi], eax
cmp ebx, ecx
jae 0x4f3640
mov eax, dword [esp + 0x44]
mov esi, 0
and eax, 0x10000000
mov ecx, dword [esp + 0x78]
cmp eax, 1
adc esi, 0xffffffff
xor di, di
movsx eax, di
inc di
mov edx, dword [esp + eax*4 + 0x44]
xor edx, esi
mov dword [ecx + eax*4], edx
movsx eax, di
cmp eax, 9
jbe 0x4f3689
pop ebp
and dword [ecx], 0xfffffff
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x4f3da0
Capabilities:
Hash data using sha1

Disassembly:
push esi
push 0x5c
mov esi, dword [esp + 0xc]
push 0
push esi
call fcn.004f6f90
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x4f3df0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
push ebp
mov eax, dword [esi + 0x14]
mov edx, eax
lea ecx, [eax + edi*8]
and edx, 0x1f8
shr edx, 3
cmp ecx, eax
jae 0x4f3e14
inc dword [esi + 0x18]
mov eax, edi
mov dword [esi + 0x14], ecx
shr eax, 0x1d
add dword [esi + 0x18], eax
test edx, edx
je 0x4f3eb0
lea eax, [esi + edx + 0x1c]
mov ebx, 0x40
sub ebx, edx
cmp ebx, dword [esp + 0x1c]
jle 0x4f3e4c
push edi
mov edi, dword [esp + 0x1c]
push edi
push eax
call fcn.004f6fb0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x18]
push ebx
push edi
push eax
call fcn.004f6fb0
add esp, 0xc
xor eax, eax
mov ax, word [0x607068]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4f3e9f
lea ebp, [esi + 0x1c]
mov edx, 0x10
mov eax, dword [ebp]
add ebp, 4
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov eax, ecx
shl eax, 8
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
dec edx
mov dword [ebp - 4], ecx
jne 0x4f3e77
push esi
add edi, ebx
call fcn.004f43f0
sub dword [esp + 0x20], ebx
add esp, 4
jmp 0x4f3eb4
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0x40
jl 0x4f3f2c
mov ebx, dword [esp + 0x1c]
shr ebx, 6
mov eax, ebx
shl eax, 6
sub dword [esp + 0x1c], eax
push 0x40
lea eax, [esi + 0x1c]
push edi
push eax
call fcn.004f6fb0
add esp, 0xc
xor eax, eax
mov ax, word [0x607068]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4f3f1d
lea edx, [esi + 0x1c]
mov ecx, 0x10
mov eax, dword [edx]
add edx, 4
mov ebp, eax
shl ebp, 0x10
shr eax, 0x10
or ebp, eax
mov eax, ebp
shl eax, 8
shr ebp, 8
xor ebp, eax
and ebp, 0xff00ff
xor ebp, eax
dec ecx
mov dword [edx - 4], ebp
jne 0x4f3ef6
push esi
add edi, 0x40
call fcn.004f43f0
add esp, 4
dec ebx
jne 0x4f3ecb
mov eax, dword [esp + 0x1c]
add esi, 0x1c
push eax
push edi
push esi
call fcn.004f6fb0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f3f50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0x1f8
mov eax, 0x3f
shr ecx, 3
sub eax, ecx
lea edx, [esi + ecx + 0x1c]
mov byte [edx], 0x80
inc edx
cmp eax, 8
jge 0x4f3fdf
push eax
push 0
push edx
call fcn.004f6f90
add esp, 0xc
xor eax, eax
mov ax, word [0x607068]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4f3fcc
lea eax, [esi + 0x1c]
mov ebp, 0x10
mov ecx, dword [eax]
add eax, 4
mov edx, ecx
shl edx, 0x10
shr ecx, 0x10
or edx, ecx
mov ecx, edx
shl ecx, 8
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
dec ebp
mov dword [eax - 4], edx
jne 0x4f3fa5
push esi
call fcn.004f43f0
add esp, 4
lea eax, [esi + 0x1c]
push 0x38
push 0
push eax
jmp 0x4f3fe6
sub eax, 8
push eax
push 0
push edx
call fcn.004f6f90
add esp, 0xc
xor eax, eax
mov ax, word [0x607068]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4f4032
lea ebp, [esi + 0x1c]
mov eax, 0x10
mov ecx, dword [ebp]
add ebp, 4
mov edx, ecx
shl edx, 0x10
shr ecx, 0x10
or edx, ecx
mov ecx, edx
shl ecx, 8
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
dec eax
mov dword [ebp - 4], edx
jne 0x4f400a
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], edi
call fcn.004f43f0
add esp, 4
xor eax, eax
mov ax, word [0x607068]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4f4084
lea edx, [esi + 0x1c]
mov ecx, 0x10
mov eax, dword [edx]
add edx, 4
mov edi, eax
shl edi, 0x10
shr eax, 0x10
or edi, eax
mov eax, edi
shl eax, 8
shr edi, 8
xor edi, eax
and edi, 0xff00ff
xor edi, eax
dec ecx
mov dword [edx - 4], edi
jne 0x4f405d
xor eax, eax
mov edx, esi
mov ecx, dword [esp + 0x14]
lea edi, [eax + ecx]
mov bl, byte [edx]
add edx, 4
add eax, 4
mov byte [edi], bl
mov ebx, dword [edx - 4]
mov byte [edi + 1], bh
mov ebx, dword [edx - 4]
shr ebx, 0x10
mov byte [edi + 2], bl
mov ebx, dword [edx - 4]
shr ebx, 0x18
cmp eax, 0x14
mov byte [edi + 3], bl
jb 0x4f408c
push 0x5c
push 0
push esi
call fcn.004f6f90
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f9530
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax], 0x67452301
ret

Function at 0x4fa020
Capabilities:
Encode data using xor

Disassembly:
xor cx, cx
sub esp, 0x3c
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [esp + 0x4c]
push ebp
movsx eax, cx
inc cx
or edx, dword [esi + eax*4]
movsx eax, cx
cmp eax, 5
jb 0x4fa030
test edx, edx
jne 0x4fa076
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edi
push eax
call fcn.004f3020
add esp, 8
push edi
call fcn.004f2fc0
add esp, 4
lea eax, [edi + 0x14]
push eax
push edi
call fcn.004f3020
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x38]
push eax
push esi
call fcn.004f36b0
lea eax, [esp + 0x40]
add esp, 8
push eax
call fcn.004f2f80
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x58]
add esp, 4
push eax
push ecx
push edx
call fcn.004f3370
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
call fcn.004f2fc0
add esp, 4
xor ecx, ecx
xor edx, edx
movsx eax, cx
inc cx
xor edx, dword [esp + eax*4 + 0x24]
movsx eax, cx
cmp eax, 5
jb 0x4fa0b9
mov ax, 0x10
mov edi, 0xffffffff
mov cl, al
shr edi, cl
sar ax, 1
mov ebx, edi
and ebx, edx
shr edx, cl
xor ebx, edx
test ax, ax
mov edx, ebx
jg 0x4fa0d3
test edx, edx
je 0x4fa114
mov edi, dword [esp + 0x58]
push edi
call fcn.004f3000
add esp, 4
add edi, 0x14
push edi
call fcn.004f3000
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x10]
push eax
call fcn.004f3000
xor cx, cx
add esp, 4
mov edx, 1
movsx edi, cx
mov bx, 4
mov eax, edi
shr eax, 5
inc edi
shr edi, 5
sub bx, ax
mov ax, 4
sub ax, di
movsx edi, bx
lea ebp, [edi*4]
mov edi, dword [esp + edi*4 + 0x24]
xor edi, dword [esp + ebp + 0x10]
and edi, edx
cmp ax, bx
jne 0x4fa169
movsx eax, ax
add edi, edi
add edx, edx
or dword [esp + eax*4 + 0x10], edi
jmp 0x4fa179
mov edx, 1
test edi, edi
je 0x4fa179
movsx eax, ax
mov dword [esp + eax*4 + 0x10], edx
inc cx
cmp cx, 0x9e
jl 0x4fa129
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
xor eax, dword [esp + 0x10]
push edi
test eax, 0x20000000
je 0x4fa1b7
add edi, 0x14
call fcn.004f3000
add esp, 4
push edi
call fcn.004f3000
add esp, 4
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004f3370
add esp, 0xc
lea eax, [edi + 0x14]
push eax
call fcn.004f3000
xor cx, cx
add esp, 4
movsx eax, cx
shl eax, 2
inc cx
lea edx, [edi + eax]
mov eax, dword [esi + eax]
xor eax, dword [edx]
mov dword [edx + 0x14], eax
movsx edx, cx
cmp edx, 5
jb 0x4fa1d4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x4fa200
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x30]
push edi
push eax
push esi
call fcn.004f3020
lea ecx, [esp + 0x10]
add esp, 8
push ecx
call fcn.004f2f80
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
add esp, 4
push eax
push ecx
push esi
call fcn.004f3370
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp word [esi], 0
push edi
je 0x4fa259
lea eax, [esi + 2]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004f3370
add esp, 0xc
jmp 0x4fa261
call fcn.004f3000
add esp, 4
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esi + eax + 0x16]
xor ecx, dword [esp + eax + 0x1c]
xor dword [edi + eax], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa264
pop edi
pop esi
add esp, 0x28
ret

Function at 0x4fa290
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
push ebp
push eax
call fcn.004f3000
lea eax, [esp + 0x50]
add esp, 4
push eax
call fcn.004f3000
xor cx, cx
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
add esp, 4
movsx eax, cx
inc cx
lea edi, [eax*4]
lea eax, [edi + ebx]
lea edx, [edi + esi]
mov ebp, dword [eax]
mov eax, dword [eax + 0x14]
xor ebp, dword [edx]
xor eax, dword [edx + 0x14]
movsx edx, cx
mov dword [esp + edi + 0x38], ebp
mov dword [esp + edi + 0x4c], eax
cmp edx, 5
jb 0x4fa2bf
lea eax, [esp + 0x60]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004f36b0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
lea eax, [esp + 0x68]
add esp, 8
push ecx
push edx
push eax
call fcn.004f3370
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
add esp, 0xc
push ecx
push edx
call fcn.004f3020
lea ecx, [esp + 0x18]
add esp, 8
push ecx
call fcn.004f2f80
mov ecx, dword [esp + 0x88]
add esp, 4
cmp word [ecx], 0
je 0x4fa371
xor dx, dx
mov edi, dword [esp + 0x80]
movsx eax, dx
shl eax, 2
inc dx
mov ebp, dword [eax + ecx + 2]
xor ebp, dword [eax + ebx]
xor ebp, dword [eax + esi]
xor ebp, dword [esp + eax + 0x10]
xor ebp, dword [esp + eax + 0x24]
mov dword [eax + edi], ebp
movsx eax, dx
cmp eax, 5
jb 0x4fa34a
jmp 0x4fa39c
xor cx, cx
mov edi, dword [esp + 0x80]
movsx eax, cx
shl eax, 2
inc cx
mov edx, dword [eax + ebx]
xor edx, dword [eax + esi]
xor edx, dword [esp + eax + 0x10]
xor edx, dword [esp + eax + 0x24]
mov dword [eax + edi], edx
movsx eax, cx
cmp eax, 5
jb 0x4fa37b
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + edi]
xor ecx, dword [eax + esi]
mov dword [esp + eax + 0x38], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa39f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.004f3370
xor dx, dx
add esp, 0xc
movsx eax, dx
inc dx
mov ebx, dword [esi + eax*4 + 0x14]
xor ebx, dword [esp + eax*4 + 0x10]
lea ecx, [eax*4]
lea eax, [ecx + edi]
xor ebx, dword [eax]
mov dword [eax + 0x14], ebx
movsx eax, dx
cmp eax, 5
jb 0x4fa3d3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x4fa400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
mov esi, dword [esp + 0x74]
push eax
push esi
call fcn.004f36b0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.004f3370
xor dx, dx
add esp, 0xc
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + esi]
xor ecx, dword [esp + eax + 0xc]
mov dword [esp + eax + 0x20], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa431
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004f3020
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.004f2f80
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x4fa4a0
xor cx, cx
mov edi, dword [esp + 0x78]
movsx eax, cx
shl eax, 2
inc cx
mov ebx, dword [eax + edx + 2]
xor ebx, dword [esp + eax + 0x20]
xor ebx, dword [esp + eax + 0x48]
mov dword [eax + edi], ebx
movsx eax, cx
cmp eax, 5
jb 0x4fa47f
jmp 0x4fa4c2
xor dx, dx
mov edi, dword [esp + 0x78]
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor ecx, dword [esp + eax + 0x48]
mov dword [eax + edi], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa4a7
xor cx, cx
mov edx, 0xffffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0xc], edx
movsx ebx, cx
cmp ebx, 5
jb 0x4fa4ca
and dword [esp + 0xc], 0x3fffffff
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0xc], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa4e6
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.004f3370
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.004f3020
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.004f2f80
xor dx, dx
add esp, 4
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x5c]
xor ecx, dword [esp + eax + 0x34]
mov dword [eax + edi + 0x14], ecx
movsx eax, dx
cmp eax, 5
jb 0x4fa52f
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x4fa560
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x34]
push edi
push eax
push esi
xor di, di
call fcn.004f3020
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.004f3000
add esp, 4
movsx eax, di
inc di
lea ecx, [eax*4]
mov edx, dword [esi + ecx + 0x14]
lea eax, [esi + ecx]
xor edx, dword [eax]
movsx eax, di
mov dword [esp + ecx + 0x1c], edx
cmp eax, 5
jb 0x4fa587
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.004fa290
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4fcb20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x5fd0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x2a8], 0
push 0x103
push 0
lea eax, [ebp - 0x2a7]
push eax
call fcn.004720b0
add esp, 0xc
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0
push 0xc8
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx edx, byte [ebp - 0x2a8]
cmp edx, 0x41
jne 0x4fcb8f
mov eax, dword [str.c:_flexlm_]
mov cl, byte [ebp - 0x2a8]
mov byte [eax], cl
lea edx, [ebp - 0x198]
push edx
push 0x101
call fcn.005445b0
lea eax, [ebp - 0x1a0]
push eax
call fcn.0058ab10
add esp, 4
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x4fcbec
push str.Initialization_error__exiting._n
call fcn.0047681a
add eax, 0x40
push eax
call fcn.00476674
add esp, 8
call fcn.0047681a
add eax, 0x40
push eax
call fcn.00479e84
add esp, 4
mov eax, 1
jmp 0x4fcc32
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.00421b10
add esp, 8
call fcn.005445d0
cmp dword [ebp - 0x19c], 0
je 0x4fcc30
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0058aed0
add esp, 8
mov dword [ebp - 0x19c], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047209e
mov esp, ebp
pop ebp
ret
Function at 0x50e170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x5fd0b0]
mov ecx, dword [esp + 0x1c8]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1c4]
push esi
mov esi, dword [esp + 0x1d0]
push edi
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x20], eax
xor eax, eax
push edx
mov ecx, 0x10
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
push esi
mov ecx, 0x10
lea edi, [esp + 0x30]
push ebp
mov dword [esp + 0x24], esi
rep stosd dword es:[edi], eax
call fcn.0046e8d0
mov ebx, eax
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x50e1f4
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.00510460
add esp, 8
jmp 0x50e36d
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x19c]
push ecx
lea edx, [ebp + 0x150]
push edx
push eax
call fcn.0046e6b0
or ebx, eax
mov eax, dword [esi + 0x40]
add esp, 0xc
test eax, eax
lea edx, [esp + 0x19c]
jne 0x50e327
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.00512f20
or ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x50e317
lea eax, [esp + 0x48]
push eax
mov ecx, 8
lea edi, [esp + 0x2c]
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.0046eb00
mov ecx, 0x10
lea esi, [esp + 0x30]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x70]
push ecx
push ebp
or ebx, eax
call fcn.00512e30
or ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x50e2f0
dec eax
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1a4]
push eax
call fcn.00512ed0
or ebx, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
lea edx, [esp + 0x68]
je 0x50e2c5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push ebp
call fcn.00512d70
lea ecx, [esp + 0x78]
push ecx
jmp 0x50e2db
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
push ebp
call fcn.00512d70
lea edx, [esp + 0x38]
push edx
push ebp
or ebx, eax
call fcn.00512e30
or ebx, eax
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jg 0x50e284
lea eax, [esp + 0x48]
push eax
mov ecx, eax
push ecx
push ebp
call fcn.00471350
mov edx, dword [esp + 0x20]
push edx
or ebx, eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebp
call fcn.0046e810
jmp 0x50e36a
mov edx, dword [esp + 0x14]
push edx
push ebp
call fcn.00510460
add esp, 8
jmp 0x50e36d
mov eax, dword [ebp + 0x312c]
lea ecx, [esp + 0xec]
push ecx
push edx
push eax
call fcn.00512910
mov edx, dword [esi + 0x40]
or ebx, eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xfc]
push ecx
push edx
push ebp
call fcn.00512bb0
mov edi, dword [esp + 0x30]
mov ecx, 8
lea esi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
add esp, 0x1c
mov ecx, dword [esp + 0x1c4]
pop edi
or ebx, eax
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047209e
add esp, 0x1b8
ret