joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b800
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493173
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00484eb0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048a623
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048bb7b
test eax, eax
je 0x45b91c
mov ecx, dword [esp + 0x3c]
call fcn.0048a650
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45b8e0
push edi
mov ecx, esi
call fcn.00487c14
mov ecx, esi
call fcn.0045ba80
cmp dword [esp + 0x38], 1
jne 0x45b915
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00487d7e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45e340
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45e373
push esi
call fcn.00461440
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45e36c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45e3f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45e3e2
mov eax, dword [esi + 8]
test eax, eax
je 0x45e397
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45e3de
cmp eax, 2
je 0x45e3e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45e38a
cmp eax, 3
je 0x45e3bd
cmp eax, 1
jne 0x45e38a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45e38a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45e38a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045e420
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45e408
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045e420
add esp, 4
pop esi
ret

Function at 0x485ca6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x485cde
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483d33
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483d0b
jmp 0x485cea
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x487398
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4873da
call fcn.0048d07d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4873da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4873d1
xor eax, eax
jmp 0x4873e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004873e8
pop edi
pop esi
pop ebx
ret 4

Function at 0x48d5ad
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48d5db
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d5f9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d513
jmp 0x48d5f9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d5f9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d513
test edi, edi
mov eax, edi
jne 0x48d5e3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402380
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap edi
or edi, 0x2d
inc ebx
imul esi
sbb eax, 0x36
not eax
mov edi, 0xf7
not edi
or eax, 0x24
inc eax
imul ebx
ror esi, 0xb3
inc esi
bswap esi
imul eax
dec edx
inc eax
neg edx
rcr edx, 0x49
add edx, 0xcc
and esi, 9
not edx
rcr esi, 0xb7
not esi
and ebx, 0x7a
imul esi
neg edx
rcl ebx, 0x97
and eax, 0x1e
rcr ebx, 0xa9
add edx, 0x69
neg edx
rcr edx, 0x69
dec esi
add eax, 7
ror esi, 0xd9
mov edx, 0x65
rol esi, 0x81
neg edx
sbb eax, 0xa8
add edx, 0x72
or edx, 0x71
inc eax
or edx, 0x3e
neg edi
rcl edi, 0x54
dec eax
sub edx, 0x64
imul ebx
and eax, 0x11
xor ecx, ecx
xor edi, edi
rol eax, 0x25
ror ebx, 0xa
dec ebx
imul edi
mov ebx, 0x8b
not eax
add esi, 0x92
sbb eax, 0xac
bswap edx
imul eax
neg edx
sbb edx, 0x82
neg edi
sub edi, 0xa7
not edi
rcl esi, 0xa7
ror edi, 0x4f
bswap edx
bswap esi
and edx, 0x2b
mov edx, 0xc9
bswap esi
or edi, 0xe4
and eax, 0x3f
ror eax, 0x88
add edx, 0x8b
inc edi
neg edx
rol eax, 0xbe
and esi, 0x46
and esi, 0xbf
neg eax
add edx, 0x93
sbb ebx, 0x46
dec esi
imul edx
rcl edi, 0x38
rcr ebx, 0x51
mov edi, 0x80
bswap ebx
neg esi
not edx
imul ebx
or esi, 0x46
inc esi
or ebx, 0xa2
and edx, 0x66
neg edx
neg eax
not ebx
mov ecx, dword [ebp + 0xc]
mov eax, 0x19
ror esi, 0x83
imul eax
not eax
sub edi, 0x74
rcr eax, 0x58
neg eax
and esi, 0x14
not eax
dec edx
rol esi, 0xac
rol esi, 0xf8
not edi
dec edi
rol ebx, 0x7f
neg eax
neg edx
dec ebx
neg edi
not esi
rol edi, 0xea
bswap eax
not edx
not edi
add eax, 0xaf
rol edx, 0x1e
ror esi, 0x6d
rol eax, 0xdf
or edi, 0xef
or esi, 0xd2
imul edi
add edi, 5
bswap edx
bswap edi
bswap edx
neg eax
neg eax
inc ebx
neg edi
add eax, 0xaf
not eax
imul ebx
sub edx, 3
rcl ebx, 0xe5
imul edx
and edi, 0x33
or eax, 0x73
sbb eax, 0xa7
bswap eax
or edx, 0xbd
mov edi, dword [ebp + 8]
xor ebx, esi
mov ebx, ebx
mov esi, esi
not byte [edi]
xor eax, ebx
mov eax, esi
xor esi, ebx
xor esi, esi
mov eax, ebx
xor eax, ebx
xor esi, esi
mov ebx, esi
xor eax, eax
add byte [edi], 0x56
mov ebx, ebx
xor ebx, esi
xor ebx, esi
xor esi, eax
mov esi, ebx
xor esi, esi
mov ebx, esi
mov ebx, ebx
xor ebx, eax
sub byte [edi], 0x23
mov eax, ebx
mov eax, eax
mov esi, eax
xor esi, eax
mov eax, eax
mov esi, eax
xor ebx, eax
mov esi, esi
mov esi, eax
imul byte [edi]
inc edi
loop 0x402537
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407984
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417484]
jne 0x40798e
repz ret
jmp fcn.0040c165
Function at 0x40d96d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040aaa0
and dword [ebp - 4], 0
cmp dword [0x4189f4], 0
mov ebx, eax
jne 0x40da1e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dacf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dacf
push eax
call fcn.0040aa2e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4189f4], eax
call esi
push eax
call fcn.0040aa2e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4189f8], eax
call esi
push eax
call fcn.0040aa2e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4189fc], eax
call esi
push eax
call fcn.0040aa2e
pop ecx
mov dword [0x418a04], eax
test eax, eax
je 0x40da1e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040aa2e
pop ecx
mov dword [0x418a00], eax
mov eax, dword [0x418a00]
cmp eax, ebx
je 0x40da76
cmp dword [0x418a04], ebx
je 0x40da76
push eax
call fcn.0040aaa9
push dword [0x418a04]
mov esi, eax
call fcn.0040aaa9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40da76
test edi, edi
je 0x40da76
call esi
test eax, eax
je 0x40da6d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40da6d
test byte [ebp - 0xc], 1
jne 0x40da76
or dword [ebp + 0x10], 0x200000
jmp 0x40daaf
mov eax, dword [0x4189f8]
cmp eax, ebx
je 0x40daaf
push eax
call fcn.0040aaa9
pop ecx
test eax, eax
je 0x40daaf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40daaf
mov eax, dword [0x4189fc]
cmp eax, ebx
je 0x40daaf
push eax
call fcn.0040aaa9
pop ecx
test eax, eax
je 0x40daaf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4189f4]
call fcn.0040aaa9
pop ecx
test eax, eax
je 0x40dacf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dad1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40294d
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x415044], 0
jne 0x4029d6
mov eax, esp
call fcn.00405f84
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040fdcc
test eax, eax
jne 0x4029d6
push 0x41523d
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040fca0
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040fc20
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x402b3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402bb7
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.00402a8e
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402bb7
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402baf
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040fd20
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402c7c
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402c86
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x403b04
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov eax, 0x41b9c0
push ebx
call fcn.004105f0
call sub.KERNEL32.DLL_GetCommandLine
mov ebx, eax
test ebx, ebx
je 0x403b32
mov eax, ebx
call fcn.00403cd0
push ebx
push str.sfxcmd
call sub.KERNEL32.DLL_SetEnvironmentVariableA
push 0x400
push 0x416a34
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x416a34
push str.sfxname
call sub.KERNEL32.DLL_SetEnvironmentVariableA
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
mov dword [0x41b9b8], eax
push 0x64
push ebx
call sub.USER32.DLL_LoadIconA
mov dword [0x416e34], eax
push 0x65
push dword [0x41b9b8]
call sub.USER32.DLL_LoadBitmapA
mov dword [0x416e38], eax
lea eax, [ebp - 8]
call fcn.00405968
mov edx, 0x416a34
mov eax, 0x41b9a4
call fcn.00404fa8
lea eax, [ebp - 0x20]
call fcn.00404510
lea eax, [ebp - 0x38]
call fcn.00404510
push 0
push 0x401183
lea edx, [ebp - 0x20]
push 0
mov dword [0x41723c], edx
lea ecx, [ebp - 0x38]
push str.STARTDLG
push ebx
mov dword [0x417240], ecx
call sub.USER32.DLL_DialogBoxParamA
xor eax, eax
mov dword [0x416180], eax
xor edx, edx
mov dword [0x417240], edx
mov dword [0x41723c], edx
cmp dword [0x416188], 0
jne 0x403c0e
cmp dword [0x416194], 0
jne 0x403c0e
cmp dword [0x41505c], 0
jne 0x403c0e
mov ecx, 4
mov edx, dword [0x415048]
xor eax, eax
call fcn.00401a80
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404534
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404534
lea eax, [ebp - 8]
mov edx, 2
call fcn.004059dc
cmp byte [0x4158f4], 0
je 0x403c43
call fcn.0040294d
mov eax, 0x4169a4
mov ecx, 0x80
xor edx, edx
call fcn.0040fc20
cmp dword [0x415054], 0
jle 0x403c67
mov eax, dword [0x415048]
call fcn.0040fba4
push dword [0x416e34]
call sub.GDI32.DLL_DeleteObject
mov eax, dword [0x416e38]
test eax, eax
je 0x403c81
push eax
call sub.GDI32.DLL_DeleteObject
cmp dword [0x41b998], 0
jne 0x403ca2
cmp dword [0x416188], 0
je 0x403ca2
mov eax, 0x41b998
mov edx, 0xff
call fcn.0040cdf8
mov dword [0x416188], 2
mov eax, dword [0x41505c]
test eax, eax
je 0x403cba
call fcn.0040291f
push dword [0x41b998]
call sub.KERNEL32.DLL_ExitProcess
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403e48
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov dword [0x416198], 1
mov ebx, dword [0x416180]
test ebx, ebx
je 0x403e70
mov eax, 0x7d
call fcn.00402bc4
push eax
push 1
push ebx
call sub.USER32.DLL_SetDlgItemTextA
xor edx, edx
mov dword [0x41619c], edx
mov dword [0x4161a0], 1
mov eax, dword [0x416180]
test eax, eax
je 0x403ec9
push 1
push eax
call sub.USER32.DLL_ShowWindow
cmp dword [0x415054], 0
jne 0x403ec0
cmp byte [0x415018], 0
jne 0x403ec0
push 0
push 1
push 0x111
push dword [0x416180]
call sub.USER32.DLL_SendMessageA
jmp 0x403ec0
call fcn.00402c40
cmp dword [0x416188], 2
jne 0x403ebb
cmp byte [0x4158f4], 0
je 0x403ed7
call fcn.0040294d
pop ebx
ret
Function at 0x406b00
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
call fcn.00405718
test eax, eax
je 0x406b26
test ebx, ebx
je 0x406b26
cmp word [ebx], 0
je 0x406b26
push 0
push ebx
call sub.KERNEL32.DLL_CreateDirectoryW
jmp 0x406b2e
push 0
push esi
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x406b41
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.00406eec
xor eax, eax
jmp 0x406b5c
call sub.KERNEL32.DLL_etLastError
cmp eax, 2
je 0x406b50
cmp eax, 3
jne 0x406b57
mov eax, 2
jmp 0x406b5c
mov eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x406e60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.00405718
test eax, eax
je 0x406e8b
test ebx, ebx
je 0x406e8b
cmp word [ebx], 0
je 0x406e8b
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_etFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret

Function at 0x406ec0
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.00405718
test eax, eax
je 0x406ee2
test ebx, ebx
je 0x406ee2
cmp word [ebx], 0
je 0x406ee2
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_etFileAttributesA
pop esi
pop ebx
ret

Function at 0x406eec
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
call fcn.00405718
test eax, eax
je 0x406f19
test ebx, ebx
je 0x406f19
cmp word [ebx], 0
je 0x406f19
push esi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
setne al
and eax, 1
jmp 0x406f28
push esi
push edi
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
setne al
and eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x408e9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, 0x41764c
push ebp
mov ebp, edx
cmp dword [edi + 4], 0
mov esi, ecx
mov ebx, eax
jne 0x408eb6
call fcn.00408e64
mov eax, ebp
jmp 0x408ece
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x408ed2
test al, 7
jne 0x408eba
cmp esi, 8
jb 0x408f5f
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, eax
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x408edf
xor edx, edx
jmp 0x408f79
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [edi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp esi, edx
ja 0x408f63
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4096b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4096c7
test esi, esi
jg 0x4096ce
xor eax, eax
jmp 0x409772
mov edx, dword [ebp - 4]
add edx, 4
lea eax, [ebp - 0x28]
mov ecx, 0x10
call fcn.0040fc34
test esi, esi
jns 0x4096e8
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x409759
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00409a24
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x4096f5
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040fc34
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e57c
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40e585
mov eax, dword [esp + 0x2000]
add esp, 0xfffffb30
mov ebx, edx
mov esi, eax
lea edi, [esp + 0x10b4]
lea eax, [esp + 0xc14]
call fcn.00406858
lea eax, [esp + 0xc40]
call fcn.00406858
lea eax, [esp + 0xc6c]
call fcn.00406858
push 0
lea ecx, [esp + 4]
mov edx, ebx
mov eax, esi
call fcn.00405b74
test al, al
jne 0x40e5e5
xor eax, eax
jmp 0x40e732
cmp byte [esp], 0
je 0x40e5f5
cmp byte [esp + 0xc98], 0
jne 0x40e5fc
xor eax, eax
jmp 0x40e732
mov eax, esp
call fcn.00405f84
lea edx, [esp + 0xc98]
call fcn.00406fdc
test eax, eax
je 0x40e62a
mov eax, esi
call fcn.00405f84
lea edx, [esp + 0xc98]
call fcn.00406fdc
test eax, eax
je 0x40e631
xor eax, eax
jmp 0x40e732
xor ebx, ebx
mov eax, edi
mov ecx, 0x400
mov edx, esi
call fcn.00407084
push ebx
push str.rtmp_d
mov eax, edi
call fcn.00405f84
push eax
call fcn.0040fe18
add esp, 0xc
mov eax, edi
xor edx, edx
call fcn.00406e60
test al, al
je 0x40e66f
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x40e633
mov eax, edi
xor edx, edx
call fcn.00406e60
test al, al
je 0x40e683
xor eax, eax
jmp 0x40e732
lea eax, [esp + 0x14b4]
mov ecx, 0x400
mov edx, esi
call fcn.00407084
mov eax, esp
call fcn.00405f84
push eax
lea eax, [esp + 0x14b8]
call fcn.00405f84
pop edx
call fcn.0040fd20
push edi
lea ecx, [esp + 0x14b8]
push ecx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jne 0x40e6c6
xor eax, eax
jmp 0x40e732
lea eax, [esp + 0x18b4]
call fcn.0040e73c
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.00406e60
test al, al
jne 0x40e6f3
lea eax, [esp + 0x18b4]
xor ecx, ecx
mov edx, esi
call fcn.0040e91c
mov ebx, eax
lea eax, [esp + 0x14b4]
push eax
push edi
call sub.KERNEL32.DLL_MoveFileA
test bl, bl
je 0x40e71d
lea eax, [esp + 0x18b4]
call fcn.0040ea20
lea eax, [esp + 0x18b4]
call fcn.0040eaa8
mov al, 1
push eax
lea eax, [esp + 0x18b8]
mov edx, 2
call fcn.0040e78c
pop eax
add esp, 0x24d4
pop edi
pop esi
pop ebx
ret

Function at 0x40ece8
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x40ed0f
cmp esi, 0x4e20
jle 0x40ed05
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40ed60
mov eax, ebx
call fcn.0040f028
test al, al
je 0x40ed47
cmp esi, 0x4e20
jle 0x40ed47
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.0040ece8
jmp 0x40ed63
cmp dword [ebx + 0xc], 1
jne 0x40ed5b
call sub.KERNEL32.DLL_etLastError
cmp eax, 0x6d
jne 0x40ed5b
xor eax, eax
jmp 0x40ed63
or eax, 0xffffffff
jmp 0x40ed63
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410268
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x41577c], 0
jne 0x410281
call fcn.0040febc
mov dword [0x415778], eax
inc byte [0x41577c]
add eax, 0x41577c