joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe2f8
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffbf4
mov ebx, eax
push 0x200
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0x200
lea eax, [esp + 0x24]
push eax
push 0x4fe350
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4fe348
mov eax, dword [esp]
xor edx, edx
push edx
push eax
mov edx, ebx
mov eax, 8
call fcn.00412708
add esp, 0x40c
pop ebx
ret

Function at 0x4fe68c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x4fe640
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x10ee2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10ee21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10ee207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ee206a
add dl, dl
jne 0x10ee2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ee20dc
xor eax, eax
add dl, dl
jne 0x10ee2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ee217d
add dl, dl
jne 0x10ee20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ee20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ee20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ee20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10ee20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10ee2075
mov eax, 1
add dl, dl
jne 0x10ee20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ee20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ee20e1
sub eax, ebx
mov ebx, 1
jne 0x10ee2128
mov ecx, 1
add dl, dl
jne 0x10ee210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ee2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ee2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ee2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10ee213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ee214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ee2136
cmp eax, 0x7d00
jae 0x10ee216d
cmp eax, 0x500
jb 0x10ee2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ee2075
cmp eax, 0x7f
ja 0x10ee2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ee2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10ee219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10ee2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4016a0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Write file on windows

Disassembly:
mov eax, dword [0x4020cd]
sub esp, 0x2c
push ebx
push ebp
xor ebp, ebp
push esi
test eax, eax
push edi
je 0x401767
lea eax, [esp + 0x14]
push 0x28
push eax
call fcn.00401c60
mov esi, dword [esp + 0x48]
push esi
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
cmp byte [eax + esi - 1], 0x5c
jne 0x4016ea
push esi
call edi
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x4c]
push esi
push 0x403034
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401767
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4017b1
test ebp, ebp
jne 0x4017f7
push 0x40302c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push 0x403034
push edi
mov ebp, 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebx
je 0x40170a
mov edi, dword [esp + 0x40]
mov al, byte [0x4020ca]
test al, al
je 0x40180f
mov ecx, dword [0x4020cd]
push 0x28
add edi, ecx
lea ecx, [esp + 0x18]
push ecx
call fcn.00401c60
mov eax, dword [edi]
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x44]
push edx
push eax
add edi, 4
push ecx
push edi
call fcn.004012b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x10
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x14]
mov edx, dword [edi]
push ecx
push edx
lea eax, [edi + 4]
push ebp
push eax
call fcn.004012b0
mov edx, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4017f7
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x4017f7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40176b
push 0x403010
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
mov edx, dword [0x4020d1]
mov eax, dword [esp + 0x44]
push edx
push edi
push eax
call fcn.00401cd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x100035c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100035d5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003614
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10003610
lea ebx, [ebx]
cmp esi, edx
jae 0x10003614
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10003600
cmp esi, edx
jb 0x10003619
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x100043f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1019a760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ebx, [edi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xf
push dword [edi + 0x2c]
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x10004459
mov ecx, dword [edi + 0x8c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004450
sub ecx, edx
lea esi, [edi + 0x40]
push esi
lea eax, [ebp - 8]
push eax
push ecx
push dword [edi + 0x8c]
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi + 4], 0xffffffff
test eax, eax
jne 0x100044e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x100044a6
push str.WriteFile__
mov ecx, edi
call fcn.10004350
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101192e0
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 8]
push eax
push esi
push dword [edi + 0x2c]
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x100044ee
push str.GetOverlappedResults___in_WriteFile__
mov ecx, edi
call fcn.10004350
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101192e0
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101192e0
mov esp, ebp
pop ebp
ret
Function at 0x10004500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1019a760]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov edi, ecx
movq qword [ebp - 0x1c], xmm0
lea ebx, [edi + 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x100046de
push ebx
call esi
lea eax, [edi + 0x40]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10004685
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x3e5
je 0x100045f7
push 0xc8
call fcn.100048c8
add esp, 4
mov esi, eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x400
call eax
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [edi + 0x88]
push dword [ebp - 0x24]
push str.ReadFile__
push str.WARNING:___s_Failed_with_the_following_error:__n_s_nPort:__d_n
push 0x64
push esi
call fcn.1011a1b0
add esp, 0x18
push 0x10
push str.Application_Error
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x24]
jmp 0x10004670
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x40]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x10004685
push 0xc8
call fcn.100048c8
add esp, 4
mov esi, eax
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x400
call eax
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [edi + 0x88]
push dword [ebp - 0x20]
push str.GetOverlappedResults___in_ReadFile__
push str.WARNING:___s_Failed_with_the_following_error:__n_s_nPort:__d_n
push 0x64
push esi
call fcn.1011a1b0
add esp, 0x18
push 0x10
push str.Application_Error
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.100048d1
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x100046b9
push dword [edi + 0x88]
movzx eax, byte [ebp - 0x10]
push eax
push 0x407
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
jne 0x10004561
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101192e0
mov esp, ebp
pop ebp
ret
Function at 0x1000b8e3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1019a760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1019bf74]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1000b92f
push 0x1014571c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000b94c
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x1019bf74], eax
jmp 0x1000b938
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x1000b94c
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1000b9b9
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1000b967
xor eax, eax
jmp 0x1000b9b9
lea eax, [ebp - 0x210]
push eax
call fcn.1011a6c2
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x1000b998
push 0x10145754
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1011d5e9
add esp, 0xc
test eax, eax
jne 0x1000b963
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1011d5e9
add esp, 0xc
test eax, eax
jne 0x1000b963
lea eax, [ebp - 0x210]
push eax
call fcn.1000bd5c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101192e0
leave
ret
Function at 0x1000c369
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1019a760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x1019bf80]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x1000c3c2
push 0x1014571c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000c3df
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x1019bf80], eax
jmp 0x1000c3cb
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x1000c3df
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x1000c51c
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.101320f4
lea eax, [ebp - 0x14]
push eax
call fcn.1011a6c2
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.1011a666
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.101320f4
lea eax, [ebp - 0x14]
push eax
call fcn.1011a6c2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.1011a666
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.101320f4
lea eax, [ebp - 0x14]
push eax
call fcn.1011a6c2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.1011a666
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.101320f4
lea eax, [ebp - 0x14]
push eax
call fcn.1011a6c2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.1011a666
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.101320f4
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.1011a6c2
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.1011a666
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101192e0
leave
ret
Function at 0x10012f83
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x10012fc8
call fcn.1000a46f
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10012fc8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10012fe4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001b8f2
mov ebx, eax
test edi, edi
je 0x10012fe2
test esi, esi
je 0x10012fe2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10017672
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10134cd6
call fcn.1011a9a4
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x10017698
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100176ec
call fcn.10006d05
push eax
lea ecx, [ebp - 0x10]
call fcn.10001640
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1011a6db
push eax
call fcn.10004ad5
add esp, 0x14
test edi, edi
je 0x100176df
push edi
call fcn.1011a5c0
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001670
mov eax, esi
call fcn.1011a972
ret 8

Function at 0x1001b50b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.10017601
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 0x1001b547
call fcn.1001b726
mov dword [esi + 0xc], 1
jmp 0x1001b54c
call fcn.1001b726
cmp dword [esi], 0
je 0x1001b595
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1001b56f
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.100095db
jmp 0x1001b580
push 0xff
mov ecx, esi
call fcn.10003b60
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000868a
jmp 0x1001b5b9
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 0x1001b5b9
push dword [esi]
push dword [ebp - 4]
call fcn.1000c7bf
pop esi
leave
ret 0xc
Function at 0x1001b67d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.1001b726
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1001b6c5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100095db
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000868a
jmp 0x1001b6d0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000c7bf
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1001bcb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebx + 0x78], edi
test edi, 0xffff0000
jne 0x1001bcd2
cmp dword [ebx + 0x74], 0
jne 0x1001bcd2
movzx eax, di
mov dword [ebx + 0x74], eax
call fcn.1000a46f
mov esi, dword [eax + 0xc]
push 5
push edi
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 edi, eax
push edi
mov ecx, ebx
call fcn.1001bf38
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001bd0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.1000a46f
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001bd43
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001bd62
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1002d0a5
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10063b94
call fcn.1000a4c3
cmp dword [eax + 0x14], 0
jne 0x1002d0c0
mov ecx, esi
pop esi
jmp fcn.1002c4c4
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.100fc9a7
call fcn.1000a4c3
cmp dword [eax + 0x14], 0
jne 0x1002ddec
mov ecx, esi
pop esi
jmp fcn.1002d6c4
pop esi
ret
Function at 0x100362ac
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
test esi, esi
jne 0x100362c4
call fcn.1000a46f
mov esi, dword [eax + 0xc]
push 0x1014b978
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x1003631a
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10036319
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100362fa
xor esi, esi
jmp 0x10036310
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.10036320
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100fcb0d
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
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x100fcb27
mov edi, dword [esi + 0xc]
jmp 0x100fcb67
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100fcb40
call fcn.1000f8d2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100fcb55
call fcn.1000f8d2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100fcb67
call fcn.1000f8d2
call fcn.1000a46f
cmp dword [eax + 0x3c], 0
je 0x100fcb7c
push edi
mov ecx, ebx
call fcn.100fc3a0
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100fcd3f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x100fcb9f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x100fcba8
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8