joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100190c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101956d9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10200e34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
lea ecx, [esi + 0x20]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [ecx], sym.SDTool32.dll_struct_TiXmlString::Rep_TiXmlString::nullrep_
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [esi + 0x2c], sym.SDTool32.dll_struct_TiXmlString::Rep_TiXmlString::nullrep_
mov dword [esi + 0x30], sym.SDTool32.dll_struct_TiXmlString::Rep_TiXmlString::nullrep_
mov dword [esi + 0x34], sym.SDTool32.dll_struct_TiXmlString::Rep_TiXmlString::nullrep_
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0x20]
add edi, 8
mov eax, edi
lea edx, [eax + 1]
mov dword [ebp + 8], edx
nop word [eax + eax]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10019170
sub eax, dword [ebp + 8]
push eax
push edi
call sym.SDTool32.dll_public:_class_TiXmlString____thiscall_TiXmlString::assign_char_const___unsigned_int_
mov eax, dword [ebx + 0xc]
lea ecx, [esi + 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
push dword [eax]
add eax, 8
push eax
call sym.SDTool32.dll_public:_class_TiXmlString____thiscall_TiXmlString::assign_char_const___unsigned_int_
mov eax, dword [ebx + 0x30]
lea ecx, [esi + 0x30]
push dword [eax]
add eax, 8
push eax
call sym.SDTool32.dll_public:_class_TiXmlString____thiscall_TiXmlString::assign_char_const___unsigned_int_
mov eax, dword [ebx + 0x34]
lea ecx, [esi + 0x34]
push dword [eax]
add eax, 8
push eax
call sym.SDTool32.dll_public:_class_TiXmlString____thiscall_TiXmlString::assign_char_const___unsigned_int_
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

Function at 0x1001f32d
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x1001f380
push esi
push dword [ebp + 8]
call fcn.1001f519
mov edi, eax
test edi, edi
je 0x1001f37b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001f37b
mov eax, dword [ebp - 8]
jmp 0x1001f392
mov eax, dword [ebp + 0x10]
jmp 0x1001f392
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x1001f398
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195a39
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.10153080
mov eax, dword [0x10200e34]
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
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], eax
je 0x1001f4cc
push 0
push edx
call fcn.1001f519
mov ebx, eax
test ebx, ebx
jne 0x1001f400
push esi
jmp 0x1001f4f4
call fcn.100212a7
push eax
lea ecx, [ebp - 0x1014]
call fcn.10003ea0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x1024]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x101c], eax
test eax, eax
jne 0x1001f48b
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.10004560
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x1024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x101c], eax
call fcn.1001f655
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x1001f4b9
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.10003d60
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10004410
jmp 0x1001f4fb
push esi
mov ecx, edi
call fcn.10004300
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x1001f4b2
test esi, esi
jne 0x1001f4d5
mov esi, 0x101db3cc
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.10004300
mov eax, edi
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.10152612
leave
ret 0x10
Function at 0x100225cf
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x10195cf0
call fcn.10152f11
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x100226d9
cmp ebx, dword [esi + 0xc]
jge 0x100226d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x10022626
cmp ebx, dword [edi + 8]
jl 0x100226c7
cmp dword [ebp + 0xc], 0
je 0x100226c7
xor ebx, ebx
jmp 0x10022660
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.1002202d
mov edi, eax
test edi, edi
je 0x10022640
mov dword [edi], vtable.CThreadData.0
jmp 0x10022642
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.100224fb
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x1002267b
push 4
push dword [esi + 0xc]
call fcn.100210ff
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x10022693
push 2
push 4
push dword [esi + 0xc]
call fcn.100210ff
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x10022700
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.1016a640
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100226d9
cmp ebx, dword [edi + 8]
jge 0x100226d9
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10152e6f
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10020ce2
int3

Function at 0x1002afd2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x1002b011
call fcn.10022aba
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1002b011
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002b019
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.10034d31
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1002ba0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x1002ba9b
cmp dword [esi + 0x20], 0
je 0x1002ba9b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002ba9b
cmp dword [ebp + 8], 0
je 0x1002ba9b
xor edi, edi
mov ebx, edi
call fcn.10022aba
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002ba7f
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002ba9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.10035832
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002ba97
mov ecx, esi
call fcn.1002b7b1
mov eax, edi
jmp 0x1002ba9d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1002ff87
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10195955
call fcn.10152ea6
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x1002ffad
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1003000d
call fcn.100212a7
push eax
lea ecx, [ebp - 0x10]
call fcn.10003ea0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.101797fa
push eax
call fcn.1001c880
add esp, 0x14
test esi, esi
je 0x10030000
push esi
call fcn.10179230
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10004410
mov eax, ebx
call fcn.10152e6f
ret 8
Function at 0x10034034
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10200e34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.1016a640
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.101797fa
push eax
call fcn.1001c880
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x101a8d20]
je 0x1003419e
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x100341b2
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100341b2
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x100340cd
mov eax, edi
jmp 0x100340fc
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x100340ea
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.10033dd9
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x100340f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10021d15
test eax, eax
je 0x10034121
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.1002154b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10034125
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10021d15
test eax, eax
je 0x1003414c
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1002154b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10034150
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10021d15
test eax, eax
je 0x10034178
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.1002154b
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x1003417a
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x1003418c
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x1003419e
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10152612
leave
ret 4
xor eax, eax
jmp 0x100341a1
Function at 0x10035f38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x10035f63
cmp dword [edi + 0x80], 0
jne 0x10035f63
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.10022aba
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.100361d7
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10035f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.10022aba
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10035fc3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.10035fd6
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10038110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x10038166
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1003813f
call fcn.100282fb
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10038154
call fcn.100282fb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10038166
call fcn.100282fb
call fcn.10022aba
cmp dword [eax + 0x3c], 0
je 0x1003817b
push edi
mov ecx, ebx
call fcn.10037840
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1003834d
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100381a4
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100381b0
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1003a6ef
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1002fecd
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1003a72b
call fcn.1003a90a
mov dword [esi + 0xc], 1
jmp 0x1003a730
call fcn.1003a90a
cmp dword [esi], 0
je 0x1003a779
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1003a753
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10020f5a
jmp 0x1003a764
push 0xff
mov ecx, esi
call fcn.10004560
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1001f655
jmp 0x1003a79d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1003a79d
push dword [esi]
push dword [ebp - 4]
call fcn.10024812
pop esi
leave
ret 0xc

Function at 0x1003a861
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1003a90a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1003a8a9
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10020f5a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1001f655
jmp 0x1003a8b4
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10024812
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1004c2b1
Capabilities:
Get file system object information

Disassembly:
push 0x394
mov eax, 0x10197928
call fcn.10152eda
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x1004c448
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x1004c41a
sub eax, 1
je 0x1004c330
sub eax, 1
je 0x1004c308
sub eax, 1
je 0x1004c330
push 0x101db3cc
mov ecx, edi
call fcn.10004300
mov eax, edi
call fcn.10152e84
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x1004c2f2
lea eax, [ebp - 0x28c]
push eax
jmp 0x1004c2f7
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x1004c2f2
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.100341b6
test eax, eax
je 0x1004c2f2
call fcn.100212a7
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10003ea0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x1004c3d0
test byte [ebp - 0x21c], 0x18
jne 0x1004c3f2
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x101a49d0]
mov ecx, ebx
call esi
jmp 0x1004c3f2
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.10003d60
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10004410
jmp 0x1004c2fe
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x1004c2f2
lea eax, [ebp - 0x390]
jmp 0x1004c32d
call fcn.10020cc8
int3

Function at 0x1004c5db
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1009ad8d
call fcn.10022b0e
cmp dword [eax + 0x14], 0
jne 0x1004c5f6
mov ecx, esi
pop esi
jmp fcn.1004b900
pop esi
ret

Function at 0x1004d4c6
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call sym.SDTool32.dll_public:_void___thiscall_sd::SE_Exception::destructor_void_
call fcn.10022b0e
cmp dword [eax + 0x14], 0
jne 0x1004d4e1
mov ecx, esi
pop esi
jmp fcn.1004cd3c
pop esi
ret
Function at 0x10056106
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x1005611f
call fcn.10022aba
mov esi, dword [eax + 0xc]
push 0x101ae914
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10056161
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10056161
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10056161
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1005616a
jmp 0x10056163
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1007d412
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x1007d5a5
je 0x1007d5cb
cmp eax, 0xa1
jb 0x1007d609
cmp eax, 0xa2
jbe 0x1007d5cb
cmp eax, 0xa3
jbe 0x1007d609
cmp eax, 0xa5
jbe 0x1007d5cb
cmp eax, 0xa6
jbe 0x1007d609
cmp eax, 0xa8
jbe 0x1007d5cb
cmp eax, 0x100
jne 0x1007d609
cmp dword [edi + 0xc0], 0xffffffff
je 0x1007d5cb
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1007d5cb
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x1007d4fa
sub eax, 1
jne 0x1007d5cb
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x1007d4e9
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
test eax, eax
jne 0x1007d546
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x1007d4bf
jmp 0x1007d623
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x1007d623
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
test eax, eax
jne 0x1007d546
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x1007d511
jmp 0x1007d623
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.100301df
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x101a49d0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x1007d623
cmp eax, 0x200
jb 0x1007d609
cmp eax, 0x202
jbe 0x1007d5cb
cmp eax, 0x203
jbe 0x1007d609
cmp eax, 0x205
jbe 0x1007d5cb
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1007d609
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1007d5ea
cmp dword [eax + 0x20], ebx
je 0x1007d5ea
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x1007d609
cmp dword [eax + 0x20], ebx
je 0x1007d609
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x1007d628
lea eax, [edi + 0x2250]
test eax, eax
je 0x1007d61f
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x1007d628
xor eax, eax
inc eax
jmp 0x1007d630
push esi
mov ecx, edi
call fcn.100754e7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1009b447
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10200e34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x1009b476
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1009b4a3
cmp dword [0x102088cc], 0
jne 0x1009b4a3
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x1009b49f
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1009b49f
push esi
call fcn.101737c2
pop ecx
jmp 0x1009b510
mov eax, esi
jmp 0x1009b510
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.1001e88a
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10152612
leave
ret 4