joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69079d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x69083a
push ebx
push esi
call fcn.0069088b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.006906a1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x6907e7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x690839
push edi
push eax
call fcn.0052f910
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x690807
call fcn.00635020
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x690838
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.006906a1
add esp, 0x20
test eax, eax
jne 0x690826
push edi
call fcn.00635020
jmp 0x69082e
push ebx
call fcn.00635020
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x69083d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x69084e
pop esi
ret
push ebx
push edi
push esi
call fcn.0069088b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0052f910
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x690876
push ebx
push esi
push edi
call fcn.00670ee0
add esp, 0xc
push 0
call fcn.00635020
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x6908cd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00690b38

Function at 0x693135
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x693178
call fcn.0067d4bf
mov dword [eax], 0xf
call fcn.0067d4ac
mov dword [eax], 0xd
call fcn.0067ed50
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0066e1f1
leave
ret
test eax, eax
jne 0x69317f
inc eax
jmp 0x69316c
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x69316a
xor eax, eax
cmp ecx, 1
setne al
jmp 0x69316c
Function at 0x6b2540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x6b25a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x6b25aa
mov bl, 1
cmp byte [ebp + 0xc], 0
je 0x6b2590
cmp byte [esi + 4], 0
je 0x6b25f6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
jmp 0x6b2564
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x6b25d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6b25d4
xor ebx, ebx
jmp 0x6b2590
mov eax, dword [esi]
jmp 0x6b25bc
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x6b25fa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov bl, 1
jmp 0x6b2590
mov eax, dword [esi]
jmp 0x6b2584
mov eax, dword [esi]
jmp 0x6b25e7

