joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bad70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100badb8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100badb8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x100badb8
mov al, 1
jmp 0x100badba
xor al, al
test al, al
je 0x100baf45
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100bae3f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x100badc4
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x100bae31
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100bade0
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100bae6c
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100bae6c
push dword [esi + 0x24]
push 1
jmp 0x100bae5e
test eax, eax
je 0x100badf3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100badf5
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100bae6c
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x100baec0
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100baf45
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100baf45
mov edi, dword [edi + 0x28]
push 0x10
call fcn.100fc1cd
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x100c3d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129c18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10193008]
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
cmp dword [ebp + 8], 0
je 0x100c3ee8
call fcn.100c3a30
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c3e7c
push dword [edi + 0x9c]
call fcn.100c4830
mov ecx, eax
call fcn.100c4780
test eax, eax
je 0x100c3dc0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.100c4830
mov esi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], esi
lea ecx, [esi + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000ba20
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov esi, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100c3e25
cmp dword [eax + 0x10], edx
jae 0x100c3e1b
mov eax, dword [eax + 8]
jmp 0x100c3e1f
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100c3e11
cmp esi, ecx
je 0x100c3e2e
cmp edx, dword [esi + 0x10]
jae 0x100c3e57
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.1005c0c0
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10088fa0
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000ba50
push 0x100c45c0
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0x90]
xor esi, esi
test eax, eax
je 0x100c3eac
nop dword [eax + eax]
cmp byte [eax + 0x81], 0
jne 0x100c3eda
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100c3e90
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c3eed
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x100c3eed
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100c3eed
test eax, eax
je 0x100c3ea3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100c3ea5
call fcn.100c4460
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.100fc1a9
mov esp, ebp
pop ebp
ret 8
Function at 0x100cf570
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013dcf1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.100056b0
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100cf5d2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005670
jmp 0x100cf620
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100cf615
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x100cf60f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.100058f0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10004c40
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005670
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004ae0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x100d1480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e177
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x10193ce8
call fcn.100abbd0
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.100d1660
mov dword [edi + 4], eax
test eax, eax
je 0x100d164a
push 0x74
call fcn.100fc1cd
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call fcn.100fdf90
add esp, 0x10
mov dword [esi + 4], 0
call fcn.100de650
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x1014c994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x1014c994]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x1014c994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x1014c994]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x100e0560
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.100fc1cd
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100df920
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100df9da
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100dfa6a
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100dfa6a
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100dfa6a
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x100df992
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x100dfa1a
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x100dfa10
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x100dfa4f
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x100e69b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100e69bb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100e69d0

Function at 0x100f70b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100f71aa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100f71a3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100f7189
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100f7189
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100f7189
mov edx, dword [esi]
test edx, edx
jne 0x100f7152
push 0x200
push edx
push dword [0x10198a54]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100f71a3
jmp 0x100f717d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100f717d
shl eax, 3
push eax
push edx
push 0
push dword [0x10198a54]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100f71a3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100f7111
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100f71ef
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100f71ef
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100f71e9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100f6f40
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100f71b6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret

Function at 0x100f7200
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x100f724e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100f723e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100f7235
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100f7212
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10198a54]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x100f7250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x10199ef0]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x100f726c
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100f7294
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100f72af
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100f72e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10199ef8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x100f73bd
mov eax, dword [0x10199ef0]
add eax, 0x14
test byte [eax], 2
je 0x100f731a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x100f7305
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100f73bd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100f70b0
mov ecx, dword [0x10199ef8]
add esp, 4
cmp esi, ecx
jae 0x100f736b
imul edi, esi, 0x2c
mov eax, dword [0x10199ef0]
test byte [edi + eax + 0x14], 2
jne 0x100f7360
mov ecx, esi
call fcn.100f7250
mov ebx, eax
test ebx, ebx
jne 0x100f7368
mov ecx, dword [0x10199ef8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100f7341
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100f73bc
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100f73ad
mov ebx, eax
jmp 0x100f7380
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100f73a1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100f7380
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10198a54]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101128eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101125ab
Function at 0x1000c8e0
Capabilities:
Get geographical location

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x3c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x34], 0
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x10033038], 8
jne 0x1000ca48
lea eax, [edx - 1]
cmp eax, 1
ja 0x1000caf1
cmp edx, 2
je 0x1000c9d0
cmp word [ebx], 1
je 0x1000ca30
lea eax, [ebp - 0x30]
xor esi, esi
mov word [ebp - 0x30], si
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x1000c9bc
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
fld qword [ebp - 0x28]
fstp qword [esp]
call dword [sym.imp.oleaut32.dll_VariantTimeToSystemTime]
sub esp, 0xc
test eax, eax
js 0x1000c9bc
mov edx, dword [ebp - 0x34]
movzx eax, word [ebp - 0x1c]
test edi, edi
je 0x1000c9ba
mov ecx, 2
mov word [edi], cx
mov ecx, 7
sub ecx, edx
add ecx, eax
mov eax, 0x92492493
imul ecx
mov eax, ecx
sar eax, 0x1f
add edx, ecx
sar edx, 2
sub edx, eax
lea eax, [edx*8]
sub eax, edx
sub ecx, eax
add ecx, 1
mov word [edi + 8], cx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
cmp word [ebx + 0x10], 1
je 0x1000cadd
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x1000c9bc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000ca88
sub eax, 1
cmp eax, 6
ja 0x1000cae7
cmp word [ebx], 1
mov dword [ebp - 0x34], eax
jne 0x1000c932
nop
test edi, edi
je 0x1000c9ba
mov eax, 1
mov word [edi], ax
xor eax, eax
jmp 0x1000c9bc
mov eax, ebx
mov dword [ebp - 0x38], edx
call sym._wine_dbgstr_variant
mov dword [esp + 0xc], str.__s__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.Global_Weekday
mov dword [esp + 4], 0x10033038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x38]
jmp 0x1000c913
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2000100c
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 0x34]
sub esp, 0x10
lea ecx, [eax + 1]
mov eax, 0x92492493
imul ecx
mov eax, ecx
sar eax, 0x1f
add edx, ecx
sar edx, 2
sub edx, eax
lea eax, [edx*8]
sub eax, edx
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp 0x1000c928
mov eax, 0x800a005e
jmp 0x1000c9bc
mov eax, 0x800a0005
jmp 0x1000c9bc
mov dword [esp + 8], 0x833
mov dword [esp + 4], str..._wine_git_dlls_vbscript_global.c
mov dword [esp], str.args_cnt__1__args_cnt__2
call dword [sym.imp.ucrtbase.dll__assert]
nop
Function at 0x10019390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x14
mov edi, dword [eax + 0xc]
lea eax, [edi + 2]
mov dword [ebx + 0xc], eax
movzx eax, word [edi + 2]
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x10019518
lea edx, [edi + 4]
xor ecx, ecx
xor esi, 1
mov dword [ebx + 0xc], edx
mov edx, 0xffff
mov dword [esp], ebx
call sym._GetDecimalValue
mov ecx, esi
and ecx, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], cl
cmp eax, 0xffffffff
jne 0x100193eb
mov eax, 0x2f
test cl, cl
jne 0x10019486
mov edx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x10]
movzx eax, word [edx]
cmp ax, 0x2c
je 0x10019490
cmp ax, 0x7d
jne 0x10019518
mov dword [esp + 4], 0x1c
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call sym._heap_pool_alloc
test eax, eax
je 0x10019500
mov edi, dword [ebp - 0x10]
mov dword [eax], 0x18
mov edx, 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx + 0x20], eax
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x10], esi
mov eax, edi
shr eax, 7
je 0x10019460
lea esi, [esi]
add edx, 1
shr eax, 7
jne 0x10019458
add esi, 1
mov eax, 1
shr esi, 7
je 0x10019478
lea esi, [esi]
add eax, 1
shr esi, 7
jne 0x10019470
mov ecx, dword [ebx + 0x1c]
lea edx, [edx + ecx + 4]
add eax, edx
mov dword [ebx + 0x1c], eax
xor eax, eax
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + 2]
mov esi, 0xffffffff
mov dword [ebx + 0xc], eax
movzx ecx, word [edx + 2]
mov dword [ebp - 0x18], ecx
mov eax, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x100193fe
add edx, 4
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebx + 0xc], edx
mov edx, 0xffff
mov dword [esp], ebx
call sym._GetDecimalValue
mov esi, eax
cmp eax, 0xffffffff
jne 0x100194da
cmp byte [ebp - 0x11], 0
mov eax, 0x30
jne 0x10019486
mov eax, dword [ebp - 0x10]
cmp esi, eax
jae 0x100194ec
cmp byte [ebp - 0x11], 0
mov eax, 0x31
jne 0x10019486
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
jmp 0x100193fe
mov dword [ebx + 0x20], 0
add esp, 0x14
mov eax, 0x89
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0xc], edi
mov eax, 0xffffffff
jmp 0x10019486