joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421680
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x308], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [eax + 8], 6
jne 0x42189e
mov ecx, dword [0x4f0588]
mov dword [esp + 0x56], ecx
mov ecx, dword [0x4f058c]
mov dword [esp + 0x5a], ecx
mov ecx, dword [ebp + 8]
mov word [esp + 0x54], 0x114
mov dword [esp + 0xc], 0
mov edx, dword [ecx + 0x490]
mov esi, dword [edx]
cmp esi, edx
je 0x42189e
lea ebx, [esp + 0x1e1]
nop word [eax + eax]
mov edx, dword [esi + 0xf8]
mov edi, dword [eax + 0xf8]
mov edx, dword [edx + 0x14]
cmp edx, dword [edi + 0x14]
je 0x42177d
mov eax, dword [esi + 0xf8]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x421715
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0x4f0594
push eax
call fcn.0040c7d0
movzx eax, byte [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0xc]
mov byte [ebx - 1], al
inc edx
movzx eax, byte [esp + 0x14]
mov byte [ebx], al
movzx eax, byte [esp + 0x18]
mov byte [ebx + 1], al
movzx eax, byte [esp + 0x1c]
mov byte [ebx + 2], al
mov eax, dword [esi + 0xf8]
mov dword [esp + 0xc], edx
mov ax, word [eax + 0x60]
mov word [ebx + 3], ax
add ebx, 6
cmp edx, 0x32
je 0x42178f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
jmp 0x421781
mov edx, dword [esp + 0xc]
mov esi, dword [esi]
cmp esi, dword [ecx + 0x490]
jne 0x4216f0
test edx, edx
je 0x42189e
lea edi, [edx + edx*2]
add edi, edi
lea ecx, [esp + 0x4d]
mov edx, edi
jns 0x4217b4
neg edx
call fcn.00453fb0
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x4217bb
call fcn.00453fb0
mov ecx, eax
xor esi, esi
mov dword [esp + 0x34], 0xf
lea eax, [esp + 0x4d]
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
cmp ecx, eax
je 0x4217e7
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00407e90
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
mov ebx, dword [esp + 0x20]
cmovae eax, ebx
push esi
push eax
lea eax, [esp + 0x66]
push eax
call fcn.004aee70
add esp, 0xc
mov byte [esp + esi + 0x5e], 0x3a
lea eax, [esp + 0x1e0]
add esi, 0xf
push edi
push eax
lea eax, [esp + 0x58]
add eax, esi
push eax
call fcn.004aee70
add esi, edi
add esp, 0xc
mov byte [esp + esi + 0x50], 0x65
inc esi
lea eax, [esi - 4]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push esi
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp + 0xc]
add dword [0x50e4e4], esi
mov eax, dword [eax + 0xf8]
add dword [eax + 0xec], esi
mov eax, dword [ebp + 8]
add dword [eax + 0x248], esi
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x42189e
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x421894
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4218b3
push ecx
push ebx
call fcn.004ad677
add esp, 8
mov ecx, dword [esp + 0x314]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
call fcn.004b5c80
int3
Function at 0x4218c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 2
mov word [esp + 0x18], ax
push edi
mov eax, dword [esi + 0xf8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xf8]
mov ax, word [eax + 0x60]
mov word [esp + 0x1e], ax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42190e
add ecx, 0xffffffec
add ecx, eax
jmp 0x421910
xor ecx, ecx
mov edi, dword [esi + 0x18]
test ecx, ecx
je 0x42192d
lea eax, [edi - 0x96]
cmp ecx, eax
jbe 0x42192b
mov dword [esp + 0x10], 0x96
jmp 0x421931
sub edi, ecx
mov dword [esp + 0x10], edi
push dword [ebp + 0x10]
mov ebx, dword [esi + 0x6a]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0xf8]
cmp dword [ecx + 0x78], 0x19c8
jne 0x42196b
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x42195f
test eax, eax
jne 0x42195b
xor ebx, ebx
jmp 0x421974
sub ebx, eax
jmp 0x421974
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea ebx, [eax + 1]
jmp 0x421974
xor ecx, ecx
sub ebx, eax
test eax, eax
cmove ebx, ecx
push 0x50e540
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov word [0x50e5dc], 0x21
movzx eax, word [esi + 0x14]
push eax
call edi
push dword [0x50e540]
mov word [0x50e5de], ax
call dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x50e5e0], eax
call ebx
push dword [esp + 0x10]
mov dword [0x50e5e4], eax
call ebx
mov dword [0x50e5e8], eax
movzx eax, word [esi + 0x1c]
push eax
call edi
mov word [0x50e5ec], ax
mov ax, word [ebp + 0x1c]
push 0x10
mov word [0x50e5ee], ax
lea eax, [esp + 0x20]
push eax
push 0
push 0x14
push 0x50e5dc
push dword [0x50e5f0]
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
add dword [0x50e4e4], 0x14
pop edi
mov eax, dword [eax + 0xf8]
pop esi
pop ebx
xor ecx, esp
add dword [eax + 0xf4], 0x14
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x421a30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x72]
mov eax, dword [esi + 0x18]
test ecx, ecx
je 0x421a58
sub eax, ecx
add eax, 0x14
mov ebx, dword [esi + 0x6a]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x6e]
mov dword [esp + 0x10], eax
push dword [esi + 0x5a]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0xf8]
cmp dword [ecx + 0x78], 0x19c8
jne 0x421a9d
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x421a91
test eax, eax
jne 0x421a8d
xor ebx, ebx
jmp 0x421aa6
sub ebx, eax
jmp 0x421aa6
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea ebx, [eax + 1]
jmp 0x421aa6
xor ecx, ecx
sub ebx, eax
test eax, eax
cmove ebx, ecx
push 0x50e540
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov word [0x50e5dc], 0x11
movzx eax, word [esi + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [0x50e540]
mov word [0x50e5de], ax
call dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x50e5e0], eax
call ebx
push dword [esp + 8]
mov dword [0x50e5e4], eax
call ebx
mov dword [0x50e5e8], eax
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [0x50e5ec], ax
mov eax, dword [ebp + 8]
push 0x10
mov cx, word [eax + 0x66]
mov word [0x50e5ee], cx
mov ecx, 2
mov word [esp + 0x10], cx
mov ecx, dword [eax + 0xf8]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0xf8]
mov ax, word [eax + 0x60]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push eax
push 0
push 0x14
push 0x50e5dc
push dword [0x50e5f0]
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add dword [0x50e4e4], 0x14
pop esi
inc word [eax + 0x1c]
mov eax, dword [ebp + 8]
pop ebx
xor ecx, esp
mov eax, dword [eax + 0xf8]
add dword [eax + 0xf4], 0x14
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x421b90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp byte [ebx + 0x20], 0
jne 0x421c7e
cmp dword [ebx + 0x26], 0
je 0x421c67
mov eax, 2
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0xf8]
push 0x50e540
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xf8]
mov ax, word [eax + 0x60]
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x50e540]
mov edi, dword [ebx + 0x26]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 4], eax
movzx eax, word [esi + 0x66]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
dec ax
movzx eax, ax
push eax
call esi
push 0x10
mov word [edi + 0x12], ax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x26]
push dword [0x50e5f0]
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xf8]
mov eax, dword [ebx + 0x1c]
add dword [ecx + 0xf4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
add dword [ecx + 0x248], eax
mov eax, dword [ebx + 0x1c]
add dword [0x50e4e4], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
cmp byte [0x5102e0], 0
je 0x421c9b
push 0
push 0x4f05ac
push str.uTP_send_DATA.pPackage__nullptr
jmp 0x421c93
cmp byte [0x5102e0], 0
je 0x421c9b
push 0
push str.send_reply__
push 0x4f05f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x425af0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x14]
push edi
push dword [ebp + 8]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call fcn.00423780
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x425c8e
mov esi, dword [ebp + 0xc]
cmp dword [esi + 8], 6
jne 0x425b80
mov edi, dword [esp + 0x14]
push 0
push edi
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp + 0xc]
add dword [0x50e4e4], edi
push ebx
mov eax, dword [eax + 0xf8]
add dword [eax + 0xec], edi
mov eax, dword [ebp + 8]
add dword [eax + 0x248], edi
call fcn.004b5a1c
add esp, 4
jmp 0x425c60
push dword [esi + 0x5a]
mov ebx, dword [esi + 0x6a]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0xf8]
cmp dword [ecx + 0x78], 0x19c8
jne 0x425bba
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x425bae
test eax, eax
jne 0x425baa
xor ebx, ebx
jmp 0x425bc3
sub ebx, eax
jmp 0x425bc3
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea ebx, [eax + 1]
jmp 0x425bc3
xor ecx, ecx
sub ebx, eax
test eax, eax
cmove ebx, ecx
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov word [0x50e5dc], 1
movzx eax, word [edi + 0x14]
push eax
call esi
push ebx
mov word [0x50e5de], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x50e5e4], eax
movzx eax, word [edi + 0x1c]
push eax
call esi
movups xmm0, xmmword [0x50e5dc]
mov ecx, dword [esp + 0x10]
mov word [0x50e5ec], ax
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 0x66]
mov word [0x50e5ee], ax
movups xmmword [ecx], xmm0
mov eax, dword [0x50e5ec]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
movups xmm0, xmmword [0x50e5dc]
add edx, 0x2c
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x50e5ec]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x52], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 0xc0]
call fcn.004456b0
mov eax, dword [ebp + 0xc]
inc word [eax + 0x1c]
push 0
call fcn.004b59da
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx + 0x158], eax
mov dword [ecx + 0x15c], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xf8]
mov dword [ecx + 0x308], eax
mov dword [ecx + 0x30c], edx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x442840
Capabilities:
Get common file path
Get file version info
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d520b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x528
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x4f8]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x208
push 0x4f4ec8
lea eax, [ebp - 0x4f8]
push 0x208
push eax
call fcn.004b68c3
add esp, 0x10
mov dword [ebp - 0x524], 0
xor eax, eax
mov dword [ebp - 0x520], 7
lea ecx, [ebp - 0x534]
mov word [ebp - 0x534], ax
push 0xe
push 0x4f4ee0
call fcn.00407d10
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4428f6
sub ecx, edx
lea eax, [ebp - 0x4f8]
sar ecx, 1
push ecx
push eax
push ecx
lea ecx, [ebp - 0x534]
call fcn.00453aa0
mov dword [ebp - 0x504], 0
xor ecx, ecx
mov dword [ebp - 0x500], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x514], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x504], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x534]
call fcn.00407cb0
cmp dword [ebp - 0x500], 8
lea eax, [ebp - 0x514]
push 0
cmovae eax, dword [ebp - 0x514]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x442a8a
push esi
call fcn.004b5cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x442a8a
cmp dword [ebp - 0x500], 8
lea ecx, [ebp - 0x514]
push edi
cmovae ecx, dword [ebp - 0x514]
push esi
push 0
push ecx
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x518], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x442a81
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x518]
push eax
push 0x4f4f00
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x442a81
cmp dword [ebp - 0x4fc], 0
je 0x442a81
mov edx, dword [ebp - 0x518]
cmp dword [edx], 0xfeef04bd
jne 0x442a81
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x80]
push edx
push 0x4f4f04
push 0x32
push eax
call fcn.00401af0
add esp, 0x1c
lea eax, [ebp - 0x80]
push eax
call fcn.004b5a21
add esp, 4
mov esi, eax
lea eax, [ebp - 0xe8]
push 4
push 3
push 0
push 0
push 0x4f4f18
push 0x32
push eax
call fcn.00401af0
add esp, 0x1c
lea eax, [ebp - 0xe8]
push eax
call fcn.004b5a21
add esp, 4
cmp eax, esi
jbe 0x442a81
mov byte [ebp - 0x519], 1
jmp 0x442a91
push edi
call fcn.004b5a1c
add esp, 4
mov byte [ebp - 0x519], 0
lea ecx, [ebp - 0x514]
call fcn.00407cb0
mov al, byte [ebp - 0x519]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x442ac0
Capabilities:
Copy file
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d524b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x650
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x630]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x208
push 0x4f4f2c
lea eax, [ebp - 0x630]
push 0x208
push eax
call fcn.004b68c3
add esp, 0x10
mov dword [ebp - 0x650], 0
xor eax, eax
mov dword [ebp - 0x64c], 7
lea ecx, [ebp - 0x660]
mov word [ebp - 0x660], ax
push 0xe
push 0x4f4f44
call fcn.00407d10
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442b74
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x630]
push eax
push ecx
lea ecx, [ebp - 0x660]
call fcn.00453aa0
mov dword [ebp - 0x638], 0
xor ecx, ecx
mov dword [ebp - 0x634], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x648], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x638], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x660]
call fcn.00407cb0
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
push 1
cmovae eax, dword [ebp - 0x648]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x648]
call fcn.00407cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4460e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d537a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x508068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x4fca10
mov dword [ebp - 0x14], eax
mov dword [edi + 0x70], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], 1
push esi
call fcn.0044d2a0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], esi
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0044f690
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x48], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x3e], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x51091c]
mov dword [esi + 0x40], eax
mov eax, dword [0x510920]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 2
cmp dword [esi + 0x4c], 0
jne 0x446282
push 0x40
or ebx, 1
push ebx
push dword [ebp - 0x14]
call fcn.004a98bc
add esp, 0xc
test eax, eax
je 0x446282
push 1
push eax
mov ecx, esi
call fcn.0044d150
mov eax, dword [esi + 0x34]
mov byte [ebp - 4], 3
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.004520d0
mov ebx, eax
add esp, 4
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x44625a
mov dword [esi + 0x38], 0
jmp 0x446264
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.0044f630
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4462a3
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4462a3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x4462a3
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, edi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402770
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 0x10
Function at 0x446970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x4469a5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4469e3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x4469e3
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x446aac
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x446a0d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x446a1a
push dword [esi + 0x4c]
push edi
jmp 0x446a55
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x446aac
cmp eax, 1
jle 0x446a7f
cmp eax, 3
jne 0x446aac
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004b63f0
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x446ab1
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x446a9c
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.004b7334
add esp, 0x10
cmp ebx, eax
jne 0x446aac
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x4469cd
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
Function at 0x447dc0
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 0x447deb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00449ac0
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 0x447e0d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x447e0f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x447e93
jg 0x447e24
test esi, esi
je 0x447e93
test ecx, ecx
jl 0x447e6d
jg 0x447e2e
test eax, eax
je 0x447e6d
cmp edi, ecx
jg 0x447e42
jl 0x447e38
cmp esi, eax
jae 0x447e42
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004aee70
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 0x447e70
mov edx, dword [ebp + 8]
test edi, edi
jl 0x447e93
jg 0x447e7a
test esi, esi
je 0x447e93
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x447e93
push eax
push esi
push 1
push edx
call fcn.004b7334
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