joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc59bb0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x70], 0xffffffff
jne 0xc59c02
push 1
mov ecx, dword [ebp + 8]
call fcn.00c502a0
push eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 0x48]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc59c02
or eax, 0xffffffff
jmp 0xc59cc5
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 8]
call fcn.00c437c0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
call fcn.00c5a6b0
cmp dword [ebp - 0x90], 0
jne 0xc59c6a
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x7c], 2
jmp 0xc59cad
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00c502f0
add esp, 4
movzx edx, al
test edx, edx
je 0xc59ca8
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x7c], 1
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x74]
or edx, 4
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x74], dl
jmp 0xc59cad
or eax, 0xffffffff
jmp 0xc59cc5
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x74]
or edx, 3
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x74], dl
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 4

Function at 0xc59da0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00c5a6d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0xc59dc7
or eax, 0xffffffff
jmp 0xc59de2
push 4
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 8

Function at 0xc59df0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
call fcn.00c5a6b0
cmp dword [ebp - 4], 0
jge 0xc59e47
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00c502f0
add esp, 4
movzx eax, al
test eax, eax
je 0xc59e47
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x74]
or edx, 2
mov eax, dword [ebp - 8]
mov byte [eax + 0x74], dl
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0xc59e50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x94], ecx
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00c437c0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x94]
call fcn.00c5a6b0
cmp dword [ebp - 4], 0
jge 0xc59ee3
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00c502f0
add esp, 4
movzx eax, al
test eax, eax
je 0xc59ee3
mov ecx, dword [ebp - 0x94]
movzx edx, byte [ecx + 0x74]
or edx, 2
mov eax, dword [ebp - 0x94]
mov byte [eax + 0x74], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 0xc
Function at 0xc59f00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x194], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0xc59fb0
cmp dword [ebp + 0xc], 0
je 0xc59fb0
xor ecx, ecx
je 0xc59f85
push str.EOF_from_socket__deferring_close_event
push 0
push 0
push 0
push 3
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00c44580
jmp 0xc59f48
mov edx, dword [ebp - 0x194]
movzx eax, byte [edx + 0x74]
or eax, 1
mov ecx, dword [ebp - 0x194]
mov byte [ecx + 0x74], al
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x78], 0x2733
or eax, 0xffffffff
jmp 0xc5a0a9
mov ecx, dword [ebp - 0x194]
call fcn.00c5a6b0
cmp dword [ebp - 0x18c], 0
jge 0xc59fe9
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00c502f0
add esp, 4
movzx edx, al
test edx, edx
jne 0xc59fe9
mov dword [ebp - 0x198], 0
jmp 0xc59ff3
mov dword [ebp - 0x198], 1
mov al, byte [ebp - 0x198]
mov byte [ebp - 0x18d], al
mov ecx, dword [ebp - 0x194]
movzx edx, byte [ecx + 0x75]
test edx, edx
jne 0xc5a018
movzx eax, byte [ebp - 0x18d]
test eax, eax
je 0xc5a02e
mov ecx, dword [ebp - 0x194]
movzx edx, byte [ecx + 0x74]
or edx, 1
mov eax, dword [ebp - 0x194]
mov byte [eax + 0x74], dl
movzx ecx, byte [ebp - 0x18d]
test ecx, ecx
jne 0xc5a0a3
xor edx, edx
je 0xc5a0a3
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x78]
push ecx
push str.Error_
push 0xcb3024
push str.talk_base::PhysicalSocket::Recv
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x188]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
mov ecx, eax
call fcn.00ad66a0
lea ecx, [ebp - 0x188]
call fcn.00c44580
jmp 0xc5a039
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 8
Function at 0xc5a0c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0xcc], 0x80
lea eax, [ebp - 0x150]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x160]
call fcn.00c5a6b0
cmp dword [ebp - 0x154], 0
jl 0xc5a14a
cmp dword [ebp + 0x10], 0
je 0xc5a14a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.00c439f0
add esp, 8
cmp dword [ebp - 0x154], 0
jge 0xc5a178
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00c502f0
add esp, 4
movzx edx, al
test edx, edx
jne 0xc5a178
mov dword [ebp - 0x164], 0
jmp 0xc5a182
mov dword [ebp - 0x164], 1
mov al, byte [ebp - 0x164]
mov byte [ebp - 0x155], al
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ecx + 0x75]
test edx, edx
jne 0xc5a1a7
movzx eax, byte [ebp - 0x155]
test eax, eax
je 0xc5a1bd
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ecx + 0x74]
or edx, 1
mov eax, dword [ebp - 0x160]
mov byte [eax + 0x74], dl
movzx ecx, byte [ebp - 0x155]
test ecx, ecx
jne 0xc5a232
xor edx, edx
je 0xc5a232
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x78]
push ecx
push str.Error_
push 0xcb3024
push str.talk_base::PhysicalSocket::RecvFrom
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
mov ecx, eax
call fcn.00ad66a0
lea ecx, [ebp - 0xc8]
call fcn.00c44580
jmp 0xc5a1c8
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 0xc

Function at 0xc5ac60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x8c]
test ecx, ecx
jne 0xc5ac7b
xor al, al
jmp 0xc5ace2
push 2
push 1
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0xc5ac98
xor al, al
jmp 0xc5ace2
mov edx, dword [ebp - 8]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x8c], 0
cmp dword [ebp - 8], 0
je 0xc5acc0
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0xc5acc7
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x44
call fcn.00c67950
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0xc6b090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x328]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0xc6b100
xor ecx, ecx
je 0xc6b0f9
push str.SHGetFolderPath_failed
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00c44580
jmp 0xc6b0bc
xor al, al
jmp 0xc6b190
lea edx, [ebp - 0x328]
push edx
call fcn.00c29fc9
add esp, 4
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00c6a3b0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.00c68f80
lea ecx, [ebp - 0xe4]
call fcn.00b90ca0
push str.Mozilla
lea ecx, [ebp - 0x100]
call fcn.00ad6550
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp + 8]
call fcn.00c68fe0
lea ecx, [ebp - 0x100]
call fcn.00b90ca0
push str.Firefox
lea ecx, [ebp - 0x11c]
call fcn.00ad6550
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00c68fe0
lea ecx, [ebp - 0x11c]
call fcn.00b90ca0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret
Function at 0xc6bd30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xc6bd61
xor al, al
jmp 0xc6be71
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0xc9de40
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 1
je 0xc6bd95
mov dword [ebp - 0x18], 5
jmp 0xc6bde9
cmp dword [ebp - 0x18], 0
jne 0xc6bde9
mov eax, dword [ebp - 0x14]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c17a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xc9de44
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x18], 0
jne 0xc6be5c
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov word [eax + edx*2], cx
mov dword [ebp - 0x20], 0
jmp 0xc6be1b
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x14]
jae 0xc6be42
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + eax*2]
push edx
call fcn.00c6cba0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov word [edx + ecx*2], ax
jmp 0xc6be12
push str.firefox.exe
mov eax, dword [ebp - 4]
push eax
call fcn.00c6cb80
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00c19081
add esp, 4
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0xc70ff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], ecx
xor eax, eax
je 0xc71064
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
push str.Deleting_file
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00c44580
lea ecx, [ebp - 0x20]
call fcn.00b90ca0
jmp 0xc71009
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x34]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc71086
xor al, al
jmp 0xc710db
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x119], al
lea ecx, [ebp - 0x118]
call fcn.00ad4e90
lea ecx, [ebp - 0xfc]
call fcn.00b90ca0
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 4

Function at 0xc710f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x158], ecx
xor eax, eax
je 0xc71164
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
push str.Deleting_folder
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00c44580
lea ecx, [ebp - 0x20]
call fcn.00b90ca0
jmp 0xc71109
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
mov ecx, eax
call fcn.00aea780
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
lea ecx, [ebp - 0x150]
call fcn.00b64dd0
lea ecx, [ebp - 0x118]
call fcn.00b90ca0
lea ecx, [ebp - 0xfc]
call fcn.00b90ca0
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x151], al
lea ecx, [ebp - 0x134]
call fcn.00ad4e90
lea ecx, [ebp - 0x150]
call fcn.00b90ca0
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 4
Function at 0xc71210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x238]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0xc71246
xor al, al
jmp 0xc71357
call fcn.00c72470
movzx ecx, al
test ecx, ecx
jne 0xc71276
push 0x105
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0xc71276
xor al, al
jmp 0xc71357
lea ecx, [ebp - 0x238]
push ecx
call fcn.00c72450
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jbe 0xc712c7
mov edx, dword [ebp - 0x24]
movzx eax, word [ebp + edx*2 - 0x23a]
cmp eax, 0x5c
je 0xc712c7
push 0xffffffffffffffff
push 0xc9e90c
mov ecx, 0x105
sub ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x24]
lea eax, [ebp + edx*2 - 0x238]
push eax
call fcn.00c72500
add esp, 0x10
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x104
jb 0xc712d7
xor al, al
jmp 0xc71357
mov ecx, dword [ebp + 8]
call fcn.00c68b20
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00c6a380
add esp, 8
push eax
mov ecx, dword [ebp + 8]
call fcn.00c68f80
lea ecx, [ebp - 0x20]
call fcn.00b90ca0
cmp dword [ebp + 0x10], 0
je 0xc71315
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00c68fe0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0xc71347
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc71347
mov dword [ebp - 0x240], 0
jmp 0xc71351
mov dword [ebp - 0x240], 1
mov al, byte [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 0xc

Function at 0xc71370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x268], ecx
lea eax, [ebp - 0x260]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00c68bb0
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x261], al
lea ecx, [ebp - 0x58]
call fcn.00ad4e90
lea ecx, [ebp - 0x3c]
call fcn.00b90ca0
lea ecx, [ebp - 0x20]
call fcn.00ad4e90
movzx edx, byte [ebp - 0x261]
test edx, edx
je 0xc71418
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00c6a380
add esp, 8
mov eax, dword [ebp + 8]
jmp 0xc71428
push 0xc9e4e2
mov ecx, dword [ebp + 8]
call fcn.00ad6550
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 0xc
Function at 0xc71440
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x178], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x178]
mov eax, dword [edx + 0x34]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc7147e
xor al, al
jmp 0xc7159e
xor edx, edx
je 0xc7150c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00c68bb0
push eax
push 0xc9ebac
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
push 0xc9e9ac
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0x100]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.00c44580
lea ecx, [ebp - 0x3c]
call fcn.00b90ca0
lea ecx, [ebp - 0x20]
call fcn.00b90ca0
jmp 0xc7147e
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00c68bb0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
lea edx, [ebp - 0x170]
push edx
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x171], al
lea ecx, [ebp - 0x170]
call fcn.00ad4e90
lea ecx, [ebp - 0x154]
call fcn.00b90ca0
lea ecx, [ebp - 0x138]
call fcn.00ad4e90
lea ecx, [ebp - 0x11c]
call fcn.00b90ca0
mov al, byte [ebp - 0x171]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 8
Function at 0xc715b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc715ee
xor al, al
jmp 0xc717b1
xor edx, edx
je 0xc7167c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00c68bb0
push eax
push str._to
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
push str.Moving
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0x100]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
push eax
call fcn.00ad16a0
add esp, 8
push eax
call fcn.00ad9f20
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.00c44580
lea ecx, [ebp - 0x3c]
call fcn.00b90ca0
lea ecx, [ebp - 0x20]
call fcn.00b90ca0
jmp 0xc715ee
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00c68bb0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00c68bb0
push eax
lea edx, [ebp - 0x170]
push edx
call fcn.00c3d370
add esp, 8
mov ecx, eax
call fcn.00ad4c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x231], al
lea ecx, [ebp - 0x170]
call fcn.00ad4e90
lea ecx, [ebp - 0x154]
call fcn.00b90ca0
lea ecx, [ebp - 0x138]
call fcn.00ad4e90
lea ecx, [ebp - 0x11c]
call fcn.00b90ca0
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0xc717af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x11
je 0xc7176f
xor ecx, ecx
je 0xc7176b
push str.Failed_to_move_file
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 4
push 0x10e
push 0xc9ebc0
lea ecx, [ebp - 0x230]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.00c44580
jmp 0xc71723
xor al, al
jmp 0xc717b1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.00c69710
movzx ecx, al
test ecx, ecx
jne 0xc7178d
xor al, al
jmp 0xc717b1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x1c]
call eax
movzx ecx, al
test ecx, ecx
jne 0xc717af
xor al, al
jmp 0xc717b1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 8