joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450d20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x450d32
add esp, 0xfffffff0
call fcn.004030e8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x450d53
push 0x90
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_IsBadStringPtrA
test eax, eax
je 0x450d69
mov ecx, 0x450f58
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
mov eax, dword [ebp - 0xc]
call fcn.00407b44
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
call fcn.0040276c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404eba
mov edx, 1
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004051b1
call fcn.00402730
call fcn.0040276c
test eax, eax
je 0x450dc1
mov ecx, 0x450f74
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x174]
mov ecx, 0x40
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404f5c
call fcn.00402730
cmp dword [ebp - 0x10], 0x40
jne 0x450e03
mov eax, dword [ebp - 4]
cmp word [eax + 0x174], 0x5a4d
jne 0x450e03
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b0], 0
jne 0x450e19
mov ecx, 0x450f90
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1b0]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004051e8
call fcn.00402730
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1b4]
mov ecx, 0x40
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404f5c
call fcn.00402730
cmp dword [ebp - 0x10], 0x40
je 0x450e70
mov ecx, 0x450f90
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1b0]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004051e8
call fcn.00402730
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1f4]
mov ecx, 0xf8
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404f5c
call fcn.00402730
cmp dword [ebp - 0x10], 0xf8
je 0x450eca
mov ecx, 0x450f90
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
mov eax, dword [ebp - 4]
cmp word [eax + 0x1b4], 0x454e
jne 0x450ee4
mov eax, dword [ebp - 4]
mov byte [eax + 0x170], 0
jmp 0x450f15
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f4], 0x4550
jne 0x450eff
mov eax, dword [ebp - 4]
mov byte [eax + 0x170], 1
jmp 0x450f15
mov ecx, 0x450fa8
mov dl, 1
mov eax, dword [0x450c80]
call fcn.0040a3f8
call fcn.0040345c
mov dl, 1
mov eax, dword [0x40c9d8]
call fcn.00402e70
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov dl, 1
mov eax, dword [0x40c9d8]
call fcn.00402e70
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
cmp byte [ebp - 5], 0
je 0x450f49
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x452734
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x475ca4], 0x8088405
inc edx
mov dword [0x475ca4], edx
mul edx
mov eax, edx
ret
Function at 0x45274c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov dword [esp], edx
mov edi, eax
mov eax, dword [esp]
cmp dword [eax], 0
jne 0x452781
mov eax, edi
call fcn.00403c18
mov esi, eax
test esi, esi
jle 0x452781
mov ebx, 1
xor eax, eax
mov al, byte [edi + ebx - 1]
mov edx, dword [esp]
add dword [edx], eax
inc ebx
dec esi
jne 0x452772
mov eax, dword [esp]
mov eax, dword [eax]
add eax, 0x6a4a617b
mov dword [0x475ca4], eax
mov eax, edi
call fcn.00403c18
mov edx, eax
mov eax, ebp
call fcn.00403f48
mov eax, edi
call fcn.00403c18
mov esi, eax
test esi, esi
jle 0x4527d5
mov ebx, 1
mov eax, pe_nt_image_headers32
call fcn.00452734
xor edx, edx
mov dl, byte [edi + ebx - 1]
xor eax, edx
push eax
mov eax, ebp
call fcn.00403de8
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4527b2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x452834
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
call fcn.004527dc
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x452853
xor eax, eax
call fcn.0045280c
xor eax, eax
push ebp
push 0x452883
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push ebx
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45288a
cmp byte [ebp - 1], 0
je 0x452882
mov al, 1
call fcn.0045280c
ret

Function at 0x452ae0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x473a14]
cmp dword [ecx], 2
je 0x452b19
cmp dword [eax + 0x2f68], 0
je 0x452b19
mov ecx, dword [eax + 0x2f68]
mov dword [ecx + 0x9b8], edx
push 0x38b22
push 0xfeda
push 0
mov eax, dword [eax + 0x2f60]
push eax
call sub.user32.dll_SendMessageA
ret
mov eax, dword [0x475ca0]
and eax, 0xff
cmp eax, 5
jge 0x452b48
mov eax, dword [0x473930]
mov eax, dword [eax]
cmp edx, dword [eax + 0x24]
jne 0x452b48
push 0
mov eax, dword [0x473930]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
jmp 0x452b53
xor ecx, ecx
mov eax, edx
xor edx, edx
call fcn.00452960
ret

Function at 0x452ef8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dcc
xor eax, eax
push ebp
push 0x452fa8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00407464
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x452f92
xor eax, eax
push ebp
push 0x452f8b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, eax
mov eax, ebx
call fcn.00403f48
mov eax, dword [ebx]
call fcn.00403c18
push eax
mov eax, ebx
call fcn.00403de8
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004074c8
mov edx, eax
mov eax, ebx
call fcn.00403f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f92
mov eax, dword [ebp - 8]
call fcn.0040752c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452faf
lea eax, [ebp - 4]
call fcn.0040399c
ret
Function at 0x454bc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x454d36
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0040bcbc
test al, al
je 0x454d0b
xor eax, eax
push ebp
push 0x454c50
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x90
call fcn.00403f48
mov eax, dword [ebp - 8]
call fcn.00403ddc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
call fcn.00403ddc
call fcn.0040790c
mov edx, eax
lea eax, [ebp - 8]
call fcn.00403f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c57
mov eax, dword [ebp - 0xc]
call fcn.0045498c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454d3d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004039c0
lea eax, [ebp - 8]
call fcn.0040399c
lea eax, [ebp - 4]
call fcn.00403fec
ret
Function at 0x45aba8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x200], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ac4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1f9], 0
push 0x1f4
lea eax, [ebp - 0x1f9]
push eax
lea edx, [ebp - 0x200]
mov eax, esi
call fcn.0045ab74
mov eax, dword [ebp - 0x200]
call fcn.00403ddc
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
lea eax, [ebp - 0x200]
lea edx, [ebp - 0x1f9]
mov ecx, 0x1f5
call fcn.00403bc8
mov eax, dword [ebp - 0x200]
lea edx, [ebp - 4]
call fcn.00402bfc
cmp dword [ebp - 4], 0
jne 0x45ac2c
cmp ebx, eax
je 0x45ac30
xor eax, eax
jmp 0x45ac32
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ac54
lea eax, [ebp - 0x200]
call fcn.0040399c
ret
Function at 0x45f998
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403ddc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45f9b1
test al, 0x10
jne 0x45f9b5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45f9bc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dcc
xor eax, eax
push ebp
push 0x45fa89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403c18
test eax, eax
mov eax, dword [ebp - 4]
call fcn.0045f968
test eax, eax
je 0x45fa1a
mov eax, dword [ebp - 4]
call fcn.0045f968
cmp byte [eax], 0x5c
jne 0x45fa1a
mov eax, dword [ebp - 4]
call fcn.00403c18
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00403e5c
mov eax, dword [ebp - 4]
call fcn.00403c18
cmp eax, 3
jl 0x45fa6e
mov eax, dword [ebp - 4]
call fcn.0045f998
test al, al
jne 0x45fa6e
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004077bc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403d28
je 0x45fa6e
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004077bc
mov eax, dword [ebp - 8]
call fcn.0045f9bc
push 0
mov eax, dword [ebp - 4]
call fcn.00403ddc
push eax
call sub.kernel32.dll_CreateDirectoryA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa90
lea eax, [ebp - 8]
mov edx, 2
call fcn.004039c0
ret
Function at 0x4608f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403dcc
xor eax, eax
push ebp
push 0x460abd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00403a34
mov edx, dword [ebp - 0x10]
mov eax, 0x460ad4
call fcn.00403f00
mov ebx, eax
test ebx, ebx
jne 0x460950
mov eax, dword [ebp - 0x10]
call fcn.00403c18
mov ebx, eax
inc ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403e1c
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0xc7c]
mov edx, dword [eax + 0x58]
lea eax, [ebp - 0xc]
call fcn.00403c64
lea eax, [ebp - 0x10]
mov ecx, ebx
mov edx, 1
call fcn.00403e5c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00407884
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040714c
mov eax, dword [ebp - 0x14]
mov edx, 0x460ae0
call fcn.00403d28
jne 0x460a4d
mov eax, dword [ebp - 0xc]
call fcn.00403ddc
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x460a9a
xor eax, eax
push ebp
push 0x460a46
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x460ae8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x460a2f
xor eax, eax
push ebp
push 0x460a25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x460afc
call fcn.00403c20
mov eax, dword [ebp - 0x10]
call fcn.00403ddc
push eax
push edi
lea eax, [ebp - 0x118]
push eax
call ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460a2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460a9a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00407884
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040714c
mov eax, dword [ebp - 0x14]
mov edx, 0x460b08
call fcn.00403d28
jne 0x460a9a
push 1
push dword [ebp - 0xc]
push 0x460ad4
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403cd8
mov eax, dword [ebp - 0x14]
call fcn.00403ddc
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460ac4
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004039c0
lea eax, [ebp - 4]
call fcn.0040399c
ret

Function at 0x4631dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x55d], 0
pop ebx
ret
Function at 0x822cb30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x138]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x822cb54
movzx eax, word [ecx + 6]
jmp 0x822cb56
xor eax, eax
movzx esi, word [edi + 0x144]
sub eax, esi
movzx edx, ax
test ecx, ecx
jne 0x822cb6a
xor esi, esi
jmp 0x822cb73
movsx esi, si
shl esi, 7
add esi, dword [ecx + 8]
push ebx
test dx, dx
je 0x822ccb5
lea ecx, [ecx]
movzx eax, word [esi + 8]
dec edx
mov dword [ebp - 0x10], edx
cmp ax, 8
je 0x822cb98
cmp ax, 0x18
jne 0x822cca9
cmp dword [esi + 0x7c], 0
jne 0x822cbb3
mov ecx, 0x8222044
call fcn.08251e2b
mov dword [esi + 0x7c], eax
test eax, eax
je 0x822ccd7
cmp dword [ebp - 4], 0
jne 0x822cbd9
mov eax, dword [0x8246cbc]
push 0x10000
push 0
push eax
call fcn.08230040
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x822ccf4
mov ecx, dword [esi + 0x7c]
push 2
push 0
push ecx
call dword [sym.imp.msvcrt.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x822ccd7
mov edx, dword [esi + 0x7c]
push edx
call dword [sym.imp.msvcrt.dll_ftell]
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, 0x7fffffff
xor edi, edi
lea esp, [esp]
cmp ebx, 0xffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov ecx, 0xffff
jg 0x822cc2b
mov ecx, ebx
push edi
lea edx, [ebp - 8]
push edx
movsx edx, word [esi + 0x44]
push edx
movzx edx, word [esi]
push ecx
mov ecx, dword [ebp - 4]
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.08230ee0
add esp, 0x20
test ax, ax
mov eax, dword [ebp + 8]
jne 0x822ccfc
mov edx, dword [eax + 0x1c]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [edx + 4]
jne 0x822cd14
mov eax, dword [ebp - 8]
test eax, eax
jle 0x822cc98
mov edx, dword [esi + 0x7c]
push edx
push 1
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
test eax, eax
je 0x822cd31
mov eax, dword [ebp - 8]
add edi, eax
sub ebx, eax
jne 0x822cc10
mov eax, dword [esi + 0x60]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov edi, dword [ebp + 8]
sub esi, 0xffffff80
test dx, dx
jne 0x822cb80
xor esi, esi
mov eax, dword [ebp - 4]
pop ebx
test eax, eax
je 0x822ccce
push eax
mov eax, dword [0x8246cbc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov ax, si
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x27
push 0
push 0
push 0
add edi, 8
push edi
call fcn.0822a430
add esp, 0x1c
or esi, 0xffffffff
jmp 0x822ccb7
push 0
push 0
push 0x28
jmp 0x822ccdd
mov edx, dword [eax]
mov ecx, dword [eax + 0x1c]
push edx
push ecx
add eax, 8
push eax
call fcn.0822a640
add esp, 0xc
or esi, 0xffffffff
jmp 0x822ccb7
push 0
push 0
push 0x55
push 0
push 0
add eax, 8
push 0
push eax
call fcn.0822a430
add esp, 0x1c
or esi, 0xffffffff
jmp 0x822ccb7
mov edx, dword [ebp + 8]
push 0
push 0
push 0x27
push 0
push 0
add edx, 8
push 0
push edx
call fcn.0822a430
add esp, 0x1c
or esi, 0xffffffff
jmp 0x822ccb7
Function at 0x824c365
Capabilities:
Encode data using xor

Disassembly:
call 0x824c2de
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x824c30e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x824c32a
xor edx, 0
jmp 0x824c335
xor edx, edx
jmp 0x824c34c
jmp 0x824c358
xor eax, eax
push 0x8427d7c0
call 0x824c365
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x824c3a1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x824c37a
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x824c3b8
add eax, 0
jno 0x824c3bd
add esi, 0
ret 0x10

Function at 0x824d126
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x824d148
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x824d2ea
cmp edi, dword [ebp + 0x10]
jb 0x824d2ea
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0824cc12
inc edi
jmp 0x824d1d1
jmp 0x824d1de
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0824cc12
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0824cc12
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x824d232
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x824d216
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0824d260
add dword [eax], 0x39
jle 0x824d23c
sub al, 0xf5
mov ch, al
call fcn.0824d275
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x824ef4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x824ef63
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x824ef74
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0824efb5
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x8251321
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x825126a
add ebx, 0
push ecx
call 0x825127f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71ef73d1
sub ebx, dword [0x71f16c10]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71f16c00
call fcn.0824cd49
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0824c257
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x82513dd
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x82513dd
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x8251394
mov eax, 1
lock xchg dword [0x71f16c0c], eax
push 0x3dd1fc71
call 0x8251321
push esi
add esp, 8
cmp eax, 0
jne 0x825130a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x8251330
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x8251345
cmp ecx, edx
cmp eax, 0
je 0x825136a
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x8251354
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.08251383
dec eax
loope 0x8251386
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71f16c0c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x82513ba
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x82513cf
jmp 0x82513da
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x82512c8
Function at 0x8258442
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x8258718
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71f03884
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71efa84a
push 0xffffffffffffffff
call fcn.0824f642
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x82584ac
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.082584c4
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x825870c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x82586e0