joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000be60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x10076174
call fcn.100152e0
mov dword [ebp - 0x14], 0x270
jmp 0x1000be9c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4e0
jae 0x1000bf11
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 - 0x9bc]
and edx, 0x80000000
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4 - 0x9b8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x1000bee3
mov dword [ebp - 0xe8], 0x9908b0df
jmp 0x1000beed
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
xor ecx, dword [eax + edx*4 - 0x388]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4 + 4], ecx
jmp 0x1000be93
pop edi
pop esi
pop ebx
add esp, 0xe8
cmp ebp, esp
call fcn.100152b0
mov esp, ebp
pop ebp
ret
Function at 0x44a1d1
Capabilities:
Log keystrokes via polling

Disassembly:
call fcn.00449ea3
test eax, eax
je 0x44a227
mov edx, dword [0x5c770c]
mov ecx, eax
mov dword [ecx], 0x5c7708
mov dword [0x5c770c], eax
mov dword [ecx + 4], edx
mov dword [edx], eax
mov edx, eax
add edx, 0x13fff0
mov ecx, edx
sub ecx, 4
invalid
test eax, eax

Function at 0x44a21d
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
adc bh, al
push es
add byte [eax], al
add byte [eax], al
call edi
test ax, ax
jge 0x44a231
or dword [esi], 0x2000000
push 0x11
call edi
test ax, ax
jge 0x44a240
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44a24f
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
ret

Function at 0x64dccd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656338
cmp edx, dword [eax]
je 0x64dcef
add eax, 8
inc ecx
cmp eax, 0x6563c8
jl 0x64dce0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656338]
jne 0x64de1d
mov eax, dword [0xa59c90]
cmp eax, 1
je 0x64ddf7
test eax, eax
jne 0x64dd20
cmp dword [0x656264], 1
je 0x64ddf7
cmp edx, 0xfc
je 0x64de1d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64dd57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e6b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064eb40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64dd9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064eb40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652c74
push edi
call fcn.00650a10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e6b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e6c0
lea eax, [ebp - 0xa0]
push 0x652c54
push eax
call fcn.0064e6c0
push dword [esi + 0x65633c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e6c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650984
add esp, 0x2c
pop edi
jmp 0x64de1d
lea eax, [ebp + 8]
lea esi, [esi + 0x65633c]
push 0
push eax
push dword [esi]
call fcn.0064eb40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100016cf
Capabilities:
Check for software breakpoints
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, esp
mov dword [eax + 8], 0xe25
mov dword [eax + 4], 0xe6c
mov dword [eax], 0x922
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
call eax
sub esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x60]
lea esi, [esp + 0x58]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ecx
jmp 0x10001764
mov eax, dword [esp + 0x44]
mov ecx, eax
and ecx, 0xf
cmp ecx, 6
mov dword [esp + 0x40], eax
je 0x10001780
jmp 0x10001796
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov eax, esp
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [eax], 0x72df44
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call eax
sub esp, 8
mov dword [esp + 0x3c], eax
jmp 0x100017d4
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [esp + 0x38], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ecx
jmp 0x10001715
mov eax, esp
mov dword [eax], 0x386
mov eax, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
call eax
sub esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0xcc
mov dword [esp + 0x44], eax
jne 0x10001715
mov eax, dword [esp + 0x38]
sub eax, 0x5a
mov dword [esp + 0x2c], eax
je 0x1000172f
jmp 0x100017c1
mov eax, dword [esp + 0x38]
sub eax, 0x13
mov dword [esp + 0x28], eax
jne 0x1000185f
jmp 0x100017d4
xor eax, eax
mov ecx, 0xc
mov edx, 0x673f15
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call fcn.1005cd70
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 0x4aa
mov dword [eax + 0xc], 0x17d
mov dword [eax + 4], 0x7c5
mov dword [eax], 0x673f15
mov eax, dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
call eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 4], 0xeb8
mov dword [ecx], 0xade793
mov ecx, dword [sym.imp.GDI32.dll_SetICMMode]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, 0x9e
mov dword [esp + 0x48], eax
je 0x1000175e
jmp 0x10001764

Function at 0x1005e493
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a7a30]
jne 0x1005e49d
repz ret
jmp fcn.1005f3fc
Function at 0x100605bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1005d864
and dword [ebp - 4], 0
cmp dword [0x101a917c], 0
mov ebx, eax
jne 0x1006066c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1006071d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1006071d
push eax
call fcn.1005d7f2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101a917c], eax
call esi
push eax
call fcn.1005d7f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a9180], eax
call esi
push eax
call fcn.1005d7f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a9184], eax
call esi
push eax
call fcn.1005d7f2
pop ecx
mov dword [0x101a918c], eax
test eax, eax
je 0x1006066c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1005d7f2
pop ecx
mov dword [0x101a9188], eax
mov eax, dword [0x101a9188]
cmp eax, ebx
je 0x100606c4
cmp dword [0x101a918c], ebx
je 0x100606c4
push eax
call fcn.1005d86d
push dword [0x101a918c]
mov esi, eax
call fcn.1005d86d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100606c4
test edi, edi
je 0x100606c4
call esi
test eax, eax
je 0x100606bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100606bb
test byte [ebp - 0xc], 1
jne 0x100606c4
or dword [ebp + 0x10], 0x200000
jmp 0x100606fd
mov eax, dword [0x101a9180]
cmp eax, ebx
je 0x100606fd
push eax
call fcn.1005d86d
pop ecx
test eax, eax
je 0x100606fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100606fd
mov eax, dword [0x101a9184]
cmp eax, ebx
je 0x100606fd
push eax
call fcn.1005d86d
pop ecx
test eax, eax
je 0x100606fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a917c]
call fcn.1005d86d
pop ecx
test eax, eax
je 0x1006071d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1006071f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100619fb
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101a7278]
add eax, 0xfffffd5c
mov dword [0x101a7278], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101a7274], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101a7278], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10061af3
mov eax, dword [ebp - 0x14]
mov ecx, 0x35f0
mov dword [0x101a7274], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x10061b29
jmp 0x10061b86
mov eax, 0x29da
mov dword [0x101a7274], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x10061b86
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10061acf
jmp 0x10061b86
mov eax, 1
mov dword [0x101a7278], 0xfa2
mov dword [ebp - 0x20], eax
jmp 0x10061aeb
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10061abb
jmp 0x10061b86
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], edx
je 0x10061a4d
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10061af3
jmp 0x10061a4d
mov eax, 0x199d
mov dword [0x101a7274], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x10061b86
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x10061b86
mov eax, 0xfffff9e7
mov dword [0x101a7274], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x10061a7a
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x101a7274], eax
mov dword [ebp - 0x20], ecx
jmp 0x10061aeb
Function at 0x10061c92
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101a7280], 0
mov byte [0x101a7284], 0
mov dword [0x101a7278], 0xdd8
mov dword [0x101a7274], 0x1867
mov dword [0x101a727c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10061d06
xor eax, eax
mov ecx, 0x1c52
mov dword [0x101a7274], 0x1c52
mov dword [0x101a727c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10061d2e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101a727c]
add eax, 1
mov dword [0x101a727c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10061d06
jmp 0x10061ce3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff22e
mov dword [0x101a7288], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101a7280]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a7288], esi
mov edx, dword [ebp - 0x28]
mov dword [0x101a7274], edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101a7280], edx
mov bl, byte [ebx + ecx]
mov byte [0x101a7284], bl
mov dword [0x101a7274], 0x1300
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101a7284]
mov ecx, dword [0x101a7280]
mov byte [esi + ecx], bl
mov ecx, dword [0x101a7278]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x101a7274], edx
mov esi, dword [0x101a727c]
add esi, 1
mov dword [0x101a727c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
jl 0x10061d2e
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101a7274], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100620b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a7278], 0xbaf
mov dword [0x101a7274], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100621b8
lea eax, [ebp - 0x20]
mov dword [0x101a7278], 0x8c2
mov dword [0x101a7274], 0x2310
mov dword [ebp - 0x30], eax
call fcn.1006220d
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1006121d
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10062205
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101a7274]
add ecx, 0xffffee8b
mov dword [0x101a7274], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10061e09
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a7278], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101a7274], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x2c], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10062205
jmp 0x100621e8
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1010c8b4]
mov dh, byte [eax + 0x1010c885]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x100620e0
jmp 0x100621b8
mov eax, dword [ebp - 0x3c]
add eax, 0x16aa
mov ecx, dword [0x101a7278]
add ecx, 0xfffff237
mov dword [0x101a7274], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x100622eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100624ca
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101a7274], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101a7278], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10062431
jmp 0x1006236f
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
je 0x100623ac
jmp 0x100623d4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x100623b5
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
jb 0x100623b5
jmp 0x10062431
mov al, byte [ebp - 0x32]
test al, 1
jne 0x10062402
jmp 0x10062383
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edx
jmp 0x10062344
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x10062344
jmp 0x100623ac
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101a7274], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101a7278], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1006265f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101a727c], 0
mov dword [0x101a7280], 0
mov dword [0x101a728c], 0
mov dword [0x101a7274], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100627b1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101a727c], edx
mov dword [0x101a7274], 0x97e
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101a7280], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101a7284], cl
mov ebx, dword [0x101a7278]
add ebx, 0xfffff27d
mov dword [0x101a7274], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101a7284]
mov edx, dword [0x101a7280]
mov byte [ebx + edx], cl
mov edx, dword [0x101a727c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101a7280]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101a728c], ecx
mov dword [0x101a7274], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101a7274], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x100627b1
mov eax, dword [0x101a7280]
mov ecx, dword [0x101a727c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x100626c2
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100627b9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101a7274], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1006139d
lea ecx, [0x10061c2f]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x68], edx
mov dword [esp + 0x38], 0x152600
mov dword [0x101a7278], 0x894
mov edx, dword [0x101a7260]
mov dword [esp + 0x48], edx
mov edx, dword [0x101a7264]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101a7268]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101a726c]
mov dword [esp + 0x34], edx
mov edx, dword [0x101a7270]
mov dword [esp + 0x2c], edx
mov dword [0x101a7274], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10062888
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100620b0
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101a7278], 0x5b1
mov dword [esp + 0x10], eax
jmp 0x100628fd
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x100628ab
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x100628bf
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10062888
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov dword [0x101a7278], 0xe2d
mov dword [0x101a7274], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.100619fb
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1006284f
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x100024f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [esi + 0xc]
mov ecx, dword [0x10099dfc]
lea eax, [ebp - 0x14]
push eax
call sym.ExtendScript.dll_public:_int___thiscall_ScScript::ScriptContainer::compile_class_ScCore::FileSpec_const___bool__bool____cdecl___class_ScCore::FileSpec_const___
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_class_ScCore::String_const__const]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
test bl, bl
je 0x1000261b
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
push 0
push 1
mov esi, dword [edi]
push 0
push eax
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x10070958]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x10002605
push 0
push dword [esi + 0x14]
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const___class_ScCore::Encoder_const__]
push 0x2c
mov dword [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100025e4
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [esi + 0xc]
mov ecx, eax
push dword [esi + 4]
call sym.ExtendScript.dll_public:_int___thiscall_ScScript::ScriptContainer::compile_class_ScCore::FileSpec_const___bool__bool____cdecl___class_ScCore::FileSpec_const___
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
xor esi, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [0x10099dfc]
add eax, 0xc
push eax
call sym.ExtendScript.dll_public:_int___thiscall_ScScript::ScriptContainer::compile_class_ScCore::FileSpec_const___bool__bool____cdecl___class_ScCore::FileSpec_const___
mov ecx, dword [esi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10070958]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4