joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410750
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
test esi, esi
je 0x4108bd
push 0x81e
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.00421df0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410791
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0041fe40
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4107d9
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4107c5
lea ecx, [ebp - 0x824]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410805
mov eax, dword [str..old]
mov dword [ecx], eax
mov eax, dword [0x4a1334]
mov dword [ecx + 4], eax
mov ax, word [0x4a1338]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov word [ecx + 8], ax
lea eax, [ebp - 0x824]
push 1
push eax
push esi
call edi
test eax, eax
jne 0x4108aa
lea ecx, [ebp - 0x824]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410850
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 4]
cmp eax, 0x40f
jae 0x4108cc
lea eax, [ebp - 0x824]
add eax, 0xfffffffe
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x410872
mov ecx, dword [str..old]
mov dword [eax], ecx
mov ecx, dword [0x4a1334]
mov dword [eax + 4], ecx
mov cx, word [0x4a1338]
mov word [eax + 8], cx
lea eax, [ebp - 0x824]
push 1
push eax
push esi
call edi
test eax, eax
je 0x410841
push 4
push 0
lea eax, [ebp - 0x824]
push eax
call edi
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041d30f
mov esp, ebp
pop ebp
ret

Function at 0x4108e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x210], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push eax
call fcn.00421df0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x410951
xor ecx, ecx
jmp 0x41096f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410960
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401b00
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x410990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a318
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004108e0
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406360
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x410a11
cmp dword [ebp - 0x14], 8
jb 0x4109f4
push dword [ebp - 0x28]
call fcn.0046f2be
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004027d0
cmp dword [ebp - 0x2c], 8
jb 0x410a22
push dword [ebp - 0x40]
call fcn.0046f2be
add esp, 4
push 0xa
push 0x4a0038
lea ecx, [ebp - 0x28]
call fcn.00402830
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, esi
cmovae ecx, dword [ebp - 0x28]
mov edi, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x410a40
push 1
push 0x49fa50
lea ecx, [ebp - 0x28]
call fcn.00402830
push 0xe
push str.InpaintMAX.exe
lea ecx, [ebp - 0x28]
call fcn.00402830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410a8c
mov esi, 1
jmp 0x410aa5
mov ecx, 0x49fa4c
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x410a93
xor esi, esi
cmp dword [ebp - 0x14], 8
jb 0x410ab6
push dword [ebp - 0x28]
call fcn.0046f2be
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret

Function at 0x410ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00421df0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x410b9b
push 5
xor eax, eax
mov dword [ebp - 0x214], 7
push str.4lpSM
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.00401b00
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
push str._s_s.lnk
push eax
call fcn.00403350
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.00410750
cmp dword [ebp - 0x214], 8
jb 0x410b9b
push dword [ebp - 0x228]
call fcn.0046f2be
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x410bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a34b
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00421df0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x410d3c
push 5
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.4lpSM
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00401b00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x49fb54
push eax
call fcn.00403350
add esp, 0x10
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x410ca8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410ca8
lea ecx, [ebp - 0x218]
call fcn.004104e0
push 0
push 2
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x410d25
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x49fb54
push eax
call fcn.00403350
add esp, 0x10
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x410d25
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410d25
lea ecx, [ebp - 0x218]
call fcn.004104e0
cmp dword [ebp - 0x21c], 8
jb 0x410d3c
push dword [ebp - 0x230]
call fcn.0046f2be
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x410d60
Capabilities:
Delete registry key
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallInpaintMAX
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x410e55
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
mov ecx, 9
cmp cx, ax
je 0x410dca
mov ecx, 0xa
cmp cx, ax
je 0x410dca
mov ecx, 6
cmp cx, ax
je 0x410dca
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallInpaintMAX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
jmp 0x410de5
lea eax, [ebp - 4]
push eax
push 0xf023f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallInpaintMAX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410e55
push str.DisplayIcon
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
push str.DisplayName
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
push str.DisplayVersion
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
push str.Publisher
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
push str.UninstallString
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
push str.UrlInfoAbout
push dword [ebp - 4]
call esi
test eax, eax
jne 0x410e55
mov eax, dword [ebp - 4]
test eax, eax
je 0x410e4b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test eax, eax
je 0x410e63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x410f80
push 0x104
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00421df0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
js 0x410f80
push 5
xor eax, eax
mov dword [ebp - 0x41c], 7
push str.4lpSM
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.00401b00
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00421df0
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push eax
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push str._s_s_s.lnk
push eax
call fcn.00403350
add esp, 0x20
lea ecx, [ebp - 0x210]
call fcn.00410750
test eax, eax
je 0x410f69
push dword [ebp - 0x434]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x41c], 8
jb 0x410f80
push dword [ebp - 0x430]
call fcn.0046f2be
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x410f90
Capabilities:
Check mutex on windows

Disassembly:
push str.__uninstall_InpaintMAX__
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4ba728], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x410fe4
push 0
push str.__uninstall_InpaintMAX__
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x410fd5
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x4ba728]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
mov eax, 1
ret

Function at 0x410ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x25c]
mov esi, ecx
push eax
push esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4110be
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x38
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.00421df0
add esp, 0xc
mov dword [ebp - 0x298], 0x3c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x294], 0x40
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], str.open
push eax
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x7d0
push dword [ebp - 0x260]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041d30f
mov esp, ebp
pop ebp
ret

Function at 0x4110d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b135c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411151
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x411570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a388
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b135c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00411640
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
jne 0x4115cf
xor ebx, ebx
jmp 0x411616
sub eax, ecx
xor edi, edi
sar eax, 2
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411616
lea ecx, [ecx]
push dword [ecx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4115f7
xor ebx, ebx
jmp 0x41160d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
jne 0x411607
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x4115e0
test ecx, ecx
je 0x411623
push ecx
call fcn.0046f2be
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411640
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a3bb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4b135c]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4b135c]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x14], esi
mov ebx, ecx
test ebx, ebx
je 0x4116bc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4116bc
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4116c3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x411802
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.0041eb2e
add esp, 8
test eax, eax
jne 0x4116e6
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00411ff0
jmp 0x4117e2
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x290], eax
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x54]
call fcn.004060d0
test eax, eax
je 0x4117c4
sub esp, 8
mov dword [esp + 0x20], 0x5c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call fcn.004120d0
cmp eax, 0xffffffff
je 0x4117c4
inc eax
lea ecx, [esp + 0x1c]
push eax
push 0
call fcn.00401f70
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x34]
call fcn.004059d0
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x411793
cmp dword [esp + 0x30], 8
jb 0x411772
push dword [esp + 0x1c]
call fcn.0046f2be
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.004027d0
cmp dword [esp + 0x48], 8
jb 0x4117a6
push dword [esp + 0x34]
call fcn.0046f2be
add esp, 4
push ebx
lea ecx, [esp + 0x20]
call fcn.004064c0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4117c4
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00411ff0
mov dword [esp + 0x290], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x4117e2
push dword [esp + 0x1c]
call fcn.0046f2be
add esp, 4
lea eax, [esp + 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4116c3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0041d30f
mov esp, ebp
pop ebp
ret
Function at 0x4137d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48a6b3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b135c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [edi + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 2
mov dword [edi + 0x14], 0
mov dword [esp + 0x28], 2
xor ecx, ecx
mov dword [edi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [edi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [edi + 0x2c], 0
call fcn.004099b0
mov dword [edi + 0x30], 0
mov dword [esp + 0x28], 3
xor ecx, ecx
mov dword [edi + 0x4c], 0
call fcn.004099b0
mov dword [edi + 0x50], 0
push ecx
mov byte [esp + 0x2c], 4
lea eax, [esp + 0x10]
push eax
mov edx, str.BlockPaddingScheme
mov dword [edi], vtable.CryptoPP::StreamTransformationFilter.1.0
lea ecx, [esp + 0x1c]
mov dword [edi + 4], vtable.CryptoPP::StreamTransformationFilter.0
mov dword [edi + 0x54], esi
call fcn.004143e0
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x2c], 7
call fcn.00412ed0
mov byte [esp + 0x28], 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4138a8
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x48a7fc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b135c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 1
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push edx
call fcn.00414610
mov dword [esi], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esi + 4], 0
mov byte [esp + 0x28], 2
mov cl, byte [eax + 8]
mov byte [esi + 8], cl
mov edi, dword [eax + 4]
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41446e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x41448c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4169f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ac48
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b135c]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x4b135c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.00416860
add esp, 4
mov esi, eax
push 0x4a0d30
mov edx, edi
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x30]
call fcn.00406270
add esp, 4
push esi
mov edx, eax
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x18]
call fcn.004166f0
add esp, 4
push str._is_not_a_valid_key_length
mov edx, eax
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x48]
call fcn.004055a0
add esp, 4
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.0041eda3
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004016d0
cmp dword [esp + 0x58], 0x10
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x416af1
push dword [esp + 0x44]
call fcn.0046f2be
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x416b19
push dword [esp + 0x14]
call fcn.0046f2be
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x416b41
push dword [esp + 0x2c]
call fcn.0046f2be
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x416b69
push dword [esp + 0x5c]
call fcn.0046f2be
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0041d30f
add esp, 0x74
ret 8