joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4403eb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb38
cmp byte [0x4bb8f4], 1
jne 0x4404db
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rar.ini
lea eax, [ebp - 0x400]
call fcn.0040c4d0
push eax
call fcn.0049fdd4
add esp, 8
lea edx, [ebp - 0x400]
lea ecx, [ebp - 0x464]
push edx
push 0x64
push ecx
push 0x4afc92
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x400]
lea edx, [ebp - 0x4c8]
push eax
push 0x64
push edx
push 0x4afc92
push str.regcode
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x400]
push ecx
push 0
push str.informed
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [ebp - 0x464], 0
je 0x4404db
cmp byte [ebp - 0x4c8], 0
je 0x4404db
test eax, eax
jne 0x4404db
lea eax, [ebp - 0x400]
push eax
push 0x4b000c
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x4872a8
push dword [0x4cfe34]
push 0x4b000e
push dword [0x4bb918]
call sub.USER32.DLL_DialogBoxParamA
mov esp, ebp
pop ebp
ret

Function at 0x4408f9
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3d8
push ebx
mov ebx, str.MAIN_MENU
lea edx, [ebx + 0x409]
lea eax, [ebx + 0x62]
xor ecx, ecx
call fcn.00463dec
test eax, eax
jne 0x440a28
push 0x401
lea eax, [ebp - 0x804]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebx + 0x417]
lea eax, [ebp - 0x804]
push edx
call fcn.0040c4d0
push eax
call fcn.0049fdd4
add esp, 8
lea eax, [ebp - 0x400]
call fcn.0040cbd4
lea edx, [ebp - 0x400]
push edx
lea ecx, [ebp - 0xc08]
push ecx
call fcn.0049fdd4
add esp, 8
lea eax, [ebp - 0xc08]
call fcn.0040ca00
lea edx, [ebx + 0x417]
push edx
lea ecx, [ebp - 0xc08]
push ecx
call fcn.0049fcf8
add esp, 8
lea eax, [ebp - 0xc08]
xor edx, edx
call fcn.0040a918
test al, al
jne 0x440a15
lea ecx, [ebp - 0x804]
push ecx
call fcn.0049fe04
pop ecx
mov byte [ebp + eax - 0x803], 0
lea eax, [ebp - 0xc08]
push eax
call fcn.0049fe04
pop ecx
mov byte [ebp + eax - 0xc07], 0
push 0x1e
push 0
lea edx, [ebp - 0xc28]
push edx
call fcn.0049fc54
mov dword [ebp - 0xc24], 2
lea ecx, [ebp - 0x804]
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc20], ecx
mov dword [ebp - 0xc1c], eax
mov word [ebp - 0xc18], 0x14
add esp, 0xc
lea edx, [ebp - 0xc28]
push edx
call sub.SHELL32.DLL_SHFileOperationA
lea edx, [ebx + 0x409]
lea eax, [ebx + 0x62]
mov ecx, 1
call fcn.00463b18
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e984
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
push ebx
mov ebx, eax
lea edx, [ebp - 0x400]
mov eax, 0x4d0b94
xor ecx, ecx
call fcn.00458d64
lea eax, [ebp - 0x400]
call fcn.0040c4d0
mov edx, 0x4b2430
mov ecx, 6
call fcn.0040fde4
test eax, eax
jne 0x45eaea
mov edx, 0x4b2437
xor ecx, ecx
mov eax, ebx
call fcn.0045be34
test eax, eax
jne 0x45e9f3
mov edx, str.rarreg.txt
xor ecx, ecx
mov eax, ebx
call fcn.0045be34
test eax, eax
je 0x45eaea
lea edx, [ebp - 0x1000]
lea eax, [ebp - 0x800]
call fcn.0044e79c
test al, al
je 0x45eaea
push 0x400
lea ecx, [ebp - 0x1400]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4b2437
lea eax, [ebp - 0x1400]
call fcn.0040c4d0
push eax
call fcn.0049fdd4
add esp, 8
push 0
lea edx, [ebp - 0x1400]
push edx
lea ecx, [ebp - 0x800]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x45ea90
lea eax, [ebp - 0x1400]
call fcn.0040cbd4
lea eax, [ebp - 0x1400]
call fcn.0040ca00
push 0x4b2437
lea edx, [ebp - 0x1400]
push edx
call fcn.0049fcf8
add esp, 8
push 0
lea ecx, [ebp - 0x1400]
push ecx
lea eax, [ebp - 0x800]
push eax
call sub.KERNEL32.DLL_CopyFileA
lea edx, [ebp - 0x800]
push edx
call fcn.004a2aa0
pop ecx
push dword [0x4cfe34]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040f3d0
mov byte [0x4bb8f4], al
mov eax, 0x4cfe48
call fcn.0045cb14
cmp byte [0x4bb8f4], 1
je 0x45eaea
push 0x30
mov eax, 0x368
call fcn.00413388
push eax
mov eax, 0x367
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48af08
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff3f8
push ebx
push esi
push edi
mov esi, eax
cmp dword [0x4d27dc], 0
jne 0x48b1a2
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x48b10a
mov word [ebp - 0xc08], 0
push 0x400
lea eax, [ebp - 0x408]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0041113c
test eax, eax
je 0x48af7b
push 0x400
lea edx, [ebp - 0xc08]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 8]
push ecx
call sub.USER32.DLL_GetCursorPos
push dword [ebp - 4]
push dword [ebp - 8]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4d27d4], 0
je 0x48afa8
cmp eax, dword [0x4cfe48]
je 0x48afd7
cmp eax, dword [0x4d0374]
je 0x48afd7
lea edx, [ebp - 0x408]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x48afd7
push 1
lea ecx, [ebp - 0xc08]
lea edx, [ebp - 0x408]
mov eax, 0x4cfe48
call fcn.0045e458
dec eax
je 0x48b1a2
push 7
push str.rarreg.
lea eax, [ebp - 0x408]
call fcn.0040c4d0
push eax
call fcn.004a0004
add esp, 0xc
test eax, eax
jne 0x48b10a
push 0x400
lea edx, [ebp - 0x1008]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rarreg.key
lea eax, [ebp - 0x1008]
call fcn.0040c4d0
push eax
call fcn.0049fdd4
add esp, 8
push 0
lea edx, [ebp - 0x1008]
push edx
lea ecx, [ebp - 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x48b07e
lea eax, [ebp - 0x1008]
call fcn.0040cbd4
lea eax, [ebp - 0x1008]
call fcn.0040ca00
push str.rarreg.key
lea edx, [ebp - 0x1008]
push edx
call fcn.0049fcf8
add esp, 8
push 0
lea ecx, [ebp - 0x1008]
push ecx
lea eax, [ebp - 0x408]
push eax
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4cfe34]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4cfe34]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040f3d0
mov byte [0x4bb8f4], al
push 0
push dword [0x4cfe34]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4d27d4], 0
je 0x48b0c4
mov eax, 0x4cfe48
call fcn.0045cb14
jmp 0x48b0d5
mov edx, 0x4b5e28
mov eax, 0x4cfe48
xor ecx, ecx
call fcn.0045b204
cmp byte [0x4bb8f4], 1
je 0x48b1a2
push 0x30
mov eax, 0x368
call fcn.00413388
push eax
mov eax, 0x367
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
jmp 0x48b1a2
xor eax, eax
call fcn.0044b600
cmp dword [0x4d27d4], 0
je 0x48b124
mov dword [0x4c5a50], 1
mov eax, dword [0x4c8488]
call fcn.00410788
xor ebx, ebx
cmp edi, ebx
jle 0x48b187
mov word [ebp - 0x1c08], 0
push 0x400
lea eax, [ebp - 0x1408]
push eax
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0041113c
test eax, eax
je 0x48b16c
push 0x400
lea edx, [ebp - 0x1c08]
push edx
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 0x1c08]
lea edx, [ebp - 0x1408]
mov eax, dword [0x4c8488]
call fcn.004107c0
inc ebx
cmp edi, ebx
jg 0x48b134
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.0044c790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b1d4
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff2b0
push ebx
push esi
mov byte [ebp - 1], al
mov dword [0x4d27ec], 1
test dl, dl
je 0x48b333
lea eax, [ebp - 0x410]
mov edx, 0x400
call fcn.00466df0
lea eax, [ebp - 0x410]
call fcn.0040ca00
lea edx, [ebp - 0x410]
lea ecx, [ebp - 0x810]
push edx
push str._sRar_
push ecx
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetSystemTimeAsFileTime
lea edx, [ebp - 0x950]
push edx
lea ecx, [ebp - 0x810]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x48b31c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x410]
sub edx, dword [ebp - 0x948]
push eax
cmp edx, 8
lea edx, [ebp - 0xd50]
setae bl
and ebx, 1
push edx
call fcn.0049fdd4
add esp, 8
lea ecx, [ebp - 0x924]
push ecx
lea eax, [ebp - 0xd50]
push eax
call fcn.0049fcf8
add esp, 8
test byte [ebp - 0x950], 0x10
je 0x48b2fa
push 6
push str.Rar_DI
lea edx, [ebp - 0x924]
push edx
call fcn.0049fe60
add esp, 0xc
test eax, eax
jne 0x48b2c1
call fcn.0041113c
cmp eax, 4
jne 0x48b2c5
xor ecx, ecx
jmp 0x48b2ca
mov ecx, 1
mov byte [ebp - 0xd], cl
lea eax, [ebp - 0xd50]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
jne 0x48b307
test bl, bl
je 0x48b2e7
cmp byte [ebp - 1], 0
je 0x48b2ed
cmp byte [ebp - 0xd], 0
je 0x48b307
lea eax, [ebp - 0xd50]
call fcn.004669fc
jmp 0x48b307
lea eax, [ebp - 0xd50]
xor edx, edx
call fcn.00466be8
lea ecx, [ebp - 0x950]
push ecx
push esi
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test eax, eax
jne 0x48b32d
cmp dword [0x4d27ec], 1
je 0x48b256
push esi
call sub.KERNEL32.DLL_FindClose
cmp byte [ebp - 1], 0
jne 0x48b370
cmp byte [0x4bb8f4], 1
je 0x48b370
push 0
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
mov al, 1
call fcn.0048b380
mov byte [0x4bb8f4], al
cmp byte [0x4bb8f4], 1
jne 0x48b370
mov eax, 0x4b685d
xor edx, edx
call fcn.00444b10
xor ecx, ecx
mov dword [0x4d27ec], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4044ef
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x404510
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404507
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4044ff
mov eax, ebx
leave
ret

Function at 0x404536
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x404595
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4045c2
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4045b1
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4045a2
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4045e8
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x404589
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x404e28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.004044b5
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x405007
push dword [ebp - 4]
call fcn.00404499
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404ef8
jmp 0x405007
push dword [ebp - 4]
call fcn.00404499
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x404f4c
lea eax, [ebp - 4]
push eax
call fcn.00404e0e
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.004046c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x404f4c
mov eax, 1
jmp 0x404f4e
xor eax, eax
test eax, eax
je 0x404ffc
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x404ff4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00404c2b
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x404fe3
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00404de7
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x404f96
add esp, 0xc
jmp 0x405007
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x404ed1
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x405028
mov esp, ebp
pop ebp
ret 8
Function at 0x4066f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x4066fd
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x406742
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x406742
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x406742
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x406742
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x406746
xor eax, eax
jmp 0x406771
nop
push 0
push 0
push 0
call eax
call fcn.00406776
push 0x700ed6df
push eax
push 0
call fcn.004067c9
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x406776
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4067a4
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40679b
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x406793
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4067c5
mov esp, ebp
pop ebp
ret

Function at 0x4067c9
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x406835
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x406862
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x406851
xor ecx, eax
xor edx, ebx
dec edi
jne 0x406842
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x406888
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x406829
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4068b4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e628
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0043a161
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0043a161
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0043a161
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x43d4b0
call fcn.0043a16d
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40e6e8
mov eax, 0
jmp 0x40e854
cmp dword [ebp + 0xc], 0
jne 0x40e714
mov dword [ebp - 0x1c], esp
mov eax, 0x33
call fcn.0043a179
cmp dword [ebp - 0x1c], esp
je 0x40e711
push 6
call fcn.0043a173
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40e73c
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e736
push ebx
call fcn.0043a167
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x34
call fcn.0043a179
cmp dword [ebp - 0x1c], esp
je 0x40e767
push 6
call fcn.0043a173
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4e5df8
mov eax, 0x35
call fcn.0043a179
cmp dword [ebp - 0x1c], esp
je 0x40e793
push 6
call fcn.0043a173
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x36
call fcn.0043a179
cmp dword [ebp - 0x1c], esp
je 0x40e827
push 6
call fcn.0043a173
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0x37
call fcn.0043a179
cmp dword [ebp - 0x1c], esp
je 0x40e84c
push 6
call fcn.0043a173
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40e854
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0043a167
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0043a167
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0043a167
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438dd3
Capabilities:
Check for trap flag exception

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
pushfd
or dword [esp], 0x100
popfd
clc
call 0x438df8
pop dword fs:[0]
pop eax
popal
mov esp, ebp
pop ebp
ret 4
Function at 0x45fc90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7434c0]
xor edx, edx
cmp eax, edx
jne 0x45fcb6
xor eax, eax
mov byte [eax + 0x7433c0], al
inc eax
cmp eax, 0x100
jl 0x45fc9e
mov dword [0x7434c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7433c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45fd47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x45fd1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x45fce8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45fdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x45fe13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45fdfa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret