joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454c90
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x454e29
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x454e10
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x454df7
push str.StartService____Service_start_pending.
call fcn.00456fc0
add esp, 4
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x454de8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], 2
jne 0x454db5
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e8
jae 0x454d51
mov dword [ebp - 0xc], 0x3e8
jmp 0x454d61
cmp dword [ebp - 0xc], 0x2710
jbe 0x454d61
mov dword [ebp - 0xc], 0x2710
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x454d87
jmp 0x454db5
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jbe 0x454da0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
jmp 0x454db0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jbe 0x454db0
jmp 0x454db5
jmp 0x454d26
cmp dword [ebp - 0x38], 4
jne 0x454dd1
push str.StartService____StartService_success
call fcn.00456fc0
add esp, 4
mov dword [ebp - 0x14], 1
jmp 0x454de6
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
push str.StartService____Service_not_started._Current_State:__d___Exit_Code:__d
call fcn.00456fc0
add esp, 0xc
jmp 0x454df5
push str.StartService____QueryServiceStatusEx_failed
call fcn.00456fc0
add esp, 4
jmp 0x454e04
push str.StartService____StartService_failed
call fcn.00456fc0
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454e1d
push str.StartService____OpenService_failed
call fcn.00456fc0
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454e36
push str.StartService____OpenSCManager_failed
call fcn.00456fc0
add esp, 4
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x454e40
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.ExecuteFile__s___s___s___d__Wait1____d__ShowWindow____Begin
call fcn.00456fc0
add esp, 0x18
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454e83
xor eax, eax
jmp 0x454fd2
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00467d60
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x18]
movzx eax, word [edx]
test eax, eax
jne 0x454eba
mov dword [ebp - 0x30], 0
jmp 0x454ec0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 0x14], 0
je 0x454ee8
mov edx, dword [ebp + 0x14]
movzx eax, word [edx]
test eax, eax
je 0x454ee8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x14]
push edx
push str.ExecuteFile____Directory_s
call fcn.00456fc0
add esp, 8
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x28], 0
je 0x454f14
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
cmp dword [ebp - 0x40], 0
je 0x454fba
cmp dword [ebp + 0x1c], 0
je 0x454fba
push 0x64
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x48]
push ecx
push str.ExecuteFile____WaitForSingleObject_X
call fcn.00456fc0
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x454f91
cmp dword [ebp - 0x48], 0xffffffff
je 0x454f91
cmp dword [ebp - 0x48], 0x80
je 0x454f91
cmp dword [0x4e8c34], 0
jne 0x454f91
push 0x3e8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e140
add esp, 8
jmp 0x454f51
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
push str.ExecuteFile____WaitForSingleObject_X_Time_d_ms
call fcn.00456fc0
add esp, 0xc
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.ExecuteFile____End__d____x_
call fcn.00456fc0
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x457740
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4577cf
mov edx, dword [ebp - 4]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4577cf
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4577ca
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4577cf
mov eax, dword [ebp - 0xc]
jmp 0x4577d1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4577e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45783e
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x457832
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x457832
mov eax, dword [ebp - 8]
jmp 0x457840
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45b500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45b510
xor eax, eax
jmp 0x45b6ad
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45b66e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfd50]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfd50]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4bfd50]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfd50]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfd50]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4bfd50]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfd50]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfd50]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x45b519
cmp dword [ebp + 0x10], 0
je 0x45b6a7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfd50]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x45b674
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x45c5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x45c60f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45c605
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x45c669
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x45c62f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046b0a0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x45df70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x45df8a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x45df94
mov eax, 0x1000000
jmp 0x45e01b
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4c01c0
mov eax, dword [ebp - 0x10]
add eax, 0x138
push eax
call fcn.0046f45e
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x45dfdf
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x45dfdf
mov eax, 0x2000000
jmp 0x45e01b
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045c290
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45e005
mov eax, dword [ebp - 8]
jmp 0x45e01b
mov eax, dword [ebp - 4]
push eax
call fcn.0045ca50
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [0x4ea214]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e7c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x45e7e3
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x45e7e8
jmp 0x45e8ef
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x45e83a
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x45e820
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x45e829
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x45e7f7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x45e8ba
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00467d60
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.0046f5a8
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x420], dx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045e7c0
add esp, 8
mov edx, dword [ebp - 0x214]
add edx, 2
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f48c
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0046f45e
add esp, 8
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x462190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x4621a8
cmp dword [ebp + 0xc], 8
jg 0x4621a8
mov byte [ebp - 5], 1
jmp 0x4621ac
mov byte [ebp - 5], 0
push str.bad_pack_level
movzx eax, byte [ebp - 5]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045fcb0
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x4621f5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x4af70
push ecx
call fcn.00467d60
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4c087a]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4c0878]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4c087c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4c087e]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x462282
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x462297
cmp dword [ebp + 0xc], 8
jl 0x462297
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x4622fd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x462319
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x462391
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x462341
mov edx, dword [ebp + 8]
push edx
call fcn.00462720
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 4], 0
jmp 0x462360
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jae 0x462391
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x462357
mov esp, ebp
pop ebp
ret
Function at 0x464110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x464120
xor eax, eax
jmp 0x4642bd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x46427e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c0bc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c0bc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4c0bc0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c0bc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c0bc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4c0bc0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c0bc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c0bc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x464129
cmp dword [ebp + 0x10], 0
je 0x4642b7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c0bc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x464284
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x464b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x464c5a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
cmp edx, dword [eax + 0x20]
jb 0x464c27
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
shl edx, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 0xc]
cmp edx, ecx
jbe 0x464b5d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x464b69
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x464b96
mov eax, 0x300
jmp 0x464c94
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x464bd8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov eax, 0x300
jmp 0x464c94
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0046b0a0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x1c]
push edx
call fcn.0046b0a0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0xc]
jmp 0x464c94
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
je 0x464c88
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
jmp 0x464c94
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8