joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4abd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x4abd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4abd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4abd94
push eax
push esi
call fcn.004ae20b
add esp, 8
pop esi
ret 0x10

Function at 0x4abda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4abe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x4abe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x4c4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.004addff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x4abdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x4abe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4abec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x4abeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x4c4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.004addff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x4abeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x4abe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x4ac000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4ac131
push esi
call fcn.004af145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0049e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x4ac131
push 0
push ebp
call fcn.0049e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0049e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4ac08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0049e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4ac121
push 0x4c4918
push edi
call fcn.004ad3f0
push eax
push ebx
push esi
call fcn.004abf60
push 0x4c48f8
push edi
call fcn.004ad3f0
push eax
push ebx
push esi
call fcn.004abf60
push 0x4c48d8
push edi
call fcn.004ad3f0
push eax
push ebx
push esi
call fcn.004abf60
push 0x4c48c0
push edi
call fcn.004ad3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.004abf60
push 0x4c48a0
push edi
call fcn.004ad3f0
push eax
push ebx
push esi
call fcn.004abf60
push 0x4c4888
push edi
call fcn.004ad3f0
push eax
push ebx
push esi
call fcn.004abf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4ad1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.004ad140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.004ad140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.004ad140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.004ad140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x4ad230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ad2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x4ad2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004ad230
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ad2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x4ad27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x4ad2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x4adbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4adc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4bf87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4adc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4adc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4189b5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041882b

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x66a9a8
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x66a9e0
jmp 0x66a9c4
lea esp, [esp + 4]
jmp 0x66a98b
jmp 0x66a9fc
jmp 0x66aa18
push ebx
jmp 0x66aa34
jmp 0x66aa50
push ebp
jmp 0x66aa6c
jmp 0x66aa88
push esi
jmp 0x66aaa4
jmp 0x69e809
push edi
movzx edx, byte [eax]
jmp 0x69e9d4
shl edx, 8
movzx esi, byte [eax + 1]
jmp 0x69e9fe
xor edx, esi
movzx esi, byte [eax + 2]
jmp 0x69ea41
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
jmp 0x69eaf4
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
jmp 0x69eb68
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
jmp 0x69eacd
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x674328]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x674328]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x674328]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x674328]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.0068c00f
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x674328]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x674328]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x674328]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x674328]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x675b50
jne 0x69ec38
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x66caec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x6a111f
lea esp, [esp + 4]
jmp fcn.006a10a9
Function at 0x66dd79
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x66dd95
lea esp, [esp + 4]
jmp 0x6a0115
jmp 0x66ddcd
jmp fcn.006a2ff4
jmp 0x66ddb1
Function at 0x68ea22
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x66ca68
jmp 0x66cae7
Function at 0x69994c
Capabilities:
Parse pe header

Disassembly:
call 0x68d3b1
add edi, 4
pop ecx
add al, 0x59
mov dword [esi], eax
cmp edi, 0x28
jb 0x699981
pop edi
pop esi
ret
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x6999e7
jne 0x6999ac
je 0x2bf61685
add cl, byte [edx + 0x418a7f18]
cmp dword [eax + 0x5eb04126], esi
push ss
je 0x699928
mov bl, 0x8b
call dword [esi + 0x57]
xor edi, edi
lea esi, [edi + 0x677a68]
push dword [esi]
jmp 0x699921
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x6999ac
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x699a4d
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
jmp 0x699ba4
inc edx
add eax, 0x28
jmp 0x699b24
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x699a10
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x699a30
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x699ba4
jmp 0x699a30
cmp edx, esi
jb 0x699a72
jmp 0x699a10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6e67ce
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
call 0x6e2fd1
jmp 0x6e303a
inc dword [eax + 0x664145]
push 0xef096054
add dword [esp], 0x115c4c5f
push 0
push 0
push 0xac85460c
add dword [esp], 0x53e050af
call fcn.006716e2
jmp 0x6e6727
pop eax
sub eax, 0x6e2fd1
cmp dword [eax + 0x664145], 0
je 0x6e2fea
lea esp, [esp + 8]
popal
jmp 0x40713c
push eax
jmp 0x6e2fcc
call 0x6e672c
jmp 0x6e6791
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x6e6862
call 0x6e6784
jmp 0x6e6842
add dword [esp], 0xffffe400
call fcn.0066f498
call fcn.00670ab3
popal
jmp 0x40713c
call 0x6e67ce
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x6e682d
jb 0x6e67e0
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
jmp 0x6e6766
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x69], 0x6c616974
imul edi, dword [edx + 0x65], 0x74313b00
and byte [ecx + 0x10000e8], al
add bl, ch
dec ebp
stosb byte es:[edi], al
xor esp, dword [ebx - 0x382cca3a]
inc ecx
sal dword [eax + 0x56d3af43], 1
les esp, [ebx - 0x10b48a2]
dec edi
cld
inc esi
out 0xf, eax
mov bh, 0x58
cmp al, 3
fsub dword [esi - 0x7f]
cmp edx, dword [eax + 0x45]
je 0x6e6811
sub eax, 0x10000
jmp 0x6e6846
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x6e30fe
jmp 0x6e67f1
int3
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x6e67ef
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x6e677f
Function at 0x100101d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009079f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 8]
mov dword [ebx], vtable.STRU_PipelineInfoType.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea esi, [ebx + 0x20]
mov dword [ebp - 0x14], esi
lea ecx, [esi + 8]
mov dword [esi + 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov ecx, ebx
mov byte [ebp - 4], 9
push 0x100a07d4
mov dword [ecx + 0x20], 3
lea ecx, [ecx + 0x28]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x100a07d4
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x100a07d4
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x100a07d4
lea ecx, [esi + 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
movaps xmm0, xmmword [0x100aa0d0]
lea ecx, [ebx + 0x30]
push 0x1009f0dc
movups xmmword [ebx + 0x40], xmm0
mov dword [ebx + 0x50], 0xffffffff
mov dword [ebx + 0x3c], 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 0xb
lea ecx, [ebx + 0x18]
push 0x100a0758
mov dword [ebx + 0x58], 4
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov dword [ebx + 0x1c], 0
mov eax, ebx
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 0x10011c60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090ae7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebx + 8]
mov dword [ebx], vtable.STRU_PipelineInfoType.0
lea eax, [edi + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 4
lea esi, [ebx + 0x20]
mov eax, dword [edi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebx + 0x1c], eax
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x20]
mov dword [esi], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 4], eax
lea eax, [edi + 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x34]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [edi + 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x1c], eax
movsd xmm0, qword [edi + 0x40]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [edi + 0x48]
movsd qword [esi + 0x28], xmm0
mov eax, dword [edi + 0x50]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x58], eax
lea eax, [edi + 0x5c]
push eax
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov eax, ebx
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 0x10018300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1001832c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001834e
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x10018350
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x100183f0
jg 0x1001836d
test esi, esi
je 0x100183f0
test ecx, ecx
jl 0x100183ba
jg 0x10018377
test eax, eax
je 0x100183ba
cmp ebx, ecx
jg 0x1001838b
jl 0x10018381
cmp esi, eax
jae 0x1001838b
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x100183c1
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x100183f0
jg 0x100183cb
test esi, esi
je 0x100183f0
cmp dword [edi + 0x4c], 0
je 0x100183f0
mov ecx, edi
call fcn.10018c30
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1001843c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001845e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10018460
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x100184e5
jg 0x10018475
test esi, esi
je 0x100184e5
test ecx, ecx
jl 0x100184be
jg 0x1001847f
test eax, eax
je 0x100184be
cmp edi, ecx
jg 0x10018493
jl 0x10018489
cmp esi, eax
jae 0x10018493
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x100184c1
mov edx, dword [ebp + 8]
test edi, edi
jl 0x100184e5
jg 0x100184cb
test esi, esi
je 0x100184e5
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100184e5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc