joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46be5d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5e6093
call fcn.00594e8c
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
call fcn.0040b0ee
and dword [ebp - 4], 0
push str.http:__www.machsupport.com
lea ecx, [ebp - 0x14]
call fcn.0040b14b
lea ecx, [ebp - 0x14]
call fcn.00517034
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.0040b0ee
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
push str.url.dll_FileProtocolHandler__s
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b121
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x46c5e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push 0
push reloc.Enable40.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c662
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.ProfileWindows
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46c662
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.SubSet
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
leave
ret

Function at 0x46c666
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5e6106
call fcn.00594e8c
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov byte [0x6837e6], 1
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x10]
call fcn.0040b0ee
and dword [ebp - 4], 0
push str.DRO.swf
mov eax, dword [0x68385c]
push dword [eax + 0x80bbc]
push 0x5fcfa8
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040b108
mov ecx, dword [ebp - 0x18]
call fcn.00465890
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040b121
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x46fb19
Capabilities:
Get file size
Set file attributes

Disassembly:
mov eax, 0x5e6606
call fcn.00594e8c
sub esp, 0x20
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x18], accept
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc], 0
jne 0x46fb4d
mov eax, dword [ebp - 0x18]
or eax, 0x40000000
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
and dword [eax + 0x10], 0
push 0x80
mov ecx, dword [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0xffffffff
jne 0x46fba6
mov ecx, dword [ebp - 0x24]
call fcn.00470013
xor eax, eax
jmp 0x46fc9b
cmp dword [ebp + 0x1c], 0
je 0x46fbde
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0x900c4
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x46fbde
mov ecx, dword [ebp - 0x24]
call fcn.00470013
xor eax, eax
jmp 0x46fc9b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x46fc0a
mov ecx, dword [ebp - 0x24]
call fcn.00470013
xor eax, eax
jmp 0x46fc9b
cmp dword [ebp - 0x10], 0
je 0x46fc1c
mov ecx, dword [ebp - 0x24]
call fcn.00470013
xor eax, eax
jmp 0x46fc9b
cmp dword [ebp - 0x10], 0
jne 0x46fc34
cmp dword [ebp - 0x14], 0
jne 0x46fc34
mov ecx, dword [ebp - 0x24]
call fcn.00470013
xor eax, eax
jmp 0x46fc9b
cmp dword [ebp + 0x24], 0
je 0x46fc45
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x24], ecx
jmp 0x46fc4e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
push dword [ebp + 0x18]
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004700c3
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.0040b132
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040b121
push dword [ebp + 0x20]
push dword [ebp + 0x28]
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
mov ecx, dword [ebp - 0x24]
call fcn.0046fe2e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x24
Function at 0x493d49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
and dword [ebp - 0x14], 0
and dword [ebp - 8], 0
mov byte [ebp - 0xd], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x493d7e
xor al, al
jmp 0x493e04
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x493d97
xor al, al
jmp 0x493e04
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x493df8
cmp dword [ebp + 0x10], 0
jne 0x493dc6
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [ebp - 0xd], 1
jmp 0x493df0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], eax
jl 0x493df0
mov eax, dword [ebp + 0x14]
push dword [eax]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
call fcn.005953a0
add esp, 0xc
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call fcn.00493ec4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [ebp - 0xd]
leave
ret
Function at 0x49c16c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x5e7d1e
call fcn.00594e8c
sub esp, 0xa8
mov dword [ebp - 0xb4], ecx
and dword [ebp - 4], 0
push 0xa
lea ecx, [ebp + 8]
call fcn.0041d7d9
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x10
mov byte [ebp - 0xa4], 0x30
and dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0x31
mov dword [ebp - 0x98], 1
mov byte [ebp - 0x94], 0x32
mov dword [ebp - 0x90], 2
mov byte [ebp - 0x8c], 0x33
mov dword [ebp - 0x88], 3
mov byte [ebp - 0x84], 0x34
mov dword [ebp - 0x80], 4
mov byte [ebp - 0x7c], 0x35
mov dword [ebp - 0x78], 5
mov byte [ebp - 0x74], 0x36
mov dword [ebp - 0x70], 6
mov byte [ebp - 0x6c], 0x37
mov dword [ebp - 0x68], 7
mov byte [ebp - 0x64], 0x38
mov dword [ebp - 0x60], 8
mov byte [ebp - 0x5c], 0x39
mov dword [ebp - 0x58], 9
mov byte [ebp - 0x54], 0x41
mov dword [ebp - 0x50], 0xa
mov byte [ebp - 0x4c], 0x42
mov dword [ebp - 0x48], 0xb
mov byte [ebp - 0x44], 0x43
mov dword [ebp - 0x40], 0xc
mov byte [ebp - 0x3c], 0x44
mov dword [ebp - 0x38], 0xd
mov byte [ebp - 0x34], 0x45
mov dword [ebp - 0x30], 0xe
mov byte [ebp - 0x2c], 0x46
mov dword [ebp - 0x28], 0xf
push dword [ebp - 0x10]
call fcn.005996cb
pop ecx
push eax
call fcn.0042e262
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
cmp eax, 0x30
jne 0x49c29e
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax + 1]
cmp eax, 0x58
jne 0x49c29e
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x21], 1
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
test eax, eax
je 0x49c33a
mov byte [ebp - 0xa5], 0
and dword [ebp - 0xac], 0
jmp 0x49c2cd
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x10
jge 0x49c31d
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0xac]
movsx ecx, byte [ebp + ecx*8 - 0xa4]
cmp eax, ecx
jne 0x49c31b
movzx eax, byte [ebp - 0x21]
test eax, eax
jne 0x49c2ff
mov eax, dword [ebp - 0x20]
shl eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x20]
or ecx, dword [ebp + eax*8 - 0xa0]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0xa5], 1
jmp 0x49c31d
jmp 0x49c2c0
movzx eax, byte [ebp - 0xa5]
test eax, eax
jne 0x49c32a
jmp 0x49c33a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x21], 0
jmp 0x49c2a2
push dword [ebp - 0x18]
call fcn.0059514d
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4b97c0
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5e8063
call fcn.00594e8c
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x28]
call fcn.005bee57
and dword [ebp - 4], 0
cmp dword [ebp + 8], 2
jne 0x4b9808
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x20], 1
lea ecx, [ebp - 0x14]
call fcn.0040b0ee
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
mov dword [eax], 2
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
fldz
fstp qword [eax + 8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
fldz
fstp qword [eax + 8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x40]
fld qword [edx + 0x18]
fstp qword [ecx + eax*8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x40]
fld qword [edx + 0x18]
fstp qword [ecx + eax*8]
push dword [ebp + 8]
push dword [0x65a920]
mov eax, dword [0x68385c]
push dword [eax + 0x80bbc]
push 0x60b060
lea eax, [ebp - 0x14]
push eax
call fcn.0040ad5c
add esp, 0x14
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00517034
push eax
lea ecx, [ebp - 0x28]
call fcn.005bf19f
test eax, eax
je 0x4b9979
push 0x48
call fcn.005b955b
pop ecx
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x4b98cc
push 0
push 0x1000
push 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.005c2933
mov dword [ebp - 0x44], eax
jmp 0x4b98d0
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
call fcn.0040aba9
mov dword [ebp - 0x18], 1
jmp 0x4b98ff
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jg 0x4b9935
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00414ef9
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00414ef9
jmp 0x4b98f8
jmp 0x4b993d
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.005c26ca
lea ecx, [ebp - 0x28]
call fcn.005bedf5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4b9975
push 1
mov ecx, dword [ebp - 0x38]
call fcn.0040abee
mov dword [ebp - 0x48], eax
jmp 0x4b9979
and dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x40]
call fcn.004ba071
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.005bee96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4b99aa
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5e8087
call fcn.00594e8c
sub esp, 0x38
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x20]
call fcn.005bee57
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b0ee
mov byte [ebp - 4], 1
push dword [ebp + 8]
push dword [0x65a920]
mov eax, dword [0x68385c]
push dword [eax + 0x80bbc]
push str._sMacros_sCurve_d.dat
lea eax, [ebp - 0x24]
push eax
call fcn.0040ad5c
add esp, 0x14
push 0
push 0x1001
lea ecx, [ebp - 0x24]
call fcn.00517034
push eax
lea ecx, [ebp - 0x20]
call fcn.005bf19f
test eax, eax
jne 0x4b9a48
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.005bee96
jmp 0x4b9b3b
push 0x48
call fcn.005b955b
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
je 0x4b9a77
push 0
push 0x1000
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.005c2933
mov dword [ebp - 0x40], eax
jmp 0x4b9a7b
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0046d174
mov dword [ebp - 0x28], 1
jmp 0x4b9aa8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jg 0x4b9ae6
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x28]
fld qword [eax + ecx*8]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0x10]
call fcn.004295f3
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x28]
fld qword [eax + ecx*8]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0x10]
call fcn.004295f3
jmp 0x4b9aa1
mov ecx, dword [ebp - 0x10]
call fcn.005c239a
mov ecx, dword [ebp - 0x10]
call fcn.005c26ca
lea ecx, [ebp - 0x20]
call fcn.005bedf5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4b9b1f
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0040abee
mov dword [ebp - 0x44], eax
jmp 0x4b9b23
and dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.005bee96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4bc569
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x5e82cb
call fcn.00594e8c
mov eax, 0x40018
call fcn.00597530
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40024], ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x40024]
add eax, 0x84
push eax
mov ecx, dword [ebp - 0x40024]
call fcn.004bc42f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4bc66d
push dword [0x6507fc]
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x84]
call sub.Enable40.dll_Ordinal_11
mov dword [ebp - 0x10], eax
push 0x3ffff
lea eax, [ebp - 0x40014]
push eax
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x40014]
push eax
lea ecx, [ebp - 0x40018]
call fcn.0040e04b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40018]
push eax
call fcn.004bb53a
pop ecx
test eax, eax
jne 0x4bc63e
or dword [ebp - 0x4001c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40018]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0x4001c]
jmp 0x4bc6f2
lea ecx, [ebp - 0x40018]
call fcn.00517034
push eax
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x84]
call sub.Enable40.dll_Ordinal_11
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40018]
call fcn.0040b121
cmp dword [ebp - 0x10], 0
jl 0x4bc689
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x84]
call sub.Enable40.dll_Ordinal_15
mov dword [ebp - 0x10], eax
jmp 0x4bc697
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40024]
call fcn.004bc3ca
cmp dword [ebp - 0x10], 0
jl 0x4bc6b9
lea ecx, [ebp + 8]
call fcn.00517034
push eax
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x84]
call sub.Enable40.dll_Ordinal_56
jmp 0x4bc6d7
mov eax, dword [ebp - 0x40024]
push dword [eax + 0x84]
call sub.Enable40.dll_Ordinal_54
mov eax, dword [ebp - 0x40024]
and dword [eax + 0x84], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40020], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov eax, dword [ebp - 0x40020]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059508d
leave
ret 4
Function at 0x4be3b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
and dword [ebp - 4], 0
jmp 0x4be3ca
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x4be49f
mov eax, dword [ebp - 0xc]
movsx eax, word [eax + 0x2e4]
cmp eax, 0xff
jne 0x4be408
push 0
push 0
push str.Wrap_Error..Too_much_Data_
mov ecx, dword [ebp - 0xc]
call fcn.005baf52
mov eax, dword [ebp - 0xc]
and word [eax + 0x2e4], 0
jmp 0x4be4a7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov al, byte [eax]
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
cmp eax, 0xcc
jne 0x4be423
jmp 0x4be4a7
movzx eax, byte [ebp - 5]
cmp eax, 0xfe
jne 0x4be430
jmp 0x4be4a7
movzx eax, byte [ebp - 5]
cmp eax, 0xc8
jne 0x4be43d
jmp 0x4be4a7
movzx eax, byte [ebp - 5]
cmp eax, 0xf3
jne 0x4be44a
jmp 0x4be4a7
movzx eax, byte [ebp - 5]
cmp eax, 0xe6
jne 0x4be457
jmp 0x4be4a7
movzx eax, byte [ebp - 5]
cmp eax, 0xe4
jne 0x4be464
jmp 0x4be4a7
mov eax, dword [ebp - 0xc]
movsx eax, word [eax + 0x2e4]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov cl, byte [ecx]
mov byte [edx + eax + 0xe4], cl
mov eax, dword [ebp - 0xc]
movsx eax, word [eax + 0x2e4]
inc eax
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x2e4], ax
jmp 0x4be3c3
mov ecx, dword [ebp - 0xc]
call fcn.004bebed
leave
ret 8
Function at 0x4dda51
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.005960f0
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 5
jne 0x4ddaa8
cmp dword [ebp - 0x98], 0
jne 0x4ddaa8
xor eax, eax
inc eax
jmp 0x4ddaaa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059508d
leave
ret

Function at 0x4e4cde
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5e9807
call fcn.00594e8c
sub esp, 0x38
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x1c]
call fcn.005bee57
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b0ee
mov byte [ebp - 4], 1
push dword [0x65a920]
mov eax, dword [0x68385c]
push dword [eax + 0x80bbc]
push str._sMacros_sLinearity.dat
lea eax, [ebp - 0x24]
push eax
call fcn.0040ad5c
add esp, 0x10
push 0
push 0x1001
lea ecx, [ebp - 0x24]
call fcn.00517034
push eax
lea ecx, [ebp - 0x1c]
call fcn.005bf19f
test eax, eax
jne 0x4e4d79
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005bee96
jmp 0x4e4e40
push 0x48
call fcn.005b955b
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
je 0x4e4da8
push 0
push 0x1000
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.005c2933
mov dword [ebp - 0x40], eax
jmp 0x4e4dac
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x28], 0
jmp 0x4e4dc9
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x65
jge 0x4e4deb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
fld qword [ecx + eax*8 + 0x11f0c8]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0x20]
call fcn.004295f3
jmp 0x4e4dc2
mov ecx, dword [ebp - 0x20]
call fcn.005c239a
mov ecx, dword [ebp - 0x20]
call fcn.005c26ca
lea ecx, [ebp - 0x1c]
call fcn.005bedf5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4e4e24
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0040abee
mov dword [ebp - 0x44], eax
jmp 0x4e4e28
and dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005bee96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x50c1f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
je 0x50c21c
push str._Stop_program_before_editing.
mov ecx, dword [ebp - 4]
call fcn.004ef240
jmp 0x50c246
mov eax, dword [ebp - 4]
mov byte [eax + 0xc3ae0], 0
push 0
push 0
push 0
push 0x4ddab6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 4]
fld1
fstp qword [eax + 0x11e020]
leave
ret