joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4673ae
push dword [ebp + 0x10]
push edi
push esi
push str.RegisterFile__s___s___d___File_doesnt_exits_
call fcn.00469390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push str..exe
push eax
mov dword [ebp - 0x808], eax
call fcn.0047064b
add esp, 8
test eax, eax
jne 0x46745d
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0046f7e0
push edi
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0046fe12
add esp, 0x18
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x10], ebx
je 0x467411
push str.__regserver
jmp 0x467416
push str.__unregserver
push 0x400
push eax
call fcn.0046e904
add esp, 0xc
lea eax, [ebp - 0x808]
push 0
push eax
push 0
push 1
push str.open
push 0
lea eax, [ebp - 0x804]
push eax
push esi
push 0
call fcn.004668c0
add esp, 0x24
mov ebx, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push str..dll
push dword [ebp - 0x808]
call fcn.0047064b
add esp, 8
test eax, eax
jne 0x467557
push eax
call dword [sym.imp.ole32.dll_OleInitialize]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x46753e
push 0x3ff
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], bl
push 0
push eax
call fcn.0046f7e0
add esp, 0xc
lea eax, [ebp - 0x404]
cmp dword [ebp + 0x10], ebx
je 0x4674be
push str.DllRegisterServer
jmp 0x4674c3
push str.DllUnregisterServer
push 0x400
push eax
call fcn.0046fdbd
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x467537
call eax
test eax, eax
jne 0x467521
lea ebx, [eax + 1]
lea eax, [ebp - 0x404]
push eax
push esi
push str.RegisterFile_____s__s_successfully_
call fcn.00469390
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x404]
push eax
push esi
push str.RegisterFile_____s__s_failed____x_
call fcn.00469390
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push edi
push esi
push str.RegisterFile__s___s___d___File_not_supported_
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x467580
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
push 0x24c
lea eax, [ebp - 0x458]
mov dword [ebp - 0x45c], 0
push 0
push eax
call fcn.0046f7e0
add esp, 0x18
test edi, edi
je 0x467794
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467794
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x467794
push edi
push str._s.
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046ecde
add esp, 0x10
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
cmp eax, 0xffffffff
je 0x467794
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 2
je 0x46773b
lea esp, [esp]
mov cx, word [ebp - 0x42e]
mov ax, word [ebp - 0x430]
test cx, cx
jne 0x46766d
cmp ax, 0x2e
je 0x46771a
cmp word [ebp - 0x42c], 0
jne 0x467686
cmp ax, 0x2e
jne 0x467686
cmp cx, ax
je 0x46771a
lea eax, [ebp - 0x430]
push eax
push edi
push str._s_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046ecde
mov eax, dword [ebp - 0x45c]
add esp, 0x14
test al, 1
je 0x4676c4
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov eax, dword [ebp - 0x45c]
test al, 0x10
lea eax, [ebp - 0x20c]
je 0x4676da
push ebx
push eax
call fcn.00467580
add esp, 8
jmp 0x46771a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
lea eax, [ebp - 0x20c]
push esi
push eax
push str.DeleteFile__s____d
call fcn.00469390
add esp, 0xc
test esi, esi
jne 0x467714
test ebx, 0x100
je 0x467714
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004684a0
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x467650
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x45c]
test al, 1
je 0x467753
and eax, 0xfffffffe
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
push esi
push edi
push str.RemoveDirectory__s____d
call fcn.00469390
add esp, 0xc
test esi, esi
jne 0x467781
test ebx, 0x100
je 0x467781
push esi
push edi
call fcn.004684a0
add esp, 8
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x467a60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fe12
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push esi
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp word [eax], 0
jne 0x467ad6
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046ecde
add esp, 0x14
jmp 0x467b0f
push str..LNK
push eax
call fcn.0047064b
add esp, 8
test eax, eax
je 0x467afa
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046fe12
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x467b30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474c0f
Function at 0x468060
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x468132
push 0x20
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x468109
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4680dd
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call fcn.004683a0
add esp, 0xc
mov edi, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push str.StopService____ControlService_failed
call fcn.00469390
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push str.StopService____OpenService_failed
call fcn.00469390
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 4
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push str.StopService____OpenSCManager_failed
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x468160
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x468197
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x468187
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x4683a0
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
cmp ebx, 0x3e8
mov dword [ebp + 0x10], eax
mov eax, 0x1388
cmovb ebx, eax
cmp dword [esi + 4], ecx
je 0x468460
mov eax, 0xcccccccd
mov ecx, 0x2710
mul ebx
push edi
mov edi, edx
shr edi, 3
cmp edi, 0x3e8
jae 0x4683f6
mov eax, 0x3e8
jmp 0x468401
cmp edi, 0x2710
mov eax, edi
cmova eax, ecx
push eax
call fcn.00467300
add esp, 4
push esi
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46845c
mov eax, dword [ebp + 0x10]
cmp dword [esi + 0x14], eax
jbe 0x46843d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ecx
jmp 0x46844f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
lea eax, [ebx + ebx*2]
sub ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x46845c
mov eax, dword [ebp + 0xc]
mov ecx, 0x2710
cmp dword [esi + 4], eax
jne 0x4683e7
mov ecx, dword [ebp + 0xc]
pop edi
mov eax, dword [esi + 4]
pop esi
pop ebx
cmp eax, ecx
jne 0x46847f
push str.WaitForServiceToReachState____Success
call fcn.00469390
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
push eax
push str.WaitForServiceToReachState____Failed___CurrentState_d
call fcn.00469390
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x469a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x469a87
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x469a80
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x469a80
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00469aa0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x48c8a4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0046fe12
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4849f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00476d71
mov dword [ebp - 0x14], eax
cmp dword [0x4d0e78], esi
jne 0x484ae8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x484a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x484bc8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x484bc8
push 0x4a3ec0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x484bc8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d0e78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d0e7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d0e80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d0e88], eax
test eax, eax
je 0x484ae5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d0e84], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x484b0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x484b00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x484b22
push 4
pop eax
jmp 0x484bca
cmp dword [ebp - 0x14], esi
je 0x484b22
push dword [0x4d0e78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x484b07
mov eax, dword [0x4d0e84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x484b80
cmp dword [0x4d0e88], edi
je 0x484b80
push eax
call ebx
push dword [0x4d0e88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x484b80
test eax, eax
je 0x484b80
call ecx
test eax, eax
je 0x484b75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x484b75
test byte [ebp - 8], 1
jne 0x484b80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x484bb0
mov eax, dword [0x4d0e7c]
cmp eax, edi
je 0x484bad
push eax
call ebx
test eax, eax
je 0x484bad
call eax
mov esi, eax
test esi, esi
je 0x484bad
mov eax, dword [0x4d0e80]
cmp eax, edi
je 0x484bad
push eax
call ebx
test eax, eax
je 0x484bad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d0e78]
call ebx
test eax, eax
je 0x484bc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x484bca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x282b0a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28b3fd8
push 0x28612a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x282b138
cmp dword [ebp + 8], 0xffffffff
je 0x282b138
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x282b118
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0x10000000
jae 0x282b118
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x4550
je 0x282b118
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x282b138
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x282b570
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x282b599
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x282b5d1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x282b5c6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x282b5c6
mov eax, dword [ebp - 4]
jmp 0x282b5d3
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x282b590
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x282b960
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28b3ff8
push 0x28612a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x282b9b3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x1c], eax
jmp 0x282b9d3
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
cmp edx, 0x4550
jne 0x282b9cc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
jmp 0x282b9d3
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x282b9f3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x285dfc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28b4438
push 0x28612a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x285e0a4
cmp dword [ebp + 8], 0xffffffff
je 0x285e0a4
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x285e084
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x285e04a
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x285e053
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x285e053
mov dword [ebp - 0x1c], 0
jmp 0x285e084
cmp dword [ebp + 0xc], 0
je 0x285e084
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x285e077
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0285ddb0
jmp 0x285e084
mov ecx, 0x42
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xffffffff
jmp 0x285e0a4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x28639de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x28af091
call fcn.028a902c
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x10], esi
jbe 0x28639fe
mov eax, ebx
jmp 0x2863a01
xor eax, eax
inc eax
push eax
mov ecx, esi
call fcn.02863266
cmp ebx, edi
mov dword [ebp - 4], edi
ja 0x2863a13
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esi + 0xc]
call fcn.02863266
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x2868598
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x28685c4
mov eax, dword [ebp + 8]
push esi
movzx esi, byte [ebp + 0x10]
movzx edx, byte [eax]
xor edx, esi
mov esi, dword [ebp + 0x10]
shr esi, 8
xor esi, dword [edx*4 + 0x2808968]
inc eax
dec ecx
mov dword [ebp + 0x10], esi
jne 0x28685a6
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x286c747
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x28af091
call fcn.028a902c
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x10], esi
jbe 0x286c767
mov eax, ebx
jmp 0x286c76a
xor eax, eax
inc eax
push eax
mov ecx, esi
call fcn.0286acf1
cmp ebx, edi
mov dword [ebp - 4], edi
ja 0x286c77c
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esi + 0xc]
call fcn.02863266
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x28a1533
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x28a155f
mov eax, dword [ebp + 8]
push esi
movzx esi, byte [ebp + 0x10]
movzx edx, byte [eax]
xor edx, esi
mov esi, dword [ebp + 0x10]
shr esi, 8
xor esi, dword [edx*4 + 0x2812970]
inc eax
dec ecx
mov dword [ebp + 0x10], esi
jne 0x28a1541
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4061bd
pop dword [ebp - 0x48]
mov eax, 0xe321a8a
add eax, 0xf20e4733
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x681aa990
sub dword [ebp - 0x58], 0x19c86445
mov dword [ebp - 0x54], 0xa3c334a2
sub dword [ebp - 0x54], 0x718fe85d
mov dword [ebp - 0x50], 0xf3ee0641
add dword [ebp - 0x50], 0x585e3ded
mov dword [ebp - 0x4c], 0xd0fb2e2a
add dword [ebp - 0x4c], 0x2f04d1d6
lea eax, [ebp - 0x58]
push eax
mov eax, 0x92251f8
add eax, 0xf71e1f4c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x770fb71e
add dword [ebp - 0x58], 0xfd62b238
mov dword [ebp - 0x54], 0xd0fa24d6
add dword [ebp - 0x54], 0x70723c9f
mov dword [ebp - 0x50], 0x9b3c940e
sub dword [ebp - 0x50], 0x37cd27a2
mov dword [ebp - 0x4c], 0x2c962bad
sub dword [ebp - 0x4c], 0x2c962bad
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x9012ee91
sub eax, 0x8fd27d81
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x355f1
push 0
call eax
mov ecx, 0x49e5a416
add ecx, 0xb61a9b97
xor ebx, ebx
add ebx, eax
mov esi, 0x442e0475
add esi, 0xbc155b8b
add esi, dword [ebp - 0x48]
mov edx, 0xff3bfd07
add edx, 0x8a5a080d
xor dword [ebp - 0x1c], 0xe915948e
mov edi, dword [esi]
xor dword [ebp - 0x40], 0xe7125ca
sub edi, edx
sub dword [ebp - 0x1c], esi
mov dword [ebx], edi
sub dword [ebp - 0x18], 0x153dae5
add ebx, 0x1f7bbee9
add ebx, 0xe084411b
add esi, 0x2b7853a4
sub esi, 0x2b7853a0
loop 0x4062e1
add eax, 0x5f81b8e6
sub eax, 0x5f80c75f
xor ebx, ebx
add ebx, eax
add eax, 0xdaacd9c7
sub eax, 0xdaacd9c2
mov ecx, 0x166bb3a
add ecx, 0xfed944c6
add ecx, dword [ebp - 0x48]
call ebx
leave
ret