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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.0044d9c3
dec eax
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
pop ecx
jne 0x40c5e3
and word [eax], 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40c65a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
jne 0x40c60d
push 0
push esi
call ebp
test eax, eax
je 0x40c612
mov al, 1
jmp 0x40c660
cmp eax, 3
jne 0x40c65e
push esi
call fcn.0040d0a5
mov edi, eax
push 0x5c
push edi
call fcn.0045160a
add esp, 0xc
test eax, eax
jne 0x40c632
push edi
call fcn.0044d460
pop ecx
jmp 0x40c65e
and word [eax], 0
push ebx
push edi
call fcn.0040c5c7
push edi
mov bl, al
call fcn.0044d460
test bl, bl
pop ecx
pop ecx
je 0x40c655
push 0
push esi
call ebp
test eax, eax
setne bl
mov al, bl
pop ebx
jmp 0x40c660
test al, 0x10
jne 0x40c609
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x40c664
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push dword [ebp + 8]
lea eax, [ebp - 0x438]
call fcn.0040beac
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
call fcn.0040beac
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x40c6dd
cmp byte [ebp + 0x10], al
je 0x40c6d9
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0044d935
test eax, eax
pop ecx
pop ecx
je 0x40c6d5
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea eax, [ebp - 0x438]
push eax
call esi
cmp eax, 0xffffffff
je 0x40c6f6
test al, 0x10
jne 0x40c6fd
xor al, al
jmp 0x40c7b6
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
xor ebx, ebx
cmp eax, 0xffffffff
je 0x40c717
test al, 0x10
je 0x40c717
cmp byte [ebp + 0x10], bl
jmp 0x40c738
lea eax, [ebp - 0x22c]
push eax
call fcn.0040c5c7
test al, al
pop ecx
je 0x40c73a
lea eax, [ebp - 0x22c]
push eax
call esi
cmp eax, 0xffffffff
je 0x40c73a
test al, 0x10
jne 0x40c73e
xor al, al
jmp 0x40c7b5
lea eax, [ebp - 0x438]
push str..
push eax
call fcn.0044d352
lea eax, [ebp - 0x438]
push eax
call fcn.0044d9c3
mov word [ebp + eax*2 - 0x436], bx
lea eax, [ebp - 0x22c]
push eax
call fcn.0044d9c3
mov word [ebp + eax*2 - 0x22a], bx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
pop esi
leave
ret
Function at 0x40c7b9
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
call fcn.0040beac
push dword [ebp + 0xc]
lea eax, [ebp - 0x438]
call fcn.0040beac
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
call esi
cmp eax, 0xffffffff
je 0x40c7f9
test al, 0x10
jne 0x40c800
xor al, al
jmp 0x40c919
push ebx
lea eax, [ebp - 0x438]
push eax
call esi
xor ebx, ebx
cmp eax, 0xffffffff
je 0x40c863
test al, 0x10
je 0x40c863
cmp byte [ebp + 0x10], bl
je 0x40c898
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x40c863
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0044d935
test eax, eax
pop ecx
pop ecx
je 0x40c863
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jmp 0x40c8ae
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0040bf9e
test al, al
pop ecx
pop ecx
je 0x40c8b3
push 1
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0040c664
add esp, 0xc
test al, al
jne 0x40c89c
xor al, al
jmp 0x40c918
lea eax, [ebp - 0x22c]
push 1
push eax
call fcn.0040c91c
pop ecx
pop ecx
test al, al
setne al
jmp 0x40c918
lea eax, [ebp - 0x22c]
push eax
call fcn.0044d9c3
mov word [ebp + eax*2 - 0x22a], bx
lea eax, [ebp - 0x438]
push eax
call fcn.0044d9c3
mov word [ebp + eax*2 - 0x436], bx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x14], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
pop esi
leave
ret

Function at 0x40c91c
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.0040beac
pop ecx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c94a
test al, 0x10
jne 0x40c94e
xor al, al
leave
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x22c]
push eax
jne 0x40c96a
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x40c9ad
call fcn.0044d9c3
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 0x40ca75
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 0x40cb35
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 0x40cb35
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x40cacf
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x40cac6
cmp esi, edx
jle 0x40cae4
push str.0.0.0.0
push dword [ebp + 8]
call fcn.0044d37c
pop ecx
pop ecx
jmp 0x40cb2e
push 4
push dword [eax + esi*4 - 4]
lea eax, [ebp - 8]
push eax
call fcn.0044f750
add esp, 0xc
push dword [ebp - 8]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0044f5c0
lea eax, [ebp - 0x10c]
push eax
or eax, 0xffffffff
call fcn.0040d89f
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0044d37c
push esi
call fcn.0044d460
add esp, 0x18
call sub.WSOCK32.dll_WSACleanup
jmp 0x40cb44
push 0x46a170
push dword [ebp + 8]
call fcn.0044d37c
pop ecx
pop ecx
pop esi
leave
ret

Function at 0x40cc53
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x48984c], 0
push ebx
push esi
mov ebx, eax
je 0x40ccbe
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 0x40cc81
xor eax, eax
jmp 0x40cd00
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 0x40ccc0
jmp 0x40cc7d
xor esi, esi
cmp byte [0x48984d], 0
je 0x40ccdd
test bl, 4
je 0x40ccdd
push esi
push 0x40cd04
xor ebx, 4
call dword [sym.imp.USER32.dll_EnumWindows]
cmp ebx, 0x20
je 0x40ccf1
cmp ebx, 0x40
je 0x40ccf1
push esi
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40cd00
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 0x40cd40
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
jne 0x40cd59
push dword [esp + 4]
call fcn.0040cd1b
test al, al
pop ecx
jne 0x40cd75
push 1
jmp 0x40cd5b
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 0x40d014
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 0x40d0a0
jne 0x40d028
push 0
jmp 0x40d09a
mov al, byte [0x48984d]
neg al
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x40d099
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
je 0x40d099
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 [0x470338]
call fcn.00464806
cmp eax, edi
jb 0x40d057
jmp 0x40d0a0
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d2ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [0x47765b]
push edi
push 0x8000
push esi
call fcn.00451253
pop ecx
push eax
call fcn.0045115c
push dword [ebp + 8]
mov dword [ebp - 4], eax
or eax, 0xffffffff
call fcn.0040d90e
mov edi, eax
push edi
push 0x46b0e8
push esi
call fcn.00451280
push edi
call fcn.0044d460
push esi
call fcn.0045154d
add esp, 0x20
cmp dword [ebp - 4], 0xffffffff
jne 0x40d342
push 0x4000
jmp 0x40d345
push dword [ebp - 4]
push esi
call fcn.00451253
pop ecx
push eax
call fcn.0045115c
pop ecx
pop ecx
pop edi
test bl, bl
pop ebx
je 0x40d363
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
leave
ret

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

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4876c0], eax
push edi
mov edx, esi
mov eax, 0x4876c0
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, 0x48807c
jl 0x411249
pop edi
mov dword [0x475c94], esi
mov dword [0x488090], esi
pop esi
ret
Function at 0x411277
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x488090], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4876c0
jne 0x411297
push 0
call fcn.00451931
pop ecx
call fcn.00411238
mov dword [0x475c94], 0x270
mov dword [0x4876bc], 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 0x4112b6
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 0x4112ec
mov edx, dword [0x4876c0]
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 0x411346
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x475c94]
jne 0x411353
call fcn.00411277
mov eax, dword [0x4876bc]
mov ecx, dword [eax]
add dword [0x4876bc], 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 0x41138a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x475c94]
jne 0x411398
call fcn.00411277
mov eax, dword [0x4876bc]
mov eax, dword [eax]
add dword [0x4876bc], 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 0x4113de
fadd qword [0x470318]
fmul qword [0x470310]
pop ecx
ret

Function at 0x411589
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x4115ab
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044f750
add esp, 0xc
jmp 0x4115be
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004509f1
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.004500f0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4
Function at 0x411692
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x464]
test eax, eax
mov ecx, 0x10000
je 0x4116a5
cmp eax, ecx
jne 0x4116c0
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x45c]
call fcn.004509f1
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 0x4116d7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 0x444]
push edi
je 0x41178e
cmp eax, dword [esi + 0x43c]
jae 0x41175a
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 0x411742
push dword [esi + 0x20]
push edi
push 1
push dword [esi + 0x458]
call fcn.004505e5
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 0x4116f6
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 0x411763
jmp 0x41175a
Function at 0x411798
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 0x4118f8
mov ebp, 0xff
push 1
mov eax, esi
call fcn.00411928
cmp eax, 1
mov eax, esi
jne 0x4117f4
push 8
call fcn.00411928
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 0x411893
push 0xf
call fcn.00411928
mov ebx, eax
push 2
mov eax, esi
xor edi, edi
call fcn.00411928
cmp eax, 3
jne 0x411853
push eax
pop edi
push eax
mov eax, esi
call fcn.00411928
cmp eax, 7
jne 0x411853
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00411928
cmp eax, 0x1f
jne 0x411853
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00411928
cmp eax, ebp
jne 0x411853
mov edi, 0x128
jmp 0x411846
add edi, ebp
push 8
mov eax, esi
call fcn.00411928
cmp eax, ebp
je 0x411844
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, ebx
jmp 0x41188f
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 0x411861
call fcn.004116d7
cmp dword [0x48bd80], 0x1000
jbe 0x4118d9
mov edi, dword [esi + 0x454]
and dword [0x48bd80], 0
test edi, edi
je 0x4118df
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 0x4118df
mov byte [esi + 0x448], 1
jmp 0x4118df
inc dword [0x48bd80]
cmp byte [esi + 0x448], 0
jne 0x411923
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x43c], eax
jb 0x4117b7
lea edi, [esi + 0x460]
mov eax, dword [edi]
test eax, eax
je 0x41191b
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.004505e5
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 0x41191d

Function at 0x4119b8
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.0044fbe0
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 0x41239d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46a170
or eax, 0xffffffff
call fcn.0040d90e
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.0044f5c0
push esi
call fcn.0044d460
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.004119b8
lea eax, [esp + 0xa8]
push eax
call fcn.0044f530
pop ecx
mov ebx, eax
call fcn.004119b8
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.004119e5
mov eax, esi
call fcn.00411a7c
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 0x412411
push 0x46ae3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.004502fc
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x412438
inc eax
jmp 0x412494
mov esi, edi
call fcn.0041249c
push dword [edi]
mov esi, eax
test esi, esi
je 0x412450
call fcn.004506d9
mov eax, esi
jmp 0x412493
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004509f1
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00412597
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 0x412477
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00451b13
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41249c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004528c0
xor eax, eax
mov cl, byte [eax + 0x476140]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x476138]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x4124ab
push ebx
push edi
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.0044f5c0
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044f750
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.004509f1
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x412592
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x41253e
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x41252e
inc edx
cmp edx, 0x14
jl 0x41251f
cmp edx, 0x14
je 0x412552
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x412516
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00450396
add esp, 0xc
jmp 0x4124e9
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00450396
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.004509f1
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.004500f0
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x41258e
Function at 0x412597
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.004121fe
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.0041233e
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x4125dc
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.00412310
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x4125c2
pop edi
pop esi
leave
ret 0xc
Function at 0x4128cf
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.0041143a
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.00450396
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push str.___AUTOIT_SCRIPT___
call fcn.00412a3f
test eax, eax
je 0x41291a
push 6
pop eax
jmp 0x412a38
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.004509f1
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.004509f1
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.004509f1
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.004509f1
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.00450396
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.0044f469
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.0044f469
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.004509f1
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.00412597
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.004113e6
cmp ebx, dword [ebp - 0xc]
je 0x4129e0
push dword [ebp + 0xc]
call fcn.0044f6b8
pop ecx
push esi
call fcn.0044f6b8
pop ecx
push 0xa
jmp 0x412914
cmp byte [ebp - 1], 1
jne 0x412a22
lea eax, [ebp - 0x478]
call fcn.0041143a
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.00411468
push esi
call fcn.0044f6b8
jmp 0x412a2d
push dword [ebp + 0xc]
call fcn.0044f6b8
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