joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002ee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x2a
lea ecx, [fcn.10002ee0]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002ef9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jne 0x10002f2b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10002f2b
mov eax, dword [ebp - 0x10]
mov dword [0x100a6b2c], eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
mov eax, 0x1e0d
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002ef9

Function at 0x100030d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100a6b34], 0
mov dword [0x100a6b38], 0
mov dword [0x100a6b44], 0
mov dword [0x100a6b30], 0x1d00
mov dword [0x100a6b2c], 0x24ab
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x10003232
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, eax
add edx, 1
mov esi, dword [0x100a6b34]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x100a6b34], edx
mov dword [0x100a6b2c], 0x11eb
mov esi, dword [0x100a6b38]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x100a6b38], edx
mov ecx, dword [0x100a6b2c]
add ecx, 0x1cfe
mov dword [0x100a6b30], ecx
mov ecx, dword [0x100a6b34]
mov bl, byte [edi + ecx]
mov byte [0x100a6b3c], bl
mov dword [0x100a6b2c], 0x7d5
mov ecx, dword [0x100a6b38]
mov bl, byte [edi + ecx]
mov ecx, dword [0x100a6b34]
mov byte [edi + ecx], bl
mov bl, byte [0x100a6b3c]
mov ecx, dword [0x100a6b38]
mov byte [edi + ecx], bl
mov dword [0x100a6b30], 0x2207
mov ecx, dword [0x100a6b34]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x100a6b38]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x100a6b44], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x10003133
mov eax, dword [0x100a6b2c]
add eax, 0xfffff597
mov dword [0x100a6b2c], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100036b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x100a6b2c], 0x6a9
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [0x100a6b30], 0x9a7
mov edx, dword [0x100a6b2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
jmp 0x1000372f
mov eax, dword [ebp - 0x20]
add esp, 0x30
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
jl 0x1000372f
jmp 0x10003751
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10003700
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffbee
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
jne 0x10003709
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x100a6b2c], ecx
mov dword [0x100a6b30], 0x85f
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
jne 0x10003728
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x31], dl
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10003792
jmp 0x10003728
mov dword [0x100a6b30], 0x18d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10003728
mov dword [0x100a6b30], 0xfffff24c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10003728
mov dword [0x100a6b2c], 0x144b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10003728
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10003728
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10003700
jmp 0x10003728
Function at 0x10001230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1005f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x1000129c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10001282
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100012c9
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000129c
cmp eax, 0xe7
jne 0x100012c9
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100012c9
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10001265
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004cc25
leave
ret
xor al, al
jmp 0x100012ba

Function at 0x10001425
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0x1000145a
cmp word [edx], di
je 0x1000145a
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001483
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x10001481
cmp ecx, esi
je 0x10001481
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10001694
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100d5a70], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100d5a6c], ebx
push edi
push ebx
mov dword [0x100d5a68], eax
mov dword [0x100d5a74], ebx
mov dword [0x100d5a78], eax
mov dword [0x100d5a7c], ebx
mov dword [0x100d5a80], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100d5a94], edx
mov eax, 0x55555555
mov dword [0x100d5a90], esi
xor edi, edi
mov dword [0x100d6e10], eax
pop ecx
mov dword [0x100d6e14], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.100509a0
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100d5a90], esi
adc edx, ebx
mov dword [edi*8 + 0x100d5a94], edx
inc edi
cmp edi, eax
jb 0x100016f2
movaps xmm0, xmmword [0x10059f80]
pop edi
pop esi
mov dword [0x100d5a88], eax
mov eax, 0x100d5a68
movups xmmword [0x100d6e18], xmm0
pop ebx
ret 0x10
Function at 0x10001a09
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x10050eb9
call fcn.100506ab
mov esi, dword [0x100f7e9c]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.1004cc33
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x10002e0f
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10001a69
cmp dword [esi + 0x60], edi
je 0x10001a5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.10050688
ret
push 6
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100021f2
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 6], 0
je 0x10002210
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 5
jb 0x100021fd
pop ebx
mov byte [edx + 6], 0
mov eax, edx
ret

Function at 0x10002213
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 5], 0
je 0x10002231
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 4
jb 0x1000221e
pop ebx
mov byte [edx + 5], 0
mov eax, edx
ret

Function at 0x10002234
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 8], 0
je 0x10002252
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 7
jb 0x1000223f
pop ebx
mov byte [edx + 8], 0
mov eax, edx
ret

Function at 0x10002255
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xe], 0
je 0x10002273
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x10002260
pop ebx
mov byte [edx + 0xe], 0
mov eax, edx
ret

Function at 0x10002276
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 7], 0
je 0x10002294
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 6
jb 0x10002281
pop ebx
mov byte [edx + 7], 0
mov eax, edx
ret

Function at 0x10002297
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x12], 0
je 0x100022b5
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x100022a2
pop ebx
mov byte [edx + 0x12], 0
mov eax, edx
ret

Function at 0x100022b8
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x16], 0
je 0x100022d6
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x100022c3
pop ebx
mov byte [edx + 0x16], 0
mov eax, edx
ret

Function at 0x100022d9
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 3], 0
je 0x100022f7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 2
jb 0x100022e4
pop ebx
mov byte [edx + 3], 0
mov eax, edx
ret

Function at 0x100022fa
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 9], 0
je 0x10002318
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x3a]
xor byte [ecx], al
inc ebx
cmp ebx, 8
jb 0x10002305
pop ebx
mov byte [edx + 9], 0
mov eax, edx
ret

Function at 0x10002974
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x10002991
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 8
jb 0x1000297f
mov byte [esi + 9], 0
pop esi
ret

Function at 0x10002993
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x100029b0
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 0x15
jb 0x1000299e
mov byte [esi + 0x16], 0
pop esi
ret
Function at 0x100029b2
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x100029cf
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 0x11
jb 0x100029bd
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x100029d1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x100029ee
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 6
jb 0x100029dc
mov byte [esi + 7], 0
pop esi
ret

Function at 0x100029f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x10002a0d
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 0xd
jb 0x100029fb
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x10002a0f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x10002a2c
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 7
jb 0x10002a1a
mov byte [esi + 8], 0
pop esi
ret

Function at 0x10002a2e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x10002a4b
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 4
jb 0x10002a39
mov byte [esi + 5], 0
pop esi
ret

Function at 0x10002a4d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x10002a6a
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3a]
xor byte [ecx], al
inc edx
cmp edx, 5
jb 0x10002a58
mov byte [esi + 6], 0
pop esi
ret

Function at 0x100035e4
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xc], 0
je 0x10003602
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x39]
xor byte [ecx], al
inc ebx
cmp ebx, 0xb
jb 0x100035ef
pop ebx
mov byte [edx + 0xc], 0
mov eax, edx
ret

Function at 0x10003605
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x10003622
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x39]
xor byte [ecx], al
inc edx
cmp edx, 0xb
jb 0x10003610
mov byte [esi + 0xc], 0
pop esi
ret
Function at 0x1000535c
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xd], 0
je 0x1000537a
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x39]
xor byte [ecx], al
inc ebx
cmp ebx, 0xc
jb 0x10005367
pop ebx
mov byte [edx + 0xd], 0
mov eax, edx
ret

Function at 0x1000554b
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xa], 0
je 0x10005569
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x39]
xor byte [ecx], al
inc ebx
cmp ebx, 9
jb 0x10005556
pop ebx
mov byte [edx + 0xa], 0
mov eax, edx
ret

Function at 0x10005676
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x1a], 0
je 0x10005694
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x39]
xor byte [ecx], al
inc ebx
cmp ebx, 0x19
jb 0x10005681
pop ebx
mov byte [edx + 0x1a], 0
mov eax, edx
ret

Function at 0x10005697
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x100056b4
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x39]
xor byte [ecx], al
inc edx
cmp edx, 0x19
jb 0x100056a2
mov byte [esi + 0x1a], 0
pop esi
ret

Function at 0x100056b6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x100056d3
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x39]
xor byte [ecx], al
inc edx
cmp edx, 9
jb 0x100056c1
mov byte [esi + 0xa], 0
pop esi
ret

Function at 0x100056d5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x100056f2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x39]
xor byte [ecx], al
inc edx
cmp edx, 0xc
jb 0x100056e0
mov byte [esi + 0xd], 0
pop esi
ret

Function at 0x10008580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1000858e
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x100085a7
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x100085ba
mov ecx, dword [ecx]
xor esi, esi
mov edx, 0x811c9dc5
test edi, edi
je 0x100085d6
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x100085c5
pop edi
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x10008ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x10008b19
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008af1
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x10008b18
lea eax, [ebp - 4]
mov esi, 0xf8
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008b18
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x1000b1e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x1005f040]
xor eax, esp
mov dword [esp + 0x164], eax
mov dword [esp + 8], ecx
mov ecx, dword [0x100d59a0]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.10009f55
test eax, eax
je 0x1000b3a2
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 8], ecx
cmp dword [eax + 0x17c], ecx
jbe 0x1000b3a2
mov eax, dword [eax + 0x174]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.10009f55
test eax, eax
je 0x1000b389
mov ecx, dword [esi + 0x10]
call fcn.10009f55
test eax, eax
je 0x1000b389
mov esi, dword [esi + 0x10]
lea edi, [esp + 0x28]
add esi, 0x10
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000a32e
test al, al
je 0x1000b389
cvttss2si eax, dword [esp + 0x20]
sub eax, 0xf
cmp dword [esp + 0x10], 1
mov dword [esp + 0x18], eax
jne 0x1000b389
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x40]
mov eax, dword [0x100d59fc]
mov esi, dword [esi + 0x10]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 0x13c]
lea edi, [esp + 0x34]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm1, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
subss xmm2, dword [esp + 0x40]
subss xmm1, dword [esp + 0x44]
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x48]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
push 0x41
pop ecx
xor edx, edx
divss xmm0, dword [0x10059844]
cvtss2sd xmm0, xmm0
mov al, byte [edx + 0x100547a4]
xor al, cl
inc ecx
mov byte [esp + edx + 0x4c], al
and ecx, 0x800000ff
jns 0x1000b33e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x1000b321
push ecx
push ecx
movsd qword [esp], xmm0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x72], 0
push eax
call fcn.10008831
lea eax, [esp + 0x78]
push eax
cvttss2si eax, dword [esp + 0x30]
push 0x101
push 0xff800080
push dword [esp + 0x34]
push eax
push dword [0x100d59f4]
push 1
call fcn.10009dd0
add esp, 0x2c
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, dword [eax + 0x17c]
jb 0x1000b240
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.1004cc25
mov esp, ebp
pop ebp
ret
Function at 0x1000c5e6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 2
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [edi]
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
leave
ret
Function at 0x1000edfa
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x14], 0
je 0x1000ee18
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x1000ee05
pop ebx
mov byte [edx + 0x14], 0
mov eax, edx
ret

Function at 0x1000ee78
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x13], 0
je 0x1000ee96
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0x12
jb 0x1000ee83
pop ebx
mov byte [edx + 0x13], 0
mov eax, edx
ret

Function at 0x1000ee99
Capabilities:
Get disk information

Disassembly:
push 0x40
mov eax, 0x1005173c
call fcn.100506de
mov ebx, ecx
mov dword [ebp - 0x44], ebx
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], ebx
and dword [ebp - 0x48], 0
push 0x10053593
call fcn.10007a8e
xor ecx, ecx
lea eax, [ebp - 0x44]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
mov dword [ebp - 4], ecx
push 0x1005494c
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x13]
xor edx, edx
dec ecx
push 0xa
pop esi
div esi
add dl, 0x30
mov byte [ecx], dl
test eax, eax
jne 0x1000eee9
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x13]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
cmp ecx, eax
jne 0x1000ef1e
mov edx, esi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], edx
jmp 0x1000ef30
lea eax, [ebp - 0x13]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10007ebc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
cmp ebx, eax
je 0x1000ef62
mov edx, dword [ebx + 0x14]
cmp edx, esi
jbe 0x1000ef46
mov ecx, dword [ebx]
inc edx
call fcn.1000807a
push 6
xor eax, eax
mov dword [ebx + 0x14], esi
pop ecx
lea esi, [ebp - 0x40]
mov dword [ebx + 0x10], eax
mov edi, ebx
mov byte [ebx], al
rep movsd dword es:[edi], dword [esi]
push 0xf
pop esi
mov edx, esi
mov byte [ebp - 0x40], al
cmp edx, esi
jbe 0x1000ef6f
mov ecx, dword [ebp - 0x40]
inc edx
call fcn.1000807a
mov eax, ebx
call fcn.1005069c
ret
Function at 0x1000fdca
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xb], 0
je 0x1000fde8
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x1000fdd5
pop ebx
mov byte [edx + 0xb], 0
mov eax, edx
ret
Function at 0x100146b8
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x11], 0
je 0x100146d6
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0x10
jb 0x100146c3
pop ebx
mov byte [edx + 0x11], 0
mov eax, edx
ret

Function at 0x100146d9
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xf], 0
je 0x100146f7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0xe
jb 0x100146e4
pop ebx
mov byte [edx + 0xf], 0
mov eax, edx
ret

Function at 0x100146fa
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x1b], 0
je 0x10014718
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0x1a
jb 0x10014705
pop ebx
mov byte [edx + 0x1b], 0
mov eax, edx
ret

Function at 0x1001471b
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x18], 0
je 0x10014739
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x37]
xor byte [ecx], al
inc ebx
cmp ebx, 0x17
jb 0x10014726
pop ebx
mov byte [edx + 0x18], 0
mov eax, edx
ret