joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d7090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1033f2ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.100cd9d0
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x100d7cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10340b9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi], vtable.RC::RCAdvBaseUI.0
mov byte [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edi, dword [eax + 4]
mov ebx, dword [eax]
test edi, edi
je 0x100d7d32
lea eax, [edi + 4]
mov edx, 1
lock xadd dword [eax], edx
push edi
push ebx
call fcn.100d0d60
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x100da920
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10341131
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], 0
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x58], 1
mov ecx, edi
push 2
push eax
push 0x103689b0
call fcn.100dab30
push 1
push ecx
push 0x103689b4
mov ecx, edi
mov ebx, eax
call fcn.100dabd0
add ebx, 2
cmp ebx, eax
jb 0x100da9e2
sub eax, ebx
cmp eax, 0xe
je 0x100da9e2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x34]
push eax
call fcn.100cd880
jmp 0x100daa94
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
jb 0x100daa1a
mov edi, dword [edi]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [edi + ebx]
push str._04d_02d_02d_02d_02d_02d
push eax
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x20
cmp eax, 6
jne 0x100daa75
push dword [esp + 0x24]
lea eax, [esp + 0x38]
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push str._04d__02d__02d__02d:_02d
push eax
call fcn.1014db00
add esp, 0x1c
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x34]
push eax
call fcn.100cd880
mov dword [esp + 0x14], 1
mov byte [esp + 0x58], 0
cmp dword [esp + 0x48], 8
jb 0x100daab5
push dword [esp + 0x34]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1033d458
add esp, 0x4c
ret

Function at 0x100dac80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
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.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100dacea
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x100dacd3
cmp eax, 4
jne 0x100dacea
cmp dword [esp + 8], 0x5a
jb 0x100dacea
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
mov al, 1
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
Function at 0x100dad10
Capabilities:
Check os version

Disassembly:
sub esp, 0x180
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x18c]
push esi
mov esi, dword [ecx + 0x10]
push edi
test esi, esi
jne 0x100dad3e
lea eax, [esi + 1]
jmp 0x100daee7
mov edi, dword [ecx + 0xc]
mov ecx, 0xffff
movzx eax, word [edi]
cmp ax, cx
je 0x100daee5
mov edx, 0x4000
jmp 0x100dad60
test byte [edi + 2], 1
je 0x100daed2
movzx ebx, ax
test word [esi], dx
je 0x100dad85
push 0
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, 0xbfff
and word [esi], ax
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x30
lea eax, [esp + 0x74]
mov dword [esp + 0x70], 0x114
push 0x110
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100dadde
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x100dade6
cmp eax, 4
jne 0x100dadde
cmp dword [esp + 0x78], 0x5a
jae 0x100dade6
mov dword [esp + 0x10], 0x2c
movzx ecx, word [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], ebx
test ecx, 0x100
je 0x100dae08
or eax, 3
mov dword [esp + 0x1c], eax
test ecx, 0x200
je 0x100dae17
or eax, 8
mov dword [esp + 0x1c], eax
test ecx, 0x1000
je 0x100dae28
or eax, 0x1000
mov dword [esp + 0x1c], eax
test ecx, 0x2000
je 0x100dae98
push 0x30
lea eax, [esp + 0x44]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x40], 0x30
call fcn.100dac80
mov ecx, dword [esp + 0x40]
test al, al
mov eax, 0x2c
mov dword [esp + 0x44], 0x10
cmovne ecx, eax
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
push eax
push 0
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x100dae98
mov eax, dword [esp + 0x48]
or dword [esp + 0x14], 0x10
and eax, 0xfffff7fb
or dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, 0x800
test word [esi], ax
je 0x100daec8
movzx eax, word [edi]
push 0
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push eax
push ebp
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov edx, 0x4000
mov ecx, 0xffff
movzx eax, word [edi + 4]
add edi, 4
add esi, 8
cmp ax, cx
jne 0x100dad60
xor eax, eax
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x180
ret 4
Function at 0x100db420
Capabilities:
Log keystrokes via input method manager
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, ecx
mov edx, dword [eax + 4]
cmp edx, 0x100
je 0x100db440
cmp edx, 0x104
je 0x100db440
xor eax, eax
pop ebx
ret 4
push esi
mov esi, dword [eax + 8]
cmp esi, 0xe5
jne 0x100db456
push dword [eax]
call dword [sym.imp.IMM32.dll_ImmGetVirtualKey]
mov esi, eax
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebp, 0x8000
test bp, ax
je 0x100db472
or esi, 0x80000000
push 0x12
call edi
test bp, ax
je 0x100db481
or esi, 0x40000000
push 0x10
call edi
pop edi
test bp, ax
pop ebp
je 0x100db492
or esi, 0x20000000
push esi
mov ecx, ebx
call fcn.100db800
xor ecx, ecx
test al, al
pop esi
setne cl
mov eax, ecx
pop ebx
ret 4

