joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448cfa
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x767e58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x448d5d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00629b0e
mov esp, ebp
pop ebp
ret
Function at 0x449602
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x449768
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x449768
cmp eax, 0x29
jne 0x44963b
cmp dword [esi + 0x10], 0
jne 0x449768
test dword [esi + 0x50], ebp
je 0x449776
cmp eax, 0x2e
jne 0x449656
push 5
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov ecx, esi
call fcn.0044bb42
jmp 0x449753
cmp eax, 0x5c
jne 0x4496b1
mov ecx, esi
call fcn.0044bb42
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x449688
cmp byte [esi + 0x48], 0x62
jne 0x449688
push 4
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov ecx, esi
call fcn.0044bb42
jmp 0x44975a
test eax, eax
je 0x4496a5
cmp byte [esi + 0x48], 0x42
jne 0x4496a5
push 4
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x44967c
mov ecx, esi
call fcn.0044977e
jmp 0x449753
cmp eax, 0x5b
jne 0x4496d1
mov ecx, esi
call fcn.0044bb42
mov ecx, esi
call fcn.00449c28
cmp dword [esi + 0x4c], 0x5d
je 0x44964a
push 4
jmp 0x449778
cmp eax, 0x28
jne 0x4496f9
mov ecx, esi
call fcn.0044bb42
mov ecx, esi
call fcn.0044c21b
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x449776
mov ecx, esi
call fcn.0044bb42
jmp 0x44974f
cmp eax, 0x5e
jne 0x449705
push 2
jmp 0x449674
cmp eax, 0x24
jne 0x449711
push 3
jmp 0x449674
cmp eax, 0x2a
je 0x449772
cmp eax, 0x2b
je 0x449772
cmp eax, 0x3f
je 0x449772
cmp eax, 0x7b
je 0x449772
cmp eax, 0x7d
jne 0x44972f
test dword [esi + 0x50], ebp
je 0x44976e
cmp eax, 0x5d
jne 0x449739
test dword [esi + 0x50], ebp
je 0x4496ca
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00448fd7
mov ecx, esi
call fcn.0044bb42
mov bl, 1
test bl, bl
je 0x44975a
mov ecx, esi
call fcn.0044bba0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x44961a
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x449778
push 0xa
jmp 0x449778
push 5
call fcn.00615195
int3
Function at 0x44a97c
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x670474
call fcn.00629b8a
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x44aa76
cmp byte [esi + 0x3d], bl
je 0x44aa76
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x44a9b6
xor al, al
jmp 0x44aa78
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00434074
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x44a9e3
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44aa0e
sub eax, 1
je 0x44aa12
dec eax
sub eax, 1
je 0x44aa64
xor bl, bl
jmp 0x44aa66
mov byte [esi + 0x3d], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x44aa22
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x44aa4a
cmp eax, 0x10
jae 0x44aa31
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0063ad5b
add esp, 0x10
cmp ebx, eax
jne 0x44aa0a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x44aa64
test ebx, ebx
jne 0x44a9d7
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00409c63
jmp 0x44a9d1
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040abbf
mov al, bl
jmp 0x44aa78
mov al, 1
call fcn.00629b34
ret

Function at 0x44b0d1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x44b0f7
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x44b0e3
pop esi
mov eax, ecx
ret 8
Function at 0x44e518
Capabilities:
Create directory

