joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019a8
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x4046e9]
lea edx, [fcn.00401a2c]
sub eax, edx
push eax
push fcn.00401a2c
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push edi
call fcn.00401883
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.004018d1
add esp, 0xc
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
mov edx, edi
inc edx
imul eax, edx
push eax
or edi, edi
je 0x401328
mov esi, 0
jmp 0x40132e
lea esi, [0x4070e4]
push esi
call fcn.00401a2c
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4019a8
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindow
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
call sub.KERNEL32.dll_GetLastError
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
or edi, edx
sub edi, 0x51fcd924
inc edi
call fcn.00438ce4
push 0x378b06d0
mov edx, dword [esp]
add esp, 4
or edi, edi
push 0x584481dd
mov edx, dword [esp]
add esp, 4
xor dword [eax], ebx
add edi, edx
add eax, 1
or edx, edx
and edx, edx
cmp eax, esi
jne fcn.00438c98
sub edx, edx
sub edi, 0x8bfd9ef8
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x404794
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4047fa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403c60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ae0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4047e4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404801
lea eax, [ebp - 0x10]
call fcn.00403a0c
ret

Function at 0x406abc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406af5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403afc
jmp 0x406afe
mov eax, ebx
mov edx, esi
call fcn.00403a60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406b08
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406b29
mov al, byte [esp]
jmp 0x406b2b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407d5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407dc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403c60
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405b84
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407dc7
lea eax, [ebp - 0xc]
call fcn.00403a0c
ret

Function at 0x40ae14
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00403c60
add esp, 0x104
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dd8
xor eax, eax
push ebp
push 0x40ae8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403de8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ae93
lea eax, [ebp - 4]
call fcn.00403a0c
ret
Function at 0x40b154
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x40e85c]
mov ecx, 0x40
call fcn.004029b8
mov dword [0x40e7a8], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x40e7a8
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x40b182
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x40e7a8]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.0040b034
mov esi, eax
mov dword [ebx*4 + 0x40e7a8], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.0040b034
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x40b1f2
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x40b1a2
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40b27c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov eax, dword [0x40e854]
sub dword [ebx + 8], eax
mov eax, dword [0x40e850]
sub dword [ebx], eax
mov esi, 0x14
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edx
mov edx, dword [ebx]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.0040b034
mov ebp, eax
mov eax, dword [ebx + 4]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.0040b034
mov edi, eax
mov eax, dword [ebx + 8]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x40e7ac]
mov edx, edi
call fcn.0040b03c
xor eax, ebp
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x40e7a8]
mov edx, ebp
call fcn.0040b03c
xor edi, eax
mov dword [ebx], edi
dec esi
test esi, esi
jne 0x40b296
mov eax, dword [0x40e7ac]
sub dword [ebx + 0xc], eax
mov eax, dword [0x40e7a8]
sub dword [ebx + 4], eax
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c704
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dd8
mov eax, dword [ebp - 8]
call fcn.00403dd8
xor eax, eax
push ebp
push 0x40c7a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10d]
push eax
push 0
push 0x40c7b0
mov eax, dword [ebp - 4]
call fcn.00403de8
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00403c60
mov eax, dword [ebp - 0x114]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.00405d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7ab
lea eax, [ebp - 0x114]
call fcn.00403a0c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a30
ret
Function at 0x421e08
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421e0e
ret

Function at 0x4572c0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x48ceec]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4575bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4575d5
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4575ce
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4575e7
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4575e0
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004571b0
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x457601
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004572c0
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x457686
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4576a3
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00457240
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4576cc
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4576e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4576fd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4576f6
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x457711
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004570a8
test bl, bl
jne 0x4577e4
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x492bd8
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x457748
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x45775c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004575bc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x45778e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x45773d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4577b1
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4577c2
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4577d6
jmp 0x45789f
cmp bl, 1
jne 0x45789f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x492c32
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x457804
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x457818
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004575bc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x45784a
sub ebx, 6
inc dword [ebp - 8]
jne 0x4577f9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x457871
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x457882
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x457896
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045712c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x45a4bc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call fcn.004072b8
push eax
call fcn.00407350
mov ebx, eax
call fcn.004072c8
push eax
call fcn.004073b0
mov esi, eax
push pe_nt_image_headers32
call fcn.004072b8
push eax
call fcn.004074f0
push 0xf
call fcn.004072c8
push eax
call fcn.00407508
push 0xa
call fcn.0040e6c0
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call fcn.0040e6c0
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call fcn.004072c8
push eax
call fcn.00407508
push ebx
call fcn.004072b8
push eax
call fcn.004074f0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x45a55c]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466dd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x466dfe
mov eax, ebx
call fcn.00467884
cmp dword [ebx + 0x40], 0
je 0x466df7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x466e6f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x466e61
cmp dword [ebx + 8], 0
je 0x466e20
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x466e32
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x466e61
cmp dword [ebx + 8], 0
je 0x466e13
cmp eax, 3
je 0x466e45
dec eax
jne 0x466e13
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x466e13
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466e13
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x466e8d
cmp dword [ebx + 0x14], 0xcc
je 0x466e8d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00466e98
pop ebx
ret
Function at 0x4869a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4869b8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4869b1
mov eax, esp
mov edx, dword [ebp + 8]
test edx, edx
jle 0x4869f2
test edx, edx
jle 0x4869f2
mov dword [ebp - 8], edx
lea edx, [eax + 1]
xor eax, eax
mov al, byte [edx]
xor eax, dword [ecx]
and eax, 0xff
mov eax, dword [eax*4 + 0x4907fc]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor eax, ebx
mov dword [ecx], eax
inc edx
dec dword [ebp - 8]
jne 0x4869cb
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x489d88
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
xor edx, edx
mov dword [esp], edx
test eax, eax
je 0x489e00
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
jne 0x489e00
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
jne 0x489e00
mov esi, ebx
mov eax, esi
call fcn.00407d64
test ax, ax
jne 0x489de0
mov edx, esi
mov eax, dword [esp + 8]
call fcn.00489bf8
mov dword [esp], eax
jmp 0x489e00
push 0
push ebx
call fcn.00407438
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x489e00
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00489cd0
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x48a1f4
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe0
push esp
push 0x20
call fcn.004072b8
push eax
call fcn.00407130
test eax, eax
je 0x48a261
lea eax, [esp + 8]
push eax
push 0x48a268
push 0
call fcn.00407128
test eax, eax
je 0x48a261
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00407118
add esp, 0x20
ret

Function at 0x48aa7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051fc
xor eax, eax
push ebp
push 0x48ab0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d4c
mov eax, dword [ebp - 4]
call fcn.0040500c
mov ebx, eax
test bx, bx
jbe 0x48aaee
mov di, 1
movzx eax, di
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
mov dx, word [ebp - 6]
xor dx, 8
call fcn.00404f34
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00405014
inc edi
dec bx
jne 0x48aabf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ab13
lea eax, [ebp - 0xc]
call fcn.00404d4c
lea eax, [ebp - 4]
call fcn.00404d4c
ret