joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4240c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 8]
call fcn.0040ee90
cmp dword [ebp + 0xc], 0
jne 0x4240f7
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x424108
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42429a
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov edx, dword [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x424177
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4242b1
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0x54c674
mov edx, dword [ebp - 0x220]
push edx
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x228], 0
je 0x4241d6
cmp dword [ebp - 0x224], 0
jne 0x4241f2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4242b1
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x10]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x230], dx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
mov word [ebp - 0x22e], cx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0x14]
and edx, 0xffff
mov word [ebp - 0x22a], dx
movzx eax, word [ebp - 0x22a]
push eax
movzx ecx, word [ebp - 0x22c]
push ecx
movzx edx, word [ebp - 0x22e]
push edx
movzx eax, word [ebp - 0x230]
push eax
push str._d._d._d._d
lea ecx, [ebp - 8]
push ecx
call fcn.004beff0
add esp, 0x18
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x424530
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d18
call fcn.00517a10
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.0041cb30
mov dword [ebp - 4], 0
jmp 0x424561
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x42469d
mov dword [ebp - 0x20c], 0
mov ecx, dword [ebp - 4]
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
jne 0x4245bb
jmp 0x424698
mov dword [ebp - 0x292c], 0
push 0x2710
push 0
lea ecx, [ebp - 0x2928]
push ecx
call fcn.00512af0
add esp, 0xc
push 0xc
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0x2710
push 0
lea eax, [ebp - 0x2928]
push eax
call fcn.00512af0
add esp, 0xc
push 0
lea ecx, [ebp - 0x292c]
push ecx
push 0x2710
lea edx, [ebp - 0x2928]
push edx
push 0xc
lea eax, [ebp - 0x218]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x424696
lea edx, [ebp - 0x2928]
mov dword [ebp - 0x2930], edx
lea eax, [ebp - 0x2d18]
push eax
push 1
mov ecx, dword [ebp - 0x2930]
mov edx, dword [ecx + 0x18]
push edx
lea eax, [ebp - 0x2928]
push eax
call fcn.004246b0
add esp, 0x10
lea ecx, [ebp - 0x2d18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0047db30
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42469d
jmp 0x424558
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x4249b0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x30], 0
push 0
push 0
push 0
push 0
push str.Upload
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x54ddd4
mov dword [ebp - 0x38], 0
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x34], eax
push 0x20200400
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push str.POST
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x2c], eax
push 0x28
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0x28], 0x28
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x10], edx
push 0
push 8
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret
Function at 0x424ee0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x553dac
lea edx, [ebp - 0x210]
push edx
call fcn.004bf7d0
add esp, 8
lea eax, [ebp - 0x210]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 4], 0
je 0x424fbf
cmp dword [ebp - 0x218], 0xb7
jne 0x424fbf
push 0
push 0x553e54
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x424fb8
mov ecx, dword [ebp - 0x220]
movzx edx, byte [ecx + 0x1c8]
test edx, edx
je 0x424fa2
push 1
push 0
push 0x538
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x424fb8
push 0
push 0
push 0x538
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x424fc1
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret

Function at 0x424fd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
call fcn.0041c880
lea ecx, [ebp - 8]
call fcn.0041cc20
sub eax, 1
push eax
lea ecx, [ebp - 8]
call fcn.0047e750
movzx ecx, ax
cmp ecx, 0x5c
je 0x42500b
push 0x5c
lea ecx, [ebp - 8]
call fcn.00431200
lea ecx, [ebp - 0x18]
call fcn.0048b020
lea ecx, [ebp - 4]
call fcn.0040ee90
mov byte [ebp - 9], 0
mov dword [ebp - 0x1c], 0
jmp 0x425031
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 8]
call fcn.0041cc20
cmp dword [ebp - 0x1c], eax
jge 0x425084
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.0047e750
movzx ecx, ax
cmp ecx, 0x5c
je 0x42506c
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 8]
call fcn.0047e750
movzx eax, ax
push eax
lea ecx, [ebp - 4]
call fcn.00431200
jmp 0x425082
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0048b1e0
push 0x5c
lea ecx, [ebp - 4]
call fcn.00431200
jmp 0x425028
mov dword [ebp - 0x20], 0
jmp 0x425096
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x18]
call fcn.0048b1c0
cmp dword [ebp - 0x20], eax
jge 0x4250c9
push 0
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048b2e0
mov ecx, eax
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne cl
mov byte [ebp - 9], cl
jmp 0x42508d
mov dl, byte [ebp - 9]
mov byte [ebp - 0x21], dl
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004bf0e0
lea ecx, [ebp - 8]
call fcn.0040f740
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 4
Function at 0x4264e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426550
cmp dword [ebp + 0x10], 0
je 0x42654b
push 0x10
push str.Internet_open_failed_
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4265ed
push 4
lea edx, [ebp + 0xc]
push edx
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x4265cf
cmp dword [ebp + 0x10], 0
je 0x4265cd
mov ecx, 0x13
mov esi, str.Internet_open_url_failed__error_code
lea edi, [ebp - 0x518]
rep movsd dword es:[edi], dword [esi]
push 0xb4
push 0
lea eax, [ebp - 0x4cc]
push eax
call fcn.00512af0
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x518]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4265e3
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x426ff0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x5c]
call fcn.0040ee90
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edx
call fcn.004270c0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x54]
jb 0x42704e
ja 0x427042
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x58]
jbe 0x42704e
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sbb edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
ja 0x42706f
cmp dword [ebp - 0x64], 0x200
jbe 0x42707b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
push str._I64d
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004beff0
add esp, 0x10
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x5c]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x4273c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
call fcn.0040ee90
mov eax, dword [0x550384]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x550388]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 8], eax
mov edx, 0x41
mov word [ebp - 0x18], dx
jmp 0x427411
mov ax, word [ebp - 0x18]
add ax, 1
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 8], ecx
movzx edx, word [ebp - 0x18]
cmp edx, 0x5a
jg 0x4274be
mov eax, dword [ebp - 8]
and eax, 1
je 0x4274b9
mov cx, word [ebp - 0x18]
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jne 0x4274b9
lea ecx, [ebp - 0x2c]
call fcn.0040ee90
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
movzx edx, word [ebp - 0x18]
push edx
push str._c:_I64d_I64d
lea eax, [ebp - 0x2c]
push eax
call fcn.004beff0
add esp, 0x1c
lea ecx, [ebp - 4]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4274a5
push 0x5503ac
lea ecx, [ebp - 4]
call fcn.0041c900
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 4]
call fcn.0047dc30
lea ecx, [ebp - 0x2c]
call fcn.0040f740
jmp 0x4273fd
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 4]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x428030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0042e050
lea eax, [ebp - 8]
push eax
call fcn.00421190
add esp, 4
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42806d
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00421320
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x24]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4280a6
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00421440
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x28]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4280df
mov edx, dword [ebp - 4]
or edx, 4
mov dword [ebp - 4], edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004217e0
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x2c]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428118
mov ecx, dword [ebp - 4]
or ecx, 0x10
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00421910
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x30]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428151
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00421a40
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x34]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42818a
mov edx, dword [ebp - 4]
or edx, 0x40
mov dword [ebp - 4], edx
lea eax, [ebp - 0x38]
push eax
call fcn.00421560
add esp, 4
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x38]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4281c3
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp - 0x20]
call fcn.0042e110
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret
Function at 0x429500
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1270
call fcn.00517a10
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x664], 1
mov dword [ebp - 0xa6c], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa68]
push ecx
call fcn.005180e1
add esp, 8
lea edx, [ebp - 0xa68]
push edx
call fcn.004296e0
add esp, 4
test eax, eax
jne 0x42956f
mov dword [ebp - 0x664], 0
push 0x54c938
lea eax, [ebp - 0xa68]
push eax
call fcn.005180b0
add esp, 8
lea ecx, [ebp - 0xa68]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.005180e1
add esp, 8
push 0x54c93c
lea eax, [ebp - 0x408]
push eax
call fcn.005180b0
add esp, 8
lea ecx, [ebp - 0x660]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa6c], eax
mov eax, dword [ebp - 0x660]
and eax, 0x10
je 0x42964f
push 0x54c944
lea ecx, [ebp - 0x634]
push ecx
call fcn.00517a69
add esp, 8
test eax, eax
je 0x429602
push 0x54c948
lea edx, [ebp - 0x634]
push edx
call fcn.00517a69
add esp, 8
test eax, eax
jne 0x429604
jmp 0x42964d
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0xe70]
push ecx
call fcn.005180e1
add esp, 8
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0xe70]
push eax
call fcn.005180b0
add esp, 8
lea ecx, [ebp - 0xe70]
push ecx
call fcn.00429500
add esp, 4
test eax, eax
jne 0x42964d
mov dword [ebp - 0x664], 0
jmp 0x429698
lea edx, [ebp - 0xa68]
push edx
lea eax, [ebp - 0x1270]
push eax
call fcn.005180e1
add esp, 8
lea ecx, [ebp - 0x634]
push ecx
lea edx, [ebp - 0x1270]
push edx
call fcn.005180b0
add esp, 8
lea eax, [ebp - 0x1270]
push eax
call fcn.004296e0
add esp, 4
test eax, eax
jne 0x429698
mov dword [ebp - 0x664], 0
lea ecx, [ebp - 0x660]
push ecx
mov edx, dword [ebp - 0xa6c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4295c7
mov eax, dword [ebp - 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x664]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x42a020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
jne 0x42a033
xor eax, eax
jmp 0x42a1a0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042a1b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42a053
xor eax, eax
jmp 0x42a1a0
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x20]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x14]
call ecx
test eax, eax
je 0x42a0a0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
jmp 0x42a1a0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x42a0d3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
xor eax, eax
jmp 0x42a1a0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x42a10d
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
jmp 0x42a1a0
mov eax, dword [ebp - 0x20]
push eax
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
je 0x42a164
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005124eb
add esp, 4
xor eax, eax
jmp 0x42a1a0
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42b0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0040ee90
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0040ee90
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0041c8e0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0041c8e0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x42b140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x42cfc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x42d009
mov eax, dword [ebp - 8]
and eax, 1
je 0x42d009
mov ecx, dword [ebp - 8]
and ecx, 0xfffffffe
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42d0c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42d03c
mov dword [ebp - 4], 1
jmp 0x42d0c9
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call fcn.004296e0
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.0040ee90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
push edx
push 0
call fcn.00426600
add esp, 4
push edx
push eax
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
push 0x54cda0
lea edx, [ebp - 0xc]
push edx
call fcn.004beff0
add esp, 0x18
lea ecx, [ebp - 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42d0c1
push 4
push 0
lea ecx, [ebp - 0xc]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc]
call fcn.0040f740
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret