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

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x30]
push 2
push ecx
mov dword [esp + 0x30], 1
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x4258e6
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4258d7
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
xor edx, edx
cmp eax, ebx
sete dl
mov eax, edx
pop ebx
add esp, 0x10
ret

Function at 0x4259b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d04c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], bx
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov ecx, dword [0x5dae3c]
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x674]
push 0x103
push eax
push ecx
call fcn.004329f0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], bx
mov edx, dword [ebp + 8]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4e6ee0
lea eax, [ebp - 0x674]
push edx
push eax
push 0x4e50cc
lea ecx, [ebp - 0x46c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea edx, [ebp - 0x264]
lea eax, [ebp - 0x46c]
mov word [ebp - 0x266], bx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je 0x425af2
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x238]
push 0x4e4b50
push ecx
call esi
add esp, 8
test eax, eax
je 0x425ad9
lea edx, [ebp - 0x238]
push 0x4e6ed8
push edx
call esi
add esp, 8
test eax, eax
je 0x425ad9
test byte [ebp - 0x264], 0x10
je 0x425ad9
lea eax, [ebp - 0x238]
push str.UICenter
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x425ad9
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.004245e0
lea edx, [ebp - 0x264]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425a7d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a3e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x42a4e6
mov eax, dword [esi + 0x13c]
mov dword [esi + 0x168], 1
test eax, eax
jne 0x42a4e6
mov eax, dword [esi + 0x148]
dec eax
je 0x42a4a3
dec eax
jne 0x42a4e6
mov ecx, dword [esi + 0xda0]
lea eax, [esi + 0xb94]
push 0x4e6d28
push eax
call fcn.00425b90
mov edx, eax
test edx, edx
je 0x42a4e6
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0xc]
push 0x103
push ecx
push 0x4fff00
push str.Type
push str.Global
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 8], 0
je 0x42a4e6
mov ecx, dword [esi + 0xda0]
lea edx, [esi + 0x138]
lea eax, [esp + 8]
push edx
push eax
call fcn.0042a0c0
pop edi
pop esi
add esp, 0x208
ret
mov edi, dword [esi + 0xd9c]
test edi, edi
jne 0x42a4ba
mov ecx, esi
call fcn.0042a310
mov edi, eax
test edi, edi
je 0x42a4e6
push str.Ext_GetExtensionType
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x5d0d50], eax
je 0x42a4d7
call eax
mov dword [esi + 0x138], eax
cmp edi, dword [esi + 0xd9c]
je 0x42a4e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
add esp, 0x208
ret
Function at 0x42aac0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x138]
sub esp, 0xa2c
cmp eax, 0x2000
push ebp
push esi
jne 0x42ac73
lea eax, [ecx + 0xb94]
mov ecx, dword [ecx + 0xda0]
push 0x4e6d28
push eax
mov dword [esp + 0x10], eax
call fcn.00425b90
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x42ac73
push ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x836]
mov word [esp + 0x834], bp
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x838]
push 0x103
push eax
push 0x4fff00
push str.Text
push str.SideWeb
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], bp
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x630]
push 0x103
push ecx
push 0x4fff00
push 0x4e7084
push str.SideWeb
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
push esi
lea edx, [esp + 0x220]
push 0x103
push edx
push 0x4fff00
push str.Icon
push str.SideWeb
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bp
rep stosd dword es:[edi], eax
push 0x5c
push esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
cmp eax, ebp
pop edi
pop ebx
je 0x42ac33
sub eax, esi
sar eax, 1
cmp eax, 0x103
jbe 0x42ac03
mov eax, 0x103
push eax
lea eax, [esp + 0x420]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x214]
lea edx, [esp + 0x41c]
lea eax, [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x42ac49
lea ecx, [esp + 0x214]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x624]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x830]
push ecx
mov ecx, dword [esp + 0xa40]
push edx
push eax
push ecx
call fcn.00485ad0
add esp, 0x14
pop esi
pop ebp
add esp, 0xa2c
ret 4
Function at 0x42b930
Capabilities:
Delete directory

Disassembly:
sub esp, 0x620
push ebx
push ebp
lea eax, [esp + 8]
push edi
push eax
xor ebx, ebx
push str.Count
mov dword [esp + 0x18], ecx
push str.UnInstallExt
mov dword [esp + 0x18], ebx
call fcn.0040bbe0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bx
rep stosd dword es:[edi], eax
mov cx, word [0x4fff00]
mov word [esp + 0x430], bx
stosw word es:[edi], ax
mov word [esp + 0x20], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, 0x4fff10
stosw word es:[edi], ax
call fcn.0040aa60
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
lea edx, [esp + 0x428]
push 0x103
push edx
call ebp
lea eax, [esp + 0x430]
push ebx
push eax
call fcn.004329e0
add esp, 0x14
test eax, eax
je 0x42ba96
cmp dword [esp + 0xc], ebx
jbe 0x42ba89
push esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x18]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
push str.ext_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
call ebp
lea edx, [esp + 0x230]
push 0x104
lea eax, [esp + 0x2c]
push edx
push eax
push str.UnInstallExt
call fcn.0040ba60
add esp, 0x20
lea ecx, [esp + 0x220]
push 0x4e6d30
push ecx
call fcn.00423950
mov ecx, eax
call fcn.00425b90
mov esi, eax
push 0
push esi
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42ba7b
mov ecx, dword [esp + 0x14]
push esi
call fcn.0042c310
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jb 0x42b9ed
pop esi
push str.UnInstallExt
call fcn.0040b4e0
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x620
ret
Function at 0x42baa0
Capabilities:
Delete directory

Disassembly:
sub esp, 0xa30
push ebx
push esi
mov esi, dword [esp + 0xa3c]
xor ebx, ebx
push 1
mov dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x10], ebx
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42bcac
push ebx
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00478650
add esp, 0xc
cmp eax, 1
je 0x42bcac
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x42bcac
push ebp
push edi
push ebx
push str.Count
push str.UnInstallExt
push eax
call fcn.00478c50
mov ebp, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x84a]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov word [esp + 0x848], bx
add esp, 0x10
rep stosd dword es:[edi], eax
push ebp
push 0x4e5194
lea ecx, [esp + 0x840]
push 0x104
push ecx
stosw word es:[edi], ax
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x232]
mov word [esp + 0x230], bx
rep stosd dword es:[edi], eax
mov dx, word [0x4fff00]
mov ecx, 0x81
stosw word es:[edi], ax
xor eax, eax
lea edi, [esp + 0x43a]
mov word [esp + 0x438], dx
add esp, 0x10
rep stosd dword es:[edi], eax
test ebp, ebp
stosw word es:[edi], ax
jbe 0x42bc9b
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x428]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
push str.ext_d
lea eax, [esp + 0x430]
push 0x103
push eax
call esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x230]
push 0x103
lea edx, [esp + 0x43c]
push ecx
push edx
push str.UnInstallExt
push eax
call fcn.00478b00
mov dx, word [0x4fff00]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], dx
mov word [esp + 0x654], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x5dae3c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x656]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x658]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.004329f0
add esp, 0x34
lea eax, [esp + 0x220]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x630]
push eax
push ecx
push str.Extensions
push edx
push str._s_s_s_s.dll
lea eax, [esp + 0x2c]
push 0x103
push eax
call esi
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004329e0
add esp, 0x24
test eax, eax
je 0x42bc92
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.0042c310
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc ebx
cmp ebx, ebp
jb 0x42bb83
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00478850
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xa30
ret 4
Function at 0x42bec0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x18a4
call fcn.004cd000
push esi
push edi
mov esi, ecx
call fcn.00425870
test eax, eax
je 0x42bede
mov ecx, esi
call fcn.00425900
xor edx, edx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x866]
mov word [esp + 0x864], dx
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x65c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x65e]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x454]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x454]
push ecx
push str._sTheWorld_
lea edx, [esp + 0x254]
push 0x103
push edx
call esi
lea eax, [esp + 0x25c]
push eax
call fcn.004332a0
add esp, 0x14
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x44]
push ecx
push str._sInitExtAction.ini
push 0x103
push edx
call esi
add esp, 0x10
mov ecx, 0x4fff10
call fcn.0040aa60
push eax
lea eax, [esp + 0x660]
push 0x103
push eax
call esi
lea ecx, [esp + 0x50]
push 1
lea edx, [esp + 0x66c]
push ecx
push edx
call fcn.00433b30
add esp, 0x18
lea eax, [esp + 0x44]
lea ecx, [esp + 0x864]
push eax
push 0x4e4e38
push 7
push str._tp:
push str._s_d__s_s
push 0x823
push ecx
call esi
add esp, 0x1c
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea edx, [esp + 0x864]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x4fff70
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x42c077
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UnInstallExt
call fcn.0040b4e0
push str.UpdateExt
call fcn.0040b4e0
add esp, 0x18ac
ret

Function at 0x42c2d0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
call fcn.0042baa0
push esi
mov ecx, edi
call fcn.00425250
push 0
push esi
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42c2fc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret 4
Function at 0x42c310
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push 0
mov ebx, ecx
push esi
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42c386
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42c386
push edi
mov ecx, 0x81
lea edi, [esp + 0xe]
mov word [esp + 0xc], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x103
push eax
push esi
mov ecx, ebx
call fcn.0042c3a0
test eax, eax
pop edi
je 0x42c386
lea ecx, [esp + 8]
push 1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42c386
lea edx, [esp + 8]
push 0
push edx
call fcn.0048a290
add esp, 8
pop esi
pop ebx
add esp, 0x208
ret 4

Function at 0x42c430
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push edi
test esi, esi
mov ebx, ecx
je 0x42c523
cmp word [esi], 0
je 0x42c523
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
push 0
push esi
stosw word es:[edi], ax
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42c509
lea eax, [esp + 0xc]
push 0x103
push eax
push esi
mov ecx, ebx
call fcn.0042c3a0
test eax, eax
je 0x42c523
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0xc]
push 1
push ecx
push esi
call edi
test eax, eax
je 0x42c523
mov edx, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push 1
push edx
push eax
call fcn.00433b30
add esp, 0xc
test eax, eax
je 0x42c4f3
push 0
push esi
call fcn.004329e0
add esp, 8
test eax, eax
je 0x42c4f3
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0048a290
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
push 1
lea edx, [esp + 0x10]
push esi
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
push 1
push eax
push ecx
call fcn.00433b30
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
Function at 0x42c920
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004cd000
push ebx
push ebp
mov ebp, dword [esp + 0x1090]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x42ca29
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
call edi
add esp, 4
test eax, eax
jbe 0x42ca29
mov esi, dword [esp + 0x109c]
cmp esi, ebx
je 0x42ca29
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42ca29
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], bx
rep stosd dword es:[edi], eax
push esi
push 0x4e4e38
push ebp
push str._tmp:
push 1
push 0x4e4e60
push 7
push str._tp:
stosw word es:[edi], ax
push str._s_d__s_d__s_s__s_s
lea eax, [esp + 0x70]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x40]
add esp, 0x2c
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x24], 0x4fff70
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42ca1a
mov eax, dword [esp + 0x48]
push 0x186a0
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1084
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1084
ret 8
Function at 0x42cb30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d05b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x870
push ebx
push esi
push edi
xor esi, esi
mov ebx, dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], si
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str._s.
lea eax, [ebp - 0x46c]
push 0x103
push eax
mov dword [ebp - 0x14], 1
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x46c]
mov word [ebp - 0x266], si
push ecx
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x42cd3a
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x238]
push 0x4e4b50
push eax
call edi
add esp, 8
test eax, eax
je 0x42cd17
lea ecx, [ebp - 0x238]
push 0x4e6ed8
push ecx
call edi
add esp, 8
test eax, eax
je 0x42cd17
test byte [ebp - 0x264], 0x10
je 0x42cc70
mov dx, word [0x4fff00]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x674]
push eax
push ebx
push 0x4e4ad4
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [ebp - 0x674]
push edx
call fcn.0042cb30
add esp, 0x18
cmp eax, esi
jne 0x42cd17
mov dword [ebp - 0x14], esi
jmp 0x42cd30
lea eax, [ebp - 0x238]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42cd15
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str..exe
push esi
call edi
add esp, 8
test eax, eax
je 0x42ccbf
push str..dll
push esi
call edi
add esp, 8
test eax, eax
je 0x42ccbf
push str..ocx
push esi
call edi
add esp, 8
test eax, eax
jne 0x42cd15
mov cx, word [0x4fff00]
xor eax, eax
mov word [ebp - 0x87c], cx
mov ecx, 0x81
lea edi, [ebp - 0x87a]
lea edx, [ebp - 0x238]
rep stosd dword es:[edi], eax
push edx
push ebx
stosw word es:[edi], ax
push 0x4e4ad4
lea eax, [ebp - 0x87c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [ebp - 0x87c]
push ecx
call fcn.00485f90
add esp, 0x18
test eax, eax
jne 0x42cd15
mov dword [ebp - 0x14], eax
jmp 0x42cd30
xor esi, esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42cbbd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4312f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00431090
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x1874]
mov ecx, ebx
call fcn.0041bfa0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4e49c0
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x4fff00]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x18]
push 0x4e441c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0d0]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4e49c0
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x4314c0
mov dword [ebx + 0x2698], esi
call fcn.0041bed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x4317d0
Capabilities:
Delete file

Disassembly:
sub esp, 0x61c
push ebx
push ebp
mov ebp, dword [esp + 0x62c]
push esi
test ebp, ebp
push edi
mov dword [esp + 0x10], 0
je 0x43199a
mov ebx, dword [esp + 0x638]
test ebx, ebx
je 0x43199a
mov eax, dword [esp + 0x63c]
test eax, eax
je 0x43199a
push 0
push ebx
call fcn.004329e0
add esp, 8
test eax, eax
jne 0x431829
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
mov dx, word [0x4fff00]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5dae3c]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
push ecx
call fcn.004329f0
add esp, 0x10
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push str.Extensions
push edx
push 0x4e514c
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x438]
push ecx
call fcn.004332a0
add esp, 0x18
test eax, eax
je 0x43199a
push ebp
call fcn.00423950
mov ecx, eax
call fcn.00424920
mov esi, eax
test esi, esi
je 0x431960
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push 0x103
push edx
mov ecx, esi
stosw word es:[edi], ax
call fcn.0042b160
cmp word [esp + 0x14], 0
je 0x43192c
mov eax, dword [esp + 0x63c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jl 0x43192c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x431938
call esi
mov eax, dword [esp + 0x640]
test eax, eax
je 0x43199a
mov ecx, dword [esp + 0x63c]
push ecx
push ebx
push ebp
call fcn.004314e0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
push ebp
push ebx
call fcn.00423950
mov ecx, eax
call fcn.0042c660
mov esi, eax
test esi, esi
je 0x4319b0
mov edx, dword [esp + 0x630]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0042a7e0
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 2
pop ebx
add esp, 0x61c
ret
mov eax, dword [esp + 0x63c]
push eax
push ebx
push ebp
call fcn.004314e0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret