joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4289fc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x450988]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004163ff
mov dword [ebp - 0x14], eax
cmp dword [0x456280], edi
jne 0x428aed
push 0x800
push edi
push 0x4472a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x428a7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x428bcd
push 0x4472a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x428bcd
push 0x4472bc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428bcd
push eax
call ebx
push 0x4472c8
push esi
mov dword [0x456280], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4472d8
push esi
mov dword [0x456284], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4472ec
push esi
mov dword [0x456288], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456290], eax
test eax, eax
je 0x428aea
push 0x447308
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45628c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x428b12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x428b05
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x428b27
push 4
pop eax
jmp 0x428bcf
cmp dword [ebp - 0x14], edi
je 0x428b27
push dword [0x456280]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x428b0c
mov eax, dword [0x45628c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x428b85
cmp dword [0x456290], esi
je 0x428b85
push eax
call ebx
push dword [0x456290]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x428b85
test eax, eax
je 0x428b85
call ecx
test eax, eax
je 0x428b7a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x428b7a
test byte [ebp - 8], 1
jne 0x428b85
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x428bb5
mov eax, dword [0x456284]
cmp eax, esi
je 0x428bb2
push eax
call ebx
test eax, eax
je 0x428bb2
call eax
mov edi, eax
test edi, edi
je 0x428bb2
mov eax, dword [0x456288]
cmp eax, esi
je 0x428bb2
push eax
call ebx
test eax, eax
je 0x428bb2
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x456280]
call ebx
test eax, eax
je 0x428bcd
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x428bcf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f059
leave
ret
Function at 0x42d2f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00419345
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42d328
xor eax, eax
jmp 0x42d354
cmp esi, dword [ebp - 4]
je 0x42d351
cmp dword [ebp + 0xc], 0
je 0x42d351
push dword [edi + 0x9c]
call fcn.0042cefe
push dword [edi + 0x9c]
mov esi, eax
call fcn.004172e6
pop ecx
pop ecx
cmp esi, eax
je 0x42d324
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x41d583
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4402ee
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0041d632
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.00410f37
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d58f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4402ee
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0041d632
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.00410f37
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41ff2e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4406ae
call fcn.0043e100
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402b8f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041ff88
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41ff39
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4406ae
call fcn.0043e100
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402b8f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041ff88
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41ffda
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4406f9
call fcn.0043e100
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0042c22e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004384c5
push dword [esi + 0x24]
call fcn.00401c56
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0041f1d2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00420595
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42179f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4408ee
call fcn.0043e100
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.00402b8f
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402b8f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi], fcn.00420f4f
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42231d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x44097d
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
call fcn.004024a6
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004024a6
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004024a6
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004024a6
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x424b73
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x440d36
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0x10]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.00402ca7
and dword [ebp - 4], 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00424d8f
mov eax, dword [esi + 0x28]
lea ecx, [ebx + 0x34]
mov dword [ebx + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [ebx + 0x2c], al
mov al, byte [esi + 0x2d]
mov byte [ebx + 0x2d], al
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.00424d20
mov eax, dword [esi + 0x40]
add esi, 0x48
mov dword [ebx + 0x40], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x48]
mov dword [ebx + 0x44], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42c863
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x441511
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov byte [esi + 0x17], bl
call fcn.00402b8f
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.00402b8f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.00402b8f
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov word [esi + 0x4c], bx
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
call fcn.0041ff88
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 7
call fcn.0041ff88
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42c86f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x441511
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov byte [esi + 0x17], bl
call fcn.00402b8f
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.00402b8f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.00402b8f
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov word [esi + 0x4c], bx
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
call fcn.0041ff88
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 7
call fcn.0041ff88
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42caa7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x441592
call fcn.0043e100
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esi], 0x445330
mov dword [esi + 4], 0x4452b0
mov dword [esi + 8], 0x445320
mov dword [esi + 0xc], 0x44431c
mov dword [esi + 0x10], 0x4451f4
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00402b8f
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402b8f
lea edi, [esi + 0x60]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00405fef
lea ecx, [edi + 0x28]
call fcn.00402b8f
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.004153ec
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x44530c
mov dword [esi + 4], 0x4452f8
mov dword [esi + 8], 0x4452e8
mov dword [esi + 0xc], 0x4452d8
mov dword [esi + 0x10], 0x4452c4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42cab2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x441592
call fcn.0043e100
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esi], 0x445330
mov dword [esi + 4], 0x4452b0
mov dword [esi + 8], 0x445320
mov dword [esi + 0xc], 0x44431c
mov dword [esi + 0x10], 0x4451f4
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00402b8f
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402b8f
lea edi, [esi + 0x60]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00405fef
lea ecx, [edi + 0x28]
call fcn.00402b8f
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.004153ec
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x44530c
mov dword [esi + 4], 0x4452f8
mov dword [esi + 8], 0x4452e8
mov dword [esi + 0xc], 0x4452d8
mov dword [esi + 0x10], 0x4452c4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43a11b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x442483
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x448014
mov dword [esi + 4], 0x447ffc
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.00402b8f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x447fe0
mov dword [esi + 4], 0x447fc8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43a127
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x442483
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x448014
mov dword [esi + 4], 0x447ffc
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.00402b8f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x447fe0
mov dword [esi + 4], 0x447fc8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43a345
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4424fb
call fcn.0043e100
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00402b8f
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.00411633
lea ecx, [esi + 0x30]
call fcn.00402b8f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10001120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020c40
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x1002d040]
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 - 0xb0], esi
mov dword [ebp - 0xb0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov edi, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10009e80
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.10001e80
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x10029cd0]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0xc7723
nop word [eax + eax]
mov cl, byte [ebp - 0xc4]
xor byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x100011b0
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.10003b10
mov edx, eax
push edi
mov eax, dword [edx]
mov eax, dword [eax + 4]
or dword [eax + edx + 0x14], 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + edx + 0x14], eax
mov ecx, edx
call fcn.10002170
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x49
mov byte [ebp - 0xaa], 0
mov al, 0x14
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10003b10
push esi
lea ecx, [ebp - 0xa8]
call fcn.10001d90
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10001a00
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.10006526
add esp, 4
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.10008154
mov esp, ebp
pop ebp
ret
Function at 0x1000cfb7
Capabilities:
Parse pe header

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

Function at 0x1001225b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100258d8
push 0x100258d0
push str.FlsAlloc
push 0x1f
call fcn.10012123
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001228f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002212c]
call esi
jmp 0x10012295
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100122d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100258e8
push 0x100258e0
push str.FlsGetValue
push 0x21
call fcn.10012123
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012310
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002212c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012318
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100258f0
push 0x100258e8
push str.FlsSetValue
push 0x22
call fcn.10012123
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012352
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002212c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001871d
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 0x100187ba
push ebx
push esi
call fcn.100186e6
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.10017507
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10018767
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100187b9
push edi
push eax
call fcn.100148a4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10018787
call fcn.10011e44
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100187b8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10017507
add esp, 0x20
test eax, eax
jne 0x100187a6
push edi
call fcn.10011e44
jmp 0x100187ae
push ebx
call fcn.10011e44
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