joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4107b0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
mov eax, dword [0x6017f8]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41083e
lea eax, [esp + 8]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41083e
cmp byte [esp + 0x1c], al
jne 0x41082b
push 0x30003
push 9
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov al, 1
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0056918e
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x14]
xor al, al
xor ecx, esp
call fcn.0056918e
add esp, 0x18
ret 4
Function at 0x4110b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x6017f8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebp
push dword [edi]
call fcn.00410060
mov esi, eax
test esi, esi
jne 0x41124e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
jne 0x411170
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.004110b0
mov esi, eax
test esi, esi
jne 0x41124e
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
je 0x411133
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x411189
push eax
call ebx
mov dword [esp + 0x14], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x18], 0
test esi, esi
je 0x4111ea
cmp dword [esi], 0
mov edi, dword [edi]
je 0x4111d8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4111b8
mov esi, 1
jmp 0x411254
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4111ae
push 0
push dword [esi]
push 0
push 0
push ebp
push edi
call eax
mov esi, eax
jmp 0x411254
cmp dword [esi + 4], 0
je 0x4111ae
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x411254
cmp byte [0x60680c], 0
jne 0x41122a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41121c
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x606808], eax
mov byte [0x60680c], 1
jmp 0x41122f
mov eax, dword [0x606808]
mov byte [0x60680c], 1
jmp 0x41122f
mov eax, dword [0x606808]
test eax, eax
je 0x411241
push 0
push dword [edi + 4]
push ebp
push dword [edi]
call eax
mov esi, eax
jmp 0x411254
push ebp
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x411254
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41125f
push eax
call ebx
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0056918e
add esp, 0x21c
ret 4
Function at 0x411400
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x58f7f1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6017f8]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x10c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], 0
call fcn.004271bf
mov ecx, eax
test ecx, ecx
je 0x411605
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
cmp byte [ebp + 0x114], 0
mov dword [ebp - 0x34], 1
je 0x411487
mov dword [ebx], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
call fcn.004271bf
mov ecx, eax
test ecx, ecx
je 0x41160f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push 0x59eebc
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0x7f
call fcn.00405dd0
push dword [ebp + 0x110]
lea eax, [ebp - 0x10]
push 0x5a5344
push eax
call fcn.004076b0
add esp, 0xc
lea ecx, [ebp - 0x30]
push 0xf003f
push str.SoftwareBlackmagic_DesignDeckLink_MultibridgeProfiles
push SysReAllocString
call fcn.00410060
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
test eax, eax
jne 0x4115ad
push 0xf003f
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.00410060
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x411596
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41157f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp]
lea edx, [ecx + 2]
inc dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411563
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00405dd0
test edi, edi
je 0x41158f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
test ebx, ebx
je 0x4115a6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4115c9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4115d6
push edi
call esi
test ebx, ebx
je 0x4115dd
push ebx
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0056918e
lea esp, [ebp + 0x104]
pop ebp
ret 0xc
push 0x80004005
call fcn.004056a0
push 0x80004005
call fcn.004056a0
int3
Function at 0x411750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x58f87b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6017f8]
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x98]
mov esi, dword [ebp + 0x90]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
call fcn.004271bf
mov ecx, eax
test ecx, ecx
je 0x411902
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 0x8c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push str.SoftwareBlackmagic_DesignDeckLink_MultibridgeProfiles
push str._s_u_s
push eax
call fcn.004076b0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
add esp, 0x14
push 0xf003f
push esi
push SysReAllocString
call fcn.00410060
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x411890
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x7e
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 0x94]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411879
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x411845
cmp eax, 2
jne 0x411879
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41185c
test al, 1
jne 0x411879
shr eax, 1
cmp word [ebp + eax*2 - 2], 0
je 0x411862
jmp 0x411879
xor eax, eax
mov word [ebp], ax
push 0xa
lea eax, [ebp]
mov bl, 1
push 0
push eax
call fcn.0057ab17
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ecx], eax
test edi, edi
je 0x411889
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4118ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4118b9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x94]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4118db
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.0056918e
lea esp, [ebp + 0x84]
pop ebp
ret 0x10
push 0x80004005
call fcn.004056a0
int3
Function at 0x411a10
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push 0xf003f
push str.SoftwareBlackmagic_DesignDeckLink_MultibridgeProfiles
push SysReAllocString
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00410060
test eax, eax
jne 0x411a9b
mov edx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 4]
test edx, edx
je 0x411a89
mov ecx, edx
push edi
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411a60
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.lastProfile
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
test esi, esi
je 0x411a94
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0xc
ret 8
mov eax, dword [esp]
test eax, eax
je 0x411a95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret 8
Function at 0x411ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f908
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6017f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
call fcn.004271bf
mov ecx, eax
test ecx, ecx
je 0x411c5f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.004271bf
mov ecx, eax
test ecx, ecx
je 0x411c69
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push 0x5a54c0
push eax
call fcn.004076b0
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str.SoftwareBlackmagic_DesignDeckLink_MultibridgeProfiles
push str._s_u_s
push eax
call fcn.004076b0
mov edi, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
add esp, 0x20
mov dword [ebp + 0x14], ebx
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x411be5
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x411b9d
lea eax, [esi + 0xd]
jmp 0x411bc8
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411ba2
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete byte [ebp - 0xd]
test ebx, ebx
je 0x411bde
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411c1e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x411c29
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x411c48
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004056a0
push 0x80004005
call fcn.004056a0
int3
Function at 0x41b090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0x41b400
mov esi, ecx
mov dword [0x606818], eax
call fcn.00425d50
mov al, byte [esp + 0x18]
add esp, 4
mov byte [esi + 0x24], al
movzx eax, word [esp + 0x10]
mov dword [esi], 0
push str.XSVF
push eax
push 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41b101
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b101
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x20], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop edi
mov al, 1
pop esi
ret 0xc
Function at 0x42a037
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x42a07c
call fcn.0043b97c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a07c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42a098
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042741f
mov ebx, eax
test edi, edi
je 0x42a096
test esi, esi
je 0x42a096
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ab70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42ac2e
cmp dword [esi + 0x20], 0
je 0x42ac2e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ac2e
cmp dword [ebp + 8], 0
je 0x42ac2e
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0043b97c
push 0x5aaa90
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42abff
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ac2e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004426b0
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x42ac1f
test edi, edi
je 0x42ac1f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x42ac2a
mov ecx, esi
call fcn.0042a912
mov eax, ebx
jmp 0x42ac30
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42fa9e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x58f728
call fcn.00569a9f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42fac4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42fb24
call fcn.004271bf
push eax
lea ecx, [ebp - 0x10]
call fcn.004260f2
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 [0x59ea04]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057b7c4
push eax
call fcn.00405610
add esp, 0x14
test esi, esi
je 0x42fb17
push esi
call fcn.00579702
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004267cb
mov eax, ebx
call fcn.00569a68
ret 8
Function at 0x43037c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x4303a7
cmp dword [ebx + 0x80], 0
jne 0x4303a7
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0043b97c
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0043063d
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 0x4303e1
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.0043b97c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x430418
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.00430437
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 0x438959
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 0x4389ac
push esi
push dword [ebp + 8]
call fcn.00438b42
mov edi, eax
test edi, edi
je 0x4389a7
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_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4389a7
mov eax, dword [ebp - 8]
jmp 0x4389be
mov eax, dword [ebp + 0x10]
jmp 0x4389be
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x439fb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x439ffd
call fcn.0043b97c
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x439ffa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43a04d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x43a02a
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x59ea04]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x43a02a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x43a04b
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x59ea04]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43daa5
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 0x43dafb
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43dad4
call fcn.00435634
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x43dae9
call fcn.00435634
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x43dafb
call fcn.00435634
call fcn.0043b97c
cmp dword [eax + 0x3c], 0
je 0x43db10
push edi
mov ecx, ebx
call fcn.0043d1d5
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0043dce2
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x43db39
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x43db45
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 0x43e140
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0042f67b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.0043e3fd
cmp esi, 3
je 0x43e17e
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x43e1c7
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43e1a1
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00426daf
jmp 0x43e1b2
push 0xff
mov ecx, esi
call fcn.0042673d
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00426dd2
jmp 0x43e1eb
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43e1eb
push dword [esi]
push dword [ebp - 4]
call fcn.00441016
pop edi
pop esi
leave
ret 0xc

Function at 0x43e354
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.0043e3fd
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43e39c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00426daf
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00426dd2
jmp 0x43e3a7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00441016
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46f89b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x46f8b5
call fcn.0043b97c
mov esi, dword [eax + 0xc]
push 0x5a456c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x46f90b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46f90b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x46f8ea
xor esi, esi
jmp 0x46f900
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0046f914
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x46f90d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8