Disassembly:
push 0x4a0
mov eax, 0x670b22
call fcn.00629bf8
mov edi, ecx
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x374], edi
test eax, eax
jne 0x44e683
xor ebx, ebx
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0044f2a0
mov edx, dword [eax]
lea ecx, [ebp - 0x64]
push str.HTA_
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [edx + 0x34]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00442f2e
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x44e571
lea eax, [ebp - 0x60]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x44e59f
push ebx
push str.failCreateHtaDir
lea ecx, [ebp - 0xe4]
call fcn.00452a76
push 0x719344
lea eax, [ebp - 0xe4]
push eax
call fcn.0062bb74
push 1
push 2
lea ecx, [ebp - 0x4ac]
call fcn.0043cd14
push ebx
mov byte [ebp - 4], 3
call fcn.0063c467
mov dword [esp], 0x698e34
push edx
push eax
push str.install.
lea eax, [ebp - 0x4ac]
push eax
call fcn.00444019
mov ecx, eax
call fcn.00447fb8
push eax
call fcn.00444019
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x370]
call fcn.00442dc5
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0043f8b1
push eax
mov eax, dword [ebp - 0x370]
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 5
call dword [eax + 0x28]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040abbf
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x370]
mov ecx, edi
push eax
call fcn.0044d3e2
mov dword [ebp - 4], 4
push 0x1c
call fcn.006291e1
pop ecx
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x44e660
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00442dc5
mov ebx, eax
lea ecx, [ebp - 0x370]
mov dword [edi + 0x40], ebx
call fcn.00442f2e
lea ecx, [ebp - 0x4ac]
call fcn.0043d176
lea ecx, [ebp - 0x64]
call fcn.00442f2e
mov eax, ebx
call fcn.00629b45
ret
Function at 0x450c02
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x24], 6
je 0x450c24
cmp word [ebp - 0x24], 9
je 0x450c24
xor al, al
jmp 0x450c26
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x450c2a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x767e58]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x450cef
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x450c89
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x450cef
push ecx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00638b1f
add esp, 0xc
test eax, eax
je 0x450ceb
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x450cc1
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00638b1f
add esp, 0xc
test eax, eax
jne 0x450cef
mov al, 1
jmp 0x450cf1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00629b0e
mov esp, ebp
pop ebp
ret
Function at 0x455ae5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455afd
test al, 0x10
jne 0x455afd
xor eax, eax
inc eax
jmp 0x455aff
xor eax, eax
ret 4
Function at 0x45740f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
sub esp, 0x34c
lea ebp, [esp - 4]
mov eax, dword [0x767e58]
xor eax, ebp
mov dword [ebp + 0x34c], eax
push 0xbc
mov eax, 0x671d1c
call fcn.00629bc1
mov esi, ecx
lea eax, [ebp + 0x1c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x45746e
push 0
push str.WSAStartup_failed
lea ecx, [ebp + 0x2e4]
call fcn.00452a76
push 0x719344
lea eax, [ebp + 0x2e4]
push eax
call fcn.0062bb74
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xac], edi
jne 0x457488
push edi
mov ecx, esi
call fcn.004568d9
jmp 0x45753d
lea eax, [esi + 0x9c]
cmp dword [eax + 0x14], 8
jb 0x457496
mov eax, dword [eax]
push 1
push 0x40
push 0x22
push eax
lea ecx, [ebp - 0xc8]
call fcn.00456167
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xbc], 0
je 0x45750e
push str.Cannot_open__
lea ecx, [ebp]
call fcn.00442e60
lea eax, [esi + 0x98]
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x2c]
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x70e6e4
call dword [eax + 0x24]
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x27c]
call fcn.00452986
push 0x719344
lea eax, [ebp + 0x27c]
jmp 0x457468
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.004568d9
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 1
call fcn.0044c64a
lea ecx, [ebp - 0xc8]
call fcn.00448275
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x34c]
xor ecx, ebp
call fcn.00629b0e
lea esp, [ebp + 0x350]
pop ebp
ret

Function at 0x4585b2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6787b4
call fcn.0062921c
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.004953a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4585c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6787b4
call fcn.0062921c
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.004953a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
mov eax, 0x671ed5
call fcn.0062921c
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.004b44c9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b92c
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x673359
call fcn.0062921c
sub esp, 0x444
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, 0x104
mov dword [ebp - 0x10], edi
test eax, eax
jne 0x45b963
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x248]
push ecx
push edi
push 0x699c28
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
jne 0x45b99c
call fcn.0063cccd
push eax
call fcn.0063cccd
push eax
push str.c:_u_u.tmp
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0045fc27
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00424ff1
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
test esi, esi
je 0x45ba19
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x45b9c7
sub ecx, edx
mov eax, 0x103
sar ecx, 1
sub eax, ecx
lea ecx, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.0043be56
push esi
mov byte [ebp - 4], 1
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00423947
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004231e5
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0042386b
jmp 0x45ba25
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004231e5
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45ba8d
Capabilities:
Create directory

Disassembly:
mov eax, 0x66e437
call fcn.0062921c
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x45baac
mov eax, dword [esi]
jmp 0x45baae
mov eax, esi
push 0x5c
push eax
call fcn.0062e51b
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x45badd
cmp dword [esi + 0x14], ebx
jb 0x45bac7
mov eax, dword [esi]
jmp 0x45bac9
mov eax, esi
push 0x2f
push eax
call fcn.0062e51b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45bb5f
cmp dword [esi + 0x14], ebx
jb 0x45bae6
mov eax, dword [esi]
jmp 0x45bae8
mov eax, esi
sub edi, eax
sar edi, 1
cmp dword [esi + 0x14], ebx
jb 0x45baf5
mov eax, dword [esi]
jmp 0x45baf7
mov eax, esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00424ff1
xor ecx, ecx
mov dword [ebp - 0x10], 7
xor eax, eax
mov dword [ebp - 4], ecx
push edi
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.004239d7
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.0045ba8d
xor edi, edi
lea ecx, [ebp - 0x24]
push edi
push 1
call fcn.0042386b
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
cmp byte [ebp + 0xc], 0
je 0x45bb5f
cmp dword [esi + 0x14], ebx
jb 0x45bb57
mov esi, dword [esi]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x45c1b0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x66e437
call fcn.0062921c
sub esp, 0x280
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push str._s.
push eax
call fcn.004607f4
add esp, 0xc
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 4], ebx
jae 0x45c1e7
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45c2a3
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push 0x694790
push eax
call fcn.004607f4
add esp, 0x10
test byte [ebp - 0x28c], 0x10
mov byte [ebp - 4], 1
jne 0x45c23c
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x45c234
lea eax, [ebp - 0x24]
push eax
call fcn.0046aa80
jmp 0x45c278
push 0x699c50
lea eax, [ebp - 0x260]
push eax
call fcn.005b873d
test eax, eax
je 0x45c278
push 0x699c48
lea eax, [ebp - 0x260]
push eax
call fcn.005b873d
test eax, eax
je 0x45c278
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x45c272
lea eax, [ebp - 0x24]
push eax
call fcn.0045c1b0
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0042386b
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x45c200
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c3b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45c3cc
test al, 0x10
je 0x45c3cc
xor eax, eax
inc eax
jmp 0x45c3ce
xor eax, eax
ret 4
Function at 0x45c4a6
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x67940f
call fcn.0062921c
sub esp, 0x29c
push ebx
push esi
push edi
push 0x699d7c
lea ecx, [ebp - 0x40]
call fcn.00424ff1
push 1
lea eax, [ebp - 0x40]
xor edi, edi
push eax
sub esp, 0x18
mov dword [ebp - 4], edi
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.004249d0
lea eax, [ebp - 0x28]
push eax
call fcn.0045b712
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042386b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45c503
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45c570
mov bl, byte [ebp + 0x10]
test bl, bl
jne 0x45c529
cmp word [ebp - 0x27c], 0x2e
je 0x45c557
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00424ff1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.0043b03f
push edi
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0042386b
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x45c51b
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45c59c
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x67940f
call fcn.0062921c
mov eax, dword [ebp + 0x10]
sub esp, 0x29c
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x45c5bd
mov eax, 0x699d7c
push eax
lea ecx, [ebp - 0x40]
call fcn.00424ff1
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
sub esp, 0x18
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.004249d0
lea eax, [ebp - 0x28]
push eax
call fcn.0045b712
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042386b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45c603
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45c61c
xor esi, esi
jmp 0x45c677
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004249d0
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0043b03f
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0042386b
lea eax, [ebp - 0x2a8]
inc esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x45c61c
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push str.Found__d_entries_using_filter__s_in_directory__s
call fcn.00409944
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45c6c9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x672126
call fcn.0062921c
sub esp, 0x64
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], edi
cmp byte [0x771002], al
je 0x45c70a
push str.downloads
push dword [ebp + 8]
call fcn.0046e056
jmp 0x45c81a
push 0x699e00
push 0x694b34
call fcn.0045f0a1
mov dword [ebp - 0x28], 0x374de290
mov dword [ebp - 0x24], 0x4565123f
mov dword [ebp - 0x20], 0xc4396491
mov dword [ebp - 0x1c], 0x7b465e92
test eax, eax
je 0x45c7a6
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x8000
lea ecx, [ebp - 0x28]
push ecx
call eax
test eax, eax
js 0x45c7a6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.00424ff1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043bed2
push eax
lea ecx, [ebp - 0x40]
call fcn.004232e6
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.0042386b
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0042386b
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x45c79e
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x45c80e
push 2
push 0x118
call fcn.0045b3de
push 1
push 5
mov esi, eax
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45c80e
push 0x699e18
lea ecx, [ebp - 0x58]
call fcn.00424ff1
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00424ff1
lea eax, [ebp - 0x70]
push eax
call fcn.0045b712
push eax
lea ecx, [ebp - 0x40]
call fcn.004232e6
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.0042386b
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0042386b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004231e5
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45c88a
Capabilities:
Move file

Disassembly:
push 3
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
ret 8

Function at 0x45cb49
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x45cb8c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x45cbae
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
test ecx, ecx
je 0x45cb98
mov dword [ecx], eax
cmp eax, esi
je 0x45cbac
sub esi, eax
add eax, edi
push esi
push 0
push eax
call fcn.0062e010
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18