Function at 0x100dca40
Capabilities:
Capture webcam image

Disassembly:
push esi
mov esi, ecx
call fcn.100f9e50
call fcn.100fe170
test al, al
je 0x100dca55
xor al, al
pop esi
ret
mov eax, dword [esi + 0x10]
lea ecx, [eax - 0x13cc]
cmp ecx, 4
ja case.default.0x100dca63
jmp dword [ecx*4 + 0x100dcad8]
xor esi, esi
cmp eax, 0x13ce
jne 0x100dca7a
mov esi, 1
jmp 0x100dca87
cmp eax, 0x13d0
mov ecx, 2
cmove esi, ecx
call fcn.100f9e50
mov ecx, eax
cmp dword [eax + 4], esi
jne 0x100dcaa5
push 0xffffffffffffffff
mov dword [eax + 4], 0xffffffff
call fcn.100fe1c0
mov al, 1
pop esi
ret
push esi
call fcn.100fe8c0
mov al, 1
pop esi
ret
xor esi, esi
mov ecx, 1
cmp eax, 0x13cf
cmove esi, ecx
call fcn.100f9e50
push esi
push 0
push 0x419
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop esi
ret

Function at 0x100dcaaf
Capabilities:
Capture webcam image

Disassembly:
push esi
mov esi, ecx
call fcn.100f9e50
call fcn.100fe170
test al, al
je 0x100dca55
xor al, al
pop esi
ret
mov eax, dword [esi + 0x10]
lea ecx, [eax - 0x13cc]
cmp ecx, 4
ja case.default.0x100dca63
jmp dword [ecx*4 + 0x100dcad8]
xor esi, esi
cmp eax, 0x13ce
jne 0x100dca7a
mov esi, 1
jmp 0x100dca87
cmp eax, 0x13d0
mov ecx, 2
cmove esi, ecx
call fcn.100f9e50
mov ecx, eax
cmp dword [eax + 4], esi
jne 0x100dcaa5
push 0xffffffffffffffff
mov dword [eax + 4], 0xffffffff
call fcn.100fe1c0
mov al, 1
pop esi
ret
push esi
call fcn.100fe8c0
mov al, 1
pop esi
ret
xor esi, esi
mov ecx, 1
cmp eax, 0x13cf
cmove esi, ecx
call fcn.100f9e50
push esi
push 0
push 0x419
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop esi
ret
Function at 0x100df6b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x100df6ba
xor al, al
ret
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.100f9e50
mov ecx, eax
call fcn.100fd210
mov al, 1
ret

Function at 0x100dff80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10341ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.10103610
mov dword [esp + 0x78], 0
cmp dword [esp + 0x1c], 0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x100e0106
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x58]
call fcn.100e0160
mov byte [esp + 0x7c], 1
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.100e0220
add esp, 4
mov edi, eax
mov byte [esp + 0x78], 2
lea eax, [esp + 0xc]
cmp eax, edi
je 0x100e0033
cmp dword [esp + 0x20], 8
jb 0x100e0012
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.100cd880
mov byte [esp + 0x78], 1
cmp dword [esp + 0x50], 8
jb 0x100e0048
push dword [esp + 0x3c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov byte [esp + 0x78], al
cmp dword [esp + 0x68], 8
jb 0x100e0073
push dword [esp + 0x54]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov word [esp + 0x54], ax
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x64], 0
push eax
mov edx, str._select_
call fcn.100ce3a0
add esp, 4
mov byte [esp + 0x78], 3
mov ecx, dword [0x105e20f4]
test ecx, ecx
je 0x100e00da
mov ecx, dword [ecx + 0x74]
test ecx, ecx
je 0x100e00da
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push 5
cmovae eax, dword [esp + 0x28]
push 0
push eax
push str.explorer.exe
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x78], 0
cmp dword [esp + 0x38], 8
jb 0x100e00ef
push dword [esp + 0x24]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x100e011e
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1033d458
add esp, 0x70
ret
Function at 0x100e0f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10341ca6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.RC::RCCommand.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esp + 0x14], 0
mov dword [esi], vtable.RC::RCPdfCommandBase.0
mov dword [esi + 0xc], 0
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esi], vtable.RC::RCPdfStartupCommand.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov byte [esp + 0x14], 2
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
mov dword [ecx + 0x14], 7
push eax
push dword [esp + 0x30]
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.100cd9d0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x100e1030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10341cf6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
cmp dword [esi + 0x30], 8
jb 0x100e1072
push dword [esi + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov byte [esp + 0x14], al
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100e1096
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.RC::RCPdfCommandBase.0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.RC::RCCommand.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x100e2450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10341e08
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x14], eax
push 0x30
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
lea eax, [esi + 0x31]
push eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x100e2e40
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10341f48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
call fcn.100e3460
xor ecx, ecx
mov dword [esp + 0x50], 0
push 0xffffffffffffffff
push ecx
mov word [esp + 0x48], cx
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0
push eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
call fcn.100cd9d0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x40]
xor bl, bl
call fcn.10152560
test al, al
je 0x100e2f98
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
push 0
cmovae eax, dword [esp + 0x44]
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x100e2f96
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x100e2f96
mov esi, dword [esp + 0x78]
test esi, esi
je 0x100e2f96
cmp esi, 0x100000
ja 0x100e2f96
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x88], 1
lea eax, [esp + 0x13]
push eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], bl
call fcn.100e38a0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push esi
mov esi, dword [esp + 0x24]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x100e2ff1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x18]
call fcn.100cd760
xor bl, bl
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x100e2fb7
push dword [esp + 0x40]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
mov al, bl
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1033d458
add esp, 0x7c
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
call fcn.100e1e00
mov byte [esp + 0x88], 2
lea ecx, [esp + 0x28]
push dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push 0
push 0
call dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.100e2d60
mov ecx, eax
call fcn.100e2c20
mov ecx, 1
movzx ebx, bl
test al, al
cmovne ebx, ecx
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x24]
call fcn.100e1e70
mov byte [esp + 0x88], 0
lea ecx, [esp + 0x18]
call fcn.100cd760
jmp 0x100e2f98
Function at 0x100e3140
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10341f90
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
call fcn.100e3460
xor ecx, ecx
mov dword [esp + 0x54], 0
push 0xffffffffffffffff
push ecx
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
call fcn.100cd9d0
mov dword [esp + 0x68], 0
cmp dword [esp + 0x54], 0
jne 0x100e31c0
xor bl, bl
jmp 0x100e333d
mov dword [esp + 0x1c], vtable.RC::RCDbFiler.0
mov dword [esp + 0x20], vtable.RC::RCDbStream.0
mov dword [esp + 0x1c], vtable.RC::RCDbFilerImpl.0
mov dword [esp + 0x20], vtable.RC::RCDbMemStream.0
mov dword [esp + 0x24], 0x400
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x68], 2
lea eax, [esp + 0x1c]
push eax
call fcn.100e2d60
mov ecx, eax
call fcn.100e2ba0
test al, al
jne 0x100e3229
xor bl, bl
jmp 0x100e332f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push 0
push 0
call dword [eax]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push 2
push 0
call dword [eax]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x28]
push 0
push 0
call dword [eax]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x68], 3
lea eax, [esp + 0x17]
push eax
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f], 0
call fcn.100e38a0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x38]
push ebx
push edi
call dword [eax + 4]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0
cmovae eax, dword [esp + 0x48]
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x100e32ca
xor bl, bl
jmp 0x100e3304
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x18], ebx
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x68], 2
test edi, edi
je 0x100e332f
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x1c]
call fcn.100e1e70
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x100e3359
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
mov al, bl
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1033d458
add esp, 0x5c
ret
Function at 0x100e93c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1033f2ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 2
mov al, byte [esi + 0x48]
mov byte [edi + 0x48], al
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4