joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429ffa
Capabilities:
Hash data with md5

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

Function at 0x42ba48
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4044
call fcn.004c8550
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, 0x6534f4
xor edi, edi
push esi
mov dword [ebx], edi
call fcn.0052cb16
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0052cb16
mov eax, dword [ebp + 0x18]
push 0x3c
pop esi
mov dword [eax], edi
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.004c7d20
mov eax, 0x1000
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x4044]
lea ecx, [ebp - 0x2040]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push edi
mov dword [ebp - 0x3c], esi
push dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esi, eax
cmp esi, edi
je 0x42bacf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x18]
mov dword [ebx], eax
movzx eax, word [ebp - 0x24]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2040]
push eax
call fcn.0052cb16
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x4044]
push eax
call fcn.0052cb16
xor eax, eax
cmp esi, edi
setne al
pop edi
pop esi
dec eax
pop ebx
leave
ret

Function at 0x42bbd0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x545368
call fcn.004c7c10
push ecx
mov eax, dword [0x64b0c8]
push esi
mov dword [ebp - 0x10], eax
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], esi
jne 0x42bc07
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.mailto:_s_subject_s
push eax
call fcn.005257c9
add esp, 0x10
jmp 0x42bc21
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.mailto:_s_subject_sbody_s
push eax
call fcn.005257c9
add esp, 0x14
push 1
push esi
push esi
push dword [ebp - 0x10]
push 0x593324
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42cc4e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x54559b
call fcn.004c7c10
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x42cca0
push dword [ebp + 8]
call fcn.0042cae9
pop ecx
mov eax, dword [ebp + 8]
jmp 0x42cd02
push esi
push 0x6534f4
lea ecx, [ebp - 0x10]
call fcn.0052c9f3
push 1
pop esi
mov dword [ebp - 4], esi
call fcn.0053de11
mov eax, dword [eax + 4]
push dword [eax + 0x78]
lea eax, [ebp - 0x814]
push 0x589540
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
call fcn.005257c9
push dword [ebp - 0x10]
call fcn.00422bcd
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.0052c6ec
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.0052c97f
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42cd4a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5455c7
call fcn.004c7c10
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x42cd9c
push dword [ebp + 8]
call fcn.0042cae9
pop ecx
mov eax, dword [ebp + 8]
jmp 0x42cdf3
push esi
push 0x6534f4
lea ecx, [ebp - 0x10]
call fcn.0052c9f3
push 1
lea eax, [ebp - 0x814]
pop esi
push 0x589540
push eax
lea eax, [ebp - 0x10]
push str._s_sCommon
push eax
mov dword [ebp - 4], esi
call fcn.005257c9
push dword [ebp - 0x10]
call fcn.00422bcd
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call fcn.0052c6ec
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.0052c97f
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42ce01
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5455fb
call fcn.004c7c10
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004226f1
mov eax, dword [0x64b0c8]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.005257c9
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.0052c6ec
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0052c97f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42ea59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004c8550
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x6534f4
call fcn.0052cb16
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004c7d20
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42eabc
or eax, 0xffffffff
jmp 0x42eb16
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x42eaf3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42eab7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42eab7
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0042ebbe
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x42eb1c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004c8550
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004c7d20
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0042ecd7
test eax, eax
jne 0x42eb8a
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42eb8f
or eax, 0xffffffff
jmp 0x42ebb8
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42ebad
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x4363c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x43653f
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x436485
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x654104]
test ebx, ebx
jne 0x436461
mov esi, 0x557c88
jmp 0x43646b
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x436450
xor esi, esi
dec dword [ebp - 0xc]
jne 0x4363f9
test esi, esi
je 0x43653f
cmp esi, 3
jge 0x4364c0
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x436527
mov edx, dword [0x654104]
test edx, edx
jne 0x436509
mov eax, 0x557c88
jmp 0x436513
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x4364f8
cmp esi, 3
jge 0x43653f
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x436531
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437184
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x545d34
call fcn.004c7c10
push ecx
mov eax, dword [0x64b0c8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov eax, dword [0x64b0c8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x10], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x14], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x20], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x34], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x38], eax
lea edi, [esi + 0x58]
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.005277ea
mov dword [edi], method.CPtrArray.virtual_0
mov edi, 0x6534f4
lea ecx, [esi + 8]
push edi
mov byte [ebp - 4], 7
mov dword [esi], 0x55a2d0
call fcn.0052cb16
push edi
lea ecx, [esi + 0xc]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x10]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x14]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.0052cb16
mov dword [esi + 0x28], ebx
push 0x5944a4
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0052cb16
push edi
lea ecx, [esi + 0x38]
call fcn.0052cb16
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43a6a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004c8550
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x6534f4
call fcn.0052cb16
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004c7d20
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43a708
or eax, 0xffffffff
jmp 0x43a762
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x43a73f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43a703
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x43a703
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0043a80a
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x43a768
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004c8550
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004c7d20
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0043a923
test eax, eax
jne 0x43a7d6
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43a7db
or eax, 0xffffffff
jmp 0x43a804
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43a7f9
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x43b139
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5463e0
call fcn.004c7c10
push ecx
push ecx
mov eax, dword [0x64b0c8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x38], ebx
mov dword [ebp - 4], ebx
jle 0x43b1a0
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edi*4]
test byte [eax + 0x82], 1
jne 0x43b19a
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0043b045
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0052cac6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0052c97f
push dword [ebp - 0x10]
call fcn.00421d79
pop ecx
inc edi
cmp edi, dword [esi + 0x38]
jl 0x43b15e
mov eax, dword [esi + 0x2c]
cmp dword [eax - 8], ebx
je 0x43b1d2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b1d2
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43b1d2
mov esi, dword [esi + 0x2c]
push ebx
push 0x414
push esi
call fcn.00421c4c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43b7fb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x546482
call fcn.004c7c10
push ecx
mov eax, dword [0x64b0c8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 8]
mov dword [ebx], eax
mov ecx, dword [0x64b0c8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
or eax, 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
call fcn.0043b87a
mov edi, 0x6534f4
mov ecx, ebx
push edi
mov dword [esi], 0x55a420
call fcn.0052cb16
push edi
lea ecx, [esi + 0xc]
call fcn.0052cb16
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43bb73
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x546556
call fcn.004c7c10
push ecx
mov eax, dword [0x64b0c8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x64b0c8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x24], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x28], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x2c], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.005277ea
mov dword [edi], method.CPtrArray.virtual_0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.0043bc2d
mov edi, 0x6534f4
lea ecx, [esi + 0xc]
push edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.0052cb16
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
call fcn.0052cb16
push edi
lea ecx, [esi + 0x24]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x28]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x2c]
call fcn.0052cb16
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x44], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43cb5a
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43cbc0
test byte [esi + 0x19], 1
je 0x43cb7a
push 1
pop eax
jmp 0x43cc4d
push dword [esp + 0x10]
lea edi, [esi + 0x4a0]
mov ecx, edi
push dword [esp + 0x10]
call fcn.00450556
test eax, eax
je 0x43cbc8
mov ecx, esi
call fcn.0043cc52
test eax, eax
je 0x43cbc0
mov eax, dword [esi + 0x46c]
lea edi, [esi + 0x478]
push eax
call fcn.00422b5e
pop ecx
mov dword [edi], eax
mov eax, dword [esi]
push edx
mov dword [edi + 4], edx
push dword [edi]
mov ecx, esi
call dword [eax + 0x74]
or eax, 0xffffffff
jmp 0x43cc4d
and dword [esi + 0x470], 0
cmp dword [esi + 0x518], 0
jle 0x43cbe4
mov dword [esi + 0x470], 1
jmp 0x43cbf9
mov ecx, edi
call fcn.0043cb34
test eax, eax
je 0x43cbf9
mov dword [esi + 0x470], 2
mov eax, dword [esi]
push ebx
push dword [esi + 0x4bc]
mov ecx, esi
push dword [esi + 0x4b8]
call dword [eax + 0x74]
mov ebx, dword [esi]
mov ecx, edi
call fcn.004503f0
push edx
push eax
mov ecx, esi
call dword [ebx + 0x7c]
mov ecx, edi
call fcn.004503fe
test eax, eax
pop ebx
je 0x43cc45
mov edx, dword [eax + 0x34]
lea ecx, [esi + 0x48c]
mov dword [ecx], edx
push dword [eax + 0x34]
mov edx, dword [esi]
push dword [eax + 0x30]
push dword [ecx]
mov ecx, esi
push 0
call dword [edx + 0x78]
or word [esi + 0x18], 0x104
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x43d012
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x54669b
call fcn.004c7c10
sub esp, 0x124
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test ah, 2
jne 0x43d159
test al, 0x10
jne 0x43d159
mov eax, dword [esi + 0x55c]
push edi
lea edi, [esi + 0x55c]
cmp dword [eax - 8], 0
jne 0x43d06e
lea eax, [ebp - 0x10]
push eax
call fcn.004052c5
pop ecx
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0052cac6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0052c97f
lea ecx, [ebp - 0x130]
call fcn.00452d10
mov eax, dword [ebp + 8]
push 0x6535bc
mov dword [ebp - 0x120], eax
mov eax, dword [0x6535b8]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 2
mov dword [ebp - 0xd8], eax
call fcn.0052cac6
mov eax, dword [0x6535c0]
mov ecx, dword [esi + 0x19c]
mov dword [ebp - 0xd0], eax
lea eax, [esi + 0x19c]
cmp dword [ecx - 8], 0
jne 0x43d0db
call fcn.00454d1d
push eax
lea ecx, [ebp - 0x98]
call fcn.0052cb16
jmp 0x43d0e7
push eax
lea ecx, [ebp - 0x98]
call fcn.0052cac6
lea eax, [esi + 0x1a8]
lea ecx, [ebp - 0x78]
push eax
call fcn.0052cac6
lea eax, [esi + 0x15c]
lea ecx, [ebp - 0xc4]
push eax
call fcn.0052cac6
push dword [edi]
lea ecx, [ebp - 0x130]
call fcn.00452f2d
test eax, eax
je 0x43d11e
or esi, 0xffffffff
jmp 0x43d145
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d119
mov edi, dword [edi]
lea eax, [esi + 0x560]
push eax
push edi
mov ecx, esi
call fcn.0043ce12
test eax, eax
jne 0x43d119
or dword [esi + 0x18], 0x10
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00453d52
mov eax, esi
pop edi
jmp 0x43d15c
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x43d16b
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x5466b0
call fcn.004c7c10
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test al, 0x20
je 0x43d188
push 1
pop eax
jmp 0x43d209
test al, 0x10
je 0x43d19c
push dword [esi + 0x55c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d1a1
or eax, 0xffffffff
jmp 0x43d209
push edi
lea eax, [ebp - 0x10]
push dword [esi + 0x46c]
push eax
call fcn.00422a93
pop ecx
pop ecx
push str..jpg
and dword [ebp - 4], 0
push dword [ebp - 0x10]
lea edi, [esi + 0x558]
push dword [esi + 0xe4]
push 0x58a81c
push edi
call fcn.005257c9
mov edi, dword [edi]
mov eax, dword [esi + 0x55c]
add esp, 0x14
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
pop edi
jne 0x43d1f5
or esi, 0xffffffff
jmp 0x43d1fb
or dword [esi + 0x18], 0x20
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0052c97f
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret