joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44db10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x88
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov esi, dword [esp + 0x98]
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x44db40
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
je 0x44dc32
mov eax, dword [esp + 0x10]
xor dword [esi], eax
mov ecx, dword [esp + 0x14]
xor dword [esi + 4], ecx
cmp dword [esp + 0x20], 0
jne 0x44dc02
cmp dword [esp + 0x1c], 2
push 0
jbe 0x44dbe3
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
jne 0x44dccd
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x30]
mov edi, 0x19
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov cl, 0x20
add eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [ebx + 4], eax
add ebx, 4
mov eax, dword [esp + 0x28]
mov edx, dword [ebx - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x34], eax
dec edi
jne 0x44dbb4
jmp 0x44dc10
push 0
push esi
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
je 0x44dc10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0044dd90
add esp, 8
mov eax, dword [esi]
add esi, 8
mov dword [esp + 0x10], eax
inc dword [esp + 0x20]
mov ecx, dword [esi - 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x24]
jb 0x44db67
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x44dc48
mov cl, byte [eax + esi]
xor byte [esp + eax + 0x10], cl
inc eax
cmp dword [esp + 0x18], eax
ja 0x44dc3a
cmp dword [esp + 0x1c], 2
jbe 0x44dc63
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0044dd90
add esp, 8
jmp 0x44dc88
cmp dword [esp + 0x1c], 1
jne 0x44dc77
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 0
push 0
push eax
call fcn.0044dce0
add esp, 0xc
cmp dword [esp + 0x1c], 1
jbe 0x44dcc0
xor ecx, ecx
cmp dword [esp + 0x18], ecx
je 0x44dca7
mov dl, byte [ecx + esi - 8]
lea eax, [ecx + esi]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x18], ecx
ja 0x44dc97
mov eax, dword [esp + 0x10]
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi - 4], ecx
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
Function at 0x44de00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
push ebx
lea ecx, [eax + 7]
shr ecx, 3
push esi
push edi
and eax, 7
mov ebx, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x44de30
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x14], 1
jbe 0x44df25
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x2c], eax
je 0x44df25
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
jne 0x44dee5
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
jne 0x44e022
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x38]
mov esi, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov cl, 0x20
add eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [edi + 4], eax
add edi, 4
mov eax, dword [esp + 0x30]
mov edx, dword [edi - 4]
and dl, 0x1f
sub cl, dl
shl eax, cl
mov cl, dl
shr ebp, cl
or eax, ebp
xor dword [esp + 0x3c], eax
dec esi
jne 0x44deb6
jmp 0x44def3
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor dword [ebx], eax
mov edx, dword [esp + 0x20]
xor dword [ebx + 4], ecx
mov eax, dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
inc dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jb 0x44de74
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], eax
je 0x44df4e
mov eax, dword [esp + 0x10]
lea esi, [ebx + 8]
lea edi, [esp + 0x18]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x14], 1
jne 0x44df76
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x14], 2
jne 0x44df9e
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
je 0x44dfac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
cmp dword [esp + 0x14], 1
jbe 0x44e015
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor dword [esp + 0x18], eax
xor dword [esp + 0x1c], ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x44dfdf
mov dl, byte [ecx + ebx + 8]
lea eax, [ecx + ebx]
inc ecx
mov byte [eax], dl
cmp dword [esp + 0x10], ecx
mov dl, byte [esp + ecx + 0x17]
mov byte [eax + 8], dl
ja 0x44dfc8
cmp dword [esp + 0x14], 2
jne 0x44e007
push 0
push 0
push ebx
call fcn.0044dce0
add esp, 0xc
cmp dword [0x5109fc], 0
je 0x44e015
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0044e030
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor dword [ebx], eax
xor dword [ebx + 4], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret
Function at 0x44e030
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0xc
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
add edi, 0x64
mov ebp, dword [esi]
mov eax, dword [esi + 4]
sub ebp, dword [edi]
mov edx, eax
shr edx, 7
mov ebx, ebp
and dl, 0x1f
mov cl, 0x20
sub cl, dl
sub edi, 8
shl ebx, cl
mov cl, dl
shr ebp, cl
or ebx, ebp
mov cl, 0x20
xor ebx, eax
mov eax, ebx
mov dword [esi], ebx
shr eax, 4
mov edx, dword [edi + 4]
add edx, dword [esi + 4]
and al, 0x1f
mov ebp, edx
sub cl, al
shl ebp, cl
mov cl, al
shr edx, cl
or ebp, edx
xor ebp, ebx
dec dword [esp + 0x10]
mov dword [esi + 4], ebp
jne 0x44e04a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax + 4]
sub dword [esi], ecx
mov edx, dword [eax]
sub dword [esi + 4], edx
pop esi
pop ebx
add esp, 4
ret

Function at 0x44f5f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x44f619
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
inc esi
push esi
call fcn.00445a10
mov dword [esp + 0x10], eax
add esp, 4
test eax, eax
jne 0x44f634
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x44f64a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x4516c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4521e0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00451640
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x452270
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x517a40]
and eax, 0xff00
cmp eax, 0x5000
je 0x4522bd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x4522bd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x452290
pop ebx
pop edi
ret
Function at 0x457c70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x518a98]
and eax, 0xff00
cmp eax, 0x2300
je 0x457cbd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x457cbd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x457c90
pop ebx
pop edi
ret
Function at 0x461d60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cae2a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00461cc0
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.BrowseFile.0
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebx + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4e01c0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push str.Executable_Files__.exe_.exeAll_Files__._.
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x34], 6
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4e3aac
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.004abf50
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x3c], 1
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 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf89
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DiskInfo.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x46226a
push edi
lea ecx, [esi + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
mov ecx, esi
call fcn.0047d720
push edi
mov ecx, esi
call fcn.0048cd20
push edi
mov ecx, esi
call fcn.0047c8b0
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 0x4635a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4fefc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
mov dword [esi], vtable.MemoryStatus.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
xor ecx, ebp
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0x24], edx
pop esi
call fcn.004bf553
mov esp, ebp
pop ebp
ret
Function at 0x464a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb9cd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.ShellExec.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.mfc140u.dll_AfxGetThread
test eax, eax
je 0x464b02
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
je 0x464b02
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x464ec0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbafd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4fefc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x140]
mov dword [edi], vtable.SystemStatus.0
call fcn.004635a0
lea esi, [edi + 8]
xorps xmm0, xmm0
push pe_nt_image_headers32
movups xmmword [esi], xmm0
lea eax, [edi + 0x30]
push 0
movups xmmword [esi + 0x10], xmm0
push eax
mov dword [esi + 0x20], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x2c], 0x114
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x51c4b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x51ab64]
cmp eax, dword [ecx + 4]
jg 0x465069
movzx eax, word [0x51ab62]
mov dword [edi + 0x30], eax
movzx eax, byte [0x51ab61]
mov dword [edi + 0x34], eax
movzx eax, byte [0x51ab60]
test eax, eax
je 0x465045
push 0
push 0xa
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b81a0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push 0x4e1768
push eax
call fcn.0045ede0
add esp, 0x1c
cmp dword [eax + 0x14], 7
jbe 0x464fa7
mov eax, dword [eax]
push 0x80
push eax
lea eax, [edi + 0x40]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, 7
jbe 0x464ff5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464feb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465035
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x465045
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46503b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46503b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov dword [edi + 0x3c], 2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf553
mov esp, ebp
pop ebp
ret
push 0x51ab64
call fcn.004bf4cb
add esp, 4
cmp dword [0x51ab64], 0xffffffff
jne 0x464f52
call fcn.004b5040
push 0x51ab64
mov dword [0x51ab60], eax
call fcn.004bf47a
add esp, 4
jmp 0x464f52
Function at 0x46a210
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccb26
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.__r_n_
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.00463680
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
push 0x8000
push 0xa
mov dword [ebp - 0x20], 0xa
call dword [eax + 0x1c]
cmp dword [esi + 0x82c], 0
jne 0x46a2f3
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a2f3
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a2e8
cmp dword [ebp - 0x20], ecx
jg 0x46a2e8
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a2e8
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a2e8
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a2d6
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a2d3
inc ecx
cmp ecx, 3
jl 0x46a2c5
mov dword [ebp - 0x2c], eax
call fcn.0046bbf0
test eax, eax
je 0x46a2e8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0xc8
jl 0x46a291
add dword [esi + 0x82c], 0xffffffff
jns 0x46a308
mov eax, dword [esi + 0x828]
mov dword [esi + 0x82c], eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a326
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
je 0x46a3bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
jne 0x46a395
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a38a
cmp dword [ebp - 0x20], ecx
jg 0x46a38a
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a38a
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a38a
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a378
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a375
inc ecx
cmp ecx, 3
jl 0x46a367
mov dword [ebp - 0x2c], eax
call fcn.0046bbf0
test eax, eax
je 0x46a38a
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0x258
jl 0x46a335
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x46a3bf
cmp dword [esi + 0x18], 0
jne 0x46a3b8
cmp dword [esi + 0x1c], 0
jne 0x46a3b8
cmp dword [esi + 0x20], 0
jne 0x46a3b8
cmp dword [esi + 0x24], 0
je 0x46a3bf
mov esi, 1
jmp 0x46a3c1
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.00465d90
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
Function at 0x46de00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
cmp dword [eax + 0x18], 7
lea edx, [eax + 4]
jbe 0x46de10
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
not ecx
and eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret 4
Function at 0x4722d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce787
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
xor esi, esi
test eax, eax
jle 0x4723ce
nop word [eax + eax]
cmp dword [edi + 0x20], 0
je 0x4723ce
test esi, esi
js 0x4723f1
cmp esi, eax
jge 0x4723f1
mov eax, dword [edi + 8]
lea ebx, [esi*4]
add eax, ebx
lea ecx, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov dword [ebp - 4], 0
cmp esi, dword [edi + 0x20]
jge 0x4723f1
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x14]
add eax, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x4723a9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4723a9
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004771b0
add esp, 8
test eax, eax
je 0x4723a9
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4723a9
cmp esi, dword [edi + 0xc]
jge 0x4723f1
mov ecx, dword [edi + 8]
add ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [edi + 0xc]
inc esi
cmp esi, eax
jl 0x472310
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x18]
call sub.mfc140u.dll_CStringArray::SetSize
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3