joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f9870
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x138
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebx, ecx
cmp dword [ebx + 0x50], 0
push esi
push edi
mov dword [esp + 0x10], eax
je 0x4f9aa8
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:AEFilters.log
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4f98f1
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:AEFilters.log
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4f9aa8
xor ebp, ebp
cmp dword [ebx + 4], ebp
je 0x4f98fd
mov ebp, 1
cmp dword [ebx + 8], 0
je 0x4f9906
add ebp, 2
cmp dword [ebx + 0xc], 0
je 0x4f990f
add ebp, 4
cmp dword [ebx + 0x10], 0
je 0x4f9918
add ebp, 8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x28
lea edx, [esp + 0x40]
push edx
push str.ddMMMyy
lea eax, [esp + 0x24]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x4f9950
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f9950
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0x5844b8
sub eax, edx
push 0x14
sar eax, 1
lea ecx, [esp + 0x70]
push ecx
add eax, 1
push eax
lea edx, [esp + 0x50]
push edx
push 0x400
push 0
call edi
push 0x28
lea eax, [esp + 0x40]
push eax
push str.HH:mm:ss
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [esp + 0x3c]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4f99b0
push 0
push 0x5844b8
sub eax, ecx
push 0x14
sar eax, 1
lea edx, [esp + 0x34]
push edx
add eax, 1
push eax
lea eax, [esp + 0x50]
push eax
push 0x400
push 0
call edi
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x10]
push ebp
add ebx, 0x60
cmp eax, 0xffffffff
push ecx
lea ecx, [esp + 0x30]
jne 0x4f9a25
movzx eax, word [esp + 0x2e]
push edx
push eax
push ecx
lea edx, [esp + 0x78]
push edx
push ebx
push str._s__s__s._i:__s___i____i__r_n
lea eax, [esp + 0x98]
push 0xc8
push eax
call fcn.0052372a
add esp, 0x28
jmp 0x4f9a4e
push eax
movzx eax, word [esp + 0x32]
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
push ebx
push str._s__s__s._i:__s___i____i____i__r_n
lea eax, [esp + 0x9c]
push 0xc8
push eax
call fcn.0052372a
add esp, 0x2c
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x154], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4f9a7c
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
push 0x584684
push esi
call edi
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4f9a83
sub eax, edx
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x84]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052151a
add esp, 0x138
ret 0xc
Function at 0x4f9e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esi + 0x28]
sub esp, 0x10
push edi
xor edi, edi
test eax, eax
jne 0x4f9e82
pop edi
add esp, 0x10
ret
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4f9ef5
add ecx, ecx
cmp ecx, eax
jne 0x4f9ef5
lea edx, [esp + 4]
push edx
push 0x20119
push 0
push str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4f9ef5
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.AEOpts
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4f9eea
mov ecx, dword [esp + 0xc]
not ecx
cmp ecx, dword [esi + 0x28]
jne 0x4f9eea
lea edi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0x10
ret

Function at 0x4f9f00
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x5bbcc8], 0
jne 0x4f9f75
push 0
push 4
push 0x5bbc50
push 0x4f96d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x5bbcc4], eax
jne 0x4f9f35
mov dword [0x5bbcac], 1
ret
push 0
push 0
push 1
push 0
mov dword [0x5bbcac], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5bbcc8], eax
mov eax, dword [0x5bbcc4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x5bbcc4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
ret
Function at 0x4fa0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20119
xor esi, esi
push esi
push 0x5844bc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fa20e
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push str.RenProperties
mov edi, 0x60
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fa163
cmp dword [esp + 0xc], edi
jne 0x4fa163
cmp dword [esp + 0x18], 0xaee0aee0
jne 0x4fa163
lea esi, [edi - 0x5f]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fa20e
mov ecx, 0x18
mov esi, ebx
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x18
lea esi, [esp + 0x1c]
mov edi, ebx
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
push str.LoadEQInfo_successful
mov ecx, ebx
call fcn.004fa590
cmp dword [ebp + 8], 0
je 0x4fa20e
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4fa20e
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x84]
je 0x4fa1c6
mov edx, dword [ebx + 0x90]
push edx
push ecx
push 0
call eax
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0x60]
push eax
push 0
push 1
call ecx
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x80]
je 0x4fa1f2
mov edx, dword [ebx + 0x90]
push edx
push eax
mov eax, dword [ebx + 0x60]
push 2
call eax
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xb0]
je 0x4fa20e
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x60]
push ecx
push eax
push 3
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4fa220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
xor esi, esi
cmp dword [0x5bbd38], esi
mov dword [0x5bbcd0], 0xaee0aee0
jne 0x4fa246
call fcn.004fa2e0
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x5844bc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4fa2b8
mov ecx, dword [esp + 4]
push 0x60
push 0x5bbcd0
push 3
push eax
push str.RenProperties
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4fa28f
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fa2b8
push 0
push 0xffffffffffffffff
push str.WriteRegistry_successful
mov ecx, 0x5bbcd0
call fcn.004fa590
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
push str.WriteRegistry_failed
mov ecx, 0x5bbcd0
call fcn.004fa590
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4fa2e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
push 1
push 0xffffffffffffffff
push str.Start_WriteService
mov ecx, 0x5bbcd0
mov dword [esp + 0x1c], 0
call fcn.004fa590
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4fa3ed
push 1
call ebp
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4fa3ed
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cant_open_pipe:
mov ecx, 0x5bbcd0
call fcn.004fa590
cmp dword [0x5bbd3c], 0
je 0x4fa3c0
mov dword [0x5bbd3c], 1
push 0
push 0xffffffffffffffff
push str.WriteService_failed
mov ecx, 0x5bbcd0
call fcn.004fa590
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052151a
add esp, 0x9c
ret
call fcn.004fa540
test eax, eax
je 0x4fa390
push 0x5dc
call ebp
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4fa390
test ebx, ebx
je 0x4fa390
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], 0xae0ae0ae
mov dword [esp + 0x24], 2
mov ecx, 0x18
mov esi, 0x5bbcd0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x88
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4fa439
push 1
call ebp
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
je 0x4fa390
push 0
push 0xffffffffffffffff
push str.WriteService_successful
jmp 0x4fa399
Function at 0x4fa590
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x138
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x148]
mov ebx, ecx
cmp dword [ebx + 0x64], 0
push esi
push edi
mov dword [esp + 0x10], eax
je 0x4fa7a5
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:Program_FilesAndrea_ElectronicsAEAPORen.log
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fa618
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:Program_FilesAndrea_ElectronicsAEAPORen.log
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4fa7a5
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x28
lea edx, [esp + 0x40]
push edx
push str.ddMMMyy
lea eax, [esp + 0x24]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x4fa650
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fa650
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0x5844b8
sub eax, edx
push 0x14
sar eax, 1
lea ecx, [esp + 0x70]
push ecx
add eax, 1
push eax
lea edx, [esp + 0x50]
push edx
push 0x400
push 0
call edi
push 0x28
lea eax, [esp + 0x40]
push eax
push str.HH:mm:ss
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [esp + 0x3c]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4fa6b0
push 0
push 0x5844b8
sub eax, ecx
push 0x14
sar eax, 1
lea edx, [esp + 0x34]
push edx
add eax, 1
push eax
lea eax, [esp + 0x50]
push eax
push 0x400
push 0
call edi
add ebx, 0x74
cmp ebp, 0xffffffff
jne 0x4fa719
movzx edx, word [esp + 0x26]
mov ecx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push str._s__s__s._i:__s_r_n
lea edx, [esp + 0x90]
push 0xc8
push edx
call fcn.0052372a
add esp, 0x20
jmp 0x4fa74a
movzx ecx, word [esp + 0x26]
mov eax, dword [esp + 0x10]
push ebp
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x74]
push eax
push ebx
push str._s__s__s._i:__s___i__r_n
lea ecx, [esp + 0x94]
push 0xc8
push ecx
call fcn.0052372a
add esp, 0x24
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x154], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4fa778
push 0
lea edx, [esp + 0x18]
push edx
push 2
push 0x584684
push esi
call edi
lea eax, [esp + 0x78]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4fa780
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x84]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052151a
add esp, 0x138
ret 0xc
Function at 0x4fa7c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x828
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
lea eax, [esp + 0x10]
push eax
xor esi, esi
push 0x108
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionMMDevicesAudioRender
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], esi
call ebx
test eax, eax
jne 0x4fa9cb
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x20], esi
lea ebp, [esi + 4]
mov eax, dword [esp + 0x20]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x448]
push edx
push eax
push ecx
mov dword [esp + 0x50], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4fa99a
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x38]
push 0x200
push eax
call fcn.0052225e
push str.Properties
lea ecx, [esp + 0x44]
push 0x200
push ecx
call fcn.005221e4
mov ecx, dword [esp + 0x30]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
push 0x101
push 0
lea eax, [esp + 0x40]
push eax
push ecx
call ebx
test eax, eax
jne 0x4fa9a2
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.b3f8fa53_0004_438e_9003_51a46e139bfc_6
push edx
mov dword [esp + 0x2c], 0x400
call edi
test eax, eax
jne 0x4fa8db
lea eax, [esp + 0x34]
push 0x57a59c
push eax
call fcn.00522186
add esp, 8
test eax, eax
je 0x4fa8db
mov esi, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fa9a2
push str.FXProperties
lea edx, [esp + 0x438]
push 0x200
push edx
call fcn.005221e4
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x101
push 0
lea ecx, [esp + 0x440]
push ecx
push edx
call ebx
test eax, eax
jne 0x4fa9a2
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.082C429A_5A10_48ea_BE3D_DBC80F014519_6
push eax
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x4fa98d
mov ecx, dword [esp + 0x1c]
or dword [0x5bbcd4], ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.082C429A_5A10_48ea_BE3D_DBC80F014519_0
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x4fa98d
mov eax, dword [esp + 0x1c]
or dword [0x5bbcd8], eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4fa9a2
mov dword [esp + 0x28], 1
add dword [esp + 0x20], 1
xor esi, esi
cmp dword [esp + 0x28], esi
je 0x4fa818
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x2c], esi
pop edi
pop ebp
je 0x4fa9cb
call fcn.004fa220
mov ecx, dword [esp + 0x82c]
pop esi
pop ebx
xor ecx, esp
call fcn.0052151a
add esp, 0x828
ret
Function at 0x4fa9f0
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x5bbd5c], 0
jne 0x4faa65
push 0
push 4
push 0x5bbcd0
push 0x4fa460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x5bbd58], eax
jne 0x4faa25
mov dword [0x5bbd40], 1
ret
push 0
push 0
push 1
push 0
mov dword [0x5bbd40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5bbd5c], eax
mov eax, dword [0x5bbd58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x5bbd58]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
ret

Function at 0x4fea94
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4feacd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fea57
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416af0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x50072d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x500770
call fcn.00503137
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x500770
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x50078b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.005002e7
test ebx, ebx
mov esi, eax
je 0x500789
test edi, edi
je 0x500789
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x500ea1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x53c12b
call fcn.00523bda
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00503137
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x500eec
call fcn.00503137
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x500efd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x500f0a
or eax, 0xffffffff
jmp 0x501066
mov ecx, esi
call fcn.005009f3
mov dword [ebp - 0x14], eax
call fcn.004fd91c
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x500f88
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x500f88
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x500f88
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00402aa0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x500f88
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x500f88
mov ecx, ebx
call fcn.00501968
test eax, eax
je 0x500f88
push 0
mov ecx, ebx
call fcn.00501983
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004ff491
push dword [ebp - 0x14]
call fcn.004fd874
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00500ca9
xor edi, edi
cmp eax, edi
je 0x500fe5
test byte [esi + 0x3c], 0x10
je 0x500fcf
push 4
pop edi
mov ecx, esi
call fcn.00501825
test ax, 0x100
je 0x500fc5
push 5
pop edi
push edi
mov ecx, esi
call fcn.004fd43c
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x500fe5
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00501b56
or dword [ebp - 4], 0xffffffff
jmp 0x501010
cmp dword [ebp - 0x28], edi
je 0x50101e
push 1
mov ecx, ebx
call fcn.00501983
cmp dword [ebp - 0x2c], edi
je 0x50102e
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x501047
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x501047
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00500a2d
cmp dword [esi + 0x58], edi
je 0x501063
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00523c7f
ret
Function at 0x501e65
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53c191
call fcn.00523ba7
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x501e8a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x501ed6
call fcn.00505193
push eax
lea ecx, [ebp - 0x10]
call fcn.0047ed10
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00501187
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401610
mov eax, esi
call fcn.00523c7f
ret 8

Function at 0x506be5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x506bfb
mov edi, dword [esi + 0xc]
jmp 0x506c3b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x506c14
call fcn.00503718
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x506c29
call fcn.00503718
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x506c3b
call fcn.00503718
call fcn.00503137
cmp dword [eax + 0x3c], 0
je 0x506c50
push edi
mov ecx, ebx
call fcn.00505b4a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00506aff
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x506c6e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x506c7a
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8