joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44060e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x44067c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x440673
cmp dword [ebp - 0xc], 4
jne 0x440673
cmp dword [ebp - 0x10], edi
je 0x440673
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x471e88], edi
xor eax, eax
jmp 0x4406a4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x471e88], edi
jge 0x44069f
mov dword [0x471e88], edi
call fcn.004405e9
test eax, eax
je 0x44069f
emms
mov dword [0x471e88], 1
mov eax, dword [0x471e88]
pop edi
leave
ret

Function at 0x440784
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4407bb
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x4407dd
cmp dword [ebp - 0x20], 4
ja 0x4407e7
jne 0x4407d7
cmp dword [ebp - 0x1c], 0xa
jb 0x4407d7
cmp word [ebp - 0x18], 0x55d
jae 0x4407e7
mov byte [ebp + 0x73], 1
jmp 0x4407e7
cmp dword [ebp - 0x14], 2
jne 0x4407fd
test bl, bl
je 0x440818
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x440808
dec eax
je 0x440801
sub eax, 3
jne 0x4407fd
cmp byte [ebp + 0x73], 0
je 0x440829
xor eax, eax
jmp 0x440831
call fcn.004406a7
jmp 0x440831
cmp byte [ebp + 0x73], 0
jne 0x4407fd
call fcn.004406df
and eax, 4
jmp 0x440831
cmp dword [ebp + 0x7c], 0xa
je 0x440829
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x440831
call fcn.004406df
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x440e1e
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440e4b
push esi
call fcn.00448892
cmp byte [esi + 0x40], 0
pop ecx
je 0x440e44
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440eba
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x440eaf
mov eax, dword [esi + 8]
test eax, eax
je 0x440e6c
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x440eab
cmp eax, 2
je 0x440eaf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440e61
cmp eax, 3
je 0x440e90
cmp eax, 1
jne 0x440e61
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x440e61
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440e61
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x440ed8
cmp eax, 0xcc
je 0x440ed8
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.00440cf1
pop esi
ret

Function at 0x44a19c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44a1aa
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x44a27e
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x465790]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x465790]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x465790]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x465790]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x465790]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x465790]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x465790]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x465790]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x44a1c7
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x44a29e
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x465790]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x44a284
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x4016ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [0x48b334]
mov ebx, eax
push ebx
call fcn.0046712e
mov esi, eax
pop ecx
test esi, esi
je 0x40173c
xor edx, edx
test ebx, ebx
jbe 0x40173c
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x401726
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov byte [ebp - 0x1c], 0x49
cmp byte [ebp + 0xc], al
mov dword [ebp - 4], eax
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], al
je 0x40fc06
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], al
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402e7f
mov eax, dword [ebp + 8]
leave
ret 8
Function at 0x4267bc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x484d72
call fcn.00466fdc
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.004690d4
mov eax, 0x48cc88
lea edi, [ebx + 0x10]
mov esi, eax
and dword [ebp - 4], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x20]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x30]
lea eax, [ebp - 0xd]
mov edi, 0x48b660
mov esi, 0x48b658
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401907
lea ecx, [ebx + 0x58]
lea eax, [ebp - 0xe]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401907
mov eax, dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 2
mov dword [ebx], 0x48b888
mov dword [ebx + 0xc], eax
call fcn.0042694a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42684e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x484d9a
call fcn.00466fdc
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.004690d4
and dword [ebp - 4], 0
lea edi, [ebx + 0x30]
lea eax, [ebp - 0xd]
mov esi, 0x48b658
push 0
push eax
mov ecx, edi
mov dword [edi], 0x48b660
mov dword [edi + 0x20], esi
call fcn.00401907
lea ecx, [ebx + 0x58]
lea eax, [ebp - 0xe]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x48b660
mov dword [ecx + 0x20], esi
call fcn.00401907
mov esi, dword [ebp + 8]
mov dword [ebx], 0x48b888
mov ecx, edi
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x30]
push eax
call fcn.00401d3d
lea eax, [esi + 0x58]
lea ecx, [ebx + 0x58]
push eax
call fcn.00401d3d
add esi, 0x20
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x10]
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x429537
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
dec edx
test eax, eax
je 0x429571
mov eax, dword [ecx + 0x74]
push esi
lea esi, [edx + 1]
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [ebp + 0x10]
movzx edi, byte [edx]
and ecx, 0xff
xor ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 8
mov ecx, dword [eax + ecx*4]
inc edx
xor edi, ecx
dec esi
mov dword [ebp + 0x10], edi
jne 0x42954f
pop edi
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x45e950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x48cd10]
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x48cd0c
mov dword [esp + 0x30], 0x48cd04
lea esi, [esp + eax + 0x10]
call dword [0x48b338]
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], 0
test eax, eax
je 0x45e9a9
add eax, 4
jmp 0x45e9ab
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.0045d120
lea ecx, [esp + 0x24]
call fcn.0045c910
push 0
lea ecx, [esp + 0x34]
call fcn.0045c950
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x40], 1
test ebx, ebx
je 0x45e9de
lea ecx, [ebx - 1]
jmp 0x45e9e0
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov eax, 0x48b6d0
test edx, edx
je 0x45e9ef
mov eax, edx
cmp word [eax + ecx*2], 0x5c
je 0x45ea61
test ebx, ebx
je 0x45e9ff
lea ecx, [ebx - 1]
jmp 0x45ea01
xor ecx, ecx
test edx, edx
mov eax, 0x48b6d0
je 0x45ea0c
mov eax, edx
cmp word [eax + ecx*2], 0x2f
je 0x45ea61
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 8]
lea edi, [esi + 4]
test eax, eax
jne 0x45ea26
mov eax, 0x48b6d0
cmp word [eax], 0x5c
je 0x45ea4f
mov eax, dword [edi + 4]
test eax, eax
jne 0x45ea38
mov eax, 0x48b6d0
cmp word [eax], 0x2f
je 0x45ea4f
test ebx, ebx
je 0x45ea4f
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call fcn.00405ab0
mov ecx, dword [0x48b6b0]
neg esi
sbb esi, esi
push ecx
and esi, edi
push 0
push esi
jmp 0x45eaa4
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
lea esi, [eax + 4]
test ecx, ecx
jne 0x45ea74
mov ecx, 0x48b6d0
cmp word [ecx], 0x5c
je 0x45ea90
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45ea86
mov ecx, 0x48b6d0
cmp word [ecx], 0x2f
je 0x45ea90
xor edx, edx
jmp 0x45ea95
mov edx, 1
mov ecx, dword [0x48b6b0]
neg eax
sbb eax, eax
push ecx
and eax, esi
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0040b07a
mov edi, dword [esp + 0x48]
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, edi
mov dword [edi], 0x48cd0c
mov dword [edi + 0x20], 0x48cd04
call fcn.00403d4e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [0x48b338]
mov dword [esi], eax
lea esi, [esp + 0x10]
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
and esi, eax
mov ecx, dword [esi]
push ecx
call fcn.00438016
mov edx, dword [esi + 8]
add esp, 4
push edx
call dword [0x48b3c0]
lea ecx, [esp + 0x10]
lea eax, [esp + 0x14]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.00403edb
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x10]
push eax
call dword [0x48b33c]
mov ecx, dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x42b224
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b1b9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004162c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b273
cmp dword [ebp - 0x1c], 5
jb 0x42b28b
jmp 0x42b287
cmp dword [ebp - 0x10], 1
jne 0x42b28b
cmp dword [ebp - 0x1c], 4
ja 0x42b287
jne 0x42b28b
cmp dword [ebp - 0x18], 0
jbe 0x42b28b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4327a4
call fcn.0042b08d
test eax, eax
jge 0x42b2ac
mov byte [0x43a368], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416063
add ebp, 0x78
leave
ret

Function at 0x40a580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x2a5900]
push esi
mov dh, 0x8b
jge 0x40a597
push 0x2f
push edi
call ebx
push 0xffffffffffffff82
push edi
mov esi, eax
or al, 0xb3
add esp, 0x10
cmp eax, esi
jbe 0x40a5a4
mov esi, eax
test esi, esi
adc byte [eax], 0x36
cmp dl, byte [edi - 1]
mov word [ebx + 0x8c483f0], cs
test esi, esi
je 0x40a5c0
aas
inc esi
add dword [edi + 0x5e], ebx
pop ebx
pop ebp
ret 0x604
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
test dword [eax + eax], 0x90909090
nop
nop
push ebp
push ebp
mov ebp, esp
adc ebp, esp
sbb byte [ebx - 0x75], dl
pop ebp
adc byte [ebp + 0x45c75725], al
cld
add byte [eax], al
add eax, 0x8b130300
inc ebp
das
mov al, 0x83
cmp byte [eax], al
inc edx
or dword [esp + ecx*2 - 0x7abcfb68], esi
leave
mov ah, 0x4c
cwde
add al, 0x43
test ecx, ecx
jne 0x40a5f0
lea eax, [ebx + esi*8]
add al, 0x1a
add byte [eax], al
push esi
push eax
call dword [0x40fc5c]
lodsb al, byte [esi]
les eax, [ebx + ecx*4]
clc
test ebx, ebx
mov al, 0x7d
lea edi, [edi + 0x36]
mov eax, dword [ebp + 0xc]
mov esi, edi
sub eax, edi
mov ecx, edx
clc
mov bh, 0x45
adc bl, ch
add ebx, dword [ebx + 0x45]
pop ebx
inc ebp
insd dword es:[edi], dx
mov ebx, edi
xor byte [ecx - 0x4b], dl
adc eax, sym.imp.MSVCRT.dll_wcslen
add esp, 0x4b
cmp al, 0x89
push es
mov edx, dword [ebp - 4]
add edx, eax
mov esi, dword [esi - 8]
add esi, 4
mov cs, word [ecx + 0x45894f55]
clc
jne 0x40a623
mov eax, dword [ebp - 0xf]
lea eax, [eax + eax*2 + 1]
push eax
mov dword [ebp - 4], eax
inc dword [ebx + 0x5c]
rol dword [eax], 0x83
les eax, [ebx + esi]
leave
test ebx, ebx
mov dword [ebp - 8], eax
scasd eax, dword es:[edi]
invalid
Function at 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x16], 0
mov eax, 0x32
je 0x1001172e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 8]
call fcn.10036690
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
setne al
cmp byte [ebp + 0xc], 0
je 0x10011692
test al, al
je 0x10011692
mov eax, dword [edi + 0x22]
push eax
lea ecx, [ebp + 8]
call fcn.10036690
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x12]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.10036690
mov edi, eax
test edi, edi
jne 0x100116d7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100116d7
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x16]
mov edx, dword [ebp - 0x14]
push ecx
push 1
push eax
push edx
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x100116d7
mov edi, 0x34
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x16]
push ecx
call dword [sym.imp.msvcr100.dll_ferror]
add esp, 4
test eax, eax
je 0x10011702
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x16]
push eax
call dword [sym.imp.msvcr100.dll_clearerr]
add esp, 4
mov edi, 0x34
jmp 0x1001171d
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.msvcr100.dll_ftell]
mov esi, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 0x1a]
jle 0x1001171d
mov dword [esi + 0x1a], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sym.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10012490
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057a25
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov edx, dword [edi]
mov dword [ebp - 0x814], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x820], edi
call eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x828]
push edx
add eax, 4
push eax
call fcn.10036690
add esp, 0xc
test eax, eax
jne 0x1001253e
mov ecx, dword [edi + 4]
push 0x1005f994
push ecx
call fcn.10036690
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012672
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0x16]
mov esi, dword [sym.imp.msvcr100.dll_fseek]
push 2
push eax
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x10012548
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov eax, 0x34
jmp 0x10012674
mov esi, 0x30
jmp 0x10012672
push ebx
call dword [sym.imp.msvcr100.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x10
test eax, eax
je 0x10012576
mov ecx, dword [ebp - 0x820]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, 0x34
jmp 0x10012674
mov eax, dword [ebp - 0x814]
push eax
lea ecx, [ebp - 0x81c]
call fcn.10036690
mov ecx, dword [ebp - 0x818]
push 0x1005f9ec
push ecx
mov dword [ebp - 4], 0
call fcn.10036690
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012653
mov edx, dword [ebp - 0x818]
mov eax, dword [edx + 0x16]
mov dword [ebp - 0x814], eax
test edi, edi
je 0x10012611
mov esi, edi
cmp edi, 0x800
jbe 0x100125cf
mov esi, 0x800
push ebx
push 1
lea ecx, [ebp - 0x810]
push esi
push ecx
call dword [sym.imp.msvcr100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10012692
mov edx, dword [ebp - 0x814]
push edx
push 1
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
test eax, eax
je 0x10012692
sub edi, esi
jne 0x100125c0
lea ecx, [ebp - 0x81c]
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::File::close_void_
mov esi, eax
test esi, esi
jne 0x10012653
mov ecx, dword [ebp - 0x818]
add ecx, 4
push ecx
call fcn.10036690
mov edx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x818]
push edx
push eax
add ecx, 4
push ecx
call fcn.10035870
add esp, 0x10
mov esi, eax
mov ecx, dword [ebp - 0x820]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
call fcn.10036690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret 4
mov esi, 0x34
jmp 0x10012653
Function at 0x10036690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1003669f
pop dword [ebp - 0x4c]
mov eax, 0x1003669f
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x8fa8b930
add dword [ebp - 0x5c], 0xbea98c1b
mov dword [ebp - 0x58], 0xae0c36ef
sub dword [ebp - 0x58], 0x7bd8eaaa
mov dword [ebp - 0x54], 0x80b33b29
add dword [ebp - 0x54], 0xcb990905
mov dword [ebp - 0x50], 0xbb4e456
sub dword [ebp - 0x50], 0xbb4e456
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x12d0f60b
add eax, 0xfd34dafd
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xd7f26e7c
sub dword [ebp - 0x5c], 0x63800526
mov dword [ebp - 0x58], 0xfdb22c8a
add dword [ebp - 0x58], 0x43ba34eb
mov dword [ebp - 0x54], 0x4e766a41
add dword [ebp - 0x54], 0x14f9022b
mov dword [ebp - 0x50], 0x9b0fb056
add dword [ebp - 0x50], 0x64f04faa
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x82137ae6
add eax, 0x8df2561a
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x528b4
push 0
call eax
mov ecx, 0x51c0
xor edx, edx
add edx, eax
mov edi, 0x178dca24
sub edi, 0x784bc24
add edi, dword [ebp - 0x4c]
mov esi, 0xaac4dfbe
sub esi, 0x40c5864a
add dword [ebp - 0x30], 0xe7767ee1
mov ebx, dword [edi]
xor dword [ebp - 0x10], ecx
xor ebx, esi
add dword [ebp - 8], esi
mov dword [edx], ebx
xor dword [ebp - 0x44], edi
add edx, 0x47e7fbae
sub edx, 0x47e7fbaa
add edi, 0x9b3a66b4
sub edi, 0x9b3a66b0
loop 0x100367b8
add eax, 0x40b3e092
sub eax, 0x40b2a6bf
mov ebx, eax
add eax, 0x12c25881
add eax, 0xed3da784
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x100374a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374cb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.10036690
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x100374f9
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100374f2
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x100374f5
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003750b
lea ecx, [ebp - 8]
push ecx
push 0x10037470
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret