joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.100147e0
mov esi, dword [0x100e7cec]
push 0x100c8690
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x10008d4c
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10008d4c
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10008d4c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x10008d4c
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10008d4c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10008d45
push edi
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10008d45
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10008d45
call fcn.10024ed0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x1c]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test edi, edi
je 0x10008d4c
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
je 0x10008d2d
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x10008d4c
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x8c], edi
test ecx, ecx
je 0x10008d4c
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x10008d4c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [0x100e617a]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
test al, al
je 0x10008d65
mov dword [esp + 0x14], 0
jmp 0x10008d7a
push 0x60
push dword [0x100e61dc]
push 0
call esi
mov dword [esp + 0x14], eax
mov al, byte [0x100e617a]
test al, al
je 0x10008d88
mov dword [esp + 0x1c], 0x1c
jmp 0x10008d9d
push 0x60
push dword [0x100e61d4]
push 0x1c
call esi
mov dword [esp + 0x1c], eax
mov al, byte [0x100e617a]
test al, al
je 0x10008da8
mov ebp, 0x14
jmp 0x10008dbb
push 0x60
push dword [0x100e61d4]
push 0x14
call esi
mov ebp, eax
mov al, byte [0x100e617a]
test al, al
je 0x10008dc6
mov edi, 0x18
jmp 0x10008dd9
push 0x60
push dword [0x100e61dc]
push 0x18
call esi
mov edi, eax
mov al, byte [0x100e617a]
test al, al
je 0x10008de4
mov eax, 0x18
jmp 0x10008df0
push 0x60
push dword [0x100e61dc]
push 0x18
call esi
mov dword [ebx + 0x90], eax
lea ecx, [ebx + 0x80]
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x94], ebp
mov dword [ebx + 0xa0], eax
push dword [ebx + 4]
call fcn.100148c0
push 0
push 0
push 0x680
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
Function at 0x100140a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
call fcn.100147e0
mov esi, dword [0x100e7cec]
push 0x100c8690
push 0x6b
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x100141b0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100141b0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100141b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x100141b0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100141b0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x100141a9
push edi
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x100141a9
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100141a9
call fcn.10024ed0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test edi, edi
je 0x100141b0
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
je 0x10014191
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x100141b0
mov ecx, dword [ebx + 0x84]
mov dword [ebx + 0x84], edi
test ecx, ecx
je 0x100141b0
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100141b0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [0x100e617a]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
test al, al
je 0x100141c6
mov ebp, 0xa
jmp 0x100141d9
push 0x60
push dword [0x100e61dc]
push 0xa
call esi
mov ebp, eax
mov al, byte [0x100e617a]
test al, al
je 0x100141e7
mov dword [esp + 0x10], 0xa
jmp 0x100141fc
push 0x60
push dword [0x100e61dc]
push 0xa
call esi
mov dword [esp + 0x10], eax
mov al, byte [0x100e617a]
test al, al
je 0x10014207
mov edi, 0xa
jmp 0x1001421a
push 0x60
push dword [0x100e61dc]
push 0xa
call esi
mov edi, eax
mov al, byte [0x100e617a]
test al, al
je 0x10014225
mov eax, 0xa
jmp 0x10014231
push 0x60
push dword [0x100e61dc]
push 0xa
call esi
mov dword [ebx + 0x88], eax
lea ecx, [ebx + 0x78]
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x90], edi
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x94], ebp
mov dword [ebx + 0x98], 0
push dword [ebx + 4]
call fcn.100148c0
or byte [ebx + 0x80], 1
lea ecx, [ebx + 0x78]
call fcn.10014e10
push dword [ebx + 4]
lea ecx, [ebx + 0x78]
call fcn.10014da0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
Function at 0x10018f40
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.100aca00
push 0xffffffffffffffff
push 0x100afa58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x10019141
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x10019141
push esi
call edi
cmp eax, 0xffa
jge 0x10019141
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x100c3354
lea eax, [ebp + 0x630]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
call fcn.10006a90
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.1001c550
mov ecx, eax
call fcn.1001c610
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10006d80
test esi, esi
je 0x10019141
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10019141
lea ecx, [ebp]
call fcn.10018960
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x10019066
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x10019074
inc edi
add esi, 0x210
cmp edi, 3
jl 0x10019045
jmp 0x10019096
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x1001908e
add ebx, 0x10
test ebx, ebx
jne 0x1001913d
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x10019138
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], 0x100c7ac0
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001912e
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x10019138
inc esi
cmp esi, 2
jb 0x100190d0
mov eax, ebx
jmp 0x10019143
mov ebx, 0x10
mov eax, ebx
jmp 0x10019143
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.100ab466
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x10019270
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push pe_nt_image_headers32
push 0
lea eax, [esi + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100193b2
cmp dword [esi + 4], 6
push edi
ja 0x100192c6
jne 0x1001934e
cmp dword [esi + 8], 2
jb 0x1001934e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x1001934e
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1001934e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001934e
movups xmm0, xmmword [0x100c7e70]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x100c7e80]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x1001934e
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001934e
cmp word [edi + 2], ax
jbe 0x1001934e
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10019399
push pe_nt_image_headers32
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x10019399
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.100ab466
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.100ab466
add esp, 0x140
ret

Function at 0x10019a70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x10019aa8
mov edx, dword [esp + 4]
test edx, edx
je 0x10019aa8
cmp dword [eax], 0xffffffff
je 0x10019aa8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10019aa8
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x10019ab0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x10019aea
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x10019aea
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10019aea
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10019aea
cmp edi, dword [esi]
jne 0x10019aea
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc
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 [0x100c8378]
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 0x100c83c0
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 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 0x100c8690
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 [0x100cc8a8]
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 0x100d64d0
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 0x1008b250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd7db
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
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 eax, ecx
mov dword [ebp - 0x25c], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x1008b2a8
mov ecx, esi
call fcn.10006d80
add esi, 0x18
cmp esi, ebx
jne 0x1008b292
mov esi, dword [edi]
mov eax, dword [ebp - 0x25c]
mov dword [edi + 4], esi
mov eax, dword [eax]
test eax, eax
je 0x1008b4a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100c78c4
push eax
call esi
mov ecx, dword [ebp - 0x25c]
push 0x100c95a8
mov dword [ebp - 0x260], eax
push dword [ecx]
call esi
mov ebx, eax
mov eax, dword [ebp - 0x25c]
push 0x100c78e0
push dword [eax]
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
test ecx, ecx
je 0x1008b4a7
test ebx, ebx
je 0x1008b4a7
test eax, eax
je 0x1008b4a7
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push 0x80000002
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x1008b4a7
push 0x208
xor esi, esi
lea eax, [ebp - 0x250]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x1008b49b
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x264], 0
lea edx, [eax + 2]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008b420
sub eax, edx
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10006df0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push eax
mov ecx, edi
call fcn.10017050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.10006d80
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc esi
push eax
push esi
push dword [ebp - 0x258]
call ebx
test eax, eax
je 0x1008b3e0
push dword [ebp - 0x258]
call dword [ebp - 0x25c]
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