joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131dc2
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101917cc]
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, edx
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [edi + 0x10], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [edi + 0x14], 0xf
movaps xmm0, xmmword [0x1016d4d0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x98], edi
movaps xmm0, xmmword [str.456789:__]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x1c], 0x2c2b2a29
movaps xmm0, xmmword [0x1016d4b0]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x18], 0x302f2e2d
movaps xmm0, xmmword [0x1016d470]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x14], 0x3231
movaps xmm0, xmmword [0x1016d4c0]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x12], 0x33
mov byte [edi], 0
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp + 8], ecx
jle 0x10006e5f
mov al, byte [esi]
cmp al, 0x41
jb 0x10006db2
cmp al, 0x5a
jbe 0x10006dd2
cmp al, 0x61
jb 0x10006dba
cmp al, 0x7a
jbe 0x10006dd2
cmp al, 0x30
jb 0x10006dc2
cmp al, 0x39
jbe 0x10006dd2
cmp al, 0x2b
je 0x10006dd2
cmp al, 0x2f
je 0x10006dd2
inc esi
mov eax, 1
jmp 0x10006e4e
movzx eax, al
mov ecx, edi
movsx ebx, byte [ebp + eax - 0x8c]
movzx eax, byte [esi + 1]
add esi, 2
shl ebx, 6
movsx eax, byte [ebp + eax - 0x8c]
add ebx, eax
shl ebx, 0xc
mov eax, ebx
sar eax, 0x10
push eax
call fcn.10008690
mov al, byte [esi]
cmp al, 0x3d
je 0x10006e43
movzx eax, al
mov ecx, edi
inc esi
movsx eax, byte [ebp + eax - 0x8c]
shl eax, 6
add ebx, eax
mov eax, ebx
sar eax, 8
push eax
call fcn.10008690
mov al, byte [esi]
cmp al, 0x3d
je 0x10006e43
movzx eax, al
mov ecx, edi
inc esi
mov al, byte [ebp + eax - 0x8c]
add al, bl
movzx eax, al
push eax
call fcn.10008690
mov ecx, dword [ebp - 0x90]
mov eax, 4
add ecx, eax
mov dword [ebp - 0x90], ecx
cmp ecx, dword [ebp + 8]
jl 0x10006da8
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.1009e398
mov esp, ebp
pop ebp
ret
Function at 0x10007420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131e98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101917cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [0x10191004]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
push 0x5c
mov dword [ebp - 0x10], esi
call fcn.1001bca4
add esp, 4
test eax, eax
je 0x1000749d
push 0x4e
lea esi, [eax + 0xc]
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0x27
push str.SOFTWAREFoxit_SoftwareFoxitTranslator
mov dword [eax + 8], 0x27
push esi
mov word [eax + 0x5a], cx
mov dword [ebp - 0x10], esi
call fcn.100c2390
add esp, 0xc
push esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push dword [esi - 8]
call fcn.10002960
mov byte [ebp - 4], 3
add esi, 0xfffffff4
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp esi, dword [section..data]
je 0x100074d2
push esi
call edi
test eax, eax
jg 0x100074d2
push esi
call fcn.1001bc9f
add esp, 4
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10007571
lea eax, [ebp - 0x10]
push eax
push 2
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10007568
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], 1
mov ebx, dword [ecx - 8]
jg 0x1000752e
cmp ebx, dword [ecx - 4]
jle 0x10007549
mov eax, ebx
lea ecx, [ebp + 8]
cmp ebx, eax
cmovge eax, ebx
push eax
call fcn.1000a1c0
test al, al
jne 0x10007546
xor ecx, ecx
jmp 0x10007549
mov ecx, dword [ebp + 8]
lea eax, [ebx + ebx]
push eax
push ecx
push 1
push 0
push str.version
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10007568
mov bl, 1
jmp 0x10007573
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
add esi, 0xfffffff4
mov byte [ebp - 4], 4
cmp esi, dword [section..data]
je 0x10007592
push esi
call edi
test eax, eax
jg 0x10007592
push esi
call fcn.1001bc9f
add esp, 4
mov dword [ebp - 4], 5
mov esi, dword [ebp + 8]
add esi, 0xfffffff4
cmp esi, dword [section..data]
je 0x100075b7
push esi
call edi
test eax, eax
jg 0x100075b7
push esi
call fcn.1001bc9f
add esp, 4
mov al, bl
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 0x1000ac90
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132148
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101917cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x1000acd4
xor esi, esi
jmp 0x1000ada2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000ad9d
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1000ad9d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100c6320
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x218]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000ad66
test dx, dx
je 0x1000ad62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000ad66
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000ad40
xor eax, eax
jmp 0x1000ad6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000ad73
xor esi, esi
jmp 0x1000ada2
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.100026b0
call fcn.1000ac90
add esp, 4
test eax, eax
je 0x1000ad6f
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
jmp 0x1000ada2
mov esi, 1
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x1000adcb
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000adcb
push edi
call fcn.1001bc9f
add esp, 4
mov eax, esi
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.1009e398
mov esp, ebp
pop ebp
ret
Function at 0x1000da00
Capabilities:
Create thread
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x1000d8e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 4]
xor edi, edi
test esi, esi
jne 0x1000da6a
cmp edi, 0xf
jg 0x1000da66
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x1000d8e0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0xc]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
test esi, esi
je 0x1000da33
jmp 0x1000da6a
test esi, esi
je 0x1000da89
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000da89
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000da89
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov dword [0x101ab5d0], eax
mov eax, dword [ebp + 8]
mov dword [0x101ab5cc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 1
push eax
push 0x10001520
push 0
push 0
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000de90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132610
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101917cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x101ab5e0]
call edi
mov esi, dword [0x101ab5d4]
cmp byte [esi + 0x428], 0
je 0x1000dee7
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_c436c62f0b56f4042b0015e4d3a96869___void___.0
jmp 0x1000df83
cmp dword [esi + 0x418], 0
mov byte [esi + 0x420], 1
jne 0x1000df01
push 0xffffffffffffffff
push dword [0x101ab5ec]
call edi
lea ecx, [ebp - 0x14]
call fcn.100075d0
push eax
lea ecx, [esi + 0x42c]
call fcn.10004260
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff4
cmp ebx, dword [section..data]
je 0x1000df3e
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000df3e
push ebx
call fcn.1001bc9f
add esp, 4
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
push eax
push 2
push 0
push str.SOFTWAREFoxit_SoftwareFoxitTranslator
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000df6f
push str.version
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_de705856a5ba01116f89a0e158421873___void___.0
mov dword [eax + 4], esi
mov ecx, esi
mov dword [eax + 0x24], eax
call fcn.10011500
push 0xffffffffffffffff
push dword [0x101ab5e4]
call edi
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 0x1000e1a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101917cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push eax
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x1000e239
push esi
call fcn.100ceda5
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], ebx
push ebx
push esi
push dword [ebp - 0x24]
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1016c1c8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1000e223
cmp dword [ebp - 0x28], 0x34
jb 0x1000e223
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 8]
movzx esi, word [eax + 0xa]
call fcn.100e2439
add esp, 4
jmp 0x1000e242
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
call fcn.100e2439
add esp, 4
jmp 0x1000e242
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movzx eax, di
cmp si, 6
jb 0x1000e38d
ja 0x1000e26b
cmp bx, 1
jb 0x1000e38d
ja 0x1000e26b
mov ecx, 0x1db0
cmp ax, cx
jb 0x1000e38d
mov edi, 0x64
cmp si, 0xa
jb 0x1000e2be
ja 0x1000e287
test bx, bx
jne 0x1000e287
mov ecx, 0x3a6b
cmp ax, cx
jb 0x1000e2be
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000e37a
push str.GetDpiForWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e373
mov ebx, dword [ebp - 0x1c]
push ebx
call eax
imul ecx, eax, 0x64
jmp 0x1000e367
cmp si, 6
ja 0x1000e30e
cmp bx, 3
jae 0x1000e30e
mov ebx, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul ecx, eax, 0x64
mov eax, 0x2aaaaaab
push esi
push ebx
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009e398
mov esp, ebp
pop ebp
ret
push 0x10168588
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000e37a
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
xorps xmm0, xmm0
push ebx
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
push str.GetDpiForMonitor
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e373
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push ebx
call eax
test eax, eax
js 0x1000e373
imul ecx, dword [ebp - 0x18], 0x64
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009e398
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x64
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009e398
mov esp, ebp
pop ebp
ret
Function at 0x1000fa80
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebx, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [ebp - 4]
push 1
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0x248]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
mov eax, dword [ebp - 4]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [eax + 0x248]
call esi
mov eax, dword [ebp - 4]
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001cfc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x1001cfda
mov edx, dword [esi]
and edx, 7
inc edx
jmp 0x1001cfdc
xor edx, edx
lea eax, [edx - 1]
cmp eax, 4
ja 0x1001d10c
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 1
jbe 0x1001d09d
push edi
lea ecx, [ebp + 0xc]
call fcn.1001f4da
push eax
push ebx
call fcn.1001d1b5
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.10022606
push eax
push ebx
call fcn.1001d1b5
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.1001d819
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1001c453
test al, al
je 0x1001d08e
and dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.1001f4c7
push eax
push ebx
call fcn.1001d1b5
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.100225f3
push eax
push ebx
call fcn.1001d1b5
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.1001c453
test al, al
jne 0x1001d04c
push edi
push 0
push ebx
call fcn.1001d1b5
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1001d0a6
mov esi, dword [esi + 0x10]
jmp 0x1001d0a8
xor esi, esi
mov dword [ebp - 4], esi
test esi, esi
je 0x1001d0f5
mov eax, esi
test eax, eax
je 0x1001d0bd
mov al, byte [esi]
and al, 7
inc al
jmp 0x1001d0bf
xor al, al
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.100e3ba1
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.1001cfc1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.1001f57f
mov esi, dword [eax]
mov eax, esi
mov dword [ebp - 4], esi
test esi, esi
jne 0x1001d0b1
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.100e3ba1
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001d113
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x10133a39
call fcn.1009eed0
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.1001c089
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.1001ccf0
lea eax, [ebp - 0x50]
push eax
call fcn.1001ce51
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.100e3ba1
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.1001d224
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.1001cfc1
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.1001cb86
call fcn.1009ee7a
ret 4
Function at 0x1001d1b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0xff
jge 0x1001d1cc
xor esi, esi
inc esi
jmp 0x1001d1dc
cmp dword [edi + 4], 0xffff
push 4
pop esi
push 2
pop eax
cmovl esi, eax
push dword [ebp + 0xc]
and dword [ebp + 8], 0
lea ecx, [ebp - 4]
call fcn.100026b0
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x1001d204
push dword [ebp + 0xc]
mov ecx, edi
call fcn.1001c9b6
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push esi
push 1
push eax
call fcn.100e3ba1
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.10002730
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001d224
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.1001c8ec
mov edi, eax
test edi, edi
je 0x1001d261
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.1001c7aa
push dword [esi]
mov edi, eax
call fcn.100e26b4
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.100e3ba1
add esp, 0x14
test edi, edi
jne 0x1001d237
pop esi
pop edi
pop ebp
ret

Function at 0x1001f3a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x1001f3cb
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x1001f468
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.1001e8b5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001f3ee
push ebx
call fcn.100e2b0e
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x1001f444
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x10191028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x1001f419
call fcn.100e2b0e
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x1001f444
push esi
push 1
push eax
call fcn.100e2e34
push ebx
mov esi, eax
call fcn.100e2b0e
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x1001f44d
push dword [ebp - 4]
call dword [0x1019102c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x1001f467
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1001f312
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002c2db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1013fb3c
push dword [ebp + 8]
call fcn.100e29c5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002c338
push ebx
push edi
push esi
call fcn.100f3b14
push eax
call fcn.100f3e07
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x1002c317
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1002c32d
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100e2e34
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.100e2b0e
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x1002c378
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.1002cdaf
mov ebx, eax
test ebx, ebx
je 0x1002c3e7
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1002c3cb
cmp dword [ebp + 0x14], edi
jae 0x1002c3b0
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1002c3cb
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1002c3cb
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1002c3cf
xor eax, eax
jmp 0x1002c3e6
push edi
push eax
push dword [ebp + 0x10]
call fcn.100c2390
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x1003e029
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x1003e04f
call fcn.1003a024
jmp 0x1003e07b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100394d7
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x1003e07b
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x10045fd3
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138422
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x101917cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x54]
call fcn.1004479c
lea ecx, [esi + 0x40]
call fcn.10045f1b
lea ecx, [esi + 0x30]
call fcn.1002d5d5
lea ecx, [esi + 0x18]
call fcn.10045ed7
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10046027
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10046036
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10046045
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10046054
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi], vtable.SOUI::TObjRefImpl_struct_SOUI::IUiDefInfo_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret