joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 8], esi
jne 0x402fc2
mov dword [ebp - 8], 0x8000
cmp ebx, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
jne 0x402fd3
mov dword [ebp - 0xc], 0x41a9a8
mov eax, dword [ebp + 8]
cmp eax, edi
jl 0x402fe8
mov ecx, dword [0x434ef8]
add ecx, eax
push ecx
call fcn.004031de
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004031c8
test eax, eax
je 0x403175
test byte [ebp + 0x17], 0x80
je 0x40315e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40e990
mov dword [0x40cdf0], 8
mov dword [0x416998], eax
mov dword [0x416994], eax
mov eax, dword [ebp + 0x14]
mov dword [0x40d30c], edi
mov dword [0x40d308], edi
mov dword [0x416990], 0x416990
mov dword [ebp + 8], eax
jle 0x4031be
jmp 0x48e640
push 0xfffffffffffffffe
jmp 0x403177
cmp ebx, edi
je 0x4031b4
cmp dword [ebp + 0x14], esi
jge 0x40316a
mov esi, dword [ebp + 0x14]
push esi
push ebx
call fcn.004031c8
test eax, eax
jne 0x4031bb
push 0xfffffffffffffffd
pop eax
jmp 0x4031c1
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403185
mov esi, dword [ebp + 0x14]
mov ebx, 0x4169a8
push esi
push ebx
call fcn.004031c8
test eax, eax
je 0x403175
lea eax, [ebp + 0x10]
push edi
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40315a
cmp esi, dword [ebp + 0x10]
jne 0x40315a
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], edi
jg 0x40317a
jmp 0x4031be
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4031f5
Capabilities:
Create directory

Disassembly:
push esi
mov esi, 0x441800
push esi
jmp loc.0048ea28
Function at 0x40551c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x430200], 0x44
push eax
xor eax, eax
push 0x430200
push eax
push eax
push eax
push eax
jmp loc.0048e0c8

Function at 0x4055e1
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004059e8
mov edi, eax
cmp edi, 0xffffffff
je 0x405622
jmp loc.004908a0
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x405629
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.004058f4
test bl, 8
mov dword [ebp - 8], eax
je 0x405668
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x434f28], eax
jmp 0x4057e5
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405682
test eax, eax
je 0x405793
test bl, 2
je 0x405793
mov esi, 0x42f200
push edi
push esi
call fcn.00405da1
cmp dword [ebp + 8], 0
je 0x4056a1
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4056a7
push edi
call fcn.00405838
jmp 0x48efa0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4057e5
cmp dword [ebp - 8], esi
jne 0x4057a7
inc dword [0x434f28]
jmp 0x4057e5
push edi
call fcn.004060e4
test eax, eax
je 0x4057e5
push edi
call fcn.004057ec
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004055e1
test eax, eax
jne 0x4057dd
cmp dword [ebp - 4], esi
je 0x40579f
push edi
push 0xfffffffffffffff1
call fcn.0040504b
push esi
push edi
call fcn.00405c3b
jmp 0x4057e5
push edi
push 0xffffffffffffffe5
call fcn.0040504b
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4058f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
jmp loc.0048f838

Function at 0x405a0d
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
jmp loc.00491840

Function at 0x405a3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a50c]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a510]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405a8c
test edi, edi
jne 0x405a49
and word [esi], di
pop edi
jmp loc.0048e578
mov eax, esi
jmp 0x405a86
Function at 0x405abf
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x430898
push 0x40a530
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405b0e
push 1
push 0
push esi
call fcn.00405a0d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405c35
cmp eax, edi
jg 0x405c35
mov esi, 0x431098
push edi
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405c35
cmp eax, edi
jg 0x405c35
push esi
push ebx
push str._ls_ls_r_n
push 0x430498
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x434eb0]
jmp 0x4916b0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x405c6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405ce2
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405ccf
cmp dword [ebp + 0x14], 1
je 0x405cd2
cmp dword [ebp + 0x14], 2
je 0x405cd2
mov word [esi], di
push dword [ebp + 0x18]
jmp 0x490648
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4061b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4061f0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4061ca
jmp loc.0048e320
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406221
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x406203
pop edi
not eax
pop esi
ret 0xc
Function at 0x4713a3
Capabilities:
Terminate process

Disassembly:
push 0x64
mov eax, 0x50c973
jmp 0x49dd51
Function at 0x49dd37
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.0049dc92
xor eax, eax
mov dword [esi], vtable.SettingsXML.0
mov eax, dword [str.kernel32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [str.Configuration_Error]
push 0x10
push eax
mov eax, dword [0x5835e4]
push eax
push 0
invalid
invalid
int3
inc ebp
push ecx
Function at 0x4b298d
Capabilities:
Accept command line arguments

Disassembly:
push 0x48
mov eax, 0x511597
call fcn.004f41e2
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.004d840a
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004d3e20
xor ebx, ebx
test eax, eax
pop ecx
cmovns ebx, dword [ebp - 0x50]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x5e4
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [0x5a22a0]
push 1
call fcn.0041ce03
mov ecx, dword [0x5a22a0]
call fcn.0041d420
test ebx, ebx
je 0x4b2a1c
push 0x34
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004f5a90
add esp, 0xc
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.004de78b
mov ecx, eax
call fcn.00487958
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.004b2826
push esi
mov ecx, edi
call fcn.004b2895
lea ecx, [ebp - 0x54]
call fcn.004d84a5
xor eax, eax
call fcn.004f418c
ret 8
Function at 0x4b91bd
Capabilities:
Hide graphical window

Disassembly:
push 0x96c
mov eax, 0x5118d0
call fcn.004f41e2
mov edi, ecx
mov dword [ebp - 0x978], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x100
xor ebx, ebx
mov byte [edi + 0x25], 1
push ebx
push eax
call fcn.004f5a90
mov ecx, dword [0x5a23ec]
lea eax, [ebp - 0x974]
add esp, 0xc
mov dword [ebp - 0x974], ebx
push eax
push 0x7d6
call fcn.0045edf1
test eax, eax
je 0x4b922d
mov ecx, dword [ebp - 0x974]
test ecx, ecx
je 0x4b922d
push 1
lea eax, [ebp - 0x110]
push eax
call fcn.0044cc8d
jmp 0x4b9243
push 0x5363e4
push 0x80
lea eax, [ebp - 0x110]
push eax
call fcn.00401a0b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x521a98
lea eax, [ebp - 0x110]
push eax
push 0x55f670
lea ecx, [ebp - 0x96c]
call fcn.004e2531
lea ecx, [ebp - 0x96c]
mov dword [ebp - 4], ebx
call fcn.0044612f
push eax
push 0xabf
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xac1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0xc], 0
je 0x4b92ea
lea eax, [ebp - 0x970]
mov dword [ebp - 0x970], 0x10
push eax
push 1
push 0x192
push 0x844
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0xfffffffffffffff0
push 0x844
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x4b92ea
or eax, 1
push eax
push 0xfffffffffffffff0
push 0x844
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor ebx, ebx
push ebx
push ebx
push 0x184
push 0x844
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x5a23ec]
push ebx
mov dword [ebp - 0x970], ebx
call fcn.0045dc55
mov ebx, eax
test ebx, ebx
je 0x4b938d
mov edi, dword [ebp - 0x970]
inc edi
lea eax, [ebp - 0x910]
push edi
push 0x55f690
push eax
call fcn.00403c16
add esp, 0xc
lea eax, [ebp - 0x910]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x400
sub ecx, eax
push ecx
push dword [ebx + 4]
lea ecx, [ebp - 0x910]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x910]
push eax
push 0
push 0x180
push 0x844
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x5a23ec]
push edi
call fcn.0045dc55
mov ebx, eax
test ebx, ebx
jne 0x4b931d
mov edi, dword [ebp - 0x978]
mov eax, dword [edi]
mov ecx, edi
push 1
push 0x844
push esi
call dword [eax + 0x24]
lea ecx, [ebp - 0x96c]
mov byte [edi + 0x25], 0
call fcn.004e25e0
xor eax, eax
call fcn.004f418c
ret 8
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40b252
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40b261
pop dword [ebp - 0x4c]
mov eax, 0x40b261
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x36dab
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xb71fdca6
sub ecx, 0xb71f9e85
mov edx, eax
mov ebx, 0x742e02ab
sub ebx, 0x73ecc6e7
add ebx, dword [ebp - 0x4c]
mov edi, 0x9c803f26
sub edi, 0x52e58004
mov esi, dword [ebx]
add dword [ebp - 0x10], eax
sub esi, edi
mov dword [ebp - 0x24], 0x492407f9
mov dword [edx], esi
xor dword [ebp - 0x14], ebx
add edx, 0x5badadd5
sub edx, 0x5badadd1
add ebx, 0x265e8498
sub ebx, 0x265e8494
loop 0x40b2b6
add eax, 0x563bf7b7
sub eax, 0x563b0c60
xor ebx, ebx
add ebx, eax
add eax, 0xf24c0f12
add eax, 0xdb3f0f3
mov ecx, 0xca83bffc
sub ecx, 0xca43bffc
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x41b2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x41b2bf
pop dword [ebp - 4]
mov eax, 0x56b48231
add eax, 0xa98d308e
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x68addf73
sub dword [ebp - 0x14], 0x1a5b9a28
mov dword [ebp - 0x10], 0xbd5e3ee3
add dword [ebp - 0x10], 0x74d50d62
mov dword [ebp - 0xc], 0x6681a09a
sub dword [ebp - 0xc], 0x1a355c6c
mov dword [ebp - 8], 0x49c07913
sub dword [ebp - 8], 0x49c07913
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xa40f5b88
sub dword [ebp - 0x14], 0x2f9cf232
mov dword [ebp - 0x10], 0xe16ca5ab
sub dword [ebp - 0x10], 0xa0004436
mov dword [ebp - 0xc], 0xe8359ea8
add dword [ebp - 0xc], 0x7b39cdc4
mov dword [ebp - 8], 0x33325dc
sub dword [ebp - 8], 0x33325dc
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x4390f
push 0
call eax
mov ecx, 0x4ff6641a
add ecx, 0xb009da92
xor edx, edx
add edx, eax
mov edi, 0x2827a3a2
add edi, 0xd81fb25e
add edi, dword [ebp - 4]
mov esi, 0x9173e9db
add esi, 0x1b9ca0b0
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 0xd516697c
add edx, 0x2ae99688
add edi, 0xfe68a620
sub edi, 0xfe68a61c
loop 0x41b3d9
add eax, 0xed83
xor ebx, ebx
add ebx, eax
add eax, 0x3673068
add eax, 0xfc98cf9d
mov ecx, 0xe5dce038
add ecx, 0x1a631fc8
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.004066d0
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004066d0
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4066d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x4066df
pop dword [ebp - 0xc]
mov eax, 0x4066df
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3c782
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x45b5fc99
sub ecx, 0x45b5ad5a
xor edx, edx
add edx, eax
mov esi, 0x44c600
add esi, dword [ebp - 0xc]
mov ebx, 0xfd9fd669
add dword [ebp - 4], ecx
mov edi, dword [esi]
add dword [ebp - 8], eax
xor edi, ebx
sub dword [ebp - 8], edi
mov dword [edx], edi
xor dword [ebp - 8], ecx
add edx, 0xe0d424bf
sub edx, 0xe0d424bb
add esi, 0x416bf256
add esi, 0xbe940dae
loop 0x40672a
add eax, 0x410b93f0
sub eax, 0x410a6421
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5fa5cae2
add ecx, 0xa09a351e
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x10001c05
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.10002b37
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [ebp - 4], ebx
cmp byte [0x1003cdfb], bl
jne 0x10001c5a
cmp byte [0x1003cdfa], bl
je 0x10001c96
cmp dword [edi + 0x14], 0x10
jb 0x10001c62
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x1003c818
push edi
call fcn.10019520
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10001c86
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001c96
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.10019520
pop ecx
mov eax, esi
call fcn.1002b030
ret 8

Function at 0x10001ca7
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.1000282f
pop ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], cl
mov dword [ebp - 4], ecx
cmp byte [0x1003cdfb], cl
jne 0x10001cf2
cmp byte [0x1003cdfa], cl
je 0x10001d2f
cmp dword [edi + 0x14], 0x10
jb 0x10001cfa
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x1003c818
push edi
call fcn.10019520
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x10001d1f
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001d2f
push edi
call fcn.10005eb0
pop ecx
mov ecx, esi
call fcn.100033f0
mov eax, esi
call fcn.1002b030
ret 4

Function at 0x10001d40
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.1000282f
pop ecx
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov dword [ebp - 4], eax
cmp byte [0x1003cdfb], al
jne 0x10001d88
cmp byte [0x1003cdfa], al
je 0x10001dc4
cmp dword [edi + 0x14], 0x10
jb 0x10001d90
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x1003c818
push edi
call fcn.10019520
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10001db4
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001dc4
push edi
call fcn.10005eb0
pop ecx
mov eax, esi
call fcn.1002b030
ret
Function at 0x10002659
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c7a2
call fcn.1002b067
cmp byte [0x1003cdfb], 0
mov edi, 0x1003c818
mov esi, dword [ebp + 8]
jne 0x1000267f
cmp byte [0x1003cdfa], 0
je 0x100026ae
push esi
push str.CMemMappedFile_CreateWithSize__size_lu_
push edi
call fcn.10019520
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1000269e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x100026ae
push edi
call fcn.10005eb0
pop ecx
call fcn.10019520
test al, al
je 0x1000270a
call fcn.1001be5e
test al, al
je 0x1000270a
cmp byte [0x1003cdfb], 0
jne 0x100026d2
cmp byte [0x1003cdfa], 0
je 0x10002701
push esi
push str.CMemMappedFile::CreateWithSize__lu___REMOTE_CREATION_
push edi
call fcn.10019520
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x100026f1
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10002701
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.1001bc5c
pop ecx
jmp 0x10002767
cmp byte [0x1003cdfb], 0
jne 0x1000271c
cmp byte [0x1003cdfa], 0
je 0x1000274b
push esi
push str.CMemMappedFile::CreateWithSize__lu___LOCAL_CREATION_
push edi
call fcn.10019520
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1000273b
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000274b
push edi
call fcn.10005eb0
pop ecx
push 0x34
call fcn.10019520
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x10002767
push esi
call fcn.10001ca7
call fcn.1002b030
ret

Function at 0x100028d9
Capabilities:
Print debug messages

Disassembly:
push 0x28
mov eax, 0x1002c80c
call fcn.1002b09b
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ecx
cmp byte [0x1003cdfb], bl
jne 0x10002903
cmp byte [0x1003cdfa], bl
je 0x10002940
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000290d
mov eax, dword [esi]
push ecx
push eax
push str.CMemMappedFile_GetExistingMemoryMappedFile__name_s__size_lu_
mov edi, 0x1003c818
push edi
call fcn.10019520
add esp, 0x10
cmp byte [0x1003cdfa], bl
je 0x10002931
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], bl
je 0x10002940
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.10019520
mov edi, eax
pop ecx
test edi, edi
jne 0x100029a6
push 0x34
call fcn.10019520
mov edi, eax
pop ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], ebx
test edi, edi
je 0x1000298b
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002b37
push dword [ebp - 0x30]
xor ebx, ebx
lea eax, [ebp - 0x28]
inc ebx
mov ecx, edi
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x2c], ebx
call fcn.10001c05
mov edi, eax
jmp 0x1000298d
mov edi, ebx
test bl, 1
je 0x100029a6
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100029a6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10019520
pop ecx
pop ecx
mov eax, edi
call fcn.1002b045
ret