joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0290
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100e6008]
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 esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001d547
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x1001d55b
mov al, 1
jmp 0x1001d6e2
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x1001d565
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d590
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10006df0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1001d450
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006d80
cmp ebx, 0xffffffff
jne 0x1001d5d8
xor al, al
jmp 0x1001d6e2
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x1001d5e2
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d610
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10006df0
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.1001d380
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006d80
test bl, bl
je 0x1001d5d1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001d659
mov eax, dword [esi]
push eax
call edi
test eax, eax
jne 0x1001d554
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1001d9a0
test al, al
je 0x1001d6a3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x1001d6a3
mov bl, 1
jmp 0x1001d6d1
cmp dword [esi + 0x14], 8
jb 0x1001d6ab
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x44]
call fcn.10006a90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.1001d380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10006d80
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006d80
mov al, bl
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.100ab466
mov esp, ebp
pop ebp
ret
Function at 0x1001d700
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov edi, edx
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1001d73e
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1001d746
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1001d7a6
xor eax, eax
lea edx, [esp + 0xc]
mov word [esp + 0x216], ax
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001d770
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.10006df0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100ab466
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ab466
add esp, 0x210
ret

Function at 0x1001e770
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.100ab685
mov dword [esi], eax
push pe_nt_image_headers32
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1001e7cc
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.100ab466
add esp, 0x120
ret
Function at 0x10021fe0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x100b0ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x100220a7
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x100220cc
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100abe76
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10022093
cmp eax, ebx
ja 0x10022093
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x100220f0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100220a7
push edi
call fcn.100ab477
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x804]
xor ecx, ebp
call fcn.100ab466
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x10022163
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x10022163
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x10022148
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x1002213d
cmp ecx, edi
je 0x1002213d
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.10006a90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10017050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10006d80
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x10022103
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1002215c
push esi
call fcn.100ab477
add esp, 4
mov al, 1
jmp 0x100220a9
call fcn.100ab5ab
int3
Function at 0x10022740
Capabilities:
Get common file path

Disassembly:
sub esp, 0x638
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor esi, esi
lea eax, [esp + 0x30]
push esi
push eax
mov ebp, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10022903
lea eax, [esp + 0x2c]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x100227b4
movups xmm0, xmmword [str.DbgHelp.dll]
movups xmmword [eax + 2], xmm0
movq xmm0, qword [0x100c8368]
movq qword [eax + 0x12], xmm0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x100227d4
push str.DbgHelp.dll
call edi
test eax, eax
je 0x10022903
push 0x100c83b0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x100228ff
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x208
lea eax, [esp + 0x440]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x43c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [esp + 0x238]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push eax
lea eax, [esp + 0x460]
push eax
lea eax, [esp + 0x25c]
push str._s_04d_02d_02d_02d_02d_02d.dmp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
lea eax, [esp + 0x234]
push 0x24
push str.App_Crashed___WriteMiniDump__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10022903
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100228ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
mov ecx, 1
push edi
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x10022905
xor eax, eax
mov ecx, dword [esp + 0x644]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ab466
add esp, 0x638
ret
Function at 0x10022d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x10022d6e
xor al, al
jmp 0x10022dc7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x10022da0
cmp dword [ebp - 0x418], 0
je 0x10022d9c
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x10022dc7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006980
cmp dword [ebp - 0x418], 0
je 0x10022dc5
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret
Function at 0x10024830
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10024897
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x10024880
jne 0x10024897
cmp dword [esp + 8], 0
jbe 0x10024897
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret

Function at 0x100248b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10024905
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret

Function at 0x10024930
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10024997
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x1002498e
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret
jb 0x10024997
cmp dword [esp + 8], 1
jae 0x10024977
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.100ab466
add esp, 0x118
ret

Function at 0x10024a60
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x100e61bc], 0
jne 0x10024ae2
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024ac3
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x100e61ac
call fcn.10006df0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100ab466
add esp, 0x214
ret
Function at 0x10024b90
Capabilities:
Check os version
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x100b1098
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [0x100e7ce8]
test eax, eax
jle 0x10024be2
inc eax
mov dword [0x100e7ce8], eax
mov al, 1
jmp 0x10024d27
push 1
xor bh, bh
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call fcn.100ab685
mov dword [ebp - 0x18], eax
push pe_nt_image_headers32
push 0
mov byte [eax], bh
lea eax, [ebp + 0xf0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp + 0xec], 0x11c
lea eax, [ebp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10024c3e
cmp dword [ebp + 0xf0], 6
mov eax, dword [ebp - 0x18]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001f470
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1001e7f0
test bl, bl
je 0x10024d17
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10024d17
push str.ImpersonateLoggedOnUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x10]
push esi
call eax
test eax, eax
je 0x10024d0e
mov ebx, dword [ebp - 0x14]
inc dword [0x100e7ce8]
mov eax, dword [ebx]
test eax, eax
je 0x10024cac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], esi
xor esi, esi
mov bh, 1
cmp dword [0x100e61a4], esi
jne 0x10024d0e
push 0x20a
lea eax, [ebp]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [ebp]
mov word [ebp + 0x206], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024cf0
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, 0x100e6194
call fcn.10006df0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10024d1a
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x10024d25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.100ab466
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x10029090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b18b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x100291dc
test esi, esi
je 0x100291dc
movzx eax, word [ebp + 8]
push 0x100c8680
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100291aa
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x100291a7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100291a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100291a7
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100291a7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x100291a0
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x100291a0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100291a0
call fcn.10024ed0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x1002919b
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x1002919b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
mov ebx, dword [ebp - 0x10]
jmp 0x100291ac
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100291c9
push dword [ebp + 0xc]
mov edx, esi
mov ecx, ebx
call fcn.10028f10
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100291dc
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
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 0x100298e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b19bd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10026680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.RC::RCWidgetButton.0
mov dword [esi + 0x38], eax
mov dword [ebp - 4], 1
mov dword [esi], vtable.RC::RCWidgetCustomButton.0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x40], 1
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x44], vtable.RC::RCWidgetStretchAttr.0
mov dword [esi + 0x48], 0
mov eax, dword [ecx]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0x58]
mov dword [ebp + 8], ecx
mov dword [ecx], vtable.RC::RCAnimationDelegate.0
mov byte [ebp - 4], 4
lea eax, [ecx + 8]
mov dword [ecx], vtable.RC::RCWidgetEaseInOutImpl_class_RC::RCWidgetImageButton_.0
xorps xmm0, xmm0
mov dword [ebp + 0x10], eax
mov dword [eax], vtable.RC::RCAnimation.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xfa
movsd qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0x1000
mov dword [eax + 0x20], 0xa
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 3
mov byte [ebp - 4], 5
movups xmmword [eax + 0x38], xmm0
mov dword [eax], vtable.RC::RCSlideAnimation.0
movsd xmm0, qword [0x100cc898]
movsd qword [eax + 0x48], xmm0
mov byte [eax + 0x50], 0
mov dword [eax + 0x54], 0x1f4
mov byte [ebp - 4], 6
mov dword [ecx + 0x2c], ecx
mov dword [ecx + 0x38], 3
mov byte [ebp - 4], 7
lea eax, [esi + 0xcc]
push 0x1000aeb0
push fcn.1000d5a0
push 4
push 4
push eax
mov dword [esi], vtable.RC::RCWidgetImageButton.0
mov dword [esi + 0x44], vtable.RC::RCWidgetImageButton.2.0
mov dword [ecx], vtable.RC::RCWidgetImageButton.1.0
mov word [esi + 0xb8], 0x100
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
call fcn.100abea2
mov byte [ebp - 4], 8
xor eax, eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 7
mov word [esi + 0xdc], ax
mov byte [ebp - 4], 9
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], 7
mov word [esi + 0xf4], ax
mov byte [ebp - 4], 0xa
mov dword [esi + 0x10c], 0xff000000
mov dword [esi + 0x110], 0xff000000
mov dword [esi + 0x114], 0xff000000
mov dword [esi + 0x118], 0xff000000
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], 0xfffffff4
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x110], 0xffffffff
mov dword [esi + 0x114], 0xffffffff
mov dword [esi + 0x118], 0xff333333
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100371e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100d64c0
push 0x100abe7f
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x100e6008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10037241
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, esi
mov ecx, edi
call fcn.10037330
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x10037284
test bl, bl
jne 0x1003730d
cmp edi, 0x1a
jne 0x1003730d
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100372a6
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push 0x410
push ecx
lea eax, [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100372e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.10006df0
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret
Function at 0x100375c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3778
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100e6008]
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 eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10037603
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.10040ed0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1003762c
lea eax, [esi + 8]
jmp 0x1003762e
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x1003763e
cmp dword [ebx + 0x14], 8
jb 0x10037640
mov ebx, dword [ebx]
jmp 0x10037640
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x10037661
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10037661
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1003768a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003769f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.100ab466
mov esp, ebp
pop ebp
ret 4