joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20097c93
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x200cc84c]
mov ecx, dword [ebp + 0x7d4]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
mov eax, dword [ebp + 0x7d8]
push ebx
mov ebx, dword [ebp + 0x7d0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x7dc]
xor edx, edx
cmp ecx, edx
push esi
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], eax
je 0x20097db7
cmp ebx, edx
je 0x20097db7
mov eax, dword [ebp + 0x7e0]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x6c], 0x824
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x74], edx
je 0x20097d2c
cmp dword [ecx + 0x30], edx
je 0x20097d2c
test eax, 0x2000000
je 0x20097d26
mov dword [ebp - 0x74], 1
jmp 0x20097d2c
or edi, 0x80000000
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
call ebx
test eax, eax
jne 0x20097d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x20097db7
push dword [ebp - 0x6c]
call fcn.2008f9ce
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x20097db7
push esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x68], 1
call ebx
test eax, eax
jne 0x20097d7d
push dword [ebp - 0x78]
jmp 0x20097db1
lea ebx, [ebp - 0x60]
jmp 0x20097d80
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
je 0x20097ddf
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
test eax, eax
jge 0x20097dd3
cmp dword [ebp - 0x68], edi
je 0x20097db7
push ebx
call fcn.2008f9fe
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x7c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
add ebp, 0x7c8
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x68], edi
je 0x20097deb
push ebx
call fcn.2008f9fe
pop ecx
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x20097dfd
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0x1000
jmp 0x20097db9
mov cx, word [esi + 0x18]
mov edx, dword [ebp - 0x7c]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp - 0x64]
je 0x20097e5e
dec esi
je 0x20097e53
dec esi
je 0x20097e48
dec esi
je 0x20097e3d
dec esi
je 0x20097e32
dec esi
je 0x20097e2a
dec esi
jne 0x20097df5
mov dword [ecx], 0x1002
jmp 0x20097db9
mov dword [ecx], 0x1006
jmp 0x20097db9
mov dword [ecx], 0x1001
jmp 0x20097db9
mov dword [ecx], 0x100b
jmp 0x20097db9
mov dword [ecx], 3
jmp 0x20097db9
mov dword [ecx], 2
jmp 0x20097db9
mov dword [ecx], 1
jmp 0x20097db9
Function at 0x20098d6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x200cc84c]
xor eax, ebp
cmp dword [ebp + 8], 0x800
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x11c]
jne 0x20098d9f
push 0x200adedc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x20098db1
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x20098de6
lea eax, [ebp - 0x11c]
push eax
push esi
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.2008125f
add esp, 0x10
cmp eax, 0xffffffff
je 0x20098de6
cmp eax, esi
jae 0x20098de6
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x20098de8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2007c9ae
leave
ret
Function at 0x20098ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x200cc674
je 0x200990ac
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x20099094
mov esi, dword [ebx + 4]
jmp 0x2009908e
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2009907e
cmp dword [ebp - 0xc], 4
jne 0x2009907e
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x20099076
or dword [eax + 0x9c], ecx
jmp 0x2009907e
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x20099042
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x20099025
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x2009946b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x200a3383
call fcn.2007d394
sub esp, 0x124
mov eax, dword [0x200cc84c]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x124]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edx
push eax
push ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x20099579
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x2009954d
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.20004f37
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.2009946b
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.20001172
test bl, bl
jne 0x2009954d
or dword [ebp - 4], 0xffffffff
jmp 0x200994b8
cmp esi, 0x103
je 0x2009955d
cmp esi, 0x3f2
jne 0x2009956d
push dword [edi]
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
leave
ret 8
Function at 0x20099596
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x200a33ae
call fcn.2007d394
sub esp, 0x124
mov eax, dword [0x200cc84c]
push esi
push edi
xor eax, ebp
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x120], edi
call fcn.200967e7
cmp eax, edi
mov dword [ebp - 0x128], eax
je 0x200995f2
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
lea edx, [ebp - 0x128]
push edx
call dword [eax + 0x14]
cmp eax, edi
je 0x200995ea
mov edx, dword [eax]
push edi
push edi
push 0xfffffffffffffffc
push edi
mov ecx, eax
call dword [edx + 0xc]
cmp dword [ebp - 0x128], edi
jne 0x200995cb
cmp dword [esi + 0x50], edi
je 0x200996f2
push 0x200ae154
lea ecx, [ebp - 0x11c]
call fcn.20004f37
push dword [esi + 0x50]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], edi
call fcn.200037d8
push 0x200a6718
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.2003850a
push dword [esi + 0x64]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.2003850a
add esp, 0x18
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.20001172
lea eax, [ebp - 0x124]
push eax
mov esi, reloc.WS2_32.dll_accept
push esi
call fcn.2009946b
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x200996c0
push 0x104
lea eax, [ebp - 0x118]
push eax
push edi
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x200996b4
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.2009946b
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [edi - 0x10]
call fcn.20001172
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.20001172
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.2007c9ae
leave
ret

Function at 0x20099936
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x2009996b
cmp edi, dword [esi + 0xc]
jge 0x2009996b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x2009996b
cmp edi, dword [eax + 8]
jge 0x2009996b
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x2009996d
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x20099aca
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x20099afe
jmp fcn.2008e631
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x20099b6f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x20099c68
cmp eax, dword [edi + 0xc]
jge 0x20099c68
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x20099bc0
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x20099c51
cmp dword [ebp + 0xc], ebx
je 0x20099c51
jmp 0x20099bea
push 0x10
call fcn.20099802
cmp eax, ebx
je 0x20099bd6
mov ecx, eax
call fcn.20099ac1
mov esi, eax
jmp 0x20099bd8
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x20099c01
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x20099c11
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x20099c23
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.2008e631
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.2007e690
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x20099c63
cmp ecx, dword [esi + 8]
jge 0x20099c63
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x20099c69
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x2009a2e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x2009a2c2
mov ecx, 0x200e0340
call fcn.200999d6
mov ebx, eax
cmp word [ebx + 8], 0
jne 0x2009a3d6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.COMCTL32.DLL
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x2009a3ad
push edi
push str.KERNEL32.DLL
call esi
push str.GetUserDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov esi, dword [ebp + 0x10]
mov edi, 0x3ee
je 0x2009a377
call eax
and ax, 0x3ff
cmp ax, 0x11
jne 0x2009a377
mov ecx, 0x200ae38c
call fcn.2009a225
test eax, eax
je 0x2009a377
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xe
add eax, edi
push 0xfc11
movzx eax, ax
push eax
push 5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
jne 0x2009a38f
neg esi
sbb esi, esi
and esi, 0xe
add esi, edi
movzx eax, si
push 5
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
pop edi
je 0x2009a3ad
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.20095384
add esp, 0xc
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 4], eax
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov word [ebx + 8], ax
pop esi
push dword [ebx + 4]
mov ecx, dword [ebp + 8]
call fcn.20003052
mov bx, word [ebx + 8]
mov eax, dword [ebp + 0xc]
mov word [eax], bx
xor eax, eax
cmp bx, 0xffff
setne al
pop ebx
leave
ret 0xc
Function at 0x404b27
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e33c]
jne 0x404b31
repz ret
jmp fcn.0040ad06

Function at 0x40bd34
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c2c
and dword [ebp - 4], 0
cmp dword [0x4389f4], 0
mov ebx, eax
jne 0x40bde5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40be96
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40be96
push eax
call fcn.00404bba
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4389f4], eax
call esi
push eax
call fcn.00404bba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4389f8], eax
call esi
push eax
call fcn.00404bba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4389fc], eax
call esi
push eax
call fcn.00404bba
pop ecx
mov dword [0x438a04], eax
test eax, eax
je 0x40bde5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404bba
pop ecx
mov dword [0x438a00], eax
mov eax, dword [0x438a00]
cmp eax, ebx
je 0x40be3d
cmp dword [0x438a04], ebx
je 0x40be3d
push eax
call fcn.00404c35
push dword [0x438a04]
mov esi, eax
call fcn.00404c35
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40be3d
test edi, edi
je 0x40be3d
call esi
test eax, eax
je 0x40be34
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40be34
test byte [ebp - 0xc], 1
jne 0x40be3d
or dword [ebp + 0x10], 0x200000
jmp 0x40be76
mov eax, dword [0x4389f8]
cmp eax, ebx
je 0x40be76
push eax
call fcn.00404c35
pop ecx
test eax, eax
je 0x40be76
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40be76
mov eax, dword [0x4389fc]
cmp eax, ebx
je 0x40be76
push eax
call fcn.00404c35
pop ecx
test eax, eax
je 0x40be76
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4389f4]
call fcn.00404c35
pop ecx
test eax, eax
je 0x40be96
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40be98
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100026e1
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100026a2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18
Function at 0x4636b5
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20030
call fcn.00431ac0
push ebx
push esi
lea eax, [esp + 0x10038]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.004646af
lea eax, [esp + 0x3c]
mov edx, 0x7fff
push eax
mov ecx, esi
call fcn.004646af
pop ecx
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x463743
cmp byte [ebp + 8], al
je 0x46373c
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call fcn.004236cc
pop ecx
pop ecx
test eax, eax
je 0x463735
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
jmp 0x4637ef
xor al, al
jmp 0x4637ef
lea ecx, [esp + 0x10038]
call fcn.00464ad8
test al, al
je 0x46373c
lea ecx, [esp + 0x38]
call fcn.00464ad8
test al, al
je 0x4637f5
cmp byte [ebp + 8], 0
je 0x46373c
lea eax, [esp + 0x10038]
push str..
push eax
call fcn.00422f0d
lea eax, [esp + 0x10040]
push eax
call fcn.00422d7c
xor ecx, ecx
mov word [esp + eax*2 + 0x10046], cx
lea eax, [esp + 0x44]
push eax
call fcn.00422d7c
xor ecx, ecx
mov dword [esp + 0x1c], 2
add esp, 0x10
mov word [esp + eax*2 + 0x3a], cx
lea eax, [esp + 0x10038]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov eax, 0x614
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407f41
lea ecx, [esp + 0x28]
call fcn.00463a6e
mov bl, al
lea ecx, [esp + 0x28]
neg bl
sbb bl, bl
call fcn.00405a64
inc bl
jne 0x46373c
lea ecx, [esp + 0x38]
call fcn.00464ad8
test al, al
jmp 0x463768
Function at 0x463833
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 1], bl
mov edi, edx
call fcn.004077c7
lea ecx, [ebp - 0x44]
call fcn.004077c7
lea ecx, [ebp - 0x24]
call fcn.004077c7
lea ecx, [ebp - 0x14]
call fcn.004077c7
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.004048ae
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.004048ae
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.00464a6e
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 3], al
call fcn.00464ad8
mov esi, str..
test al, al
je 0x4638a4
push esi
lea ecx, [ebp - 0x34]
call fcn.00407e0b
mov ecx, dword [ebp - 0x44]
call fcn.00464ad8
test al, al
je 0x4638b9
push esi
lea ecx, [ebp - 0x44]
call fcn.00407e0b
lea ecx, [ebp - 0x54]
call fcn.004077c7
lea ecx, [ebp - 0x64]
call fcn.004077c7
push ebx
lea eax, [ebp - 0x64]
push ebx
push eax
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x34]
call fcn.004046f9
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x463a05
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp al, 1
jne 0x463a05
test byte [ebp - 0x2c8], 0x10
jne 0x4639d9
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00407f41
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.004640b2
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00405a64
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x14]
call fcn.004081a7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407c8e
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407e0b
lea ecx, [ebp - 0x24]
call fcn.00463c7b
test al, al
je 0x463991
cmp byte [ebp + 8], bl
je 0x4639fc
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407a68
push dword [ebp - 0x24]
test eax, eax
je 0x46399f
call edi
cmp byte [ebp + 0xc], 1
jne 0x4639c3
cmp byte [ebp - 3], bl
jne 0x4639aa
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4639d1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00463a48
movzx eax, al
test eax, eax
je 0x4639fc
push dword [ebp - 0x14]
call edi
jmp 0x4639d1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00463a48
movzx eax, al
test eax, eax
je 0x4639fc
mov byte [ebp - 1], 1
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x463903
mov al, bl
mov byte [ebp - 2], al
jmp 0x463903
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x463a0f
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [ebp - 1]
lea ecx, [ebp - 0x64]
call fcn.00405a64
lea ecx, [ebp - 0x54]
call fcn.00405a64
lea ecx, [ebp - 0x14]
call fcn.00405a64
lea ecx, [ebp - 0x24]
call fcn.00405a64
lea ecx, [ebp - 0x44]
call fcn.00405a64
lea ecx, [ebp - 0x34]
call fcn.00405a64
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463b56
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x288
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xf], bl
call fcn.004077c7
lea ecx, [esp + 0x20]
call fcn.004077c7
lea ecx, [esp + 0x30]
call fcn.004077c7
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.004048ae
mov ecx, dword [esp + 0x10]
call fcn.00464ad8
test al, al
je 0x463bad
push str..
lea ecx, [esp + 0x14]
call fcn.00407e0b
push ebx
lea eax, [esp + 0x34]
push ebx
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.004046f9
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x463c4d
cmp al, 1
jne 0x463c4d
test byte [esp + 0x40], 0x10
jne 0x463c28
mov byte [esp + 0xf], al
lea ecx, [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.004081a7
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00407c8e
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x14]
call fcn.00407e0b
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x463c44
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x463be0
mov al, bl
mov byte [esp + 0xe], al
jmp 0x463be0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x463c58
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [esp + 0xf]
lea ecx, [esp + 0x30]
call fcn.00405a64
lea ecx, [esp + 0x20]
call fcn.00405a64
lea ecx, [esp + 0x10]
call fcn.00405a64
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret