joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call fcn.0040992c
mov edi, dword [ebp + 8]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor esi, esi
mov dword [ebp - 0xc], eax
cmp eax, esi
mov dword [ebp - 4], esi
mov dword [ebp + 8], esi
mov dword [ebp - 8], esi
je 0x40cdaf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 0xc]
push edi
call fcn.00411b24
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
je 0x40ce28
push ebx
lea ecx, [ebp - 0x18]
call fcn.00405c72
mov eax, dword [ebp + 0x1c]
cmp eax, esi
je 0x40cde2
cmp byte [eax], 0
je 0x40cde2
push dword [ebp + 0x20]
lea ecx, [ebp - 0x18]
push eax
call fcn.00405e1d
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040ce45
pop ecx
mov esi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp esi, ebx
mov dword [ebp - 8], eax
je 0x40ce1e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x18]
call fcn.00405d01
xor esi, esi
cmp dword [ebp + 8], esi
pop ebx
je 0x40ce3c
cmp dword [ebp - 0xc], esi
je 0x40ce3c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0x1c

Function at 0x40d1e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
mov byte [ebp - 0x12c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x40d257
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40d257
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40d257
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp - 0x12c], bl
lea eax, [ebp - 0x12c]
push eax
je 0x40d287
lea ecx, [ebp - 0x28]
call fcn.004020a5
push 1
lea ecx, [ebp - 0x28]
pop ebx
mov dword [ebp - 0x28], 0x41b3dc
push 0x41e11c
call fcn.0040267c
jmp 0x40d29c
lea ecx, [ebp - 0x18]
call fcn.004020a5
push 2
mov dword [ebp - 0x18], 0x41b3dc
pop ebx
lea eax, [ebp - 0x18]
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.0040210b
test bl, 2
mov dword [edi], 0x41b3dc
je 0x40d2bd
lea ecx, [ebp - 0x18]
and ebx, 0xfffffffd
call fcn.00401646
test bl, 1
je 0x40d2ca
lea ecx, [ebp - 0x28]
call fcn.00401646
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x40da5e
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [ecx + 4]
push 0
mov ecx, esi
call fcn.004019d4
push dword [esp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x40db28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x40db7c
and byte [ebp - 0xc8], 0
push edi
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0xc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc8]
push 0xc8
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xc8]
push 0
push eax
lea ecx, [esi + 0x58]
push dword [ebp + 8]
call fcn.0040dbcf
pop edi
xor eax, eax
pop esi
leave
ret 4

Function at 0x40dcab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
mov ebx, 0x130b
mov edi, ecx
push 0
push ebx
push dword [edi]
call esi
cmp eax, dword [ebp + 8]
je 0x40dd1f
push 0
push 0
push ebx
mov dword [ebp - 0x1c], 8
push dword [edi]
call esi
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x1305
push dword [edi]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call ebx
push 0
push dword [ebp + 8]
push 0x130c
push dword [edi]
call esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
push 0x1305
push dword [edi]
call esi
push 5
push dword [ebp - 4]
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x410b59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and byte [ebp - 0x24], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x23]
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040181c
push dword [esi + 4]
lea eax, [ebp - 0x24]
push 0x14
push eax
push 0x421934
push str.LastCheck
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0
push dword [ebp + 8]
call fcn.00416130
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004090cd
push eax
call fcn.0041541d
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004016bf
pop edi
pop esi
leave
ret 4

Function at 0x411b24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411b47
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x411b4a
xor eax, eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret

Function at 0x411b52
Capabilities:
Check os version
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
jae 0x411bcd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x804
jne 0x411b8e
push 0x41e09c
jmp 0x411bb8
cmp ax, 0x404
jne 0x411b9b
push 0x41e094
jmp 0x411bb8
and eax, 0xff
cmp ax, 0x11
jne 0x411bad
push str.MS_UI_Gothic
jmp 0x411bb8
cmp ax, 0x12
jne 0x411bcd
push 0x41e07c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0xc]
mov word [eax], 9
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x412258
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
call fcn.00412a9f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x50], 0x41b4b8
push 0x7f89
mov dword [esi + 0x54], 0x41b4b4
push ebx
mov dword [esi], 0x41b914
mov dword [esi + 0x50], 0x41b910
mov dword [esi + 0x54], 0x41b90c
mov dword [esi + 0xb0], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push str.AnimateWindow
push 0x41ed70
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xac], eax
push 0x94
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [esi + 0xa8], ebx
call fcn.00416130
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
lea eax, [esi + 0xb4]
mov byte [eax], 1
jb 0x412324
mov byte [eax], bl
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x414c0b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and byte [ebp - 0x40], 0
push ebx
push esi
push edi
mov esi, ecx
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x3f]
push 0
rep stosd dword es:[edi], eax
mov ebx, 0x101d
push 1
push ebx
push dword [esi + 0x58]
stosb byte es:[edi], al
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
push 0
push 2
push ebx
mov dword [ebp - 0xc], eax
push dword [esi + 0x58]
call edi
push 0
push 3
push ebx
mov dword [ebp - 8], eax
push dword [esi + 0x58]
call edi
push 0
push 4
push ebx
mov dword [ebp - 4], eax
push dword [esi + 0x58]
call edi
push eax
lea eax, [ebp - 0x40]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push str._04lu_04lu_04lu_04lu
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
lea eax, [esi + 0x1a1]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x414cb6
mov ecx, 0x421958
call fcn.0040181c
push dword [0x42195c]
lea eax, [ebp - 0x40]
push eax
push str.ColumnWidth
push str.General
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [esi + 0x124], 0
lea edi, [esi + 0x124]
je 0x414cd3
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x414d3c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi], 0
jne 0x414d2a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x421968
call fcn.00408e92
mov edi, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x50]
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040dd7b
mov eax, esi
lea ecx, [esi + 0x54]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040dd7b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415002
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
lea eax, [ebp - 0x10]
push esi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 0x41b3cc
call fcn.00415d24
add eax, 0xc
mov eax, dword [eax]
cmp eax, esi
je 0x41503e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00401646
push 0x5c
inc esi
pop edi
mov dword [ebp + 8], edi
push esi
lea eax, [ebp + 8]
push 1
push eax
mov ecx, ebx
call fcn.0040224c
cmp dword [0x41b3e4], eax
je 0x4150c5
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push 0
push ebx
call fcn.00415ba9
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x41b3dc
call fcn.0040181c
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4150b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
call fcn.0040181c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4150bd
test al, 0x10
je 0x4150bd
lea ecx, [ebp - 0x10]
call fcn.00401646
mov dword [ebp + 8], edi
jmp 0x41504d
lea ecx, [ebp - 0x10]
call fcn.00401646
lea ecx, [ebp - 0x20]
call fcn.004016bf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4150d2
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push 0x41b938
push 1
push esi
push 0x41b948
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 4], esi
je 0x4151bd
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0040181c
mov eax, dword [ebp - 4]
push dword [edi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], esi
cmp eax, esi
pop edi
je 0x4151bd
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x41edf8
push eax
call dword [ecx]
cmp dword [ebp + 0xc], esi
je 0x4151b0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.0040210b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x41b3dc
push dword [eax + 0xc]
call fcn.0040267c
cmp word [str..lnk], si
mov ecx, str..lnk
mov eax, ecx
je 0x41516e
inc eax
inc eax
cmp word [eax], si
jne 0x415167
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040284c
mov eax, dword [ebp + 0xc]
push esi
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x41519b
mov eax, dword [ebp + 0xc]
push 1
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.00401646
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x4151b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4151bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
leave
ret
Function at 0x41908f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x421208
cmp edx, dword [eax]
je 0x4190b1
add eax, 8
inc ecx
cmp eax, 0x421298
jl 0x4190a2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x421208]
jne 0x4191df
mov eax, dword [0x421a38]
cmp eax, 1
je 0x4191b9
test eax, eax
jne 0x4190e2
cmp dword [0x41ef44], 1
je 0x4191b9
cmp edx, 0xfc
je 0x4191df
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x419119
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004196b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004195b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41915c
lea eax, [ebp - 0x1a4]
push eax
call fcn.004195b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41bedc
push edi
call fcn.00419470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004196b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004196c0
lea eax, [ebp - 0xa0]
push 0x41bebc
push eax
call fcn.004196c0
push dword [esi + 0x42120c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004196c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041a083
add esp, 0x2c
pop edi
jmp 0x4191df
lea eax, [ebp + 8]
lea esi, [esi + 0x42120c]
push 0
push eax
push dword [esi]
call fcn.004195b0
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 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578de
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:_int___thiscall_ScCore::Folder::iterate_class_ScCore::FileFilter___int_
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:_int___thiscall_ScCore::Folder::iterate_class_ScCore::FileFilter___int_
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:_int___thiscall_ScCore::Folder::iterate_class_ScCore::FileFilter___int_
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 0x10015ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10015eef
pop dword [ebp - 0x28]
mov eax, 0x10015eef
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x491d48e3
sub dword [ebp - 0x38], 0xfacb0398
mov dword [ebp - 0x34], 0xa6b1d6f
sub dword [ebp - 0x34], 0xd837d12a
mov dword [ebp - 0x30], 0x7327b6e1
sub dword [ebp - 0x30], 0x26db72b3
mov dword [ebp - 0x2c], 0xa9205e73
sub dword [ebp - 0x2c], 0xa9205e73
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x4f8e9d83
sub dword [ebp - 0x38], 0xdb1c342d
mov dword [ebp - 0x34], 0x5d984e3a
sub dword [ebp - 0x34], 0x1c2becc5
mov dword [ebp - 0x30], 0x43e53d3a
add dword [ebp - 0x30], 0x1f8a2f32
mov dword [ebp - 0x2c], 0xef6151f3
add dword [ebp - 0x2c], 0x109eae0d
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x8ea3cbe0
add eax, 0x81620520
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x53d8d
push 0
call eax
mov ecx, 0xb0221238
sub ecx, 0xb021b9e6
xor esi, esi
add esi, eax
mov edx, 0x10090e00
add edx, dword [ebp - 0x28]
mov ebx, 0x5526e985
add ebx, 0x37a87080
sub dword [ebp - 0x18], edx
mov edi, dword [edx]
add dword [ebp - 0x24], edi
xor edi, ebx
xor dword [ebp - 0x14], 0x28488ac3
mov dword [esi], edi
add dword [ebp - 0x14], edx
add esi, 0x4e7c28d4
add esi, 0xb183d730
add edx, 4
loop 0x10016003
add eax, 0x1541b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1fc48fb9
sub ecx, 0xfc48fb9
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100374d0
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 0x100374fb
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:_int___thiscall_ScCore::Folder::iterate_class_ScCore::FileFilter___int_
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x10037529
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10037522
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10037525
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003753b
lea ecx, [ebp - 8]
push ecx
push 0x100374a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10037540
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:_int___thiscall_ScCore::Folder::iterate_class_ScCore::FileFilter___int_
mov dword [ebp - 0x188], eax
test eax, eax
je 0x100376bb
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037595
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 0x10037591
push esi
call ebx
test eax, eax
je 0x10037595
mov esi, eax
jmp 0x10037581
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100376ab
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100376ab
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x100376ab
test esi, esi
je 0x100376ab
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 0x100376ab
cmp edi, esi
je 0x100376ab
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037658
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.10054c82
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.10054c82
mov esp, ebp
pop ebp
ret

Function at 0x100377b0
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x100377c0
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
ret