joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a30
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b0ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [0x423694]
mov dword [esp + 0x20], 1
mov dword [esp + 8], eax
lea ecx, [esp + 4]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00401ed0
push 0
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x2c], 3
call fcn.00411cb3
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 4
call fcn.00411cb3
mov ecx, esi
mov byte [esp + 0x2c], 3
call fcn.00401770
test eax, eax
je 0x401aef
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00411cb3
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00401d30
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call fcn.0041202b
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.00411f3e
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00411cb3
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00411f3e
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.00411f3e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
Function at 0x401b50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x41b140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
mov al, byte [0x426d30]
push ebx
push esi
mov esi, ecx
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1d]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x423694]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x830]
mov ebx, 1
cmp eax, 6
mov dword [esp + 0x824], ebx
ja case.0x401bb7.5
jmp dword [eax*4 + 0x401d10]
push 0
lea edx, [esp + 0x20]
push 0x26
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
push 0
lea eax, [esp + 0x20]
push 6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.0x401bb7.5
lea edx, [esp + 0x1c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp case.0x401bb7.5
lea eax, [esp + 0x1c]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.0041207b
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jae 0x401c6a
mov esi, dword [esp + 0x82c]
push 0x426d30
mov ecx, esi
call fcn.00411fac
mov dword [esp + 0x10], ebx
jmp 0x401ce0
mov byte [esp + 0x1f], 0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.0041207b
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4230d0
call fcn.00411fac
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x834], 2
call fcn.00411cb3
mov ecx, esi
mov byte [esp + 0x830], bl
call fcn.004031d0
test eax, eax
jne 0x401cc9
push 0x4230d0
lea ecx, [esp + 0x10]
call fcn.004122ce
mov esi, dword [esp + 0x82c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00411cb3
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x824], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x81c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x81c
ret 8
Function at 0x401ed0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
mov al, byte [0x426d30]
mov edx, ecx
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
mov ecx, edx
stosb byte es:[edi], al
call fcn.00401b50
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push 0
push 0x426d30
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 4]
call fcn.00411f3e
mov eax, dword [esp + 0x114]
pop edi
test eax, eax
jne 0x401f3d
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, dword [esp + 0x110]
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00411fac
mov eax, esi
pop esi
add esp, 0x108
ret 8

Function at 0x401f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41b1e2
push eax
mov eax, 0x4e30
mov dword fs:[0], esp
call fcn.00406130
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x4e54]
mov dword [esp + 8], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov edx, dword [eax - 8]
mov dword [esp + 0x4e40], 3
cmp edx, esi
jne 0x401fc3
add ecx, 4
push ecx
lea ecx, [esp + 0x4e58]
call fcn.0041202b
mov eax, dword [esp + 0x4e54]
cmp dword [eax - 8], esi
jne 0x401fe9
mov esi, dword [esp + 0x4e48]
push 0x426d30
mov ecx, esi
call fcn.00411fac
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x4020c3
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push esi
push 0x20019
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x4e78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402024
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x426d30
jmp 0x4020ac
mov ecx, dword [esp + 0x4e4c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push esi
push esi
push ecx
push edx
mov dword [esp + 0x28], 0x4e20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402072
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4e48]
lea ecx, [esp + 0x4e50]
push ecx
mov ecx, esi
call fcn.00411cb3
jmp 0x4020ba
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x4020a7
mov esi, dword [esp + 0x4e48]
lea eax, [esp + 0x4e50]
push eax
mov ecx, esi
call fcn.00411cb3
jmp 0x4020ba
lea ecx, [esp + 0x18]
push ecx
mov esi, dword [esp + 0x4e4c]
mov ecx, esi
call fcn.00411fac
mov ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x4e4c]
mov byte [esp + 0x4e40], 2
call fcn.00411f3e
lea ecx, [esp + 0x4e50]
mov byte [esp + 0x4e40], bl
call fcn.00411f3e
lea ecx, [esp + 0x4e54]
mov byte [esp + 0x4e40], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x4e38]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e3c
ret 0x14
Function at 0x402240
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41b228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 2
mov edx, dword [eax - 8]
test edx, edx
jne 0x40227c
add ecx, 4
push ecx
lea ecx, [esp + 0x24]
call fcn.0041202b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4022d7
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4022cc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 8]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402317
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411f3e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411f3e
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411f3e
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411f3e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411f3e
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411f3e
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x402860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b347
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0xffffffffffffffff
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x426d30
mov dword [esp + 0x30], ebx
call fcn.00411fac
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4230d0
call fcn.00411fac
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 3
call fcn.00411cb3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
push ecx
mov ecx, esi
call fcn.004030a0
lea ecx, [esp + 0xc]
call fcn.00411f3e
push 0x5c
lea ecx, [esp + 0x34]
call fcn.004110b9
cmp eax, 0xffffffff
jne 0x40290b
mov esi, dword [esp + 0x2c]
push 0x426d30
mov ecx, esi
call fcn.00411fac
mov dword [esp + 8], ebx
jmp 0x402940
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00411041
mov esi, dword [esp + 0x2c]
push 0x4230d0
push eax
push esi
mov byte [esp + 0x30], 4
call fcn.00412187
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x24], bl
call fcn.00411f3e
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x402b50
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], 1
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4230d0
call fcn.00411fac
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x6c], 2
call fcn.00411cb3
mov ecx, esi
mov byte [esp + 0x68], 1
call fcn.004031d0
test eax, eax
jne 0x402c06
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00411cb3
mov ecx, esi
call fcn.00402970
cmp eax, dword [esp + 0x6c]
ja 0x402c06
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0
call fcn.00411f3e
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00411f3e
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x58
ret 0xc
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.00411cb3
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00402860
push 1
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov byte [esp + 0x68], 3
call fcn.00411cb3
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00402720
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 5
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x28], str.Open
mov dword [esp + 0x34], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [esp + 0x50]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 8]
call fcn.00411f3e
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], 1
call fcn.00411f3e
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0
call fcn.00411f3e
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00411f3e
mov ecx, dword [esp + 0x54]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x58
ret 0xc
Function at 0x402df0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b41f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x18]
push edi
xor eax, eax
push ecx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edx, dword [esp + 0x1c]
push edx
call fcn.00411c7f
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov eax, dword [0x423694]
mov dword [esp + 0x18], eax
mov ebx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
lea ecx, [esi + 8]
lea edx, [esp + 0x14]
push ecx
push 0x423124
push edx
mov byte [esp + 0x38], 3
call fcn.00411461
add esp, 0xc
lea eax, [esi + 0x10c]
lea ecx, [esp + 0x10]
push eax
push 0x423124
push ecx
call fcn.00411461
xor edx, edx
add esp, 0xc
mov dl, byte [esi + 0x199]
xor eax, eax
mov al, byte [esi + 0x198]
xor ecx, ecx
mov cl, byte [esi + 0x197]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x196]
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x195]
mov cl, byte [esi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push edx
call fcn.00411461
mov eax, dword [esp + 0x58]
mov edi, dword [esi]
add esp, 0x20
test eax, eax
je 0x402f5c
test edi, edi
je 0x402f5c
lea eax, [edi + 8]
lea ecx, [esp + 0x14]
push eax
push 0x423124
push ecx
call fcn.00411461
add esp, 0xc
lea edx, [edi + 0x10c]
lea eax, [esp + 0x10]
push edx
push 0x423124
push eax
call fcn.00411461
xor ecx, ecx
add esp, 0xc
mov cl, byte [edi + 0x199]
xor edx, edx
mov dl, byte [edi + 0x198]
xor eax, eax
mov al, byte [edi + 0x197]
push ecx
push edx
xor ecx, ecx
mov cl, byte [edi + 0x196]
push eax
xor edx, edx
xor eax, eax
mov dl, byte [edi + 0x195]
mov al, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.00411461
mov edi, dword [edi]
add esp, 0x20
jmp 0x402edd
push esi
call fcn.00411ca8
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebx
jne 0x402f90
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00411cb3
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
mov dword [esp + 0x20], ebx
jmp 0x402fc8
cmp eax, 2
jne 0x402fb4
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00411cb3
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
jmp 0x402fc4
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00411cb3
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00411f3e
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00411f3e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4039d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], 0
mov edi, 1
mov dword [esp + 0x168], edi
mov eax, dword [0x423694]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x174]
push 0x4230d0
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x174], 3
call fcn.00412187
lea ecx, [esp + 0x178]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x174], 4
call fcn.00412121
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00411f3e
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411f3e
cmp esi, 0xffffffff
jne 0x403a93
mov esi, dword [esp + 0x170]
push 0x426d30
mov ecx, esi
call fcn.00411fac
mov dword [esp + 0x1c], edi
jmp 0x403bf0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x17c]
test eax, eax
jne 0x403abf
mov edx, dword [esp + 0x20]
and edx, 0x10
cmp dl, 0x10
jne 0x403b25
lea eax, [esp + 0x20]
push eax
push esi
call ebp
mov edi, eax
jmp 0x403b73
mov ecx, dword [esp + 0x20]
and ecx, 0x10
cmp cl, 0x10
je 0x403ada
lea edx, [esp + 0x20]
push edx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.00411fac
mov ecx, dword [esp + 0x10]
push 0x423144
push ecx
call fcn.0040623a
add esp, 8
test eax, eax
je 0x403b58
mov edx, dword [esp + 0x10]
push 0x423140
push edx
call fcn.0040623a
add esp, 8
test eax, eax
je 0x403b58
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 3
call fcn.00411f3e
mov eax, dword [esp + 0x180]
push 1
push eax
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00411fac
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004038d0
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea edx, [esp + 0x20]
push edx
push esi
call ebp
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x168], 3
call fcn.00411f3e
test edi, edi
jne 0x403a99
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x184]
test eax, eax
je 0x403bd5
mov eax, dword [esp + 0x180]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00411cb3
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00403520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 6
call fcn.0041202b
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411f3e
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00411cb3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.00411f3e
lea ecx, [esp + 0x174]
mov byte [esp + 0x168], 1
call fcn.00411f3e
lea ecx, [esp + 0x178]
mov byte [esp + 0x168], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x160]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 0x18
Function at 0x403d10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x20], esi
cmp dword [eax - 8], esi
je 0x403de7
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00411cb3
mov ecx, ebp
call fcn.00401e50
cmp eax, esi
je 0x403de7
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, esi
mov dword [esp + 0x14], esi
jle 0x403da2
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x28]
push eax
call ebp
test eax, eax
jne 0x403d96
push 0x1f4
call ebx
inc esi
cmp esi, edi
jl 0x403d7d
jmp 0x403d9e
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
xor esi, esi
test edi, edi
jle 0x403dd0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00411cb3
mov ecx, ebp
call fcn.00401e50
test eax, eax
je 0x403dd0
push 0x1f4
call ebx
inc esi
cmp esi, edi
jl 0x403da8
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00411f3e
mov eax, dword [esp + 0x14]
jmp 0x403dfa
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00411f3e
xor eax, eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x403e10
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x41b6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x20], 1
cmp dword [eax - 8], esi
je 0x403f2c
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 8], esi
je 0x403f2c
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00411cb3
mov ecx, ebp
call fcn.00401e50
cmp eax, esi
je 0x403f2c
mov edi, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, esi
mov dword [esp + 0x14], esi
jle 0x403eb7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x403eaf
push 0x1f4
call ebx
inc esi
cmp esi, edi
jl 0x403e88
jmp 0x403eb7
mov dword [esp + 0x14], 1
xor esi, esi
test edi, edi
jle 0x403f07
jmp 0x403ec3
mov ebp, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00411cb3
mov ecx, ebp
call fcn.00402970
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov ebp, eax
call fcn.00411cb3
mov ecx, dword [esp + 0x14]
call fcn.00402970
cmp ebp, eax
je 0x403f07
push 0x1f4
call ebx
inc esi
cmp esi, edi
jl 0x403ebf
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call fcn.00411f3e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00411f3e
mov eax, dword [esp + 0x14]
jmp 0x403f4d
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call fcn.00411f3e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00411f3e
xor eax, eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x10
Function at 0x4043a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b7a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esp + 0xc]
push 0
mov ecx, dword [esi + 0xc0]
push eax
mov dword [esp + 0x28], 0
call fcn.00401b50
mov ebx, 1
push 0
push 0x5c
push ebx
push ecx
mov dword [esp + 0x40], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4234dc
call fcn.00411fac
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x48], 2
call fcn.00411cb3
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x48], bl
call fcn.004039d0
push 0x4230d0
push 0
push 0x5c
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 3
call fcn.00411cb3
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x2c]
push eax
call fcn.00402d00
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x40], 4
call fcn.00412121
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 5
call fcn.00412187
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call fcn.0041202b
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00411f3e
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00411f3e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00411f3e
push ebx
push 0
push 0
push ebx
mov ecx, dword [esi + 0xc0]
push 0
call fcn.004038a0
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00403770
mov edi, eax
mov ecx, dword [esi + 0xc0]
push 0
push ebx
push 0
push 7
push 5
mov byte [esp + 0x44], 7
call fcn.004038a0
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00403770
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 8
call fcn.00412121
push edi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3c], 9
call fcn.00412121
mov esi, dword [esp + 0x38]
push str..exe
push eax
push esi
mov byte [esp + 0x3c], 0xa
call fcn.00412187
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 9
call fcn.00411f3e
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call fcn.00411f3e
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 7
call fcn.00411f3e
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call fcn.00411f3e
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00411f3e
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00411f3e
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4