joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d15
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404d3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404d3b
xor al, al
jmp 0x404d5b
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041dba0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x405a05
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
push edi
mov eax, dword [esi]
and dword [esi + 4], 0
and byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x405a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x405a69
cmp edi, dword [esi + 8]
jl 0x405a3f
push edi
mov ecx, esi
call fcn.00403150
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
mov edi, eax
call fcn.0040597c
test edi, edi
jne 0x405a67
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
jmp 0x405a69
mov al, 1
pop edi
pop esi
pop ebx
ret 4

Function at 0x405a6f
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41ebf0
call fcn.0041d870
sub esp, 0x18
cmp byte [0x427a1c], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x405af0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [esi + 4], 0
and word [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
je 0x405adf
cmp edi, dword [esi + 8]
jl 0x405ab2
push edi
mov ecx, esi
call fcn.00401d68
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi]
xor ebx, ebx
xor edx, edx
cmp word [ecx], bx
je 0x405ad4
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x405acc
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
jne 0x405aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x405b35
mov al, 1
jmp 0x405b35
lea ecx, [ebp - 0x18]
call fcn.004030fc
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00405a05
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00403d8f
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00401c42
push dword [ebp - 0x24]
call fcn.00402dbe
push dword [ebp - 0x18]
call fcn.00402dbe
pop ecx
mov al, bl
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40ca9f
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41f754
call fcn.0041d870
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
test eax, eax
mov dword [esi], eax
je 0x40cac2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
test eax, eax
mov dword [esi + 4], eax
je 0x40cad6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [edi + 8]
mov byte [ebp - 4], 1
test eax, eax
mov dword [esi + 8], eax
je 0x40caea
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.00401bf9
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.00401bf9
mov eax, dword [edi + 0x24]
lea ecx, [esi + 0x38]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov al, byte [edi + 0x34]
mov byte [esi + 0x34], al
lea eax, [edi + 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.00401bf9
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x44], eax
mov al, byte [edi + 0x48]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40deeb
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x41fa4e
call fcn.0041d870
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00401b7a
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00401b7a
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 2
call fcn.00401b7a
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
call fcn.00401b7a
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 4
call fcn.00401b7a
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 5
call fcn.00401b7a
lea ecx, [esi + 0x8c]
call fcn.0041c7b0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41be90
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x41c6c0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x41c6e8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41c6f7
mov eax, 1
ret 4
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49d377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov ebx, 1
push 0x4c526c
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.00437ff0
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov eax, dword [0x4ac1f4]
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], bl
call fcn.0048346b
lea edi, [esi + 0x44]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.004830bb
lea ebx, [esi + 0x58]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004830bb
push 0xffffffffffffffff
push ebp
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi], 0x4a5a48
call fcn.0048311b
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.0048311b
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402110
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x49d668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x40]
mov esi, ecx
push edi
call fcn.0040e410
push edi
call fcn.0040edb0
add esp, 8
lea ecx, [esp + 0xc]
call fcn.004858dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00485396
mov eax, dword [0x4be930]
mov dword [esp + 0x2c], eax
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 2
mov dword [esp + 0x20], vtable.CFileException.0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xffffffff
call fcn.00484e84
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
push ecx
push 0x1042
push edi
lea ecx, [esp + 0x18]
call fcn.00485a8e
test eax, eax
jne 0x4021be
lea edx, [esp + 8]
push 0x4af3d0
push edx
mov dword [esp + 0x10], 0xef18
call fcn.0041e909
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00485be5
mov eax, dword [esi + 0x28]
mov ecx, dword [eax - 8]
lea ecx, [ecx + ecx + 2]
mov dword [esp + 0x40], ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00485be5
lea edx, [esp + 0x40]
push 4
push edx
lea ecx, [esp + 0x14]
call fcn.00485be5
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 4
call fcn.00485be5
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00402270
lea ecx, [esp + 0xc]
call fcn.00485ca9
mov dword [esp + 0x1c], vtable.CFileException.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 4
call fcn.00484ced
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.004859d1
mov ecx, dword [esp + 0x30]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x402550
Capabilities:
Connect network resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d6d8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
cmp esi, ebx
je 0x402649
push esi
call fcn.0041e943
add esp, 4
test eax, eax
je 0x402649
mov eax, dword [0x4be930]
push edi
mov dword [esp + 0x3c], eax
push esi
lea ecx, [esp + 0x40]
push str._sIPC_
push ecx
mov dword [esp + 0x40], ebx
call fcn.004819a0
mov edx, dword [esp + 0x48]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
push ebx
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
pop edi
cmp esi, ebx
je 0x402625
cmp esi, 0x4c3
je 0x402625
push ebx
push 0x4c526c
lea eax, [esp + 0x10]
push 0x4c526c
push eax
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
cmp esi, ebx
je 0x402625
cmp esi, 0x4c3
je 0x402625
push ebx
push ebx
lea ecx, [esp + 0x10]
push ebx
push ecx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.00484ced
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop esi
mov eax, 0x57
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004858dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00485396
mov eax, dword [0x4be930]
mov dword [esp + 0x24], eax
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 2
mov dword [esp + 0x18], vtable.CFileException.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00484e84
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.00485a8e
test eax, eax
jne 0x4026fb
lea eax, [esp + 0x38]
push 0x4af3d0
push eax
mov dword [esp + 0x40], 0x6a
call fcn.0041e909
lea ecx, [esp + 4]
call fcn.00485d88
push eax
mov dword [esi + 0x24], eax
call fcn.00484a20
mov ecx, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x20], eax
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00485bab
lea ecx, [esp + 4]
call fcn.00485ca9
mov dword [esp + 0x14], vtable.CFileException.0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 4
call fcn.00484ced
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004859d1
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x402c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x4be930]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 8], si
mov word [esp + 0xa], si
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 8]
push esi
push eax
push ecx
mov dword [esp + 0x50], esi
call fcn.0044aef0
add esp, 0xc
test eax, eax
jne 0x402caf
lea edx, [esp + 0x4c]
push 0x4af3d0
push edx
mov dword [esp + 0x54], 0xef1f
call fcn.0041e909
mov eax, dword [esp + 0x28]
push str.Agent
push eax
call fcn.0041e960
add esp, 8
cmp eax, esi
jne 0x402d5e
mov dword [edi + 0x2c], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], 7
call fcn.00484ced
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 6
call fcn.00484ced
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 5
call fcn.00484ced
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 4
call fcn.00484ced
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 3
call fcn.00484ced
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.00484ced
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00484ced
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 4
mov dword [edi + 0x2c], esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], 0xe
call fcn.00484ced
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0xd
call fcn.00484ced
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 0xc
call fcn.00484ced
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 0xb
call fcn.00484ced
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 0xa
call fcn.00484ced
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 9
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 8
call fcn.00484ced
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00484ced
mov ecx, dword [esp + 0x3c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x402ed0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d8b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0044a020
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004858dc
mov ecx, dword [ebp + 8]
push 0
push 0x40
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00485a8e
test eax, eax
jne 0x402f45
lea edx, [ebp - 0x14]
push 0x4af3d0
push edx
mov dword [ebp - 0x14], 0xef20
call fcn.0041e909
lea ecx, [ebp - 0x40]
call fcn.004839e0
mov ebx, 2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00485d88
mov esi, eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x40]
call fcn.00483a40
mov eax, dword [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00485bab
lea ecx, [ebp - 0x2c]
call fcn.00485ca9
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], ebx
xor esi, esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0044ae20
test eax, eax
jne 0x402faf
cmp esi, ebx
jge 0x402fee
push 0x3e8
call edi
inc esi
cmp esi, 3
jl 0x402f8e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00483a13
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004859d1
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a1d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edx, [ebp - 0x18]
push 0x4af3d0
push edx
mov dword [ebp - 0x18], 0xef22
call fcn.0041e909
mov ecx, dword [ebp + 0x18]
call fcn.004853ac
lea eax, [ebp - 0x1c]
push 0x4af3d0
push eax
mov dword [ebp - 0x1c], 0xef21
call fcn.0041e909
Function at 0x403650
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49d9f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x4be930]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov edi, dword [esp + 0x48]
push 0x4bd560
push edi
lea ecx, [esp + 0x10]
push 0x4bd554
push ecx
mov dword [esp + 0x50], 0
call fcn.004819a0
mov edx, dword [0x4be930]
add esp, 0x10
mov dword [esp + 0x10], edx
push edi
lea eax, [esp + 0x14]
push 0x4bd54c
push eax
mov byte [esp + 0x4c], 1
call fcn.004819a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040edb0
add esp, 0x10
test eax, eax
jne 0x4036e0
lea edx, [esp + 0x4c]
push 0x4af3d0
push edx
mov dword [esp + 0x54], 0xef27
call fcn.0041e909
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403718
mov ecx, dword [esp + 8]
push ecx
call fcn.0040e410
add esp, 4
test eax, eax
jne 0x403718
lea edx, [esp + 0x4c]
push 0x4af3d0
push edx
mov dword [esp + 0x54], 0xef25
call fcn.0041e909
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x403745
lea edx, [esp + 0x4c]
push 0x4af3d0
push edx
mov dword [esp + 0x54], 0xef23
call fcn.0041e909
mov eax, dword [0x4be930]
mov dword [esp + 0x48], eax
push 0x4bd52c
push edi
lea ecx, [esp + 0x50]
push 0x4bd554
push ecx
mov byte [esp + 0x50], 2
call fcn.004819a0
mov edx, dword [esp + 0x58]
push edx
call fcn.0040e410
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040edb0
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.004858dc
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 3
call fcn.00485396
mov ecx, dword [0x4be930]
mov dword [esp + 0x34], ecx
mov edi, vtable.CFileException.0
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 5
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xffffffff
call fcn.00484e84
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
push edx
push 0x1042
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 6
call fcn.00485a8e
test eax, eax
jne 0x403801
lea ecx, [esp + 0x4c]
push 0x4af3d0
push ecx
mov dword [esp + 0x54], 0xef18
call fcn.0041e909
mov eax, dword [esi + 0x28]
mov ecx, dword [eax - 8]
lea ecx, [ecx + ecx + 2]
mov dword [esp + 0xc], ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00485be5
lea edx, [esp + 0xc]
push 4
push edx
lea ecx, [esp + 0x1c]
call fcn.00485be5
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 4
call fcn.00485be5
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00402270
lea ecx, [esp + 0x14]
call fcn.00485ca9
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 7
call fcn.00484ced
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.004859d1
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.00484ced
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00484ced
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00484ced
mov ecx, dword [esp + 0x38]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x403a80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49da46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push edi
push str.AKernel3_mac_
call fcn.0041e943
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x47c]
lea ecx, [esp + 0x264]
push eax
push ecx
call fcn.0041e9f7
lea edx, [esp + 0x26c]
push 0x4bd590
push edx
call fcn.0041e9cd
add esp, 0x14
lea eax, [esp + 0x10]
lea ecx, [esp + 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x403bcd
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403bcd
push ebx
push esi
mov esi, dword [esp + 0x484]
xor ebx, ebx
lea eax, [esp + 0x44]
push 0x4bd58c
push eax
call fcn.0041e960
add esp, 8
test eax, eax
je 0x403bb7
lea ecx, [esp + 0x44]
push 0x4bd584
push ecx
call fcn.0041e960
add esp, 8
test eax, eax
je 0x403bb7
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push edx
push eax
push str.AKernel3_mac_
call fcn.0041e995
add esp, 0xc
test eax, eax
jne 0x403bb7
lea ecx, [esp + 0x44]
lea edx, [esp + 0xc]
push ecx
push esi
push edx
call fcn.00484f92
push 0x4bd580
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x480], ebx
push eax
call fcn.00484f92
push eax
mov ecx, esi
mov byte [esp + 0x47c], 1
call fcn.00484e34
lea ecx, [esp + 0x14]
mov byte [esp + 0x478], bl
call fcn.00484ced
lea ecx, [esp + 0xc]
mov dword [esp + 0x478], 0xffffffff
call fcn.00484ced
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403b11
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x470
ret 8
Function at 0x4042a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dbe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x4be930]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x94]
xor ebx, ebx
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], ebx
call fcn.00484d61
mov edi, eax
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x80], 1
push ecx
lea ecx, [esp + 0x38]
call fcn.00484d61
mov ebp, eax
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x84], 2
call fcn.00484d61
mov dword [esp + 0x94], eax
lea eax, [esp + 0x10]
push str._d__n__l
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x8c], 3
call fcn.00484f92
mov edx, dword [esp + 0x94]
mov byte [esp + 0x80], 4
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00484f2c
push 0x4bd670
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x8c], 5
call fcn.00484f92
push ebp
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x8c], 6
call fcn.00484f2c
push 0x4bd668
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x88], 7
push eax
call fcn.00484f92
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x8c], 8
call fcn.00484f2c
push 0x4bd618
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x8c], 9
call fcn.00484f92
mov byte [esp + 0x80], 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.00484e34
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 9
call fcn.00484ced
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 8
call fcn.00484ced
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 7
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 6
call fcn.00484ced
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 5
call fcn.00484ced
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 4
call fcn.00484ced
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 3
call fcn.00484ced
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 2
call fcn.00484ced
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 1
call fcn.00484ced
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], bl
call fcn.00484ced
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x44], 0x40
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x74]
or edi, 0xffffffff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.0040e230
add esp, 4
mov dword [esp + 0x80], edi
test eax, eax
lea ecx, [esp + 0x10]
je 0x404500
call fcn.00484ced
mov eax, 1
jmp 0x404507
call fcn.00484ced
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10