joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov edx, dword [ebx + 8]
push esi
push edi
mov dword [ebp - 0x14], ecx
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x49f372
mov eax, dword [ebx + 0xc]
xor edi, edi
mov esi, dword [eax]
xor esi, 0xfa4812cd
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
jne 0x49f1d0
mov ecx, dword [edx + 0x10]
nop dword [eax]
movzx eax, word [esi + 2]
add esi, 2
add edi, ecx
cmp eax, 0x20
je 0x49f1c0
mov ecx, eax
test cx, cx
je 0x49f372
push ecx
push dword [ebp - 0x10]
call fcn.004b56e0
mov edx, dword [ebx + 0x10]
add esp, 8
movss xmm4, dword [0x4fe288]
mov ecx, dword [edx]
add ecx, edi
movd xmm1, dword [edx + 4]
mov edi, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
mov ecx, dword [ebx + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [eax + 0x14]
mov eax, ecx
movss dword [ebp - 0x18], xmm1
shr eax, 0x10
movzx eax, al
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], eax
movzx eax, cl
shr ecx, 0x18
movss dword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
cmp dword [edi + 0x2c], 0x1d
addsd xmm0, qword [ecx*8 + 0x4fe320]
cvtpd2ps xmm1, xmm0
divss xmm1, xmm4
jne 0x49f27f
movss xmm2, dword [eax*4 + 0x4f7098]
mov eax, dword [ebp - 8]
movss xmm3, dword [eax*4 + 0x4f7098]
mov eax, dword [ebp - 0xc]
movss xmm0, dword [eax*4 + 0x4f7098]
jmp 0x49f2d6
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4fe320]
mov eax, dword [ebp - 8]
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm2, xmm4
addsd xmm0, qword [eax*8 + 0x4fe320]
mov eax, dword [ebp - 0xc]
cvtpd2ps xmm3, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x4fe320]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm4
sub esp, 0x28
movss dword [ebp - 0x2c], xmm2
cmp byte [ebx + 0x18], 0
mov eax, esp
movaps xmm2, xmmword [0x5579a0]
movss dword [ebp - 0x28], xmm3
movaps xmm3, xmmword [0x5579b0]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x557980]
movss dword [ebp - 0x20], xmm1
movaps xmm1, xmmword [0x557990]
je 0x49f325
mov dword [eax], 0x4fd9a0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0x24], eax
push dword [edi + 0x38]
jmp 0x49f32e
mov dword [eax + 0x24], 0
push 0
mov ecx, dword [edi + 0x6c]
xor edx, edx
push 0
push 0
push 0
call fcn.004b2300
movups xmm0, xmmword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, dword [edi + 0x6c]
movss xmm2, dword [0x4fe258]
xorps xmm3, xmm3
mov ecx, dword [ebp - 0x10]
xorps xmm1, xmm1
push 0
push 0x4da364
push eax
push esi
call fcn.004b54e0
push dword [edi + 0x6c]
call fcn.004b2d90
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
Function at 0x4a7aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d78fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0x3fe8
call fcn.004b9b3a
push 0x3fe8
mov edi, eax
push 0
push edi
mov dword [ebp - 0x54], edi
call fcn.004bc0b0
mov dword [ebp - 0x58], edi
push 0x3fe8
push 0x54f0a0
push edi
mov dword [ebp - 4], 0
call fcn.004bbb30
or eax, 0xffffffff
lea ecx, [edi + 2]
sub eax, edi
mov esi, 2
mov dword [ebp - 0x44], eax
mov edx, 0xfffffffe
mov ebx, dword [ebp - 0x44]
mov eax, 1
sub eax, edi
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov eax, esi
sub eax, edi
sub edx, edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
nop word [eax + eax]
lea eax, [edx + ecx]
and eax, 0xf
mov al, byte [eax + 0x4fe088]
xor byte [ecx - 2], al
lea eax, [ebx + ecx]
and eax, 0xf
mov al, byte [eax + 0x4fe088]
xor byte [ecx - 1], al
mov eax, esi
and eax, 0xf
add esi, 5
mov al, byte [eax + 0x4fe088]
xor byte [ecx], al
lea eax, [edi + ecx]
and eax, 0xf
mov al, byte [eax + 0x4fe088]
xor byte [ecx + 1], al
mov eax, dword [ebp - 0x4c]
add eax, ecx
and eax, 0xf
mov al, byte [eax + 0x4fe088]
xor byte [ecx + 2], al
add ecx, 5
lea eax, [edx + ecx]
cmp eax, 0x3fe8
jb 0x4a7b40
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
push 0x3fe8
push edi
lea esi, [ebx + 0x10]
mov ecx, esi
call fcn.004a9730
test al, al
jne 0x4a7bbc
xor bl, bl
jmp 0x4a7ce1
push esi
lea ecx, [ebp - 0x28]
call fcn.00448120
lea eax, [ebx + 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00448120
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
call fcn.004a9020
mov edx, dword [ebp - 0x2c]
mov byte [ebx + 0x44], al
cmp edx, 0x10
jb 0x4a7c2b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a7c21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a7d08
push edx
push ecx
call fcn.004b9b73
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00b6fae5
ret
push edi
call fcn.004b9938
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
call fcn.004bd9aa
int3
Function at 0x4a8e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7a9a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], edx
mov esi, ecx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa8], esi
xor edi, edi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa0], 0
lea esi, [edi + 3]
lea ebx, [edi + 2]
nop word [eax + eax]
mov eax, 0x88888889
mul edi
mov eax, edi
shr edx, 3
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub eax, ecx
lea ecx, [ebx - 1]
movzx eax, byte [eax + 0x4fe138]
xor al, byte [edi + 0x4fe148]
mov byte [ebp + edi - 0x98], al
mov eax, 0x88888889
mul ecx
mov eax, edi
shr edx, 3
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub eax, ecx
movzx eax, byte [eax + 0x4fe139]
xor al, byte [edi + 0x4fe149]
mov byte [ebp + edi - 0x97], al
mov eax, 0x88888889
mul ebx
mov eax, edi
shr edx, 3
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub eax, ecx
movzx eax, byte [eax + 0x4fe13a]
xor al, byte [ebx + 0x4fe148]
add ebx, 4
mov byte [ebp + esi - 0x99], al
mov eax, 0x88888889
mul esi
mov eax, edi
shr edx, 3
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub eax, ecx
movzx eax, byte [eax + 0x4fe13b]
xor al, byte [esi + 0x4fe148]
add esi, 4
mov byte [ebp + edi - 0x95], al
add edi, 4
cmp ebx, 0x6a
jb 0x4a8e80
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x9c]
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x98]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a8f64
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004451d0
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa0], 1
mov byte [ebp - 4], 0
call fcn.004a8b50
mov dword [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a8faf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004452d0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a8ff0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a900e
push edx
push ecx
call fcn.004b9b73
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
call fcn.004bd9aa
int3
Function at 0x4adfa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov bh, byte [eax + 0x100]
lea edi, [ebp - 8]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 2
nop dword [eax]
inc bh
lea edi, [edi + 1]
movzx esi, bh
mov bl, byte [esi + eax]
add dl, bl
mov byte [ebp + 0xb], dl
movzx edx, dl
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov byte [edx + eax], bl
movzx ecx, byte [esi + eax]
mov dl, byte [ebp + 0xb]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax]
xor byte [edi - 1], cl
sub dword [ebp - 4], 1
jne 0x4adfd0
pop edi
mov cl, dl
mov byte [eax + 0x100], bh
pop esi
mov byte [eax + 0x101], cl
mov ax, word [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ae020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x14
mov ecx, dword [edx]
shr ecx, 3
not ecx
and ecx, 1
test dword [edx], 0x100
je 0x4ae040
mov eax, dword [edx + 0x38]
jmp 0x4ae042
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
movzx eax, word [edx + 0x7c]
push ecx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004aa2b0
mov esi, eax
add esp, 0x20
test esi, esi
je 0x4ae08f
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4ae07a
push ecx
call dword [0x508008]
add esp, 4
push 0
push 0
push 0
push esi
push dword [ebp + 0x1c]
call dword [ebp + 0x18]
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov edi, 2
mov bh, byte [edx + 0x17e]
mov cl, byte [edx + 0x17f]
nop
inc bh
lea esi, [esi + 1]
movzx eax, bh
add edx, eax
mov bl, byte [edx + 0x7e]
add cl, bl
movzx eax, cl
mov byte [ebp - 1], cl
mov ecx, dword [ebp + 8]
add ecx, eax
movzx eax, byte [ecx + 0x7e]
mov byte [edx + 0x7e], al
mov byte [ecx + 0x7e], bl
movzx eax, byte [edx + 0x7e]
mov edx, dword [ebp + 8]
add al, bl
mov cl, byte [ebp - 1]
movzx eax, al
movzx eax, byte [eax + edx + 0x7e]
xor byte [esi - 1], al
sub edi, 1
jne 0x4ae0b0
mov byte [edx + 0x17e], bh
mov al, cl
mov ebx, dword [ebp - 0x10]
mov byte [edx + 0x17f], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], bl
mov eax, dword [ebp - 0xc]
and eax, 0x7ff
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov eax, dword [edx + 0x1a4]
add edx, 0x1a0
cmp eax, edx
je 0x4ae143
mov si, word [ebp - 0xc]
nop
mov ecx, dword [eax + 8]
cmp word [ecx], si
je 0x4ae091
mov eax, dword [eax + 4]
cmp eax, edx
jne 0x4ae130
mov esi, dword [ebp + 8]
push 8
mov word [esi + 0x7c], bx
call dword [section..data]
add esp, 4
mov ecx, eax
pop edi
pop ebx
test ecx, ecx
jne 0x4ae17b
push dword [ebp - 8]
call fcn.004a99e0
push 0
push 0
push 0
push 0xf
push dword [ebp + 0x1c]
call dword [ebp + 0x18]
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
push ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
push 0x4ae1b0
mov dword [ecx + 4], eax
push dword [ebp - 0x14]
push dword [ebp - 8]
push esi
call fcn.004ae540
push dword [ebp - 8]
call fcn.004a99e0
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b3790
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
movaps xmm3, xmm1
movaps xmmword [ebp - 0x20], xmm0
mov edi, edx
movups xmm7, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x20]
movaps xmm5, xmm7
movups xmm6, xmmword [ecx + 0x30]
movss xmm2, dword [ecx + 0x38]
movaps xmmword [ebp - 0x50], xmm1
xorps xmm1, xmm1
movhlps xmm5, xmm7
movups xmm0, xmmword [ecx + 0x10]
mov ecx, dword [ecx + 0x44]
movaps xmm4, xmm0
movaps xmmword [ebp - 0x30], xmm0
movhlps xmm4, xmm0
movaps xmmword [ebp - 0x40], xmm6
cmpeqps xmm1, xmm5
movaps xmm0, xmm1
andnps xmm1, xmm5
andps xmm0, xmmword [0x4f8980]
orps xmm0, xmm1
divps xmm6, xmm0
test cl, 4
je 0x4b380a
mulps xmm7, xmm3
mulps xmm5, xmm3
jmp 0x4b380d
mulps xmm6, xmm3
test cl, 8
jne 0x4b3816
mulps xmm4, xmmword [ebp - 0x20]
xorps xmm1, xmm1
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x4b3957
comiss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, dword [0x4d9dc8]
jb 0x4b3840
addss xmm0, dword [0x4fe250]
jmp 0x4b3848
subss xmm0, dword [0x4fe250]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4d9dd8]
subss xmm2, xmm0
comiss xmm2, dword [0x4d9dd0]
jbe 0x4b3881
movss xmm0, dword [0x4d9dd4]
subss xmm0, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4d9ddc]
jmp 0x4b38a0
movss xmm0, dword [0x4d9de0]
comiss xmm0, xmm2
jbe 0x4b3898
movss xmm0, dword [0x4d9de4]
jmp 0x4b3870
movss xmm0, dword [0x4fe258]
movss xmm3, dword [0x4d9db0]
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4d9da8]
subss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4d9dac]
mulss xmm3, xmm1
subss xmm3, dword [0x4d9db8]
mulss xmm3, xmm1
addss xmm3, dword [0x4d9dc0]
mulss xmm3, xmm1
subss xmm3, dword [0x4d9dcc]
mulss xmm3, xmm1
addss xmm3, dword [0x4fe258]
mulss xmm3, xmm2
movss xmm2, dword [0x4d9db4]
subss xmm2, xmm0
mulss xmm2, xmm1
subss xmm2, dword [0x4d9dbc]
mulss xmm2, xmm1
addss xmm2, dword [0x4d9dc4]
mulss xmm2, xmm1
subss xmm2, dword [0x4fe250]
mulss xmm2, xmm1
movaps xmm1, xmm3
xorps xmm3, xmm3
subps xmm3, xmm1
addss xmm2, dword [0x4fe258]
mulss xmm2, dword [ebp - 4]
movaps xmm0, xmm2
unpcklps xmm2, xmm1
unpcklps xmm3, xmm0
jmp 0x4b3965
movaps xmm2, xmmword [0x4f8930]
movaps xmm3, xmmword [0x4f8920]
and ecx, 3
mov esi, 0x508010
mov dword [ebp - 4], ecx
xor edx, edx
lea ecx, [edi + 0xc]
mov edi, dword [ebp - 4]
movups xmm1, xmmword [esi]
mov eax, edx
subps xmm1, xmm6
xor eax, edi
shl eax, 4
inc edx
add eax, 0x508010
add esi, 0x10
mulps xmm1, xmm4
movaps xmm0, xmm1
shufps xmm0, xmm1, 0
mulps xmm0, xmm2
shufps xmm1, xmm1, 0x55
mulps xmm1, xmm3
addps xmm0, xmmword [ebp - 0x30]
addps xmm0, xmm1
shufps xmm0, xmmword [ebp - 0x40], 0xb4
movups xmmword [ecx - 0xc], xmm0
movaps xmm0, xmmword [ebp - 0x50]
movups xmmword [ecx], xmm0
movaps xmm0, xmm5
mulps xmm0, xmmword [eax]
addps xmm0, xmm7
movss dword [ecx + 0x10], xmm0
shufps xmm0, xmm0, 0x55
movss dword [ecx + 0x14], xmm0
add ecx, 0x24
cmp edx, 4
jb 0x4b3978
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4b3c00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d816b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x30], xmm0
mov dword [ebp - 0x14], 0
movq qword [esi + 0x40], xmm0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push edi
mov byte [ebp - 4], 3
call dword [eax + 0xc]
cmp dword [ebp + 0x10], 0
je 0x4b3dab
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x800
jbe 0x4b3ccb
push str.Vertex_size_is_too_large_for_DirectX_11
jmp 0x4b3db0
mov eax, dword [ebp + 0xc]
mov edx, 2
mul edx
mov dword [ebp - 0x18], eax
test edx, edx
ja 0x4b3da4
jb 0x4b3ced
cmp eax, 0x8000000
ja 0x4b3da4
mov eax, dword [ebp + 0x10]
mul ecx
mov dword [ebp - 0x1c], eax
test edx, edx
ja 0x4b3d9d
jb 0x4b3d0a
cmp eax, 0x8000000
ja 0x4b3d9d
cmp dword [esi], edi
je 0x4b3d22
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi]
mov dword [esi], edi
test ecx, ecx
je 0x4b3d22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp + 0xc], 0
jbe 0x4b3d47
lea eax, [esi + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.004b4030
push eax
push 2
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004b41b0
add esp, 0x10
lea eax, [esi + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.004b4030
push eax
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.004b41b0
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 2
test edx, edx
je 0x4b3d7e
mov dword [ebp - 0x14], 0
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret 0x10
push str.VB_too_large_for_DirectX_11
jmp 0x4b3db0
push str.IB_too_large_for_DirectX_11
jmp 0x4b3db0
push str.maxVertices_must_be_greater_than_0
lea ecx, [ebp - 0x28]
call fcn.004b19c0
push 0x505854
lea eax, [ebp - 0x28]
push eax
call fcn.004bc20a
int3

Function at 0x4ba9db
Capabilities:
Parse pe header

Disassembly:
push 0
push esi
call fcn.0089df19
test eax, eax
je 0x4baa1b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4baa1b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4baa1b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4baa1b
cmp dword [ecx + 0x74], 0xe
jbe 0x4baa1b
cmp dword [ecx + 0xe8], 0
je 0x4baa1b
mov al, 1
ret
xor al, al
ret
Function at 0x402630
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
push 1
push 0x208
call fcn.00419e02
push 1
push 0x208
mov edi, eax
call fcn.00419e02
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x40276b
test ebp, ebp
je 0x40276b
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov edx, ebp
xor esi, esi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40266f
push 7
push str.http:__
push ebp
call fcn.0041a3a0
add esp, 0xc
test eax, eax
je 0x4026b5
push 8
push str.https:__
push ebp
call fcn.0041a3a0
add esp, 0xc
test eax, eax
je 0x4026b5
push 0x5c
push ebp
call fcn.00419c00
add esp, 8
test eax, eax
je 0x4026b5
mov byte [eax], 0
mov esi, ebp
push 5
push esi
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40275a
mov eax, dword [esp + 0x18]
push edi
push eax
push 0x80000000
call fcn.00402770
add esp, 0xc
test eax, eax
jne 0x40275a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
push edi
call ebx
push edi
push edi
push 0x80000000
call fcn.00402770
add esp, 0xc
test eax, eax
jne 0x40275a
push str.__1_
push edi
call fcn.0041a100
mov esi, eax
add esp, 8
test esi, esi
jne 0x40273e
push 0x42534c
push edi
call fcn.0041a100
mov esi, eax
add esp, 8
test esi, esi
jne 0x40273e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + edi - 1]
jmp 0x402741
mov byte [esi], 0
push 0x425348
push esi
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
push 5
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
push ebp
call fcn.00419eb3
push edi
call fcn.00419eb3
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x402770
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4027b9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 8], 0x104
push eax
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret
Function at 0x4027c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x218]
push 0x208
push eax
push edi
call fcn.00402890
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_AddFontResourceA]
mov al, byte [esp + 0xc]
test al, al
je 0x40286a
push 0x5c
push edi
call fcn.00419c00
mov esi, eax
add esp, 8
test esi, esi
je 0x402805
inc esi
jmp 0x402807
mov esi, edi
lea ecx, [esp + 0xc]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42a894]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x40282b
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 8]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40286a
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x402ab0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x214]
push 0x208
push eax
push esi
call fcn.00402890
add esp, 0xc
push esi
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
mov al, byte [esp + 8]
test al, al
je 0x402b3f
push 0x5c
push esi
call fcn.00419c00
add esp, 8
lea ecx, [esp + 8]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42a894]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x402b0f
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 4]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402b3f
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
add esp, 0x20c
ret
Function at 0x402c00
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0x208
call fcn.00419d50
mov ebp, eax
xor ebx, ebx
add esp, 4
cmp ebp, ebx
jne 0x402c26
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
push eax
push str.__s_
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x78]
add esp, 0xc
cmp edx, ebx
je 0x402c7f
cmp byte [edx], bl
je 0x402c7f
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov cx, word [0x425348]
mov word [edi - 1], cx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x208
call fcn.00419d50
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x402ca5
push ebp
call fcn.00419eb3
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x68]
lea edi, [esi + 0x104]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402cc1
push 0x5c
push edi
call fcn.00419c00
add esp, 8
cmp eax, ebx
je 0x402ce3
push edi
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push ebp
push ebx
mov dword [eax], ebx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebx
mov word [esp + 0x7a], bx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call fcn.00419eb3
push ebp
call fcn.00419eb3
add esp, 8
cmp edi, ebx
jne 0x402d4a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret