joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497675
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
cmp dword [0x7ea258], 0
push esi
jne 0x497784
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x7ea258], eax
test eax, eax
jne 0x49769f
xor al, al
jmp 0x497786
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetAdaptersInfo
push eax
call esi
mov dword [0x7ea25c], eax
test eax, eax
jne 0x4976cb
push dword [0x7ea258]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
and dword [0x7ea258], 0
jmp 0x497698
push str.GetIfTable
push dword [0x7ea258]
call esi
mov dword [0x7ea260], eax
test eax, eax
je 0x4976b6
push str.GetIfEntry
push dword [0x7ea258]
call esi
mov dword [0x7ea264], eax
test eax, eax
je 0x4976b6
push str.GetBestInterface
push dword [0x7ea258]
call esi
mov dword [0x7ea268], eax
test eax, eax
je 0x4976b6
push str.GetBestInterfaceEx
push dword [0x7ea258]
call esi
push str.GetIpAddrTable
push dword [0x7ea258]
mov dword [0x7ea26c], eax
call esi
mov dword [0x7ea270], eax
test eax, eax
je 0x4976b6
push str.GetAdaptersAddresses
push dword [0x7ea258]
call esi
push 0x704434
push dword [0x7ea258]
mov dword [0x7ea274], eax
call esi
push str.NotifyIpInterfaceChange
push dword [0x7ea258]
mov dword [0x7ea278], eax
call esi
mov dword [0x7ea27c], eax
test eax, eax
je 0x497784
lea ecx, [esp + 4]
push ecx
push 0
push 0x7c0bb8
push 0x49766b
push 2
call eax
mov al, 1
pop esi
pop ecx
ret
Function at 0x4978f4
Capabilities:
Get process image filename
List tcp connections and listeners

Disassembly:
sub esp, 0x234
push edi
call fcn.00497675
test al, al
jne 0x497923
mov eax, dword [esp + 0x23c]
xor edi, edi
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x497a77
push ebx
push esi
push 0x1c
pop esi
push esi
call fcn.0046f1ab
xor edi, edi
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
mov ebx, eax
push edi
push 4
push 2
push 1
lea eax, [esp + 0x1c]
push eax
push ebx
call esi
cmp eax, 0x7a
jne 0x497963
push 1
push ebx
call fcn.0046f19e
push dword [esp + 0xc]
call fcn.0046f1ab
mov ebx, eax
push 0x208
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0068ccc0
add esp, 0xc
lea eax, [esp + 0xc]
push edi
push 4
push 2
push 1
push eax
push ebx
call esi
test eax, eax
jne 0x497a47
mov dword [esp + 0x10], edi
cmp dword [ebx], edi
jle 0x497a47
push ebp
lea ebp, [ebx + 0xc]
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, word [ebp]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x24c]
movzx esi, ax
mov eax, dword [ebp + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
call fcn.0048b8b6
movzx eax, word [eax + 0x10]
cmp esi, eax
jne 0x497a07
mov ecx, dword [esp + 0x24c]
call fcn.0048bb46
cmp eax, dword [esp + 0x18]
jne 0x497a07
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], eax
je 0x497a19
mov eax, dword [esp + 0x14]
add ebp, 0x18
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebx]
jl 0x49799d
jmp 0x497a46
push dword [esp + 0x24]
push edi
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x497a46
push 0x104
lea eax, [esp + 0x40]
push eax
push esi
call sub.KERNEL32.DLL_K32GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
push 1
push ebx
call fcn.0046f19e
mov esi, dword [esp + 0x244]
xor eax, eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [esp + 0x38]
push eax
call fcn.004482e2
mov eax, esi
pop esi
pop ebx
pop edi
add esp, 0x234
ret 8
Function at 0x4999d0
Capabilities:
Delete file

Disassembly:
mov eax, 0x6d4124
call fcn.006899cc
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x68]
cmp dword [eax + 0x14], 8
jb 0x4999ec
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004848ce
xor edi, edi
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.00448193
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
je 0x499a2f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
jb 0x499a28
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esi + 0x78], edi
je 0x499a46
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
jb 0x499a40
mov eax, dword [ebp - 0x44]
push eax
call fcn.004702e2
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x64], 4
cmp eax, 8
jb 0x499a88
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x499a7f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x499d48
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7ea0c6], 0
je 0x499d58
mov eax, 0x80004005
jmp 0x499d8f
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, esi
sub ecx, 0
je 0x499d8c
dec ecx
sub ecx, 1
je 0x499d8c
push dword [esp + 0xc]
push esi
push str.RegKey::DeleteKey_fail___d_:__s_n
call fcn.0048e961
add esp, 0xc
mov eax, esi
jmp 0x499d8e
xor eax, eax
pop esi
ret 8

Function at 0x499d92
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7ea0c6], 0
je 0x499d9f
xor al, al
jmp 0x499dd0
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, eax
sub ecx, 0
je 0x499dce
dec ecx
sub ecx, 1
je 0x499dce
push dword [esp + 8]
push eax
push str.RegKey::DeleteTree_fail___d_:__s_n
call fcn.0048e961
add esp, 0xc
jmp 0x499d9b
mov al, 1
ret 8

Function at 0x499dd3
Capabilities:
Delete registry value

Disassembly:
cmp byte [0x7ea0c6], 0
je 0x499de0
xor al, al
jmp 0x499e10
push esi
push dword [esp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x499e0c
cmp esi, 2
je 0x499e0a
push esi
push dword [esp + 0xc]
push str.RegKey:_Could_not_delete_value__s:__d_n
call fcn.0048e961
add esp, 0xc
test esi, esi
sete al
pop esi
ret 4
Function at 0x499e13
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x6d4b9c
call fcn.006899cc
sub esp, 0x218
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
mov edi, 0x104
mov esi, ecx
push 0x208
mov dword [ebp - 0x14], edi
call fcn.00689cdb
pop ecx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [esi]
call edi
mov dword [ebp - 0x18], eax
cmp eax, 0xea
jne 0x499eb6
push ebx
call fcn.00689a0e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
push 2
pop edx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00689cdb
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [esi]
call edi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x6f6210
mov ecx, esi
and dword [esi], 0
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.004482e2
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
and dword [edi], 0
xor eax, eax
and dword [edi + 0x10], 0
mov ecx, edi
push 0x6f6210
mov dword [edi + 0x14], 7
mov word [edi], ax
call fcn.004482e2
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
jne 0x499f2e
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.004482e2
cmp dword [ebp - 0x10], 0
je 0x499f2e
push ebx
mov ecx, edi
call fcn.004482e2
push ebx
call fcn.00689a0e
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x49a042
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 4], eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x49a073
cmp dword [ebp + 0x14], eax
jne 0x49a073
inc esi
cmp eax, 1
jne 0x49a083
xor eax, eax
cmp dword [ebp + 0x14], 2
sete al
or esi, eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x49a08f
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
pop esi
setne al
leave
ret 0x14

Function at 0x49a567
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7ea0c6], 0
je 0x49a574
xor al, al
jmp 0x49a5ae
push esi
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x49a5aa
push esi
push dword [esp + 0x10]
push dword [esp + 0x10]
push str.RegKey:_Could_not_write_DWORD_valuename__s_value__d__Error__d_n
call fcn.0048e961
add esp, 0x10
test esi, esi
sete al
pop esi
ret 8
Function at 0x49a5b1
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7ea0c6], 0
je 0x49a5bf
or eax, 0xffffffff
jmp 0x49a5d9
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0x10
Function at 0x4a0a24
Capabilities:
Create directory

Disassembly:
mov eax, 0x6d3584
call fcn.006899cc
sub esp, 0x20
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00491132
xor edi, edi
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], edi
jb 0x4a0a4d
mov eax, dword [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea eax, [ebp - 0x10]
mov ecx, 0x7ead1c
push eax
call fcn.0044a83e
sub esp, 0x18
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp - 0x2c]
push eax
mov dword [ecx], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00448193
mov ecx, esi
call fcn.0049c657
push 0x7eaa60
call fcn.004a2444
call fcn.00508a47
lea ecx, [ebp - 0x2c]
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4a7708
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6d57b7
call fcn.006899cc
sub esp, 0x17c
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ebx, [esi + 4]
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a7734
mov byte [eax], 0
push 0x6fd098
push 0x706fdc
call fcn.00473e2b
mov ecx, eax
or eax, 0xffffffff
test ecx, ecx
je 0x4a7765
lea eax, [ebp - 0x20]
push eax
call ecx
test eax, eax
jne 0x4a7765
mov eax, dword [ebp - 0x16]
mov dword [ebx], eax
mov ax, word [ebp - 0x12]
mov word [ebx + 4], ax
jmp 0x4a7772
push eax
push str.Cant_create_UUID____d
call fcn.0048e8e7
pop ecx
pop ecx
xor ecx, ecx
lea eax, [ebp + 0xc]
push ecx
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0xa]
push eax
push ecx
push ecx
push 0x707000
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
lea ecx, [ebp - 0x188]
call fcn.0047ac67
and dword [ebp - 4], 0
lea ecx, [ebp - 0x188]
push 0xe
push esi
call fcn.0047ac05
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.0047ac67
push 0xa
push esi
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.0047ac05
push 5
pop esi
cmp ebx, eax
je 0x4a77dd
mov ecx, esi
mov edi, ebx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push 5
pop esi
lea ecx, [ebp - 0x98]
call fcn.0047ac67
push 4
push dword [ebp + 8]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0047ac05
mov ecx, dword [eax]
lea eax, [eax + 4]
add dword [ebx], ecx
lea ebx, [ebx + 4]
sub esi, 1
jne 0x4a77fc
lea ecx, [ebp - 0x98]
call fcn.0040f570
lea ecx, [ebp - 0x110]
call fcn.0040f570
lea ecx, [ebp - 0x188]
call fcn.0040f570
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4adf21
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6d5c07
call fcn.006899cc
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push esi
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.00448193
lea ecx, [edi + 0x18]
mov dword [ebp - 4], ebx
lea eax, [esi + 0x18]
mov dword [ecx], ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
lea ecx, [edi + 0x60]
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov al, byte [esi + 0x5c]
mov byte [edi + 0x5c], al
mov al, byte [esi + 0x5d]
mov byte [edi + 0x5d], al
mov al, byte [esi + 0x5e]
mov byte [edi + 0x5e], al
lea eax, [esi + 0x60]
push eax
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], ecx
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov al, byte [edi + 0x8c]
xor al, byte [esi + 0x8c]
and al, 1
mov byte [ebp - 4], 2
xor byte [edi + 0x8c], al
mov al, byte [edi + 0x8c]
mov cl, byte [esi + 0x8c]
xor cl, al
and cl, 2
xor cl, al
mov byte [edi + 0x8c], cl
mov al, byte [esi + 0x8c]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x8c], al
mov cl, byte [esi + 0x8c]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x8c], cl
mov al, byte [esi + 0x8c]
xor al, cl
and al, 0x10
xor al, cl
lea ecx, [edi + 0xa4]
mov byte [edi + 0x8c], al
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
lea eax, [esi + 0xa4]
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040fd80
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 3
lea eax, [esi + 0xbc]
mov dword [ecx], ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040fd80
mov al, byte [esi + 0xd4]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0xd4], al
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xdc], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4cc1d9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ecx
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x14]
movzx eax, word [ebx + 0x14c]
cmp ax, bp
je 0x4cc2a3
push esi
push edi
mov edi, dword [ebx + 0x260]
mov edx, 0x173
and eax, edx
mov esi, ebp
and esi, edx
movzx ecx, ax
mov dword [esp + 0x10], esi
mov esi, dword [edi]
movzx eax, ax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp esi, edi
je 0x4cc231
mov ecx, dword [esi + 8]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, dword [esi]
cmp esi, edi
jne 0x4cc21e
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
cmp ax, di
je 0x4cc259
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x90]
cmp byte [ebx + 0x164], 3
mov ecx, eax
je 0x4cc259
mov byte [0x7eaacc], 1
movzx esi, word [ebx + 0x14c]
mov word [ebx + 0x14c], bp
cmp word [esp + 0x14], di
je 0x4cc28a
cmp dword [0x7e5b0c], 8
mov eax, 0x7e5af8
jb 0x4cc281
mov eax, dword [0x7e5af8]
push ecx
push eax
mov ecx, ebx
call fcn.004b7e0f
xor esi, ebp
mov eax, 0x80
pop edi
cmp si, ax
pop esi
jne 0x4cc2a3
push 0
push 0
mov ecx, ebx
call fcn.004b7090
pop ebp
pop ebx
pop ecx
pop ecx
ret 4

Function at 0x4cc778
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 0x80
push 5
push dword [ebp + 8]
mov edi, ecx
call fcn.00470c47
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4cc7b0
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00470c0f
test eax, eax
je 0x4cc7b8
lea eax, [ebp - 8]
push eax
call fcn.00470bd9
xor al, al
pop edi
pop esi
leave
ret 8
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
call fcn.004cbd21
mov eax, dword [edi + 0x254]
xor esi, esi
sub eax, dword [edi + 0x250]
sar eax, 3
test eax, eax
je 0x4cc7f6
push esi
mov ecx, edi
call fcn.004c88c4
mov eax, dword [edi + 0x254]
inc esi
sub eax, dword [edi + 0x250]
sar eax, 3
cmp esi, eax
jb 0x4cc7da
mov ecx, dword [edi + 0x7a8]
mov eax, dword [edi + 0x7ac]
add ecx, 0x3fff
adc eax, 0
shrd ecx, eax, 0xe
lea eax, [ebp - 8]
push eax
mov dword [edi + 0x104], ecx
call fcn.00470bd9
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004bbfb3
cmp dword [eax + 0x14], 8
jb 0x4cc831
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0044823e
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004bbfb3
cmp byte [ebp + 0xc], 0
je 0x4cc895
cmp dword [eax + 0x14], 8
jb 0x4cc859
mov eax, dword [eax]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044823e
test esi, esi
je 0x4cc7b0
mov ecx, edi
mov byte [ebp - 1], 1
call fcn.004ba91c
lea ecx, [ebp - 1]
push dword [eax + 0x20]
push ecx
mov ecx, eax
call fcn.0051cd5b
mov al, 1
jmp 0x4cc7b2
cmp dword [eax + 0x14], 8
jb 0x4cc89d
mov eax, dword [eax]
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x4cc863
Function at 0x4d0934
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [0x7ea0c6], 0
je 0x4d09ce
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x7099d0
push eax
call fcn.00475719
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4d0963
mov eax, dword [eax]
push eax
call fcn.006a4080
pop ecx
lea ecx, [ebp - 0x30]
call fcn.0044823e
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push str.TEMP_s
push eax
call fcn.00475719
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4d098e
mov eax, dword [eax]
push eax
call fcn.006a4080
pop ecx
lea ecx, [ebp - 0x30]
call fcn.0044823e
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x7099f0
push eax
call fcn.00475719
add esp, 0xc
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 8
jb 0x4d09bd
mov eax, dword [ebp - 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x18]
call fcn.0044823e
leave
ret 4

Function at 0x4d173e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d77fd
call fcn.006899cc
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [edi + 4]
xor al, byte [esi + 4]
and al, 1
xor byte [edi + 4], al
mov cl, byte [esi + 4]
xor cl, byte [edi + 4]
and cl, 2
xor cl, byte [edi + 4]
mov byte [edi + 4], cl
mov al, byte [esi + 4]
xor al, cl
and al, 4
xor al, cl
lea ecx, [edi + 0xc]
mov byte [edi + 4], al
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00447f71
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and dword [ebp - 4], 0
mov dword [edi + 0x28], eax
lea eax, [esi + 0x30]
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 0x30]
push eax
call fcn.0049f3fe
lea eax, [esi + 0x44]
push eax
lea ecx, [edi + 0x44]
call fcn.00447f71
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4d17c9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d7824
call fcn.006899cc
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [edi + 4]
xor al, byte [esi + 4]
and al, 1
xor byte [edi + 4], al
mov cl, byte [esi + 4]
xor cl, byte [edi + 4]
and cl, 2
xor cl, byte [edi + 4]
mov byte [edi + 4], cl
mov al, byte [esi + 4]
xor al, cl
and al, 4
xor al, cl
lea ecx, [edi + 0xc]
mov byte [edi + 4], al
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [esi + 0xc]
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
lea eax, [esi + 0x30]
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.004d165c
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 1
lea eax, [esi + 0x44]
mov dword [ecx], ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4d186b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d77fd
call fcn.006899cc
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
xor eax, eax
push 7
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov word [esi + 0xc], ax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.0045ea47
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], edi
mov word [esi + 0x44], ax
mov eax, esi
mov dword [esi + 0x54], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret