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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045edbf
and dword [ebp - 4], 0
cmp dword [0x497228], 0
mov ebx, eax
jne 0x463c8d
push 0x47b0fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x463d3e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47b0f0
push edi
call esi
test eax, eax
je 0x463d3e
push eax
call fcn.0045ed4d
mov dword [esp], 0x47b0e0
push edi
mov dword [0x497228], eax
call esi
push eax
call fcn.0045ed4d
mov dword [esp], 0x47b0cc
push edi
mov dword [0x49722c], eax
call esi
push eax
call fcn.0045ed4d
mov dword [esp], 0x47b0b0
push edi
mov dword [0x497230], eax
call esi
push eax
call fcn.0045ed4d
pop ecx
mov dword [0x497238], eax
test eax, eax
je 0x463c8d
push 0x47b098
push edi
call esi
push eax
call fcn.0045ed4d
pop ecx
mov dword [0x497234], eax
mov eax, dword [0x497234]
cmp eax, ebx
je 0x463ce5
cmp dword [0x497238], ebx
je 0x463ce5
push eax
call fcn.0045edc8
push dword [0x497238]
mov esi, eax
call fcn.0045edc8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x463ce5
test edi, edi
je 0x463ce5
call esi
test eax, eax
je 0x463cdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x463cdc
test byte [ebp - 0xc], 1
jne 0x463ce5
or dword [ebp + 0x10], 0x200000
jmp 0x463d1e
mov eax, dword [0x49722c]
cmp eax, ebx
je 0x463d1e
push eax
call fcn.0045edc8
pop ecx
test eax, eax
je 0x463d1e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x463d1e
mov eax, dword [0x497230]
cmp eax, ebx
je 0x463d1e
push eax
call fcn.0045edc8
pop ecx
test eax, eax
je 0x463d1e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x497228]
call fcn.0045edc8
pop ecx
test eax, eax
je 0x463d3e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x463d40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11e40
Capabilities:
Create device object

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push str.DevicedrvTest
push eax
call esi
lea ecx, [esp + 0x14]
push str.DosDevicesdrvTest
push ecx
call esi
lea edx, [esp + 8]
lea eax, [esp + 0xc]
mov esi, dword [esp + 0x20]
push edx
push 0
push 0
push 0x22
push eax
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11ece
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test edi, edi
jge 0x11eaf
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret 8
lea edi, [esi + 0x38]
mov ecx, 0x1c
mov eax, 0x11ca0
rep stosd dword es:[edi], eax
mov dword [esi + 0x70], 0x11ce0
mov dword [esi + 0x34], 0x11e00
xor eax, eax
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x620804b3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x43e61dd9
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.004018e0
push eax
lea ecx, [ebp - 4]
call fcn.00403ef0
push 1
push 0xf060
lea ecx, [ebp - 4]
call fcn.004023b0
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00401960
cmp dword [ebp - 0xc], 0
je 0x4026cc
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x4026d3
mov dword [ebp - 0x10], 0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040fcd0
add esp, 8
push 0x80
mov ecx, 0x43e214
call fcn.004018b0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00401930
push 0
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
push 0x402aa0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x43e1fc], eax
mov dword [ebp - 8], 1
lea ecx, [ebp - 4]
call fcn.00402380
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.004030b0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c9c0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403370
cmp eax, 1
jne 0x402996
mov ecx, dword [0x43e200]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
push edx
push 0x402aa0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
jmp 0x402a10
lea ecx, [ebp - 0x4c]
call fcn.0040c4c0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403590
cmp eax, 1
jne 0x4029cc
push 0
push 0
push 0x404
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x402a08
mov ecx, dword [0x43e200]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
push edx
push 0x402aa0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
lea ecx, [ebp - 0x4c]
call fcn.0040c4e0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x28]
call fcn.0040c9f0
mov eax, dword [ebp - 0x50]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402b40
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x43370c]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x433710]
mov dword [ebp - 0xc], ecx
mov dx, word [0x433714]
mov word [ebp - 8], dx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402b81
mov al, 1
jmp 0x402c65
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004030d0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403170
lea ecx, [ebp - 0x14]
call fcn.004140e0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00404450
add esp, 8
test eax, eax
je 0x402c08
mov dword [ebp - 0x18], 0
jmp 0x402bc4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x64
jge 0x402c08
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.004140e0
push eax
call fcn.004042d0
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.004140e0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00404450
add esp, 8
test eax, eax
jne 0x402bfa
jmp 0x402c08
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403170
jmp 0x402bbb
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x402c56
lea ecx, [ebp - 0x14]
call fcn.004140e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402c45
mov byte [ebp - 0x19], 1
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x19]
jmp 0x402c65
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x1a]
jmp 0x402c65
mov byte [ebp - 0x1b], 1
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422540
mov esp, ebp
pop ebp
ret
Function at 0x402c80
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00422790
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402e0e
mov dword [ebp - 0x668], 0
push 0x424
push 0
lea eax, [ebp - 0x664]
push eax
call fcn.00422790
add esp, 0xc
mov ecx, dword [ebp - 0x238]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x670], eax
mov dword [ebp - 0x668], 0x428
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x670]
push eax
call sub.KERNEL32.dll_Module32FirstW
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0
je 0x402df6
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x674]
call fcn.004030d0
push str.yy_checker.dll
lea ecx, [ebp - 0x674]
call fcn.00403330
test eax, eax
jne 0x402dcd
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x678]
call fcn.004030d0
lea ecx, [ebp - 0x678]
call fcn.004140e0
push eax
call fcn.00402b40
add esp, 4
movzx eax, al
test eax, eax
jne 0x402dc2
mov byte [ebp - 0x679], 1
lea ecx, [ebp - 0x678]
call fcn.00401860
lea ecx, [ebp - 0x674]
call fcn.00401860
mov al, byte [ebp - 0x679]
jmp 0x402e1a
lea ecx, [ebp - 0x678]
call fcn.00401860
lea ecx, [ebp - 0x668]
push ecx
mov edx, dword [ebp - 0x670]
push edx
call sub.KERNEL32.dll_Module32NextW
mov dword [ebp - 0x66c], eax
lea ecx, [ebp - 0x674]
call fcn.00401860
jmp 0x402d3d
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 8], eax
jmp 0x402cdc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00422540
mov esp, ebp
pop ebp
ret

Function at 0x402e30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x433738
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x43e200], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
jne 0x402e5e
mov al, 1
jmp 0x402e60
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x403bb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push str.http:__www.duowan.com
push 0x433924
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4042d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 0x28], eax
cmp dword [ebp + 8], 0
je 0x4042f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4042fe
mov al, 1
jmp 0x404436
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404434
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
and eax, 0xfffffffe
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
and ecx, 0xfffffffd
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404364
mov al, 1
jmp 0x404436
xor edx, edx
mov word [ebp - 0x238], dx
push 0x20a
push 0
lea eax, [ebp - 0x236]
push eax
call fcn.00422790
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.00422a35
add esp, 0xc
push 0x1e
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00422790
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x18], ecx
mov edx, 0x614
mov word [ebp - 0x10], dx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x404434
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004030d0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x240]
call fcn.00403170
lea ecx, [ebp - 0x240]
call fcn.004140e0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00404450
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x241], al
lea ecx, [ebp - 0x240]
call fcn.00401860
mov al, byte [ebp - 0x241]
jmp 0x404436
mov al, 1
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00422540
mov esp, ebp
pop ebp
ret
Function at 0x404450
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x448], ax
push 0x20a
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.00422790
add esp, 0xc
push 0x102
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x448]
push eax
call fcn.00422a35
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x20a
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00422790
add esp, 0xc
push 0x102
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00422a35
add esp, 0xc
push 0x1e
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.00422790
add esp, 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 4
lea eax, [ebp - 0x448]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x22c], ecx
mov edx, 0x614
mov word [ebp - 0x228], dx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40456b
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x40456b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jne 0x404563
mov dword [ebp - 0x44c], 1
mov eax, dword [ebp - 0x44c]
jmp 0x40456d
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422540
mov esp, ebp
pop ebp
ret

Function at 0x404a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 0xc], 1
jne 0x404b1b
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c9c0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403370
cmp eax, 1
jne 0x404af2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
push 0x4051a0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x74], eax
jmp 0x404b07
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
call fcn.0040c9f0
mov eax, dword [ebp - 0x2c]
jmp 0x404b3f
push 0
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
push 0x4053b0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x6c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404b50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 8]
call fcn.00401bf0
mov ecx, 0x43e210
call fcn.004140e0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041ef60
add esp, 8
mov ecx, eax
call fcn.00407350
push eax
lea ecx, [ebp - 8]
call fcn.00401360
lea ecx, [ebp - 0x30]
call fcn.00407330
push str.temp
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00406ae0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404dd0
push str.updatefiles
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00406ae0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404dd0
push str.oem.txt
push 0x43e210
lea ecx, [ebp - 0x10]
push ecx
call fcn.00406ae0
push str.ProductInfo.txt
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.00406ae0
lea ecx, [ebp - 0x10]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.00401860
lea ecx, [ebp - 0x10]
call fcn.00401860
lea ecx, [ebp - 0x14]
call fcn.00401860
lea ecx, [ebp - 4]
call fcn.00401860
lea ecx, [ebp - 8]
call fcn.00401860
mov esp, ebp
pop ebp
ret

Function at 0x404c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00404b50
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x405560
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404d20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00406b60
push 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401900
mov ecx, eax
call fcn.004140e0
push eax
lea ecx, [ebp - 8]
call fcn.00402360
push 1
lea ecx, [ebp - 8]
call fcn.00406b40
lea ecx, [ebp - 4]
call fcn.00401bf0
lea edx, [ebp - 4]
push edx
call fcn.00404cd0
add esp, 4
push 0x433cac
lea ecx, [ebp - 4]
call fcn.00403170
push 0x433cb0
lea ecx, [ebp - 4]
call fcn.00403170
lea ecx, [ebp - 4]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00401860
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404dd0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00401310
push str..
lea ecx, [ebp - 4]
call fcn.00403170
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 4]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x404f74
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x264]
call fcn.004030d0
push 0x433ccc
lea ecx, [ebp - 0x264]
call fcn.00403330
test eax, eax
je 0x404e65
push 0x433cd0
lea ecx, [ebp - 0x264]
call fcn.00403330
test eax, eax
jne 0x404e77
lea ecx, [ebp - 0x264]
call fcn.00401860
jmp 0x404f4b
mov eax, dword [ebp - 0x258]
and eax, 0x10
je 0x404eef
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401310
push 0x433cd8
lea ecx, [ebp - 0x268]
call fcn.00403170
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x268]
call fcn.00406a90
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.00404dd0
lea ecx, [ebp - 0x268]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x268]
call fcn.00401860
lea ecx, [ebp - 0x264]
call fcn.00401860
jmp 0x404f4b
lea ecx, [ebp - 0x264]
push ecx
push 0x433cdc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.00406ae0
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00406bc0
lea ecx, [ebp - 0x26c]
call fcn.00401860
lea ecx, [ebp - 0x260]
call fcn.004140e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x260]
call fcn.00401860
lea ecx, [ebp - 0x264]
call fcn.00401860
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404e2b
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 4]
call fcn.00401860
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422540
mov esp, ebp
pop ebp
ret 4
Function at 0x404f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00406b60
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402130
mov dword [ebp - 0x18], 0x122
push 1
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00406c20
push 0x41e
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00401900
mov ecx, eax
call fcn.004140e0
push eax
lea ecx, [ebp - 0x10]
call fcn.00402360
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406c70
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00406c90
mov dword [ebp - 0x30], 0x1f5
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406c20
push 1
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00406cd0
push 0x3023
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401900
mov ecx, eax
call fcn.004140e0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402360
push 0
lea ecx, [ebp - 0x3c]
call fcn.004030b0
push 0
lea ecx, [ebp - 0x14]
call fcn.004018e0
push eax
lea ecx, [ebp - 0xc]
call fcn.00403ef0
push 1
push 0xf060
lea ecx, [ebp - 0xc]
call fcn.004023b0
lea ecx, [ebp - 0xc]
call fcn.00407370
push 2
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401900
mov ecx, eax
call fcn.004140e0
push eax
lea ecx, [ebp - 8]
call fcn.00402360
push 0
lea ecx, [ebp - 8]
call fcn.00406b40
push 0
push 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
push ecx
push 0x4051a0
push 0
push 0
call fcn.004226dd
add esp, 0x18
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x74], eax
lea ecx, [ebp - 4]
call fcn.00401bf0
push 0x110
lea ecx, [ebp - 4]
call fcn.00401d90
push 0x43e210
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00406bc0
mov ecx, 0x43e210
call fcn.004140e0
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.004018c0
lea ecx, [ebp - 0x28]
call fcn.004140e0
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x5c
call fcn.00407220
push 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x60
call fcn.00407290
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x28]
call fcn.00401860
lea ecx, [ebp - 4]
call fcn.00401860
lea ecx, [ebp - 0xc]
call fcn.00402380
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret