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

Disassembly:
sub esp, 0x554
push ebp
push esi
mov esi, ecx
push edi
xor dl, dl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x255]
mov byte [esp + 0x254], dl
mov byte [esp + 0x10], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov ebp, dword [esp + 0x564]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x258]
push 0x10022400
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x114]
lea ecx, [esp + 0x254]
push eax
push ecx
call dword [0x10023ba0]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000ac4d
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x554
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + 0x144], 0x2e
je 0x1000accf
test byte [esp + 0x118], 0x10
je 0x1000ac98
lea edx, [esp + 0x144]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x468]
push str._o8mC___
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x460]
mov ecx, esi
push edx
call fcn.1000abb0
jmp 0x1000accf
lea eax, [esp + 0x144]
lea ecx, [esp + 0x35c]
push eax
push ebp
push str.6g0e
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x35c]
push edx
call ebx
inc eax
lea ecx, [esi + 0x10]
push eax
lea eax, [esp + 0x360]
push eax
call sym.danim.dll_class_CRImage____stdcall_CRClipPolygonImage_class_CRImage___class_CRArray__
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x118]
push ecx
push edx
call dword [0x100239f0]
test eax, eax
jne 0x1000ac54
mov eax, dword [esp + 0x10]
push eax
call dword [0x10023b24]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x554
ret 4
Function at 0x1000ad20
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10019460
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x1000ad59
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x1001d878
push 1
push ebx
push 0x1001d908
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x1000ada8
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000adf2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x1001d8f8
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x1000ae07
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x1000addc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000adf2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x1000aec6
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x1001a340
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x1000ae9c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push 0x1002253c
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x1000ae92
cmp esi, edi
jne 0x1000ae87
mov eax, dword [esp + 0x14]
push ebp
push 0x1001d868
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x1000ae37
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x1000aed9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000aeef
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x1000b2f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1000b33a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1000b33a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x1000b357
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000b357
call sym.danim.dll_class_CRBvr____stdcall_CRBSpline_int__long_int__class_CRNumber___const__long_int__class_CRBvr___const__long_int__class_CRNumber___const__class_CRNumber___enum_CR_BVR_TYPEID_
pop edi
pop esi
add esp, 0x9c
ret
call sym.danim.dll_long_int___stdcall_CRAddElement_class_CRArray___class_CRBvr___unsigned_long_int_
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x1000be60
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
lea ebx, [ecx + 0x44]
push edi
mov dword [esp + 0x10], ecx
mov ecx, 0x41
xor eax, eax
mov edi, ebx
push 0x104
push ebx
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [0x10023a10]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000beb4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
lea eax, [esp + 0x18]
push ebp
push eax
push edi
call dword [0x10023aec]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
mov byte [ebx], 0x69
mov eax, dword [esp + 0x20]
mov dword [ebx + 5], ecx
mov dword [ebx + 1], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
push ebp
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
call fcn.1000ec30
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x1000c0d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push ebx
push esi
mov ebx, ecx
push edi
xor dl, dl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], dl
mov byte [esp + 0xc], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov esi, dword [esp + 0x218]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x110]
push 0x104
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0xc]
lea eax, [esi + eax + 1]
push 0x104
push ecx
push eax
call edi
lea edx, [esp + 0xc]
lea eax, [esp + 0x110]
push edx
push eax
call dword [0x10023bb8]
push 0x71
mov ecx, ebx
call fcn.1000ccf0
pop edi
pop esi
pop ebx
add esp, 0x208
ret 4

Function at 0x1000c290
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0x10021f64
call fcn.10003630
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov edi, eax
push 0x10021f4c
push edi
call esi
push 0x10021f30
push edi
mov dword [0x10023a28], eax
call esi
push 0x10021f24
mov dword [0x10023c70], eax
call fcn.10003630
add esp, 4
mov edi, eax
push 0x10021f0c
push edi
call esi
push 0x10021ef4
push edi
mov dword [0x1002394c], eax
call esi
push str.JGVcvKfghVcsq
push edi
mov dword [0x10023b54], eax
call esi
push 0x10021ecc
push edi
mov dword [0x10023b80], eax
call esi
push 0x10021ec4
push edi
mov dword [0x10023a00], eax
call esi
push 0x10021eb4
push edi
mov dword [0x10023b38], eax
call esi
push 0x10021eac
push edi
mov dword [0x10023a3c], eax
call esi
push 0x10021ea4
push edi
mov dword [0x10023cb0], eax
call esi
push 0x10021e98
push edi
mov dword [0x10023c9c], eax
call esi
push 0x10021e8c
push edi
mov dword [0x10023ca0], eax
call esi
push 0x10021e80
push edi
mov dword [0x10023ca4], eax
call esi
push 0x10021e74
push edi
mov dword [0x10023ca8], eax
call esi
pop edi
mov dword [0x10023cac], eax
pop esi
ret
Function at 0x1000cd40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x34c
push ebp
push esi
mov esi, ecx
push 0x401
mov dword [esp + 0x18], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1000cf23
push ebx
push edi
mov ecx, 0x100
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp], 0x77
mov eax, dword [esi + 0x18]
lea edi, [ebp + 1]
mov ecx, 0xb
mov esi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x2d]
lea ecx, [esp + 0x18]
push ecx
mov dword [esi], 0x1a21
add esi, 4
mov edi, esi
add esi, 2
push esi
mov byte [edi], 0
call fcn.10011560
mov byte [edi], al
mov ebx, dword [esp + 0x20]
mov dl, byte [0x100244a4]
add esp, 8
add esi, ebx
mov byte [edi + 1], dl
push 4
push 0x78766964
lea eax, [esi + 1]
push 0x63646976
mov byte [esi], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
call dword [0x10023cb0]
mov ebx, eax
test ebx, ebx
je 0x1000ce40
lea ecx, [esp + 0x124]
push 0x238
push ecx
push ebx
mov dword [esp + 0x130], 0x238
call dword [0x10023cac]
lea edx, [esp + 0x25c]
push 0x5c
push edx
call sub.MSVCRT.dll_wcsrchr
add esp, 8
test eax, eax
jne 0x1000ce22
lea eax, [esp + 0x25c]
jmp 0x1000ce25
add eax, 2
push 0x10022364
push eax
call sub.MSVCRT.dll__wcsicmp
add esp, 8
test eax, eax
je 0x1000ce40
push ebx
call dword [0x10023b38]
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x20]
push 0x10022358
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test ebx, ebx
jne 0x1000ceba
lea edx, [esp + 0x20]
push edx
call fcn.1000c4a0
add esp, 4
test al, al
je 0x1000ced9
push 2
lea eax, [esp + 0x24]
push ebx
push eax
push 0x78766964
push 0x63646976
call dword [0x10023ca0]
push 4
push 0x78766964
push 0x63646976
call dword [0x10023cb0]
mov ebx, eax
test ebx, ebx
je 0x1000ced9
push ebx
call dword [0x10023b38]
mov eax, dword [esp + 0x10]
mov ebx, 1
mov dword [eax], 0x78766964
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x1000cedd
mov ebx, dword [esp + 0x14]
push 4
push 0x64697678
push 0x63646976
call dword [0x10023cb0]
test eax, eax
je 0x1000cf05
push eax
call dword [0x10023b38]
mov ecx, dword [esp + 0x10]
inc ebx
mov dword [ecx], 0x64697678
mov ecx, dword [esp + 0x1c]
dec bl
push 0x401
push ebp
mov byte [esi], bl
call fcn.1000ec30
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x1000d4a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x590
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x1c], esi
call fcn.100064b0
mov dword [ebp - 4], 0
mov dword [esi], 0x1001a2e4
nop
nop
nop
nop
nop
nop
nop
pushaw
popaw
nop
nop
mov eax, dword [0x10023be4]
test eax, eax
jne 0x1000d4f7
call fcn.10002aa0
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.10004090
test al, al
je 0x1000d6bf
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x59b]
mov dword [ebx + 0x1c], 0xffffffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x597]
stosb byte es:[edi], al
mov byte [ebp - 0x59c], 0x79
mov dword [ebp - 0x59b], 0x1a21
mov dword [ebp - 0x10], ecx
call dword [0x10023c00]
mov edi, eax
mov dword [ebp - 0x14], 0
test edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x597], edi
lea esi, [ebp + edi*4 - 0x593]
jbe 0x1000d680
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add ecx, 4
push 0
push 0
mov dword [ebp - 0x10], ecx
push 0
push edx
mov ecx, ebx
call fcn.10010b50
push eax
lea eax, [ebp + 8]
push eax
call dword [0x10023be8]
test eax, eax
jne 0x1000d670
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push 0x30
push ecx
push edx
call dword [0x10023bdc]
test eax, eax
jne 0x1000d5bb
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xf4]
push SysStringLen
push edx
push eax
inc esi
mov dword [ebp - 0xf4], 0xa8
mov dword [ebp - 0xdc], 7
call dword [0x10023bf4]
test eax, eax
je 0x1000d5f6
mov ecx, dword [ebp + 8]
push ecx
call dword [0x10023bec]
jmp 0x1000d671
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x10]
xor edi, edi
test eax, eax
mov dword [edx], eax
jbe 0x1000d661
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x19c]
push 0x80000001
push ecx
push edx
mov dword [ebp - 0x19c], 0xa8
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x198], eax
call dword [0x10023bf4]
test eax, eax
jne 0x1000d656
lea eax, [ebp - 0x164]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0xd4]
inc edi
cmp edi, eax
jb 0x1000d607
mov ecx, dword [ebp + 8]
push ecx
call dword [0x10023bec]
mov edi, dword [ebp - 0x18]
jmp 0x1000d671
inc esi
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, edi
mov dword [ebp - 0x14], eax
jb 0x1000d563
lea edx, [ebp - 0x59c]
push 0x400
push edx
mov ecx, ebx
call fcn.1000ec30
mov ecx, ebx
call fcn.1000a2c0
push 0
push 0
push ebx
push 0x1000e320
push 0
push 0
mov dword [ebx + 0x20], 0x7fff
mov dword [ebx + 0x10], 0xffffffff
call dword [0x10023ae8]
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d850
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x244
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.100096c0
push 0
mov ecx, edi
call fcn.10008b90
mov edi, dword [esp + 0x250]
mov dword [esi + 0x40], eax
lea eax, [esp + 8]
push 0x104
lea ecx, [edi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [esi + 0x40]
push 0x104
lea eax, [esp + 0xc]
push edx
push eax
call fcn.10012c60
mov ecx, dword [edi]
add esp, 0xc
push 1
push 0
push 0
push ecx
call fcn.10018dd0
mov ecx, dword [edi + 4]
xor edi, edi
add eax, ecx
mov ecx, esi
adc edx, edi
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], edx
mov edx, dword [esi + 0x40]
push edx
call fcn.1000c4c0
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x10c]
push eax
push ecx
call dword [0x10023ba0]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000d92a
mov eax, dword [esi + 0x38]
cmp eax, 4
je 0x1000d92a
cmp eax, 2
je 0x1000d92a
cmp eax, 6
je 0x1000d92a
push 0x6d
mov ecx, esi
call fcn.1000ccf0
push edi
call dword [0x10023b24]
pop edi
pop esi
add esp, 0x244
ret 4
mov ecx, esi
call fcn.10013720
push edi
call dword [0x10023b24]
pop edi
pop esi
add esp, 0x244
ret 4
Function at 0x1000df30
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x58c
push esi
mov esi, dword [esp + 0x59c]
xor eax, eax
push edi
mov ecx, 0xa1
lea edi, [esp + 0x74]
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x598]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0x10
call dword [0x10022984]
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x118], ecx
mov ecx, 0xf
lea edi, [esp + 0x38]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x38], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, 0x14
call fcn.10018db0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x44]
mov ecx, 0x14
call fcn.10018db0
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x59c]
push 6
lea ecx, [esp + 0x16c]
push 0x10022498
push ecx
mov dword [esp + 0x15c], eax
call sub.MSVCRT.dll_strncpy
call fcn.10001540
mov edx, dword [0x100200bc]
mov dword [esp + 0x17a], eax
add edx, 0x2fe
push 0x103
lea eax, [esp + 0x182]
push edx
push eax
call sub.MSVCRT.dll_strncpy
mov ecx, dword [0x100200bc]
push 0x31
add ecx, 0x4fc
lea edx, [esp + 0x2a4]
push ecx
push edx
call sub.MSVCRT.dll_strncpy
mov eax, dword [0x100200bc]
add esp, 0x24
mov ecx, dword [eax + 0x4f8]
mov dword [esp + 0x27c], ecx
mov edx, dword [eax + 0x4f4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x278], edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x2ed]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov cl, byte [0x10023cf0]
mov edx, dword [0x10024458]
mov eax, dword [0x1002445c]
mov byte [esp + 0x2ed], cl
lea ecx, [esp + 0x74]
push 0x51f
push ecx
mov ecx, esi
mov dword [esp + 0x2f8], edx
mov dword [esp + 0x2fc], eax
call fcn.100015e0
pop edi
pop esi
add esp, 0x58c
ret
Function at 0x1000eec0
Capabilities:
Get common file path
Set environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
cmp edi, 2
jae 0x1000ef21
push ebx
push esi
call dword [0x100239e0]
push 0x10020ec0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
push 0x10020ebc
call edi
push esi
push 0x10020eb4
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push esi
call fcn.1000c4a0
add esp, 4
test al, al
jne 0x1000ef37
push 0
push esi
call dword [0x10023a5c]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1000f070
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0x10020f68
call fcn.10003630
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov esi, eax
push 0x100212c0
push esi
call edi
push 0x100212b0
push esi
mov dword [0x10023c58], eax
call edi
push 0x100212a4
push esi
mov dword [0x10023a8c], eax
call edi
push 0x10021288
push esi
mov dword [0x10023a50], eax
call edi
push 0x10021274
push esi
mov dword [0x1002390c], eax
call edi
push 0x10021258
push esi
mov dword [0x10023a68], eax
call edi
push 0x10021248
push esi
mov dword [0x10023b84], eax
call edi
push 0x10021238
push esi
mov dword [0x100239d4], eax
call edi
push 0x10021224
push esi
mov dword [0x1002393c], eax
call edi
push 0x10021210
push esi
mov dword [0x100239a4], eax
call edi
push str.PmYtrnqsErAQA_He_OLNd_I_12_QAuXVJUWYrKK046
push esi
mov dword [0x10023bc0], eax
call edi
push str.DaqEhfzegiYgtS
push esi
mov dword [0x10023a4c], eax
call edi
push 0x100211cc
push esi
mov dword [0x10023940], eax
call edi
push 0x100211b8
push esi
mov dword [0x10023ba4], eax
call edi
push 0x100211a0
push esi
mov dword [0x10023b2c], eax
call edi
push 0x10021184
push esi
mov dword [0x10023bb0], eax
call edi
push 0x1002116c
push esi
mov dword [0x10023a38], eax
call edi
push 0x10021158
push esi
mov dword [0x10023a34], eax
call edi
push 0x10021148
mov dword [0x10023a0c], eax
push esi
call edi
pop edi
mov dword [0x10023a1c], eax
pop esi
ret
Function at 0x1000f7e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10023cf4]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x10023a10]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000f883
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x10023aec]
cmp eax, 0x3200000
jae 0x1000f82f
push 2
push 0
push 0
push ebx
call dword [0x10023b4c]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
test edi, edi
jle 0x1000f860
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x1000f854
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x10023c94]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret