joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cdb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], esi
mov eax, dword [0x5b5040]
cmp eax, dword [0x559bc0]
je 0x40cdd1
mov dword [0x559e40], 0x271
mov eax, dword [0x559e40]
cmp eax, 0x270
jl 0x40cef9
mov eax, dword [0x559e40]
cmp eax, 0x271
jne 0x40ce08
mov eax, dword [0x5b5040]
call fcn.0040cd70
mov eax, dword [0x5b5040]
not eax
mov dword [0x5b5040], eax
mov dword [0x559bc0], eax
mov edx, 0
dec edx
mov esi, esi
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x5b5f40]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x5b5f40]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0x18d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x5b5f40]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x559e50]
xor esi, eax
mov dword [edx*4 + 0x5b5f40], esi
cmp edx, 0xe2
jl 0x40ce10
mov edx, 0xe3
dec edx
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x5b5f40]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x5b5f40]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0xffffff1d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x5b5f40]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x559e50]
xor esi, eax
mov dword [edx*4 + 0x5b5f40], esi
cmp edx, 0x26e
jl 0x40ce68
mov eax, dword [0x5b68fc]
and eax, 0x80000000
mov edx, dword [0x5b5f40]
and edx, 0x7fffffff
or eax, edx
mov ecx, eax
shr eax, 1
mov edx, dword [0x5b6570]
xor eax, edx
and ecx, 1
mov edx, dword [ecx*4 + 0x559e50]
xor eax, edx
mov dword [0x5b68fc], eax
mov dword [0x559e40], 0
mov eax, dword [0x559e40]
mov edx, dword [eax*4 + 0x5b5f40]
inc dword [0x559e40]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
add esp, 8
ret

Function at 0x40f0b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [0x559ef0]
cmp eax, 0xffffffff
jne 0x40f0d6
mov ax, 0xe2
call fcn.0040d490
push dword [0x559ef0]
call sub.kernel32.dll_TlsGetValue
mov esi, eax
test eax, eax
jne 0x40f10f
push dword [0x559ee0]
push 0x40
call sub.kernel32.dll_LocalAlloc
mov esi, eax
test eax, eax
jne 0x40f103
mov ax, 0xe2
call fcn.0040d490
push esi
push dword [0x559ef0]
call sub.kernel32.dll_TlsSetValue
push ebx
call sub.kernel32.dll_SetLastError
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
leave
ret
Function at 0x410810
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], edi
mov bl, al
mov dword [ebp - 0x410], edx
mov esi, ecx
movzx eax, bl
test eax, eax
sete byte [ebp - 0x40c]
mov al, byte [ebp - 0x40c]
test al, al
jne 0x4108fc
movzx eax, bl
add eax, 0x40
mov byte [0x559f10], al
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov eax, 0x559f10
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
test eax, eax
jne 0x4108fc
call sub.kernel32.dll_GetLastError
movzx edi, ax
mov edx, dword [0x5b5050]
test edx, edx
je 0x410899
mov eax, dword [0x5b5e20]
call edx
jmp 0x41089e
mov eax, 0x5b5e24
mov dword [eax], edi
call fcn.00402e00
push 0x559f20
movzx eax, bl
add eax, 0x40
and eax, 0xff
shl eax, 8
or eax, 1
mov word [ebp - 0x408], ax
lea ecx, [ebp - 0x408]
lea eax, [ebp - 0x308]
mov edx, 0xff
call fcn.00403ec0
lea ecx, [ebp - 0x308]
mov edx, esi
mov eax, dword [ebp - 0x410]
call fcn.004039b0
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
jmp 0x41097b
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov al, byte [ebp - 0x40c]
test al, al
jne 0x410923
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x308]
mov edx, 0xff
call fcn.00403a00
lea ecx, [ebp - 0x308]
mov ebx, esi
mov edx, ebx
mov eax, dword [ebp - 0x410]
call fcn.004039b0
mov al, byte [0x559b80]
test al, al
jne 0x41097b
lea edx, [ebp - 0x308]
mov eax, dword [ebp - 0x410]
call fcn.00404b20
lea ecx, [ebp - 0x308]
mov edx, ebx
mov eax, dword [ebp - 0x410]
call fcn.004039b0
mov ebx, dword [ebp - 0x41c]
mov esi, dword [ebp - 0x418]
mov edi, dword [ebp - 0x414]
leave
ret
Function at 0x410df0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [0x5b5d60], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00410fe0
mov ecx, dword [ebp - 0x110]
inc ecx
mov eax, dword [0x5b5d60]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403770
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5599c0], eax
mov ebx, dword [0x5599c0]
jmp 0x410f91
inc ebx
movzx eax, byte [ebx]
dec eax
cmp eax, 0x20
jb 0x410e8c
mov al, byte [ebx]
test al, al
je 0x410f9b
mov byte [ebp - 0x10c], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x410efc
mov al, byte [ebx]
cmp al, 1
jb 0x410ef5
sub al, 0x20
jbe 0x410ec8
sub al, 2
je 0x410eda
jmp 0x410ef5
mov al, byte [ebp - 0x10c]
test al, al
je 0x410f02
inc dword [ebp - 0x110]
jmp 0x410efb
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x410ef2
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x410efb
inc ebx
jmp 0x410efb
inc dword [ebp - 0x110]
inc ebx
mov al, byte [ebx]
test al, al
jne 0x410eb8
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x410f8b
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00410fe0
mov byte [ebp - 0x10c], 0
mov ebx, edi
mov edx, dword [0x5b5d60]
mov eax, dword [ebp - 0x114]
mov esi, dword [edx + eax*4]
jmp 0x410f82
mov al, byte [ebx]
cmp al, 1
jb 0x410f7c
sub al, 0x20
jbe 0x410f50
sub al, 2
je 0x410f61
jmp 0x410f7c
mov al, byte [ebp - 0x10c]
test al, al
je 0x410f88
mov al, byte [ebx]
mov byte [esi], al
inc esi
jmp 0x410f81
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x410f79
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x410f81
inc ebx
jmp 0x410f81
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
mov al, byte [ebx]
test al, al
jne 0x410f40
mov byte [esi], 0
inc dword [ebp - 0x114]
mov al, byte [ebx]
test al, al
jne 0x410e8d
mov ebx, dword [ebp - 0x114]
mov dword [0x5b5d50], ebx
mov edx, ebx
inc edx
shl edx, 2
mov eax, 0x5b5d60
call fcn.0040e9a0
mov eax, dword [0x5b5d60]
mov dword [eax + ebx*4], 0
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
leave
ret
Function at 0x427330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 4], eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4274b7
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jne 0x4273c8
mov eax, dword [ebp - 0xa0]
cmp eax, 4
jne 0x4273a0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x5a
jne 0x4273a0
mov byte [ebp - 8], 9
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 4
jne 0x4273bf
mov eax, dword [ebp - 0xa4]
cmp eax, 0xa
jne 0x4273bf
mov byte [ebp - 8], 8
jmp 0x4274b7
mov byte [ebp - 8], 6
jmp 0x4274b7
mov eax, dword [ebp - 0x8c]
cmp eax, 2
jne 0x427477
mov eax, dword [ebp - 0xa0]
cmp eax, 3
jne 0x4273f6
mov eax, dword [ebp - 0xa4]
cmp eax, 0xa
jne 0x4273f6
mov byte [ebp - 8], 5
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 4
jne 0x42740a
mov byte [ebp - 8], 7
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 5
jne 0x427428
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x427428
mov byte [ebp - 8], 0xa
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 5
jne 0x427447
mov eax, dword [ebp - 0xa4]
cmp eax, 1
jne 0x427447
mov byte [ebp - 8], 0xb
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 5
jne 0x427466
mov eax, dword [ebp - 0xa4]
cmp eax, 2
jne 0x427466
mov byte [ebp - 8], 0xc
jmp 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 6
jb 0x4274b7
mov byte [ebp - 8], 0xd
jmp 0x4274b7
mov eax, dword [ebp - 0x8c]
cmp eax, 3
jne 0x4274b7
mov eax, dword [ebp - 0xa0]
cmp eax, 1
jb 0x4274b3
dec eax
je 0x42749b
dec eax
je 0x4274a1
dec eax
je 0x4274a7
dec eax
je 0x4274ad
jmp 0x4274b3
mov byte [ebp - 8], 0xf
jmp 0x4274b7
mov byte [ebp - 8], 0x10
jmp 0x4274b7
mov byte [ebp - 8], 0x11
jmp 0x4274b7
mov byte [ebp - 8], 0x12
jmp 0x4274b7
mov byte [ebp - 8], 0x13
mov al, byte [ebp - 8]
leave
ret
Function at 0x450440
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ebx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
push edi
mov eax, ebx
mov edx, 0
call fcn.004503e0
cmp edx, esi
jne 0x45047a
cmp eax, edi
jne 0x45047a
push ebx
call sub.kernel32.dll_SetEndOfFile
or eax, eax
setne al
jmp 0x45047c
mov al, 0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x450595
mov eax, 0x5b5e10
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4505a8
and eax, 0x10
sete al
jmp 0x4505aa
mov al, 0
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4505c5
mov eax, 0x5b5e10
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4505d8
and eax, 0x10
seta al
jmp 0x4505da
mov al, 0
leave
ret

Function at 0x450850
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x450865
mov eax, 0x5b5e10
push eax
call sub.kernel32.dll_GetFileAttributesA
leave
ret

Function at 0x450870
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
push edx
mov eax, dword [ebp - 4]
test eax, eax
jne 0x450889
mov eax, 0x5b5e10
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
je 0x45089a
mov ebx, 0
jmp 0x4508a1
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
mov ebx, dword [ebp - 8]
leave
ret
Function at 0x451090
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x451163
mov ebx, 1
dec ebx
nop
inc ebx
lea eax, [ebx*4 + 0x5b76cc]
call fcn.00403d10
mov dword [ebx*4 + 0x5b76cc], 0
mov dword [ebx*4 + 0x5b76ec], 0xffffffff
cmp ebx, 7
jl 0x4510c8
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x451163
lea eax, [ebp - 0x38]
call fcn.00403d10
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cl, 1
mov edx, 0xa
call fcn.004076c0
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.00448cc0
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x451163
push 4
push esi
push ebx
mov eax, 0x450f10
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x450fd0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040baf0
lea eax, [ebp - 0x38]
call fcn.00403d10
mov dword [ebp - 0x38], 0
pop eax
test eax, eax
je 0x451181
call fcn.0040bc60
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
leave
ret
Function at 0x451990
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x451abd
mov ebx, dword [ebp - 8]
mov eax, ebx
call fcn.00403d10
mov dword [ebx], 0
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x44]
jmp 0x451aab
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0044e8c0
mov edx, dword [ebp - 0xc]
mov al, 0x3d
call fcn.00407af0
mov ebx, eax
lea eax, [ebp - 0x38]
call fcn.00403d10
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004080e0
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
call fcn.00403d10
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
call fcn.00403d10
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [ebp - 0xc]
mov edx, 1
call fcn.004079a0
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004482b0
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.00407790
test eax, eax
jne 0x451a9f
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x451a8c
mov ecx, dword [ecx - 4]
sub ecx, ebx
mov eax, ebx
inc eax
mov edi, dword [ebp - 0xc]
mov edx, eax
mov eax, edi
call fcn.004079a0
jmp 0x451ab5
mov eax, esi
call fcn.00403ac0
add eax, esi
inc eax
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x451a00
push dword [ebp - 0x44]
call sub.kernel32.dll_FreeEnvironmentStringsA
call fcn.0040baf0
lea eax, [ebp - 0x40]
call fcn.00403d10
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x3c]
call fcn.00403d10
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x38]
call fcn.00403d10
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0xc]
call fcn.00403d10
mov dword [ebp - 0xc], 0
pop eax
test eax, eax
je 0x451b08
call fcn.0040bc60
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
leave
ret
Function at 0x479b60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x340], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x479d18
mov ebx, dword [ebp - 4]
mov eax, ebx
call fcn.00403d10
mov dword [ebx], 0
mov ebx, dword [ebp - 8]
mov eax, ebx
call fcn.00403d10
mov dword [ebx], 0
call sub.kernel32.dll_GetUserDefaultLCID
mov ebx, eax
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x479c58
lea eax, [ebp - 0x3c]
call fcn.00403d10
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x23c]
push eax
push 3
push 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x33c]
mov edx, 0xff
call fcn.004041c0
lea eax, [ebp - 0x33c]
mov ecx, 2
mov edx, 1
call fcn.00404850
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x13c]
call fcn.00404ba0
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x3c]
call fcn.004075e0
mov eax, dword [ebp - 0x3c]
call fcn.004072c0
mov esi, dword [ebp - 8]
mov eax, esi
call fcn.00403d10
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
push 4
lea eax, [ebp - 0xc]
push eax
push 7
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x479d18
lea eax, [ebp - 0x13c]
push eax
push 3
push 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x23c]
mov edx, 0xff
call fcn.004041c0
lea eax, [ebp - 0x23c]
mov ecx, 2
mov edx, 1
call fcn.00404850
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.004075e0
lea eax, [ebp - 0x3c]
call fcn.00403d10
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
mov cl, 0
mov edx, 3
call fcn.004076c0
mov eax, dword [ebp - 0x3c]
mov edx, 0x574e78
call fcn.00407790
test eax, eax
jne 0x479cf2
mov ebx, 0x574e84
lea eax, [ebp - 0x10]
call fcn.00403d10
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, 0x574e90
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov ecx, 2
call fcn.00407460
call fcn.0040baf0
lea eax, [ebp - 0x3c]
call fcn.00403d10
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x10]
call fcn.00403d10
mov dword [ebp - 0x10], 0
pop eax
test eax, eax
je 0x479d45
call fcn.0040bc60
mov ebx, dword [ebp - 0x344]
mov esi, dword [ebp - 0x340]
leave
ret
Function at 0x489cb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov ebx, ecx
mov ecx, edx
mov dword [esp], eax
dec ebx
mov esi, ebx
mov edi, 0
cmp esi, edi
jl 0x489cf8
dec edi
nop
inc edi
mov al, byte [esp]
mov dl, byte [ecx]
xor dl, al
movzx eax, dl
mov ebx, eax
mov eax, dword [esp]
shr eax, 8
mov edx, dword [ebx*4 + 0x5b7e80]
xor eax, edx
mov dword [esp], eax
inc ecx
cmp esi, edi
jg 0x489cd4
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x4a9f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004072c0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x4aa07f
mov byte [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a9f58
jmp 0x4a9f5d
jmp 0x4aa07f
mov eax, dword [0x5b7590]
cmp eax, 2
je 0x4a9f6c
jmp 0x4aa037
mov edx, dword [ebp - 4]
mov al, 0x20
call fcn.00407af0
cmp eax, 0
jg 0x4a9f7d
jmp 0x4a9fbb
lea eax, [ebp - 0x40]
call fcn.00403d10
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov ecx, 7
mov edx, 1
call fcn.004079a0
mov eax, dword [ebp - 0x40]
mov edx, str.file:__
call fcn.00448420
test eax, eax
je 0x4a9fb5
jmp 0x4a9fbb
mov byte [ebp - 0x14], 1
jmp 0x4a9fbf
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
jne 0x4a9fc7
jmp 0x4a9fed
mov eax, 0x57ed58
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov eax, 0x57ed58
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00407460
lea eax, [ebp - 0x50]
call fcn.00408f90
mov dword [ebp - 0x50], 0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040a2d0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0xc]
call fcn.00409150
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4aa024
mov eax, 0x5b5e10
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta byte [ebp - 8]
jmp 0x4aa07f
lea eax, [ebp - 0x50]
call fcn.00408f90
mov dword [ebp - 0x50], 0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040a2d0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x10]
call fcn.004090b0
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4aa06e
mov eax, 0x5b5e10
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta byte [ebp - 8]
call fcn.0040baf0
lea eax, [ebp - 0x50]
call fcn.00408f90
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x40]
call fcn.00403d10
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0xc]
call fcn.00408220
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
call fcn.00403d10
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
call fcn.00403d10
pop eax
test eax, eax
je 0x4aa0d2
call fcn.0040bc60
mov al, byte [ebp - 8]
leave
ret
Function at 0x4b4830
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov esi, eax
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x4b486c
mov eax, esi
call fcn.004b9040
cmp byte [esi + 0x40], 0
je 0x4b4865
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4b490a
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4b48eb
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4b48e3
mov esi, esi
mov eax, dword [esi + 8]
test eax, eax
je 0x4b4898
mov eax, esi
mov edx, dword [esi + 8]
mov edx, dword [edx]
call edx
mov eax, esi
mov edx, dword [esi + 0x184]
mov edx, dword [edx]
call edx
mov edi, eax
test eax, eax
jne 0x4b48ae
mov bl, 0
jmp 0x4b490a
cmp edi, 2
je 0x4b48e3
mov eax, dword [esi + 8]
test eax, eax
je 0x4b4888
cmp edi, 3
je 0x4b48c4
cmp edi, 1
jne 0x4b4888
mov eax, dword [esi + 8]
inc dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4b4888
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x4b4888
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4b4901
mov eax, dword [esi + 0x14]
cmp eax, 0xcc
je 0x4b4901
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004b4cd0
mov eax, esi
call fcn.004b4920
mov bl, al
mov al, bl
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret
Function at 0x4b4920
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
cmp eax, 0xcc
je 0x4b4a12
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xcc
jmp 0x4b4a12
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
test eax, eax
je 0x4b49a5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x6c]
push 0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x6c]
mov eax, dword [ebp - 4]
mov edx, 0
mov edi, dword [ebp - 4]
mov ebx, dword [edi + 0x178]
mov ebx, dword [ebx + 4]
call ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
cmp edx, esi
jne 0x4b49d9
mov byte [ebp - 8], 0
jmp 0x4b4a44
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 0x54]
jb 0x4b4970
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx + 4]
call edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
cmp byte [edx + 8], 0
jne 0x4b49d9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 0
je 0x4b4a36
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xce
jmp 0x4b4a40
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xcd
mov byte [ebp - 8], 1
mov al, byte [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
leave
ret