joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169b70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov al, byte [edi]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
cmp ecx, eax
je 0x1001f10e
call fcn.10009450
movups xmm0, xmmword [edi + 0xc]
xor ecx, ecx
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x1c]
movq qword [esi + 0x1c], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], cx
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
cmp ecx, eax
je 0x1001f143
call fcn.10009450
movups xmm0, xmmword [edi + 0x24]
xor ecx, ecx
movups xmmword [esi + 0x24], xmm0
movq xmm0, qword [edi + 0x34]
movq qword [esi + 0x34], xmm0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 7
mov word [edi + 0x24], cx
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x50]
mov byte [esi + 0x3c], al
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
lea eax, [edi + 0x50]
cmp ecx, eax
je 0x1001f196
call fcn.10009450
movups xmm0, xmmword [edi + 0x50]
xor ecx, ecx
movups xmmword [esi + 0x50], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [esi + 0x60], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 7
mov word [edi + 0x50], cx
lea eax, [edi + 0x68]
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x1001f1cb
call fcn.10009450
movups xmm0, xmmword [edi + 0x68]
xor ecx, ecx
movups xmmword [esi + 0x68], xmm0
movq xmm0, qword [edi + 0x78]
movq qword [esi + 0x78], xmm0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 7
mov word [edi + 0x68], cx
movzx eax, byte [edi + 0x80]
lea ecx, [esi + 0x84]
mov byte [esi + 0x80], al
movzx eax, byte [edi + 0x81]
mov byte [esi + 0x81], al
lea eax, [edi + 0x84]
cmp ecx, eax
je 0x1001f235
call fcn.10009450
movups xmm0, xmmword [edi + 0x84]
xor ecx, ecx
movups xmmword [esi + 0x84], xmm0
movq xmm0, qword [edi + 0x94]
movq qword [esi + 0x94], xmm0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 7
mov word [edi + 0x84], cx
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x9c], eax
mov eax, dword [edi + 0xa0]
mov dword [esi + 0xa0], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e4ee
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
lea esi, [edi + 0x74]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
lea ecx, [esi + 0x50]
call fcn.10009450
mov byte [ebp - 4], 4
lea ecx, [esi + 0x38]
call fcn.10009450
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
call fcn.10009450
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
call fcn.10009450
mov byte [ebp - 4], 0
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [esi + 0x1c]
call fcn.10009450
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
add ecx, 0xc
call fcn.10009450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002b390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e650
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
lea ecx, [esi + 0xc]
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp + 8], esi
mov eax, dword [edi + 8]
mov dword [esi], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 8], eax
lea eax, [edi + 0x14]
push eax
call fcn.10007960
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 1
lea esi, [ebx + 0x30]
mov dword [ebp + 8], esi
lea ecx, [esi + 4]
mov eax, dword [edi + 0x30]
mov dword [esi], eax
lea eax, [edi + 0x34]
push eax
call fcn.10007960
mov byte [ebp - 4], 2
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x1c]
call fcn.10007960
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x64]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 4
lea eax, [edi + 0x74]
push eax
lea ecx, [ebx + 0x74]
call fcn.1002b5e0
mov dword [ebp - 4], 6
lea ecx, [ebx + 0xf0]
movzx eax, byte [edi + 0xdc]
mov byte [ebx + 0xdc], al
mov eax, dword [edi + 0xe0]
mov dword [ebx + 0xe0], eax
mov eax, dword [edi + 0xe4]
mov dword [ebx + 0xe4], eax
mov eax, dword [edi + 0xe8]
mov dword [ebx + 0xe8], eax
mov eax, dword [edi + 0xec]
mov dword [ebx + 0xec], eax
lea eax, [edi + 0xf0]
push eax
call fcn.10007960
mov byte [ebp - 4], 7
lea eax, [edi + 0x108]
push eax
lea ecx, [ebx + 0x108]
call fcn.10007960
mov byte [ebp - 4], 8
movzx eax, byte [edi + 0x120]
mov byte [ebx + 0x120], al
movzx eax, byte [edi + 0x121]
mov byte [ebx + 0x121], al
lea ecx, [ebx + 0x124]
lea eax, [edi + 0x124]
push eax
call fcn.10007960
mov byte [ebp - 4], 9
lea eax, [edi + 0x13c]
push eax
lea ecx, [ebx + 0x13c]
call fcn.10007960
mov byte [ebp - 4], 0xa
lea eax, [edi + 0x154]
push eax
lea ecx, [ebx + 0x154]
call fcn.10007960
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10035560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017099c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
lea esi, [edi + 8]
mov dword [edi + 4], 0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x101b870c
mov word [ecx], ax
call fcn.100094b0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 1
lea eax, [edi + 0x30]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 7
mov word [eax + 4], cx
mov byte [ebp - 4], 2
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], 7
mov word [eax + 0x1c], cx
mov byte [ebp - 4], 3
mov dword [eax], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], 0x1e
mov dword [eax + 0x40], ecx
mov byte [ebp - 4], 4
lea eax, [edi + 0x74]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], 7
mov word [eax + 8], cx
mov byte [ebp - 4], 5
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], 7
mov word [eax + 0x20], cx
mov byte [ebp - 4], 6
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], 7
mov word [eax + 0x38], cx
mov byte [ebp - 4], 7
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], 7
mov word [eax + 0x50], cx
mov byte [ebp - 4], 8
mov byte [eax], 1
mov dword [eax + 4], ecx
mov dword [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 7
mov word [edi + 0x108], ax
mov byte [ebp - 4], 0xc
mov dword [edi + 0x134], eax
mov dword [edi + 0x138], 7
mov word [edi + 0x124], ax
mov byte [ebp - 4], 0xd
mov dword [edi + 0x14c], eax
mov dword [edi + 0x150], 7
mov word [edi + 0x13c], ax
mov byte [ebp - 4], 0xe
mov dword [edi + 0x164], eax
mov dword [edi + 0x168], 7
mov word [edi + 0x154], ax
mov byte [ebp - 4], 0xf
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], eax
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], eax
mov byte [edi + 0xdc], 1
mov word [edi + 0x120], 0x100
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050970
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174aea
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebx], 0
call fcn.10144440
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 3
mov byte [ebx + 0x3c], 0
mov byte [ebp - 4], 4
push 0x58
call fcn.10161f74
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 5
lea esi, [edi + 0xc]
push 0x4c
push 0
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_RC::RCEventCtrlMgr_.0
mov dword [ebp - 0x2c], esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 8], 0
add esp, 0xc
mov dword [esi], vtable.RC::RCEventCtrlMgr.0
mov dword [esi + 4], vtable.RC::RCEventCtrlMgr.1.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 6
lea eax, [esi + 0x18]
push 0x102
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 8
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x30], esi
mov esi, dword [ebx + 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x34], edi
mov byte [ebp - 4], 4
test esi, esi
je 0x10050aff
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10050aff
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10050aff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, 1
mov dword [ebp - 0x10], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006c530
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101792bd
mov eax, dword fs:[0]
push eax
mov eax, 0x112c
call fcn.10166830
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x1134], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push 1
mov dword [ebp - 0x1134], 1
mov dword [ebp - 0x1014], eax
call fcn.10161f74
mov dword [ebp - 0x1014], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x112c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x1130], 0x11c
lea eax, [ebp - 0x1130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1006c5f3
cmp dword [ebp - 0x112c], 6
mov eax, dword [ebp - 0x1014]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1014]
call fcn.1010bd90
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1006c65e
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006c640
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100094b0
lea ecx, [ebp - 0x1014]
call fcn.1010c0b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.1010b600
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret 4
Function at 0x100742e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
test edi, edi
je 0x1007431c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1007431b
not dword [edx]
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x101be9b0]
xor eax, ecx
mov dword [edx], eax
sub esi, 1
jne 0x100742f7
not eax
mov dword [edx], eax
pop esi
pop edi
pop ebp
ret 8
Function at 0x100762c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a80d
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
call fcn.10166830
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x1028]
call fcn.10007940
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0
call fcn.10075fe0
test al, al
je 0x10076538
push str.Application
lea ecx, [ebp - 0x1074]
call fcn.100078f0
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x108c]
push eax
call fcn.100fdee0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x1007638a
mov ecx, eax
call fcn.10009450
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x1028], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x1018], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x108c]
mov byte [ebp - 4], 1
call fcn.100078b0
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 0
call fcn.100078b0
lea ecx, [ebp - 0x1028]
call fcn.100fd490
test al, al
je 0x10076538
push str.config.ini
lea ecx, [ebp - 0x1074]
call fcn.100078f0
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.100fdee0
add esp, 0xc
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 5
call fcn.100078b0
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 8
cmovae eax, dword [ebp - 0x1040]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x101b870c
push 0x101be1c8
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10076520
xor eax, eax
cmp word [ebp - 0x1010], ax
je 0x10076520
nop
inc eax
cmp word [ebp + eax*2 - 0x1010], 0
jne 0x10076460
test eax, eax
je 0x10076520
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1074]
call fcn.100078f0
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.100fdee0
add esp, 0xc
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 8
call fcn.100078b0
lea ecx, [ebp - 0x1058]
call fcn.100fd660
test al, al
jne 0x100764eb
lea ecx, [ebp - 0x1058]
mov byte [ebp - 0x1059], al
mov byte [ebp - 4], 5
call fcn.100078b0
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0
call fcn.100078b0
jmp 0x1007653f
lea eax, [ebp - 0x1058]
mov ecx, edi
push eax
call fcn.10007880
lea ecx, [ebp - 0x1058]
mov byte [ebp - 0x1059], 1
mov byte [ebp - 4], 5
call fcn.100078b0
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0
call fcn.100078b0
jmp 0x1007653f
lea ecx, [ebp - 0x1040]
mov byte [ebp - 0x1059], 0
mov byte [ebp - 4], 0
call fcn.100078b0
jmp 0x1007653f
mov byte [ebp - 0x1059], 0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0xffffffff
call fcn.100078b0
mov al, byte [ebp - 0x1059]
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.10161f63
mov esp, ebp
pop ebp
ret
Function at 0x10078690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017aea1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov byte [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 2
mov dword [ecx + 0x28], 0xffffffff
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x30], 0x708
mov dword [ecx + 0x34], 3
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10078c70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b0a1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10009450
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10009450
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
test eax, eax
je 0x10078cf2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x18
push dword [edi]
call fcn.10161fa4
add esp, 8
mov dword [edi], 0
push 0x60
push edi
call fcn.10161fa4
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1007be20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017bb24
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
add ecx, 0xc
call fcn.100186f0
mov byte [ebp - 4], 0
lea edi, [esi + 0x24]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x1007bedf
mov edx, dword [edi + 4]
push ecx
call fcn.10085bb0
mov ecx, dword [edi + 8]
mov eax, 0x2aaaaaab
mov ebx, dword [edi]
add esp, 4
sub ecx, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 4
cmp ecx, 0x1000
jb 0x1007bec1
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x1007bf18
mov ebx, edx
push ecx
push ebx
call fcn.10161fa4
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 5
lea ecx, [esi + 0xc]
call fcn.10049c60
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10049c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10081d50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call fcn.100fd570
add esp, 4
test al, al
je 0x10081d90
push 1
push esi
call fcn.10081ea0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.10100e70
cmp dword [ebp - 0x30], 0
je 0x10081e6c
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.2345InstDll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100fdee0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10009450
lea eax, [ebp - 0x58]
push eax
call fcn.100fd570
add esp, 4
test al, al
je 0x10081e60
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007960
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10009450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10009450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret
Function at 0x10081ea0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
push esi
call fcn.10007960
mov dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
je 0x10081f98
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10081ef7
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10081f09
mov bl, 1
jmp 0x10081fbd
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
push 0
push 0x101b870c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x10081f5b
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10081f98
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10081f76
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.100094b0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push 4
cmovae eax, dword [ebp - 0x828]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.10009450
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret 8