joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ab64
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 0x42bd6b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x556e10
call fcn.004d8d80
push ecx
mov eax, dword [0x62b3ec]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x62b3ec]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x24], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x28], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x2c], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x30], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x34], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x56ce6c
mov dword [esi + 0xc], eax
call fcn.00424120
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x42d445
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5570df
call fcn.004d8d80
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 0x42d497
push dword [ebp + 8]
call fcn.0042d320
pop ecx
mov eax, dword [ebp + 8]
jmp 0x42d4f9
push esi
push 0x633610
lea ecx, [ebp - 0x10]
call fcn.0053dac3
push 1
pop esi
mov dword [ebp - 4], esi
call fcn.0054e0a1
mov eax, dword [eax + 4]
push dword [eax + 0x78]
lea eax, [ebp - 0x814]
push 0x5a1d2c
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
call fcn.00536b61
push dword [ebp - 0x10]
call fcn.00422cc8
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.0053d7bc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.0053da4f
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 0x42d507
Capabilities:
Get common file path

Disassembly:
mov eax, 0x55710b
call fcn.004d8d80
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 0x42d559
push dword [ebp + 8]
call fcn.0042d320
pop ecx
mov eax, dword [ebp + 8]
jmp 0x42d5b0
push esi
push 0x633610
lea ecx, [ebp - 0x10]
call fcn.0053dac3
push 1
lea eax, [ebp - 0x814]
pop esi
push 0x5a1d2c
push eax
lea eax, [ebp - 0x10]
push str._s_sCommon
push eax
mov dword [ebp - 4], esi
call fcn.00536b61
push dword [ebp - 0x10]
call fcn.00422cc8
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call fcn.0053d7bc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.0053da4f
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 0x42d5be
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x557147
call fcn.004d8d80
sub esp, 0x10
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0042d320
push 1
lea eax, [ebp - 0x14]
pop ebx
mov dword [ebp - 4], ebx
mov dword [esp], str.Components
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0053dcf4
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d62f
lea eax, [ebp - 0x14]
push str.Modules
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0053dcf4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0053db96
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0053da4f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0053d7bc
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0053da4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0053da4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42d665
Capabilities:
Get common file path

Disassembly:
mov eax, 0x55717b
call fcn.004d8d80
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 [0x62b3ec]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042283a
mov eax, dword [0x62b3ec]
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.00536b61
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.0053d7bc
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0053da4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0053da4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42f515
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004d9520
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004d8eb0
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.0042f5d9
test eax, eax
jne 0x42f583
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 0x42f588
or eax, 0xffffffff
jmp 0x42f5b1
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 0x42f5a6
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 0x42f931
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004d9520
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x633610
call fcn.0053dbe6
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004d8eb0
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 0x42f994
or eax, 0xffffffff
jmp 0x42f9ee
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 0x42f9cb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42f98f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42f98f
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0042f9f4
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x430fa3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5575a4
call fcn.004d8d80
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.0053dac3
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.0053de40
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004d8eb0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.005373a8
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004da548
pop ecx
test eax, eax
pop ecx
jne 0x431047
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.004291af
test eax, eax
je 0x431047
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.0053da4f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

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

Disassembly:
mov eax, 0x557aac
call fcn.004d8d80
push ecx
mov eax, dword [0x62b3ec]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov eax, dword [0x62b3ec]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x10], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x14], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x20], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x34], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x38], eax
lea edi, [esi + 0x58]
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.00538b1a
mov dword [edi], method.CPtrArray.virtual_0
mov edi, 0x633610
lea ecx, [esi + 8]
push edi
mov byte [ebp - 4], 7
mov dword [esi], 0x56d808
call fcn.0053dbe6
push edi
lea ecx, [esi + 0xc]
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x10]
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x14]
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.0053dbe6
mov dword [esi + 0x28], ebx
push 0x5ab650
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x38]
call fcn.0053dbe6
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 0x439987
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 0x439b06
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 0x439a4c
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 [0x633cc4]
test ebx, ebx
jne 0x439a28
mov esi, 0x56cbb4
jmp 0x439a32
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 0x439a17
xor esi, esi
dec dword [ebp - 0xc]
jne 0x4399c0
test esi, esi
je 0x439b06
cmp esi, 3
jge 0x439a87
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 0x439aee
mov edx, dword [0x633cc4]
test edx, edx
jne 0x439ad0
mov eax, 0x56cbb4
jmp 0x439ada
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 0x439abf
cmp esi, 3
jge 0x439b06
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 0x439af8
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43ad2d
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x43ad40
cmp eax, 0xffffffff
jne 0x43ad45
or eax, 0xffffffff
jmp 0x43ad5e
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc
Function at 0x43be2f
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x43be58
mov eax, dword [esi + 0x40]
mov eax, dword [eax + edi*4]
test byte [eax + 0x8a], 2
je 0x43be52
push dword [eax + 0xc]
call fcn.00421ec2
pop ecx
inc edi
cmp edi, dword [esi + 0x44]
jl 0x43be3a
mov eax, dword [esi + 0x34]
cmp dword [eax - 8], 0
je 0x43be8b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43be8b
push dword [esi + 0x34]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43be8b
push 0
push 0x414
push dword [esi + 0x34]
call fcn.00421d93
add esp, 0xc
pop edi
pop esi
ret

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

Disassembly:
mov eax, 0x55800e
call fcn.004d8d80
push ecx
mov eax, dword [0x62b3ec]
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 [0x62b3ec]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
call fcn.0043c632
mov edi, 0x633610
mov ecx, ebx
push edi
mov dword [esi], 0x56d9d8
call fcn.0053dbe6
push edi
lea ecx, [esi + 0xc]
call fcn.0053dbe6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43d909
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 0x43d96f
test byte [esi + 0x41], 1
je 0x43d929
push 1
pop eax
jmp 0x43da0b
push dword [esp + 0x10]
lea edi, [esi + 0x4a8]
mov ecx, edi
push dword [esp + 0x10]
call fcn.004545d7
test eax, eax
je 0x43d977
mov ecx, esi
call fcn.0043da10
test eax, eax
je 0x43d96f
mov eax, dword [esi + 0x474]
lea edi, [esi + 0x480]
push eax
call fcn.00422c11
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 + 0x78]
or eax, 0xffffffff
jmp 0x43da0b
and dword [esi + 0x478], 0
cmp dword [esi + 0x524], 0
jle 0x43d993
mov dword [esi + 0x478], 1
jmp 0x43d9a8
mov ecx, edi
call fcn.0043d8e3
test eax, eax
je 0x43d9a8
mov dword [esi + 0x478], 2
mov eax, dword [esi + 0x478]
push ebx
push dword [esi + 0x4c4]
mov dword [esi + 0x744], eax
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x4c0]
call dword [eax + 0x78]
mov ebx, dword [esi]
mov ecx, edi
call fcn.004545c9
push edx
push eax
mov ecx, esi
call dword [ebx + 0x80]
mov ecx, edi
call fcn.0045456c
test eax, eax
pop ebx
je 0x43da03
mov edx, dword [eax + 0x34]
lea ecx, [esi + 0x494]
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 + 0x7c]
or word [esi + 0x40], 0x140
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x43dddb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x558233
call fcn.004d8d80
sub esp, 0x78
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test ah, 2
jne 0x43def2
test al, 1
jne 0x43def2
mov eax, dword [esi + 0x56c]
push ebx
push edi
lea edi, [esi + 0x56c]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x43de28
lea eax, [ebp - 0x10]
push eax
call fcn.0044a7bf
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0053db96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053da4f
push dword [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push ebx
call fcn.0045784c
mov eax, dword [0x633688]
push 0x63368c
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x70], eax
call fcn.0053db96
mov eax, dword [0x633690]
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x1c4]
cmp dword [ecx - 8], ebx
jne 0x43de80
lea eax, [ebp - 0x3c]
push eax
call fcn.0045a29d
pop ecx
jmp 0x43de89
push eax
lea ecx, [ebp - 0x3c]
call fcn.0053db96
lea eax, [esi + 0x1d0]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0053db96
mov eax, dword [edi]
mov ecx, dword [esi + 0x184]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.0045798f
test eax, eax
je 0x43deb6
or esi, 0xffffffff
jmp 0x43dedd
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43deb1
mov edi, dword [edi]
lea eax, [esi + 0x570]
push eax
push edi
mov ecx, esi
call fcn.0043dbd0
test eax, eax
jne 0x43deb1
or dword [esi + 0x40], 1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00457888
pop edi
mov eax, esi
pop ebx
jmp 0x43def5
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
mov eax, 0x558248
call fcn.004d8d80
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test al, 2
je 0x43df21
push 1
pop eax
jmp 0x43dfcd
test al, 1
je 0x43df35
push dword [esi + 0x56c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43df3d
or eax, 0xffffffff
jmp 0x43dfcd
push ebx
push edi
push dword [esi + 0x474]
lea eax, [ebp - 0x10]
push eax
call fcn.00422b96
pop ecx
pop ecx
mov ecx, dword [esi + 0xf8]
lea eax, [esi + 0xf8]
xor ebx, ebx
push str..jpg
cmp dword [ecx - 8], ebx
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
lea edi, [esi + 0x568]
je 0x43df8b
push ecx
push dword [esi + 0xf4]
push str._s_s_s_s
push edi
call fcn.00536b61
add esp, 0x18
jmp 0x43df9f
push dword [esi + 0xf4]
push 0x5a232c
push edi
call fcn.00536b61
add esp, 0x14
mov edi, dword [edi]
mov eax, dword [esi + 0x56c]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43dfb9
or ebx, 0xffffffff
jmp 0x43dfbd
or dword [esi + 0x40], 2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053da4f
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43e9c4
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5582d1
call fcn.004d8d80
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7a4], ebx
je 0x43e9d9
or eax, 0xffffffff
jmp 0x43ea90
push dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
call fcn.0053dac3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x43e9fe
lea eax, [esi + 0x474]
lea ecx, [ebp + 0x10]
push eax
call fcn.0053db96
push 0x88
call fcn.0053d788
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x43ea27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0044ddc7
jmp 0x43ea29
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], bl
mov dword [esi + 0x7a4], eax
jne 0x43ea3b
or ebx, 0xffffffff
jmp 0x43ea82
push ebx
push ebx
push 4
mov ecx, eax
call fcn.0053eb7c
test eax, eax
jne 0x43ea63
mov ecx, dword [esi + 0x7a4]
cmp ecx, ebx
je 0x43ea5b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x7a4], ebx
jmp 0x43ea36
mov eax, dword [esi + 0x7a4]
push ebx
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [esi + 0x7a4]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0053da4f
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x43eafd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5582e7
call fcn.004d8d80
sub esp, 0xc0
push esi
mov esi, ecx
test byte [esi + 0x40], 0x40
je 0x43eb1e
push 1
pop eax
jmp 0x43ebdf
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43eb33
or eax, 0xffffffff
jmp 0x43ebdf
push edi
lea ecx, [ebp - 0xcc]
call fcn.00401b17
push dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.004545d7
test eax, eax
je 0x43eb5e
or edi, 0xffffffff
jmp 0x43ebcd
cmp dword [ebp - 0x50], edi
mov dword [esi + 0x744], edi
jle 0x43eb75
mov dword [esi + 0x744], 1
jmp 0x43eb86
jne 0x43eb86
cmp dword [ebp - 0x3c], edi
jle 0x43eb86
mov dword [esi + 0x744], 2
push ebx
mov ebx, dword [esi]
lea ecx, [ebp - 0xcc]
call fcn.004545c9
push edx
push eax
mov ecx, esi
call dword [ebx + 0x80]
lea ecx, [ebp - 0xcc]
call fcn.0045456c
cmp eax, edi
pop ebx
je 0x43ebc9
mov edx, dword [eax + 0x34]
lea ecx, [esi + 0x494]
mov dword [ecx], edx
push dword [eax + 0x34]
mov edx, dword [esi]
push dword [eax + 0x30]
push dword [ecx]
mov ecx, esi
push edi
call dword [edx + 0x7c]
or dword [esi + 0x40], 0x40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00401da9
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x442f24
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x5587fb
call fcn.004d8d80
push ecx
mov eax, dword [0x62b3ec]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [0x62b3ec]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x38], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x3c], eax
mov eax, dword [0x62b3ec]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov edi, 0x633610
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, 0xbb8
push edi
mov byte [ebp - 4], 4
mov dword [esi], 0x56dfc8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0x50
mov dword [esi + 0x30], 0x14
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x38]
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x3c]
call fcn.0053dbe6
push edi
lea ecx, [esi + 0x40]
call fcn.0053dbe6
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 0xc