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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101345d2
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101957cc]
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 [0x10170670]
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 [0x10170650]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x18], 0x302f2e2d
movaps xmm0, xmmword [0x10170610]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x14], 0x3231
movaps xmm0, xmmword [0x10170660]
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.100a0b98
mov esp, ebp
pop ebp
ret
Function at 0x10007420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101346a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101957cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [0x10195004]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
push 0x5c
mov dword [ebp - 0x10], esi
call fcn.1001e484
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.100c4b90
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.1001e47f
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.1001e47f
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.1001e47f
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 0x10134958
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101957cc]
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.100c8b20
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.1001e47f
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.100a0b98
mov esp, ebp
pop ebp
ret
Function at 0x1000e5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134f32
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101957cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x118]
push ecx
push 1
lea eax, [ebp + 8]
mov dword [ebp - 0x120], 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e6d7
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 1
push ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x124], 0x104
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000e6c0
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e6a2
sub ecx, edx
lea eax, [ebp - 0x114]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10008d70
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1000e70d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e773
push edx
push ecx
call fcn.100a0bd3
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x1000e757
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e74d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e778
push edx
push ecx
call fcn.100a0bd3
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a0b98
mov esp, ebp
pop ebp
ret
call fcn.100e2ef0
call fcn.100e2ef0
int3
Function at 0x10010140
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 0x10010020
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 4]
xor edi, edi
test esi, esi
jne 0x100101aa
cmp edi, 0xf
jg 0x100101a6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x10010020
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 0x10010173
jmp 0x100101aa
test esi, esi
je 0x100101c9
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100101c9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100101c9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov dword [0x101af5d0], eax
mov eax, dword [ebp + 8]
mov dword [0x101af5cc], 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 0x100105d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135040
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101957cc]
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 [0x101af5e0]
call edi
mov esi, dword [0x101af5d4]
cmp byte [esi + 0x428], 0
je 0x10010627
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_c436c62f0b56f4042b0015e4d3a96869___void___.0
jmp 0x100106c3
cmp dword [esi + 0x418], 0
mov byte [esi + 0x420], 1
jne 0x10010641
push 0xffffffffffffffff
push dword [0x101af5ec]
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 0x1001067e
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001067e
push ebx
call fcn.1001e47f
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 0x100106af
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.10013c40
push 0xffffffffffffffff
push dword [0x101af5e4]
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 0x100108d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101957cc]
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 0x10010969
push esi
call fcn.100d15b5
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 0x1016f1e8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010953
cmp dword [ebp - 0x28], 0x34
jb 0x10010953
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.100e4c4c
add esp, 4
jmp 0x10010972
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
call fcn.100e4c4c
add esp, 4
jmp 0x10010972
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movzx eax, di
cmp si, 6
jb 0x10010abd
ja 0x1001099b
cmp bx, 1
jb 0x10010abd
ja 0x1001099b
mov ecx, 0x1db0
cmp ax, cx
jb 0x10010abd
mov edi, 0x64
cmp si, 0xa
jb 0x100109ee
ja 0x100109b7
test bx, bx
jne 0x100109b7
mov ecx, 0x3a6b
cmp ax, cx
jb 0x100109ee
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10010aaa
push str.GetDpiForWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10010aa3
mov ebx, dword [ebp - 0x1c]
push ebx
call eax
imul ecx, eax, 0x64
jmp 0x10010a97
cmp si, 6
ja 0x10010a3e
cmp bx, 3
jae 0x10010a3e
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.100a0b98
mov esp, ebp
pop ebp
ret
push 0x1016b5a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10010aaa
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 0x10010aa3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push ebx
call eax
test eax, eax
js 0x10010aa3
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.100a0b98
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.100a0b98
mov esp, ebp
pop ebp
ret
Function at 0x100121c0
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 0x1001f7a0
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 0x1001f7b9
mov edx, dword [esi]
and edx, 7
inc edx
jmp 0x1001f7bb
xor edx, edx
lea eax, [edx - 1]
cmp eax, 4
ja 0x1001f8eb
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 1
jbe 0x1001f87c
push edi
lea ecx, [ebp + 0xc]
call fcn.10021cb9
push eax
push ebx
call fcn.1001f994
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.10024de5
push eax
push ebx
call fcn.1001f994
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.1001fff8
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.1001ec32
test al, al
je 0x1001f86d
and dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.10021ca6
push eax
push ebx
call fcn.1001f994
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.10024dd2
push eax
push ebx
call fcn.1001f994
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.1001ec32
test al, al
jne 0x1001f82b
push edi
push 0
push ebx
call fcn.1001f994
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1001f885
mov esi, dword [esi + 0x10]
jmp 0x1001f887
xor esi, esi
mov dword [ebp - 4], esi
test esi, esi
je 0x1001f8d4
mov eax, esi
test eax, eax
je 0x1001f89c
mov al, byte [esi]
and al, 7
inc al
jmp 0x1001f89e
xor al, al
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.100e63c0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.1001f7a0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.10021d5e
mov esi, dword [eax]
mov eax, esi
mov dword [ebp - 4], esi
test esi, esi
jne 0x1001f890
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.100e63c0
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001f8f2
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x10136469
call fcn.100a16d3
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.1001e868
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.1001f4cf
lea eax, [ebp - 0x50]
push eax
call fcn.1001f630
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.100e63c0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.1001fa03
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.1001f7a0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.1001f365
call fcn.100a167d
ret 4
Function at 0x1001f994
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 0x1001f9ab
xor esi, esi
inc esi
jmp 0x1001f9bb
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 0x1001f9e3
push dword [ebp + 0xc]
mov ecx, edi
call fcn.1001f195
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.100e63c0
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.10002730
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001fa03
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.1001f0cb
mov edi, eax
test edi, edi
je 0x1001fa40
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.1001ef89
push dword [esi]
mov edi, eax
call fcn.100e4ec7
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.100e63c0
add esp, 0x14
test edi, edi
jne 0x1001fa16
pop esi
pop edi
pop ebp
ret

Function at 0x10021b87
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 0x10021baa
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x10021c47
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.10021094
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10021bcd
push ebx
call fcn.100e532e
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x10021c23
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x10195028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x10021bf8
call fcn.100e532e
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x10021c23
push esi
push 1
push eax
call fcn.100e5654
push ebx
mov esi, eax
call fcn.100e532e
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x10021c2c
push dword [ebp - 4]
call dword [0x1019502c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x10021c46
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.10021af1
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002eab8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10142b5c
push dword [ebp + 8]
call fcn.100e51e5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002eb15
push ebx
push edi
push esi
call fcn.100f6334
push eax
call fcn.100f6627
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x1002eaf4
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1002eb0a
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100e5654
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.100e532e
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x1002eb55
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.1002f58c
mov ebx, eax
test ebx, ebx
je 0x1002ebc4
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1002eba8
cmp dword [ebp + 0x14], edi
jae 0x1002eb8d
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1002eba8
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1002eba8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1002ebac
xor eax, eax
jmp 0x1002ebc3
push edi
push eax
push dword [ebp + 0x10]
call fcn.100c4b90
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