joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40558c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x405d28
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 0x4680000
push ebx
mov esi, ecx
push ebx
push ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x20], 0x50
mov byte [ebp - 0x1f], 0x4f
mov byte [ebp - 0x1e], 0x53
mov byte [ebp - 0x1d], 0x54
mov byte [ebp - 0x1c], bl
call fcn.00405306
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 8]
call dword [esi + 0x120]
lea ecx, [ebp - 0x14]
push 4
push ecx
push 2
push eax
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14], 0x1d4c0
call dword [esi + 0x138]
cmp eax, ebx
je 0x40561f
lea eax, [ebp - 0x14]
push 4
push eax
push 5
push dword [esi + 0xc]
call dword [esi + 0x138]
cmp eax, ebx
je 0x40561f
lea eax, [ebp - 0x14]
push 4
push eax
push 6
push dword [esi + 0xc]
call dword [esi + 0x138]
cmp eax, ebx
jne 0x405637
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor eax, eax
jmp 0x4056af
push dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 0x43
push dword [ebp + 8]
mov byte [ebp - 0x37], 0x61
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0x68
push 0xffffffffffffffff
push eax
push dword [esi + 0xc]
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x2d
mov byte [ebp - 0x32], 0x43
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0x3a
mov byte [ebp - 0x2a], 0x20
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x2d
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x68
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], bl
call dword [esi + 0x124]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x405942
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov eax, dword [esi]
push eax
mov dword [ebp + 0x14], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
lea eax, [ebp + 0x14]
mov dword [esp], 0x408230
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004047c8
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
add esp, 0x14
xor edi, edi
test eax, eax
mov dword [esi], eax
jbe 0x405995
mov eax, dword [ebp + 0x10]
mov ecx, ebx
sub ecx, eax
mov dl, byte [ecx + eax]
xor dl, 0x42
inc edi
mov byte [eax], dl
inc eax
cmp edi, dword [esi]
jb 0x405987
push ebx
call fcn.00405a0a
mov eax, dword [ebp + 0xc]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7003d1d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x7003d2c
pop dword [ebp - 4]
mov eax, 0x1dbbacd1
sub eax, 0x16bb6fa5
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x1fbf33d5
sub dword [ebp - 0x14], 0xd16cee8a
mov dword [ebp - 0x10], 0x754ef9c8
sub dword [ebp - 0x10], 0x431bad83
mov dword [ebp - 0xc], 0x426fed49
add dword [ebp - 0xc], 0x9dc56e5
mov dword [ebp - 8], 0x1849890
sub dword [ebp - 8], 0x1849890
lea eax, [ebp - 0x14]
push eax
mov eax, 0x53aba633
sub eax, 0x4caa6603
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xe47cc206
sub dword [ebp - 0x14], 0x700a58b0
mov dword [ebp - 0x10], 0x1f42f17d
sub dword [ebp - 0x10], 0xddd69008
mov dword [ebp - 0xc], 0xc965dc98
add dword [ebp - 0xc], 0x9a098fd4
mov dword [ebp - 8], 0xce3f7063
sub dword [ebp - 8], 0xce3f7063
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3ce35
push 0
call eax
mov ecx, 0xd69c3b3c
add ecx, 0x29641759
mov edx, eax
mov ebx, 0x7021400
add ebx, dword [ebp - 4]
mov esi, 0xc5bc0965
add esi, 0xfe4087c1
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 4
add ebx, 0x826ec1e
add ebx, 0xf7d913e6
loop 0x7003e43
add eax, 0x13d27
mov ebx, eax
add eax, 5
mov ecx, 0x7000000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x700dc1f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7012b4c
call fcn.07001ce0
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700de1f
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700e7aa
lea ecx, [ebp - 0x10]
call fcn.0700dbbc
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700dc8c
mov eax, dword [eax + 0x14]
jmp 0x700dc91
mov eax, 0x70148c2
push 0x7016240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700dcbf
mov ecx, edi
call fcn.07007930
lea ecx, [ebp - 0x10]
call fcn.07003d1d
mov eax, edi
call fcn.07001e84
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003d1d
int3
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x100129d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100129df
pop dword [ebp - 0x28]
mov eax, 0x100129df
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x9417fc11
sub dword [ebp - 0x38], 0x45c5b6c6
mov dword [ebp - 0x34], 0x9e427379
add dword [ebp - 0x34], 0x93f0d8cc
mov dword [ebp - 0x30], 0x840037d8
sub dword [ebp - 0x30], 0x37b3f3aa
mov dword [ebp - 0x2c], 0xed54b142
sub dword [ebp - 0x2c], 0xed54b142
lea eax, [ebp - 0x38]
push eax
mov eax, 0x8217b849
sub eax, 0x721657e9
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x820a5256
add dword [ebp - 0x38], 0xf2681700
mov dword [ebp - 0x34], 0x1fc0dd58
add dword [ebp - 0x34], 0x21ab841d
mov dword [ebp - 0x30], 0x5d922769
sub dword [ebp - 0x30], 0xfa22bafd
mov dword [ebp - 0x2c], 0x95ce31ef
add dword [ebp - 0x2c], 0x6a31ce11
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3c86a
push 0
call eax
mov ecx, 0x86063352
sub ecx, 0x8605d79a
mov esi, eax
mov edx, 0x8385efc0
sub edx, 0x7383b9c0
add edx, dword [ebp - 0x28]
mov ebx, 0x93d2cde5
xor dword [ebp - 0x10], esi
mov edi, dword [edx]
xor edi, ebx
add dword [ebp - 0xc], 0x3eda847b
mov dword [esi], edi
add dword [ebp - 4], eax
add esi, 0x245d1579
add esi, 0xdba2ea8b
add edx, 4
loop 0x10012af1
add eax, 0xfe76c3c8
add eax, 0x18a9deb
xor ebx, ebx
add ebx, eax
add eax, 0x9d483840
sub eax, 0x9d48383b
mov ecx, 0xc1c8839a
sub ecx, 0xb1c8839a
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401bd7
pop dword [ebp - 0x38]
mov eax, 0xa0ab4a86
sub eax, 0xa06b2eaf
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x58d79fd7
add dword [ebp - 0x48], 0xf57aa574
mov dword [ebp - 0x44], 0xd0e76536
sub dword [ebp - 0x44], 0x9eb418f1
mov dword [ebp - 0x40], 0xf289c70d
add dword [ebp - 0x40], 0x59c27d21
mov dword [ebp - 0x3c], 0xf00f4e6e
add dword [ebp - 0x3c], 0xff0b192
lea eax, [ebp - 0x48]
push eax
mov eax, 0x5ea6b6c1
add eax, 0xa199b99f
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe6815bde
add dword [ebp - 0x48], 0x8df10d78
mov dword [ebp - 0x44], 0xe498ae3b
add dword [ebp - 0x44], 0x5cd3b33a
mov dword [ebp - 0x40], 0xd90ba4e2
add dword [ebp - 0x40], 0x8a63c78a
mov dword [ebp - 0x3c], 0x814f3e67
sub dword [ebp - 0x3c], 0x814f3e67
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x4befa8bd
sub eax, 0x4baf37bd
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x32a53
push 0
call eax
mov ecx, 0x947d0fe3
add ecx, 0x6b832865
xor ebx, ebx
add ebx, eax
mov edx, 0x1c7384c5
sub edx, 0x1c3284c5
add edx, dword [ebp - 0x38]
mov edi, 0xd2f9d30
add edi, 0xa5f21
xor dword [ebp - 0x10], eax
mov esi, dword [edx]
mov dword [ebp - 4], 0x1b926a89
sub esi, edi
mov dword [ebx], esi
mov dword [ebp - 0x20], 0x81bfcaa2
add ebx, 0xbca3e257
sub ebx, 0xbca3e253
add edx, 0x3f9332f
add edx, 0xfc06ccd5
loop 0x401cfb
add eax, 0xd92e9094
add eax, 0x26d2435f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc847e6fc
sub ecx, 0xc807e6fc
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x6d771090
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_UpdSpSetDynamicStringExA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.updspapi.dll
mov dword [ebp - 0x40], str.UpdSpSetDynamicStringExA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6d7710f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_UpdSpSetDynamicStringExW___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.updspapi.dll
mov dword [ebp - 0x40], str.UpdSpSetDynamicStringExW
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6d771150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_UpdSpSetDynamicStringW___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.updspapi.dll
mov dword [ebp - 0x40], str.UpdSpSetDynamicStringW
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6d7711b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_UpdSpStringTableEnum___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.updspapi.dll
mov dword [ebp - 0x40], str.UpdSpStringTableEnum
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x6d772ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6d775298
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
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 sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
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 sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
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 sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
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 0x1001c6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1001c6bf
pop dword [ebp - 0x38]
mov eax, 0x49f56eac
add eax, 0xc60c5813
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x2b5c5cf
add dword [ebp - 0x48], 0x4b9c7f7c
mov dword [ebp - 0x44], 0xea895d13
sub dword [ebp - 0x44], 0xb85610ce
mov dword [ebp - 0x40], 0x5f66d54
add dword [ebp - 0x40], 0x4655d6da
mov dword [ebp - 0x3c], 0x7a6c53fe
sub dword [ebp - 0x3c], 0x7a6c53fe
lea eax, [ebp - 0x48]
push eax
mov eax, 0xd472f972
sub eax, 0xc46d286a
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe89f351b
sub dword [ebp - 0x48], 0x742ccbc5
mov dword [ebp - 0x44], 0xd4a5033d
sub dword [ebp - 0x44], 0x9338a1c8
mov dword [ebp - 0x40], 0xbcbdc0ef
add dword [ebp - 0x40], 0xa6b1ab7d
mov dword [ebp - 0x3c], 0xdbfe557c
add dword [ebp - 0x3c], 0x2401aa84
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x2442a17b
sub eax, 0x143cd07b
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4e8c6
push 0
call eax
mov ecx, 0x13b568c8
sub ecx, 0x13b52581
xor edi, edi
add edi, eax
mov esi, 0xfef376e
add esi, 0x19d692
add esi, dword [ebp - 0x38]
mov ebx, 0x71b442b2
xor dword [ebp - 0x2c], edi
mov edx, dword [esi]
mov dword [ebp - 0x10], 0xc286df1d
add edx, ebx
mov dword [ebp - 0x1c], 0xbc143c6d
mov dword [edi], edx
add edi, 0x22070c02
add edi, 0xddf8f402
add esi, 0x386f0b95
sub esi, 0x386f0b91
loop 0x1001c7dd
add eax, 0x712cbaab
sub eax, 0x712bbabc
mov ebx, eax
add eax, 0x9f7685d4
sub eax, 0x9f7685cf
mov ecx, 0x2f62c15d
add ecx, 0xe09d3ea3
add ecx, dword [ebp - 0x38]
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 sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
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
Function at 0x10037510
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
mov dword [ebp - 0x188], eax
test eax, eax
je 0x1003768b
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037565
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 4
push esi
call edi
test eax, eax
jne 0x10037561
push esi
call ebx
test eax, eax
je 0x10037565
mov esi, eax
jmp 0x10037551
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1003767b
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x1003767b
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x1003767b
test esi, esi
je 0x1003767b
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
mov ebx, eax
call edi
mov ecx, dword [ebp - 0x188]
push 0
push ecx
mov esi, eax
call edi
mov edi, eax
test ebx, ebx
je 0x1003767b
cmp edi, esi
je 0x1003767b
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037628
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call esi
push 2
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0x2001
mov dword [ebp - 0x190], 0
call esi
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call esi
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret

Function at 0x10037780
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x10037790
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
ret
Function at 0x100377b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
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 dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], 1
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push edi
push edi
mov dword [ebp - 0x18], edx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10037839
mov dword [esi + 0xc], 0x20
mov dword [esi + 8], edi
mov dword [esi + 4], edi
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
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov eax, dword [0x10083aa8]
cmp eax, edi
jne 0x1003784d
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x52], ebx
mov dword [eax + 0x56], edx
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

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

Disassembly:
mov eax, dword [0x10083674]
cmp eax, 0xffffffff
je 0x10037b80
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10037b71
cmp esi, dword [0x10083be8]
jne 0x10037b5a
mov dword [0x10083be8], 0
mov ecx, esi
call fcn.10020480
mov ecx, esi
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
push esi
call sub.msvcr100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x10083674]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

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

Disassembly:
mov eax, dword [0x10083be8]
test eax, eax
jne 0x10037bfa
mov eax, dword [0x10083674]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10037bfa
push esi
push 0x16c
call sub.msvcr100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10037bc6
mov ecx, eax
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::put_int__class_ScCore::Variant_const___class_ScCore::Error__
mov esi, eax
jmp 0x10037bc8
xor esi, esi
cmp byte [0x10083be4], 0
jne 0x10037be2
mov ecx, esi
mov dword [0x10083be8], esi
call fcn.10020740
mov eax, esi
pop esi
ret
mov ecx, dword [0x10083674]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.10020740
mov eax, esi
pop esi
ret