Function at 0x6b2770
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1c0
push str........._base_files_file_util_win.cc
push str.DeleteFileAfterReboot
push ebx
call fcn.0063ced0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00635f30
mov al, byte [edi + 0xb]
test al, al
jns 0x6b27e1
cmp dword [edi + 4], 0x103
jbe 0x6b27e1
xor ebx, ebx
jmp 0x6b27f7
test al, al
jns 0x6b27e7
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
lea ecx, [esp + 0x10]
call fcn.00635fb0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6b8380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
mov esi, dword [eax + 4]
xor edx, edx
cmp edi, esi
jge 0x6b83a6
mov eax, dword [eax]
xor edx, edx
mov ebx, edi
or edx, dword [eax + ebx*4]
inc ebx
cmp esi, ebx
jne 0x6b839e
cmp esi, edi
jge 0x6b83b6
mov eax, dword [ecx]
mov ebx, esi
or edx, dword [eax + ebx*4]
inc ebx
cmp edi, ebx
jne 0x6b83ae
cmp edi, esi
cmovl esi, edi
test esi, esi
jle 0x6b83d5
mov edi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
xor eax, eax
mov ecx, dword [ebx + eax*4]
xor ecx, dword [edi + eax*4]
or edx, ecx
inc eax
cmp esi, eax
jne 0x6b83c8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
xor eax, eax
or ecx, edx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6c1d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov ecx, dword [0x72a00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x6c1db8
push 0x540090
push 0x73007c
call fcn.0065fd50
add esp, 8
mov eax, 0x730080
test esi, esi
cmove esi, eax
mov ebx, dword [eax + 4]
lea ecx, [ebx*2 + 2]
cmp ecx, edi
jbe 0x6c1df9
push 0x147
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7e
push 0
push 4
call fcn.006d0e70
add esp, 0x14
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x68], esi
lea ecx, [ebx + ebx]
mov esi, ecx
not esi
lea edx, [edi + esi]
dec edx
cmp edx, dword [ebp + 0x14]
jae 0x6c1e1a
push 0x14d
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x72
jmp 0x6c1dd7
mov dword [ebp - 0x64], ebx
dec edi
or ecx, 1
cmp edi, ecx
jae 0x6c1e2c
push 0x152
jmp 0x6c1dd0
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
mov byte [ecx], 0
mov ebx, dword [ebp - 0x64]
add ebx, ecx
inc ebx
sub esp, 4
push eax
push 0
mov dword [ebp - 0x58], ebx
push ebx
push dword [ebp + 0x1c]
push edx
call fcn.0053ff00
add esp, 0x18
test eax, eax
je 0x6c1f63
mov edx, edi
mov ebx, dword [ebp + 0x14]
sub edx, ebx
add esi, edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
je 0x6c1e89
mov ebx, eax
add eax, ecx
push esi
push 0
push eax
mov esi, edx
call fcn.006719e0
mov eax, ebx
mov edx, esi
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov esi, eax
not eax
add edx, eax
mov byte [ecx + edx], 1
inc dword [ebp - 0x54]
test ebx, ebx
je 0x6c1eae
lea eax, [ecx + edi]
sub eax, ebx
sub eax, esi
push ebx
push dword [ebp + 0x10]
push eax
call fcn.00670ee0
add esp, 0xc
push 0x70bdac
push esi
push dword [ebp - 0x54]
call fcn.0053f6b0
add esp, 0xc
mov ebx, edi
sub ebx, esi
push ebx
call fcn.0065b960
add esp, 4
test eax, eax
je 0x6c1f63
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 0x5c], ebx
mov edx, ebx
push dword [ebp - 0x68]
push esi
push dword [ebp - 0x54]
call fcn.00543620
add esp, 0xc
test eax, eax
je 0x6c1f75
cmp edi, esi
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x60]
je 0x6c1f15
mov eax, dword [ebp - 0x5c]
cmp eax, 1
adc eax, 0
xor ecx, ecx
mov dl, byte [ebx + ecx]
xor byte [edi + ecx], dl
inc ecx
cmp eax, ecx
jne 0x6c1f0a
pcmpeqd xmm0, xmm0
lea ecx, [ebp - 0x50]
movdqu xmmword [ecx + 0x30], xmm0
movdqu xmmword [ecx + 0x20], xmm0
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmmword [ecx], xmm0
mov edx, esi
push dword [ebp - 0x68]
push dword [ebp - 0x5c]
push edi
call fcn.00543620
add esp, 0xc
test eax, eax
mov edi, 0
je 0x6c1f67
xor edi, edi
inc edi
test esi, esi
je 0x6c1f67
xor eax, eax
mov edx, dword [ebp - 0x54]
mov cl, byte [ebp + eax - 0x50]
xor byte [edx + eax], cl
inc eax
cmp esi, eax
jne 0x6c1f55
jmp 0x6c1f67
xor ebx, ebx
xor edi, edi
push ebx
call fcn.0065b9b0
add esp, 4
jmp 0x6c1de5
xor edi, edi
mov ebx, dword [ebp - 0x60]
jmp 0x6c1f67
Function at 0x6c4e90
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x50]
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
push esi
push 0x20
push dword [ebp + 0x10]
call fcn.006bd120
add esp, 0xc
and byte [esi], 0xf8
mov al, byte [esi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
lea edi, [ebp - 0xf0]
push 0xa0
push 0xff
push edi
call fcn.006719e0
add esp, 0xc
push 0x70d618
push esi
push edi
call fcn.00647ff0
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, edi
call fcn.00550da0
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10010e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
push edi
mov edi, 0xff
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x10
nop dword [eax]
xor eax, esi
xor edi, ebx
mov ebx, dword [ebp - 4]
xor esi, edi
xor ebx, dword [ebp - 0x10]
xor ecx, edx
xor edx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [edx], esi
mov esi, dword [ebp - 0x18]
mov dword [edx + 4], esi
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor esi, eax
mov eax, dword [ebp + 0xc]
xor edx, ecx
mov dword [ebp - 0x20], esi
mov dword [eax + 8], esi
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esi + 0xc], edx
mov esi, dword [ebp - 8]
shld eax, esi, 0x11
shl esi, 0x11
xor dword [ebp - 0x1c], esi
mov esi, eax
xor esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov dword [ecx + 0x14], esi
mov esi, edi
shrd edi, ebx, 0x13
shl esi, 0xd
or dword [ebp - 4], edi
shr ebx, 0x13
or esi, ebx
mov dword [ecx + 0x10], eax
sub dword [ebp - 0x14], 1
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x1c], esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x20]
mov edi, esi
mov dword [ecx + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
jne 0x10010e60
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call fcn.10001d90
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
call fcn.10001d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10011ff0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x1004e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov dword [ebp - 0xdc], ebx
call fcn.10011470
mov esi, eax
test esi, esi
je 0x10012053
mov ecx, dword [ebp - 0xd8]
sub esi, edi
mov edx, dword [ebp - 0xd4]
mov al, 3
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039aa8
mov esp, ebp
pop ebp
ret 8
push 0x1003d6c8
push edi
call fcn.1002c790
add esp, 8
test eax, eax
je 0x10012085
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x10012087
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039aa8
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
push ebx
lea eax, [ebp - 0xd8]
push eax
push edi
call fcn.10011400
mov esi, eax
test esi, esi
jne 0x10012121
push 0x2e
push edi
call fcn.10024000
mov esi, eax
add esp, 8
test esi, esi
je 0x10012070
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100120b5
sub ecx, edx
cmp ecx, 0xc8
ja 0x10012070
lea edx, [ebp - 0xd0]
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100120d0
call fcn.1002941d
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp + esi - 0xd0], al
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.10011400
mov esi, eax
test esi, esi
je 0x10012070
mov eax, edi
lea ecx, [ebp - 0xd0]
sub eax, ecx
add esi, eax
test esi, esi
je 0x10012070
mov ebx, dword [ebp - 0xdc]
sub esi, edi
movsd xmm0, qword [ebp - 0xd8]
mov al, 0x13
mov ecx, dword [ebp - 4]
pop edi
movsd qword [ebx], xmm0
xor ecx, ebp
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop esi
pop ebx
call fcn.10039aa8
mov esp, ebp
pop ebp
ret 8
Function at 0x10012200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call fcn.1002941d
mov ecx, dword [ebp + 8]
xor edi, edi
xor esi, esi
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov al, byte [ecx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x1003cc91], 8
je 0x10012253
nop dword [eax]
mov al, byte [ecx + 1]
inc ecx
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x1003cc91], 8
jne 0x10012240
mov al, byte [ebp - 1]
lea edx, [ecx + 1]
cmp al, 0x2d
jne 0x10012266
mov dword [ebp - 0x14], 1
jmp 0x1001226e
cmp al, 0x2b
mov dword [ebp - 0x14], esi
cmovne edx, ecx
cmp byte [edx], 0x30
jne 0x100123a7
mov al, byte [edx + 1]
cmp al, 0x78
je 0x10012286
cmp al, 0x58
jne 0x100123a7
movsd xmm2, qword [0x1003d748]
add edx, 2
mov al, byte [edx]
movsx ecx, al
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
cmp ecx, dword [ebp - 0x18]
jne 0x100122b1
cmp dword [ebp - 8], 0
jne 0x10012303
mov dword [ebp - 8], 1
inc edx
jmp 0x10012291
movzx eax, al
test byte [eax + 0x1003cc91], 0x10
je 0x10012303
test edi, edi
jne 0x100122cc
cmp byte [ebp - 1], 0x30
jne 0x100122cc
inc dword [ebp - 0xc]
jmp 0x100122f9
inc edi
cmp edi, 0x1e
jg 0x100122f8
test byte [ecx + 0x1003cc91], 2
je 0x100122e0
add ecx, 0xffffffd0
jmp 0x100122e6
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x100122f9
inc esi
cmp dword [ebp - 8], 0
je 0x10012300
dec esi
inc edx
jmp 0x10012291
mov eax, dword [ebp - 0xc]
add eax, edi
je 0x100123a7
mov eax, dword [ebp + 0xc]
shl esi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x10012320
cmp al, 0x50
jne 0x10012381
mov al, byte [edx + 1]
inc edx
xor ecx, ecx
cmp al, 0x2d
jne 0x10012335
mov edx, dword [ebp - 0x10]
lea edi, [ecx + 1]
add edx, 2
jmp 0x10012341
cmp al, 0x2b
jne 0x1001233f
mov edx, dword [ebp - 0x10]
add edx, 2
xor edi, edi
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x1003cc91], 2
je 0x100123a7
movsx eax, byte [ebp - 1]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x1003cc91], 2
jne 0x10012352
mov eax, ecx
neg eax
test edi, edi
cmove eax, ecx
add esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
cmp dword [ebp - 0x14], 0
je 0x1001238e
xorps xmm1, xmmword [0x1003d750]
push esi
sub esp, 8
movsd qword [esp], xmm1
call fcn.10027596
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10016920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
xor eax, dword [ebp + 0x10]
test esi, esi
je 0x1001694f
push edi
mov edi, dword [ebp + 8]
movzx edx, byte [edi + esi - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub esi, 1
jne 0x10016934
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10016960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 6], 0
jne 0x100169ac
mov edx, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
xor edx, esi
test esi, esi
je 0x1001699d
push ebx
lea ebx, [edi + 0xf]
add ebx, esi
mov ecx, edx
lea ebx, [ebx - 1]
mov eax, edx
shl ecx, 5
shr eax, 2
add ecx, eax
movzx eax, byte [ebx + 1]
add ecx, eax
xor edx, ecx
sub esi, 1
jne 0x10016980
pop ebx
pop esi
mov dword [edi + 8], edx
mov eax, edx
mov byte [edi + 6], 1
pop edi
pop ebp
ret 4
mov eax, dword [edi + 8]
pop edi
pop ebp
ret 4

Function at 0x100234f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1002354a
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
nop word [eax + eax]
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0x14]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x10023510
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x10023930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0x100236d0
call fcn.100161f0
mov esi, eax
test esi, esi
je 0x10023a6d
push edi
push 0x10023730
push esi
call fcn.10001270
push 1
push 0x10004620
push 0x1003cac0
push esi
call fcn.10003310
push 0xfffffffffffffffe
push esi
call fcn.100023e0
push 1
push 0x100198f0
push str.string
push esi
call fcn.10003310
push 0xfffffffffffffffe
push esi
call fcn.100023e0
push 0
push str.main
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.100030b0
push 0
push 0
push esi
call fcn.100014d0
push 0
push 0x100238b0
push esi
call fcn.10001cc0
push 0
push 1
push 0xfffffffffffffffe
push esi
call fcn.10002180
push 0
push 0x10023750
push esi
call fcn.10001cc0
push 0
push 2
push 0xfffffffffffffffe
push esi
call fcn.10002180
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x5a4d
and eax, 0xffff0000
nop dword [eax]
sub eax, 0x10000
cmp word [eax], di
jne 0x100239f0
cdq
push edx
push eax
push esi
call fcn.10001d90
push 0
push 3
push 0xfffffffffffffffe
push esi
call fcn.10002180
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
and eax, 0xffff0000
sub eax, 0x10000
cmp word [eax], di
jne 0x10023a20
pop edi
cdq
push edx
push eax
push esi
call fcn.10001d90
push 0
push 4
push 0xfffffffffffffffe
push esi
call fcn.10002180
push 0
push 0
push 0
push 1
push 1
push esi
call fcn.10001bb0
test eax, eax
je 0x10023a6b
push 0
push 0xffffffffffffffff
push esi
call fcn.10002610
push esi
call fcn.10016140
xor eax, eax
pop esi
pop ebp
ret 8
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1002d8ff
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040760
push 0x10040758
push 0x10040760
push 0x21
call fcn.1002d7dd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002d936
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003c110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002d93e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040774
push 0x1004076c
push 0x10040774
push 0x22
call fcn.1002d7dd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002d978
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003c110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1003144a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10031489
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10031489
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10031489
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10031489
cmp dword [ecx + 0x74], 0xe
jbe 0x10031489
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10039db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10039ddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10039ddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret