joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101198c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10119aa4
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd8000]
push edi
jmp 0x101198ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101198f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101198e0
mov eax, 1
add ebx, ebx
jne 0x10119903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10119914
jne 0x10119933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10119933
dec eax
add ebx, ebx
jne 0x10119920
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101198f8
add ebx, ebx
jne 0x1011992f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10119985
xor ecx, ecx
sub eax, 3
jb 0x1011994b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101199ba
sar eax, 1
mov ebp, eax
jmp 0x10119956
add ebx, ebx
jne 0x10119956
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10119924
inc ecx
add ebx, ebx
jne 0x10119964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10119924
add ebx, ebx
jne 0x10119971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10119966
jne 0x10119982
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10119966
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101199a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10119996
jmp 0x101198e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101199a4
add edi, ecx
jmp 0x101198e6
pop esi
mov edi, esi
mov ecx, 0x1083
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101199c2
cmp byte [edi], 0x11
jne 0x101199c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x101199c7
lea edi, [esi + 0x115000]
mov eax, dword [edi]
or eax, eax
je 0x10119a36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x119000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x119154]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101199f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x119158]
or eax, eax
je 0x10119a30
mov dword [ebx], eax
add ebx, 4
jmp 0x10119a11
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10119a67
cmp al, 0xef
ja 0x10119a5a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10119a3c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10119a49
mov ebp, dword [esi + 0x11915c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10119a9b
sub esp, 0xffffff80
jmp 0x100427c1
Function at 0x403e8b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push 4
push 5
lea eax, [ebp - 0x14]
push 2
push eax
call fcn.00403723
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push esi
push 0
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
call fcn.00403ef9
push esi
call fcn.00407830
pop ecx
pop ecx
dec eax
js 0x403ee7
cmp byte [eax + esi], 0x2e
jne 0x403ede
add eax, esi
push str.uX_X
push eax
call fcn.00407740
pop ecx
pop ecx
pop esi
leave
ret

Function at 0x403ef9
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret

Function at 0x403f10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
xor esi, esi
push eax
call fcn.00407740
lea eax, [ebp - 0x208]
push eax
call fcn.00407830
add esp, 0xc
test eax, eax
je 0x403f56
cmp byte [ebp + eax - 0x209], 0x5c
lea eax, [ebp + eax - 0x209]
jne 0x403f56
and byte [eax], 0
push 1
pop esi
lea eax, [ebp - 0x208]
push str..
push eax
call fcn.00407750
pop ecx
lea eax, [ebp - 0x348]
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40405c
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00407740
pop ecx
test esi, esi
pop ecx
jne 0x403fb0
lea eax, [ebp - 0x104]
push 0x40f044
push eax
call fcn.00407750
pop ecx
pop ecx
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00407750
test byte [ebp - 0x348], 0x10
pop ecx
pop ecx
je 0x404029
lea eax, [ebp - 0x31c]
push 0x40f0ac
push eax
call fcn.00407650
pop ecx
test eax, eax
pop ecx
je 0x40403f
lea eax, [ebp - 0x31c]
push 0x40f0a8
push eax
call fcn.00407650
pop ecx
test eax, eax
pop ecx
je 0x40403f
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push 1
push eax
call dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x40403f
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push eax
call fcn.00403f10
add esp, 0xc
jmp 0x40403f
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push 0
push eax
call dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x404055
lea eax, [ebp - 0x348]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403f88
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x404a0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
and dword [ebp - 4], 0
cmp dword [0x4938f0], 0
jne 0x404a47
push 4
push 0x410252
call fcn.00403472
lea ecx, [ebp - 4]
push ecx
push 0x40493e
push eax
push closesocket
call fcn.00404685
add esp, 0x18
jmp 0x404a83
lea eax, [ebp - 0x418]
push 2
push eax
call fcn.00403cd7
lea eax, [ebp - 0x418]
push eax
push 0x4934e0
call fcn.00407740
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x418]
push 0x4048aa
push eax
push closesocket
call fcn.00404703
add esp, 0x20
mov eax, dword [ebp - 4]
test eax, eax
mov dword [0x4938f4], eax
jne 0x404b64
push esi
lea eax, [ebp - 0x51c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
and byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 0x41078d
push eax
call fcn.00407740
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push 4
push 4
push 2
push eax
call fcn.00407830
pop ecx
lea eax, [ebp + eax - 0x18]
push eax
call fcn.00403723
lea eax, [ebp - 0x17]
push eax
call fcn.0040c99c
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00407740
lea eax, [ebp - 0x418]
push 0x40f044
push eax
call fcn.00407750
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00407750
lea eax, [ebp - 0x418]
push str.uX_X
push eax
call fcn.00407750
lea eax, [ebp - 0x418]
push eax
call fcn.00403e57
add esp, 0x38
test eax, eax
je 0x404b41
inc esi
cmp esi, 0xa
jl 0x404aa8
lea eax, [ebp - 0x18]
push eax
push 0x4933dc
call fcn.00407750
lea eax, [ebp - 0x418]
push eax
push 0x4935e4
call fcn.00407740
add esp, 0x10
pop esi
push 1
pop eax
leave
ret

Function at 0x404cb9
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x44
jb 0x404cf4
mov ecx, dword [esp + 8]
cmp byte [ecx], 0x4d
jne 0x404cf4
cmp byte [ecx + 1], 0x5a
jne 0x404cf4
movzx eax, word [ecx + 0x3c]
add eax, ecx
add esi, 0xfffffffc
mov edx, eax
sub edx, ecx
cmp edx, esi
ja 0x404cf4
mov eax, dword [eax]
pop esi
sub eax, 0x4550
neg eax
sbb eax, eax
not eax
and eax, edx
ret
xor eax, eax
pop esi
ret
Function at 0x405b03
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
lea ecx, [ebp - 0x18]
call fcn.0040174b
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040174e
mov esi, eax
test esi, esi
je 0x405bc7
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp + 8]
call fcn.004078ab
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407750
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407750
and byte [ebp - 0x21b], 0
lea eax, [ebp - 0x21f]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407750
lea eax, [ebp - 0x11c]
push str.uX_X
push eax
call fcn.00407750
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push esi
call fcn.00407560
mov esi, eax
add esp, 0x40
test esi, esi
lea ecx, [ebp - 0x18]
jne 0x405bcb
call fcn.00401808
xor eax, eax
jmp 0x405c1f
call fcn.00401808
push dword [ebp - 4]
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00403dba
push esi
call fcn.00407bdb
add esp, 0x10
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004047d6
pop ecx
test eax, eax
pop ecx
je 0x405c1d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x11c]
push eax
call fcn.00403ef9
pop ecx
push 1
pop esi
mov eax, esi
pop esi
leave
ret

Function at 0x4060fa
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
and byte [ebp - 0x10c], 0
push ebx
lea eax, [ebp - 0x10c]
push 0x104
push eax
push 1
push 0x41096d
call fcn.00403472
pop ecx
pop ecx
push eax
push 0x410252
push closesocket
call fcn.004045e3
lea eax, [ebp - 0x10c]
push eax
call fcn.00405eba
movsx eax, byte [ebp - 0x10c]
mov bl, byte [ebp - 0x10a]
push eax
call fcn.00407abe
add esp, 0x1c
and dword [ebp - 8], 0
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
add al, 0x61
cmp al, byte [ebp - 1]
je 0x4061a4
and byte [ebp - 0x10a], 0
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
mov byte [ebp - 0x10a], bl
jne 0x4061a4
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x4060a2
push eax
call fcn.00403f10
add esp, 0xc
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1a
jl 0x40615e
xor eax, eax
pop ebx
leave
ret 4
Function at 0x406a2a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
mov ax, word [0x4128f4]
push esi
push edi
push 7
mov word [ebp - 0x60], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x5e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4128f0]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov dword [ebp - 0x20], 0x20
cmp dword [0x4938f0], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jne 0x406c55
cmp dword [0x493908], edi
je 0x406c55
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x406aae
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x80]
push eax
lea eax, [esi + 2]
push eax
call fcn.0040c910
pop ecx
test eax, eax
pop ecx
je 0x406c55
lea eax, [ebp - 0xa8]
or dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x80]
push ebx
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], edi
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], 0x7f
call fcn.00407750
pop ecx
lea eax, [ebp - 0xe8]
pop ecx
push 0x22
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push edi
call esi
mov dword [ebp - 4], 2
mov ebx, 0x40f044
mov al, byte [ebp - 4]
push 0x14
add al, 0x41
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1c]
push 0xffffffffffffffff
push eax
push 1
push edi
call esi
mov al, byte [ebp - 0x1c]
push 0x34
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
push eax
push 1
push edi
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe8]
push 2
push eax
call dword [0x493908]
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0x10], eax
je 0x406c47
cmp eax, edi
jne 0x406bcd
cmp dword [ebp - 8], edi
jne 0x406bcd
push 1
push str.uX_X
push edi
call fcn.004047aa
pop ecx
and eax, 1
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00404255
lea eax, [ebp - 0x358]
push ebx
push eax
call fcn.00407740
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.00407750
push 1
lea eax, [ebp - 0x45c]
push edi
push eax
lea eax, [ebp - 0x358]
push edi
push eax
push dword [ebp + 8]
call fcn.0040284d
add esp, 0x38
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edi
jne 0x406c47
push 1
push 0x410dc2
lea eax, [ebp - 0x560]
push edi
push eax
call fcn.00404255
push dword [ebp + 8]
lea eax, [ebp - 0x254]
push eax
call fcn.00407740
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.00407750
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00407750
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.00407750
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00407750
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x254]
push 0xffffffffffffffff
push eax
call fcn.00407040
add esp, 0x48
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jl 0x406b10
pop ebx
pop edi
pop esi
leave
ret
Function at 0x406c59
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x439c
call fcn.00407f50
lea eax, [ebp + 0xc]
push edi
push eax
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
mov dword [ebp - 8], 0x3e80
push 3
push 1
pop edi
push edi
push dword [ebp + 0xc]
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x406dcf
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x439c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.MPR.dll_WNetEnumResourceA
xor ebx, ebx
cmp dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
jbe 0x406dc6
push esi
lea esi, [ebp - 0x4388]
test byte [esi - 8], 2
lea eax, [esi - 0x14]
je 0x406cd8
push dword [ebp + 0x10]
push 2
push eax
call fcn.00406c59
add esp, 0xc
jmp 0x406db3
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call fcn.00404bc6
add esp, 0xc
test eax, eax
jne 0x406db3
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
call fcn.00406a2a
pop ecx
pop ecx
push edi
push str.uX_X
push ebx
call fcn.004047aa
pop ecx
and eax, edi
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.00404255
add esp, 0x10
cmp dword [ebp + 0x10], ebx
je 0x406db3
push edi
lea eax, [ebp - 0x51c]
push ebx
push eax
lea eax, [ebp - 0x314]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040284d
add esp, 0x18
push edi
push 0x410dc2
push ebx
call fcn.004047aa
pop ecx
and eax, edi
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00404255
push dword [esi]
lea eax, [ebp - 0x10c]
push eax
call fcn.00407740
lea eax, [ebp - 0x10c]
push 0x40f044
push eax
call fcn.00407750
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00407750
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
call fcn.00407040
add esp, 0x38
inc dword [ebp + 8]
add esi, 0x20
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x406cbc
pop esi
push dword [ebp + 0xc]
call sub.MPR.dll_WNetCloseEnum
pop ebx
pop edi
leave
ret
Function at 0x407040
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2590
call fcn.00407f50
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
jne 0x407074
push dword [ebp + 8]
call fcn.00404819
test eax, eax
pop ecx
jne 0x4071b2
mov edi, 0x410d74
push ebx
push edi
call fcn.004034a2
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp + 0xc], eax
jge 0x407098
push ebx
call fcn.004047aa
xor edx, edx
pop ecx
div dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov esi, str.uX_X
push ebx
push esi
call fcn.004034a2
cmp dword [ebp + 0x10], ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jge 0x4070bd
push ebx
call fcn.004047aa
xor edx, edx
pop ecx
div dword [ebp + 0xc]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e8b
lea eax, [ebp - 0x314]
mov dword [esp], 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push ebx
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4071b2
lea eax, [ebp - 0x10c]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x227a
lea eax, [ebp - 0x2590]
push 0x40f0c0
push eax
call fcn.00407bf0
lea eax, [ebp - 0x2590]
mov byte [ebp - 0x157c], bl
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004056f9
push ebx
call fcn.004047aa
xor edx, edx
mov ecx, 0x2800
div ecx
lea eax, [ebp - 0x10c]
add edx, 0x15200
push edx
push eax
call fcn.00404062
push dword [ebp - 4]
push edi
call fcn.00403472
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00407740
push dword [ebp - 8]
push esi
call fcn.00403472
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00407750
add esp, 0x40
lea eax, [ebp - 0x210]
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call fcn.0040521a
lea eax, [ebp - 0x10c]
push eax
call fcn.00403ef9
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4072e6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push edi
push 0x4015ff
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x4065fc
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x406dd2
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x40605a
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x4071c1
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x406fc9
push edi
push edi
call esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x406f7c
push edi
push edi
call esi
inc ebx
cmp ebx, 0x1a
jl 0x407351
call fcn.004071b7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065028
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::ServiceInfo::constructor_void_]
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0xc]
mov dword [edi], vtable.ScScript::ScriptServiceInfo.0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x30]
mov dword [edi + 8], eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
mov dword [edi + 0x10], 5
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 1
mov eax, dword [ebx + 0x20]
mov byte [ebp - 4], 1
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::constructor_void_]
mov eax, dword [edi + 8]
mov byte [ebp - 4], 2
test eax, eax
jne 0x10002b6b
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov ecx, dword [0x1009bdcc]
push eax
lea eax, [ebp - 0x10]
push eax
call sym.ExtendScript.dll_public:_class_ScCore::String___thiscall_ScScript::DataPool::getSymbol_int_
push eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 3
call dword [0x10071104]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push 0xc
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10002bb7
push 0x7e
mov ecx, eax
call fcn.100026a0
jmp 0x10002bb9
xor eax, eax
xor esi, esi
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], esi
jle 0x10002bf0
nop word [eax + eax]
lea eax, [esi + 0x20000000]
push eax
lea ecx, [ebx + 0x18]
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SparseArray::findKey_int_const]
push eax
lea ecx, [edi + 0x20]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::SimpleArray____thiscall_ScCore::SimpleArray::operator_int_]
inc esi
cmp esi, dword [edi + 0x18]
jl 0x10002bd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100043c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006534f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x1000449c
je 0x10004497
cmp eax, 0x80000000
je 0x10004497
test eax, eax
jne 0x100044a3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov eax, dword [0x1009bddc]
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000444b
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.10005120
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_unsigned_short_int_const__]
mov eax, dword [0x1009bddc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x1000447c
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100044bf
xorps xmm0, xmm0
jmp 0x100044ba
cmp eax, 0x40000000
je 0x100044af
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100044b6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10011f70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066e70
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
push str.JSINCLUDE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov ecx, esi
push eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::HashTable::constructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret