joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c40e0
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 0x4c40fa
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 0x4c5480
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 0x4c54a9
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.004bfcc0
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x4c54c4
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 0x4c54da
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 0x4c5900
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 8]
push ebx
and ax, 0x8000
push esi
mov dx, word [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ax, 1
sbb eax, eax
add dx, dx
inc eax
or ax, dx
mov word [esp + 0x10], ax
xor byte [esp + 0x11], al
mov ax, word [esp + 0x10]
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
mov esi, 0x55
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
mov eax, 0x58
mov dl, byte [esp + 0x10]
mov bl, byte [esp + 0x10]
and dl, 0x80
add bl, bl
shr dl, 7
add ecx, 2
or dl, bl
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x11]
and dl, 1
mov bl, byte [esp + 0x11]
shl dl, 7
shr bl, 1
or dl, bl
mov byte [esp + 0x11], dl
mov bl, byte [esp + 0x10]
xor byte [esp + 0x11], bl
mov dx, word [esp + 0x10]
not dx
mov word [esp + 0x10], dx
xor word [ecx - 2], dx
add word [esp + 0x10], si
dec eax
jne 0x4c5983
pop esi
pop ebx
ret
Function at 0x4c70f0
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 0x4c712c
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 0x4c710e
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 0x4c7130
mov si, 0x14
mov eax, ebx
shr eax, 5
sub si, ax
and bx, 0x1f
mov word [esp + 0x16], ax
je 0x4c719c
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 0x4c716f
jmp 0x4c71b7
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 0x4c71a4
mov dx, 0xb
mov ecx, 0x14
movsx eax, word [esp + 0x16]
mov si, 0x14
sub ecx, eax
cmp ecx, 0x14
ja 0x4c71fe
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 0x4c71d0
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 0x4c7219
pop ebp
and dword [ecx], 0xfffffff
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x4c7930
Capabilities:
Hash data using sha1

Disassembly:
push esi
push 0x5c
mov esi, dword [esp + 0xc]
push 0
push esi
call fcn.004cab20
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 0x4c7980
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 0x4c79a4
inc dword [esi + 0x18]
mov eax, edi
mov dword [esi + 0x14], ecx
shr eax, 0x1d
add dword [esi + 0x18], eax
test edx, edx
je 0x4c7a40
lea eax, [esi + edx + 0x1c]
mov ebx, 0x40
sub ebx, edx
cmp ebx, dword [esp + 0x1c]
jle 0x4c79dc
push edi
mov edi, dword [esp + 0x1c]
push edi
push eax
call fcn.004cab40
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.004cab40
add esp, 0xc
xor eax, eax
mov ax, word [0x5212f0]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4c7a2f
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 0x4c7a07
push esi
add edi, ebx
call fcn.004c7f80
sub dword [esp + 0x20], ebx
add esp, 4
jmp 0x4c7a44
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0x40
jl 0x4c7abc
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.004cab40
add esp, 0xc
xor eax, eax
mov ax, word [0x5212f0]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4c7aad
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 0x4c7a86
push esi
add edi, 0x40
call fcn.004c7f80
add esp, 4
dec ebx
jne 0x4c7a5b
mov eax, dword [esp + 0x1c]
add esi, 0x1c
push eax
push edi
push esi
call fcn.004cab40
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c7ae0
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 0x4c7b6f
push eax
push 0
push edx
call fcn.004cab20
add esp, 0xc
xor eax, eax
mov ax, word [0x5212f0]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4c7b5c
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 0x4c7b35
push esi
call fcn.004c7f80
add esp, 4
lea eax, [esi + 0x1c]
push 0x38
push 0
push eax
jmp 0x4c7b76
sub eax, 8
push eax
push 0
push edx
call fcn.004cab20
add esp, 0xc
xor eax, eax
mov ax, word [0x5212f0]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4c7bc2
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 0x4c7b9a
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], edi
call fcn.004c7f80
add esp, 4
xor eax, eax
mov ax, word [0x5212f0]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x4c7c14
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 0x4c7bed
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 0x4c7c1c
push 0x5c
push 0
push esi
call fcn.004cab20
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4cbb70
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 0x4cdbb0
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 0x4cdbc0
test edx, edx
jne 0x4cdc06
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edi
push eax
call fcn.004c6bb0
add esp, 8
push edi
call fcn.004c6b50
add esp, 4
lea eax, [edi + 0x14]
push eax
push edi
call fcn.004c6bb0
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.004c7240
lea eax, [esp + 0x40]
add esp, 8
push eax
call fcn.004c6b10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x58]
add esp, 4
push eax
push ecx
push edx
call fcn.004c6f00
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
call fcn.004c6b50
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 0x4cdc49
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 0x4cdc63
test edx, edx
je 0x4cdca4
mov edi, dword [esp + 0x58]
push edi
call fcn.004c6b90
add esp, 4
add edi, 0x14
push edi
call fcn.004c6b90
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.004c6b90
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 0x4cdcf9
movsx eax, ax
add edi, edi
add edx, edx
or dword [esp + eax*4 + 0x10], edi
jmp 0x4cdd09
mov edx, 1
test edi, edi
je 0x4cdd09
movsx eax, ax
mov dword [esp + eax*4 + 0x10], edx
inc cx
cmp cx, 0x9e
jl 0x4cdcb9
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
xor eax, dword [esp + 0x10]
push edi
test eax, 0x20000000
je 0x4cdd47
add edi, 0x14
call fcn.004c6b90
add esp, 4
push edi
call fcn.004c6b90
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.004c6f00
add esp, 0xc
lea eax, [edi + 0x14]
push eax
call fcn.004c6b90
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 0x4cdd64
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x4cdd90
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.004c6bb0
lea ecx, [esp + 0x10]
add esp, 8
push ecx
call fcn.004c6b10
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
add esp, 4
push eax
push ecx
push esi
call fcn.004c6f00
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp word [esi], 0
push edi
je 0x4cdde9
lea eax, [esi + 2]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004c6f00
add esp, 0xc
jmp 0x4cddf1
call fcn.004c6b90
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 0x4cddf4
pop edi
pop esi
add esp, 0x28
ret

Function at 0x4cde20
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.004c6b90
lea eax, [esp + 0x50]
add esp, 4
push eax
call fcn.004c6b90
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 0x4cde4f
lea eax, [esp + 0x60]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004c7240
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
lea eax, [esp + 0x68]
add esp, 8
push ecx
push edx
push eax
call fcn.004c6f00
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
add esp, 0xc
push ecx
push edx
call fcn.004c6bb0
lea ecx, [esp + 0x18]
add esp, 8
push ecx
call fcn.004c6b10
mov ecx, dword [esp + 0x88]
add esp, 4
cmp word [ecx], 0
je 0x4cdf01
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 0x4cdeda
jmp 0x4cdf2c
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 0x4cdf0b
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 0x4cdf2f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.004c6f00
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 0x4cdf63
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x4cdf90
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.004c7240
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.004c6f00
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 0x4cdfc1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004c6bb0
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.004c6b10
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x4ce030
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 0x4ce00f
jmp 0x4ce052
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 0x4ce037
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 0x4ce05a
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 0x4ce076
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.004c6f00
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.004c6bb0
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.004c6b10
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 0x4ce0bf
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x4ce0f0
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.004c6bb0
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.004c6b90
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 0x4ce117
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.004cde20
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4196cc
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x419780
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041965c
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x419759
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x4197a7
test ebp, ebp
je 0x4197a7
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4197af
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4197ef
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41984b
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x419846
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x419831
test dl, dl
je 0x41982d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x419831
add ecx, 2
add eax, 2
test dl, dl
jne 0x419811
xor eax, eax
jmp 0x419836
sbb eax, eax
or eax, 1
test eax, eax
je 0x419855
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4197fe
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x41986c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004196cc
test eax, eax
jne 0x419884
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0041978c
mov esi, eax
test esi, esi
jne 0x4198ba
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4198d4
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4199cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.004196cc
mov esi, eax
test esi, esi
jne 0x4199ea
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0041978c
mov dword [esp + 0x18], eax
test eax, eax
je 0x4199e2
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0041978c
mov dword [esp + 0x34], eax
test eax, eax
je 0x4199e2
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0041978c
mov dword [esp + 0x28], eax
test eax, eax
je 0x4199e2
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0041978c
mov dword [esp + 0x30], eax
test eax, eax
je 0x4199e2
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x419bb1
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x419bb1
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x419b14
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x419b95
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x419b37
movzx esi, ax
jmp 0x419b3c
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x419b5b
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x419b6a
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x419bbe
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x419b2c
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x419af1
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x419be7
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x419be7
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x419bcc
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret