joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecfe
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
call fcn.0040e1fc
pop ecx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ed2c
test al, 0x10
jne 0x40ed30
xor al, al
leave
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x22c]
push eax
jne 0x40ed4c
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x40ed8f
call fcn.0045179a
mov word [ebp + eax*2 - 0x22a], bx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x40ee5d
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push esi
mov esi, eax
lea eax, [ebp - 0x29c]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x40ef1d
push 0x100
lea eax, [ebp - 0x10c]
push eax
call sub.WSOCK32.dll_gethostname
lea eax, [ebp - 0x10c]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x40ef1d
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x40eeb7
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x40eeae
cmp esi, edx
jle 0x40eecc
push str.0.0.0.0
push dword [ebp + 8]
call fcn.0044f88d
pop ecx
pop ecx
jmp 0x40ef16
push 4
push dword [eax + esi*4 - 4]
lea eax, [ebp - 8]
push eax
call fcn.0044fd30
add esp, 0xc
push dword [ebp - 8]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00451f90
lea eax, [ebp - 0x10c]
push eax
or eax, 0xffffffff
call fcn.0040fc0d
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0044f88d
push esi
call fcn.0044f971
add esp, 0x18
call sub.WSOCK32.dll_WSACleanup
jmp 0x40ef2c
push 0x46bf80
push dword [ebp + 8]
call fcn.0044f88d
pop ecx
pop ecx
pop esi
leave
ret
Function at 0x40f03b
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x48a2ec], 0
push ebx
push esi
mov ebx, eax
je 0x40f0a6
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40f069
xor eax, eax
jmp 0x40f0e8
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40f0a8
jmp 0x40f065
xor esi, esi
cmp byte [0x48a2ed], 0
je 0x40f0c5
test bl, 4
je 0x40f0c5
push esi
push 0x40f0ec
xor ebx, 4
call dword [sym.imp.USER32.dll_EnumWindows]
cmp ebx, 0x20
je 0x40f0d9
cmp ebx, 0x40
je 0x40f0d9
push esi
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40f0e8
xor eax, eax
cmp ebx, 0x20
sete al
push esi
push eax
call sub.KERNEL32.DLL_SetSystemPowerState
pop esi
pop ebx
leave
ret

Function at 0x40f128
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
jne 0x40f141
push dword [esp + 4]
call fcn.0040f103
test al, al
pop ecx
jne 0x40f15d
push 1
jmp 0x40f143
push 0
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
ret

Function at 0x40f341
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
test edi, edi
push esi
jl 0x40f3cd
jne 0x40f355
push 0
jmp 0x40f3c7
mov al, byte [0x48a2ed]
neg al
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x40f3c6
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
je 0x40f3c6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 8]
push eax
call esi
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
fild qword [esp + 0x20]
fdivp st(1)
fmul qword [0x4726e0]
call fcn.00466d26
cmp eax, edi
jb 0x40f384
jmp 0x40f3cd
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f619
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov bl, byte [0x4795bb]
push esi
push 0x8000
push edi
mov esi, eax
call fcn.00453783
pop ecx
push eax
call fcn.0045368c
cmp dword [esi + 8], 0xb
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x40f666
push edi
mov ecx, esi
call fcn.0041232c
push eax
push 1
mov eax, esi
call fcn.004123cc
push eax
call fcn.00452b74
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x40f6a1
call fcn.00412367
push eax
or eax, 0xffffffff
call fcn.0040fc7c
push eax
push 0x46d1e8
push edi
mov dword [ebp - 0xc], eax
call fcn.004537b0
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.0044f971
add esp, 0x14
test bl, bl
je 0x40f6a1
call fcn.00412367
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push edi
call fcn.00453a7d
cmp dword [ebp - 4], 0xffffffff
pop ecx
pop esi
pop ebx
jne 0x40f6b7
push 0x4000
jmp 0x40f6ba
push dword [ebp - 4]
push edi
call fcn.00453783
pop ecx
push eax
call fcn.0045368c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
leave
ret

Function at 0x41151e
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
test dword [ecx], eax
mov esi, edx
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x41155d
mov eax, dword [esi]
cmp eax, edi
jne 0x4115c8
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x4115ac
or eax, 0xffffffff
jmp 0x4115c8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
cmp eax, edi
mov dword [esi], eax
je 0x41157f
cmp eax, 0xffffffff
je 0x41157f
push 1
push esi
push eax
call fcn.0041148b
add esp, 0xc
jmp 0x4115c6
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x46d4e8
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4115a8
cmp eax, edi
jne 0x4115ac
mov dword [esi], edi
jmp 0x4115c6
push 1
lea eax, [ebp + 0xc]
push eax
push dword [esi]
call fcn.0041148b
add esp, 0xc
call fcn.0041147a
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [esi]
pop edi
pop esi
leave
ret 8
Function at 0x4115ce
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
test byte [eax], 1
mov esi, ecx
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x41160e
mov eax, dword [esi]
cmp eax, edi
jne 0x411678
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x41165c
or eax, 0xffffffff
jmp 0x411678
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
cmp eax, edi
mov dword [esi], eax
je 0x41162f
cmp eax, 0xffffffff
je 0x41162f
push 1
push esi
push eax
call fcn.0041148b
add esp, 0xc
jmp 0x411676
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push SysReAllocString
push 0x46d4e8
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x411658
cmp eax, edi
jne 0x41165c
mov dword [esi], edi
jmp 0x411676
push 1
lea eax, [ebp + 8]
push eax
push dword [esi]
call fcn.0041148b
add esp, 0xc
call fcn.0041147a
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [esi]
pop edi
pop esi
leave
ret 4

Function at 0x411796
Capabilities:
Create thread

Disassembly:
push ecx
xor eax, eax
cmp dword [esi + 0x30], eax
jne 0x4117b4
lea ecx, [esp]
push ecx
push eax
push esi
push 0x411984
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x30], eax
pop ecx
ret

Function at 0x4117b6
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
lea esi, [ebp + 0x30]
cmp dword [esi], 0
je 0x411811
push ebx
push edi
lea ebx, [ebp + 0x34]
push dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov edi, 0x1f6
cmp eax, edi
je 0x41180f
add ebp, 0x14
push ebp
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 0x3e8
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.0041147a
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push ebp
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x41199b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00454df0
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 0x34]
push 0x1f5
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov edi, 0xffff
push edi
mov dword [esi + 0x10], edi
call fcn.0044f907
mov ebx, dword [sym.imp.KERNEL32.DLL_ReadFile]
pop ecx
mov dword [esi + 8], eax
jmp 0x411a89
cmp dword [ebp - 4], 0
jbe 0x411aa4
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 4]
cmp dword [esi + 0x10], eax
jae 0x411a60
push dword [esi + 0xc]
call fcn.0044f907
push dword [esi + 0xc]
mov dword [ebp - 8], eax
push dword [esi + 8]
push eax
call fcn.0044fd30
push dword [esi + 8]
call fcn.0044f971
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 4]
test eax, eax
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
jge 0x411a30
fadd qword [0x4726a8]
fmul qword [0x4726c0]
call fcn.00466d26
push eax
mov dword [esi + 0x10], eax
call fcn.0044f907
push dword [esi + 0xc]
mov dword [esi + 8], eax
push dword [ebp - 8]
push dword [esi + 8]
call fcn.0044fd30
push dword [ebp - 8]
call fcn.0044f971
add esp, 0x28
push dword [ebp - 4]
lea eax, [ebp - 0x10010]
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 8]
push eax
call fcn.0044fd30
mov eax, dword [ebp - 4]
add dword [esi + 0xc], eax
add esp, 0xc
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x10010]
push eax
push dword [esi + 0x2c]
call ebx
test eax, eax
jne 0x4119dc
mov esi, 0x1f6
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x414010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x489620], eax
push edi
mov edx, esi
mov eax, 0x489620
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x489fdc
jl 0x414021
pop edi
mov dword [0x478078], esi
mov dword [0x489ff0], esi
pop esi
ret
Function at 0x41404f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x489ff0], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x489620
jne 0x41406f
push 0
call fcn.00453e61
pop ecx
call fcn.00414010
mov dword [0x478078], 0x270
mov dword [0x48961c], esi
mov edx, 0xe3
mov ecx, SysReAllocString
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x41408e
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4140c4
mov edx, dword [0x489620]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41411e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x478078]
jne 0x41412b
call fcn.0041404f
mov eax, dword [0x48961c]
mov ecx, dword [eax]
add dword [0x48961c], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x414162
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x478078]
jne 0x414170
call fcn.0041404f
mov eax, dword [0x48961c]
mov eax, dword [eax]
add dword [0x48961c], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x4141b6
fadd qword [0x4726a8]
fmul qword [0x4726a0]
pop ecx
ret

Function at 0x414361
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x414383
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044fd30
add esp, 0xc
jmp 0x414396
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00452f80
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
add dword [esi + 0xc], 8
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.00452590
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4
Function at 0x41446a
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x464]
test eax, eax
mov ecx, 0x10000
je 0x41447d
cmp eax, ecx
jne 0x414498
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x45c]
call fcn.00452f80
add esp, 0x10
and dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov eax, dword [esi + 0x45c]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x464], ecx
ret

Function at 0x4144af
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 0x444]
push edi
je 0x414566
cmp eax, dword [esi + 0x43c]
jae 0x414532
mov edi, 0x10000
push ebx
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov ebx, dword [esi + 0x460]
mov edx, dword [esi + 0x458]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + ebx], al
inc dword [esi + 0x460]
cmp dword [esi + 0x460], edi
jne 0x41451a
push dword [esi + 0x20]
push edi
push 1
push dword [esi + 0x458]
call fcn.00452b74
add esp, 0x10
and dword [esi + 0x460], 0
inc dword [esi + 0x444]
inc dword [esi + 8]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x4144ce
pop ebx
and dword [esi + 0x440], 0
pop edi
ret
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov edi, dword [esi + 8]
mov edx, dword [esi]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + edi], al
inc dword [esi + 8]
inc dword [esi + 0x444]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x41453b
jmp 0x414532
Function at 0x414570
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x43c], eax
push edi
mov dword [esp + 0x10], eax
jae 0x4146d0
mov ebp, 0xff
push 1
mov eax, esi
call fcn.00414700
cmp eax, 1
mov eax, esi
jne 0x4145cc
push 8
call fcn.00414700
mov ecx, dword [esi + 0x43c]
mov edx, dword [esi + 0x438]
and ecx, 0x1ffff
mov byte [ecx + edx], al
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
jmp 0x41466b
push 0xf
call fcn.00414700
mov ebx, eax
push 2
mov eax, esi
xor edi, edi
call fcn.00414700
cmp eax, 3
jne 0x41462b
push eax
pop edi
push eax
mov eax, esi
call fcn.00414700
cmp eax, 7
jne 0x41462b
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00414700
cmp eax, 0x1f
jne 0x41462b
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00414700
cmp eax, ebp
jne 0x41462b
mov edi, 0x128
jmp 0x41461e
add edi, ebp
push 8
mov eax, esi
call fcn.00414700
cmp eax, ebp
je 0x41461c
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, ebx
jmp 0x414667
mov ebx, dword [esi + 0x43c]
mov ecx, dword [esi + 0x438]
mov edx, eax
and edx, 0x1ffff
mov dl, byte [edx + ecx]
and ebx, 0x1ffff
dec edi
mov byte [ebx + ecx], dl
inc eax
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
test edi, edi
jne 0x414639
call fcn.004144af
cmp dword [0x48b8c0], 0x1000
jbe 0x4146b1
mov edi, dword [esi + 0x454]
and dword [0x48b8c0], 0
test edi, edi
je 0x4146b7
mov ecx, dword [esi + 8]
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [esi + 0x10]
push eax
push ecx
push dword [esi + 0xc]
call edi
add esp, 0xc
test eax, eax
jne 0x4146b7
mov byte [esi + 0x448], 1
jmp 0x4146b7
inc dword [0x48b8c0]
cmp byte [esi + 0x448], 0
jne 0x4146fb
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x43c], eax
jb 0x41458f
lea edi, [esi + 0x460]
mov eax, dword [edi]
test eax, eax
je 0x4146f3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.00452b74
add esp, 0x10
and dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
pop eax
jmp 0x4146f5

Function at 0x414790
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00451720
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x415175
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46bf80
or eax, 0xffffffff
call fcn.0040fc7c
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00451f90
push esi
call fcn.0044f971
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00414790
lea eax, [esp + 0xa8]
push eax
call fcn.00451f00
pop ecx
mov ebx, eax
call fcn.00414790
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.004147bd
mov eax, esi
call fcn.00414854
and dword [edi + 8], 0
push 0x10
xor ecx, ecx
xor eax, eax
pop ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
inc ecx
cmp ecx, ebx
jl 0x4151e9
push 0x46cf3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.0045288b
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x415210
inc eax
jmp 0x41526c
mov esi, edi
call fcn.00415274
push dword [edi]
mov esi, eax
test esi, esi
je 0x415228
call fcn.00452c68
mov eax, esi
jmp 0x41526b
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00452f80
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.0041536f
xor ecx, ecx
mov dword [edi + 8], ecx
xor eax, eax
movzx edx, byte [esp + eax + 8]
imul ecx, edx
inc eax
cmp eax, ebx
jl 0x41524f
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00454043
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415274
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00454df0
xor eax, eax
mov cl, byte [eax + 0x478030]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x478028]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x415283
push ebx
push edi
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00451f90
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044fd30
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.00452f80
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x41536a
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x415316
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x415306
inc edx
cmp edx, 0x14
jl 0x4152f7
cmp edx, 0x14
je 0x41532a
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x4152ee
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00452925
add esp, 0xc
jmp 0x4152c1
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00452925
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00452f80
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.00452590
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x415366
Function at 0x41536f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00414fd6
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.00415116
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x4153b4
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.004150e8
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x41539a
pop edi
pop esi
leave
ret 0xc
Function at 0x4156a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x478]
call fcn.00414212
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.00452925
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push str.___AUTOIT_SCRIPT___
call fcn.00415817
test eax, eax
je 0x4156f2
push 6
pop eax
jmp 0x415810
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.00452f80
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00452f80
push dword [esi]
mov edi, dword [ebp - 8]
push 1
lea eax, [ebp - 8]
push 4
mov ebx, 0x87bc
push eax
xor edi, ebx
call fcn.00452f80
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor eax, ebx
push 1
mov dword [ecx], eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.00452f80
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.00452925
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.00451e36
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.00451e36
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.00452f80
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.0041536f
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.004141be
cmp ebx, dword [ebp - 0xc]
je 0x4157b8
push dword [ebp + 0xc]
call fcn.00452088
pop ecx
push esi
call fcn.00452088
pop ecx
push 0xa
jmp 0x4156ec
cmp byte [ebp - 1], 1
jne 0x4157fa
lea eax, [ebp - 0x478]
call fcn.00414212
xor eax, eax
inc eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x474], esi
call fcn.00414240
push esi
call fcn.00452088
jmp 0x415805
push dword [ebp + 0xc]
call fcn.00452088
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8