joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c240
Capabilities:
Terminate thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi + 0x30], edi
je 0x49c281
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x30]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x49c274
mov edx, dword [esi + 0x30]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x49c292
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], edi
mov dword [esi + 4], edi
pop edi
ret

Function at 0x49c2a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [esi + 0x34], 0
jne 0x49c2b8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x30], 0
jne 0x49c2e7
cmp dword [esi + 0x34], 0
je 0x49c2e7
lea eax, [esp]
push eax
push 0
push esi
push 0x49c3e0
push 0
push 0
mov dword [esp + 0x18], 0
call fcn.004d155d
add esp, 0x18
mov dword [esi + 0x30], eax
xor eax, eax
cmp dword [esi + 0x30], eax
setne al
pop ecx
ret

Function at 0x49ec30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2e61
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x18], edi
push str.SOFTWARESRS_LabsAPO
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.00401b10
mov dword [esp + 0x18], edi
mov edi, 1
push edi
push 0x502e10
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00404ab0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0049e770
mov dword [esp + 0x18], edi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00404ab0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49ecd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x49fcb0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
mov eax, 0x406c
call fcn.004d3970
mov eax, dword [0x536ed4]
xor eax, esp
mov dword [esp + 0x4064], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
xor esi, esi
push 0x515bac
mov dword [esp + 0x14], esi
call fcn.00401b10
push ebx
call fcn.0049cf20
mov edi, eax
cmp edi, esi
je 0x49fd0c
lea eax, [esi + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x4064]
xor ecx, esp
call fcn.004cf0b8
add esp, 0x406c
ret
push 0x1ffe
lea ecx, [esp + 0x6e]
push esi
push ecx
mov word [esp + 0x74], si
call fcn.004d1c40
push 0x1ffe
lea edx, [esp + 0x207a]
push esi
push edx
mov word [esp + 0x2080], si
call fcn.004d1c40
add esp, 0x18
push 0x1000
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x49fe4c
lea eax, [esp + 0x68]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x49fd60
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x66], 0x5c
jne 0x49fd94
lea eax, [esp + 0x68]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x49fd80
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x66], si
push 0x502e10
lea ecx, [esp + 0x6c]
push 0x1000
push ecx
call fcn.004d018a
push str.SRSLabs
lea edx, [esp + 0x78]
push 0x1000
push edx
call fcn.004d018a
push 0x502e10
lea eax, [esp + 0x84]
push 0x1000
push eax
call fcn.004d018a
push str.176F4E15_8F7C_4833_ADED_81FAE8CCD186
lea ecx, [esp + 0x90]
push 0x1000
push ecx
call fcn.004d018a
push str._slInit32.dll
lea edx, [esp + 0x9c]
push 0x1000
push edx
call fcn.004d018a
push str.rundll32.exe
lea eax, [esp + 0x20a8]
push 0x1000
push eax
call fcn.004d018a
add esp, 0x48
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x206c]
push 0x1000
push edx
call fcn.004d018a
push str._SRS_InitializeEndpoints_Rundll32
lea eax, [esp + 0x2078]
push 0x1000
push eax
call fcn.004d018a
add esp, 0x18
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49feef
push 0x44
lea edx, [esp + 0x24]
push esi
push edx
call fcn.004d1c40
add esp, 0xc
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x2088]
push edx
push esi
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49fec4
pop edi
pop esi
mov ecx, dword [esp + 0x4064]
xor ecx, esp
call fcn.004cf0b8
add esp, 0x406c
ret
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 8]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x515bac
call fcn.00401b10
push ebx
call fcn.0049cf20
mov edi, eax
mov ecx, dword [esp + 0x406c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004cf0b8
add esp, 0x406c
ret
Function at 0x4a2f60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2de8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor edi, edi
cmp ebp, edi
je 0x4a3052
mov dword [esp + 0x1c], edi
mov esi, ecx
lea ebx, [esp + 0x34]
mov dword [esp + 0x28], edi
call fcn.0048cdf0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push 1
push edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4a3032
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
mov ebx, 4
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x4a3003
cmp dword [esp + 0x14], ebx
je 0x4a3056
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a3023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4a302e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4a308d
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a3052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4a308d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [ebp], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a307d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4a3088
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4a30b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2db8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov esi, ecx
lea ebx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.0048cdf0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push 2
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a3180
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 4
lea edx, [esp + 0x2c]
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4a31b6
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a315f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4a316a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a31a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a31cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4a31da
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4a4eb0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f2d58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x516258
lea ecx, [esp + 0x14]
call fcn.00401b10
lea edi, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.0044e1b0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 1
call fcn.00443080
add esp, 0xc
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4f31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x54af3c]
test eax, eax
jne 0x4a4f54
push 0x54af38
mov dword [0x54af38], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x54af3c]
cmp eax, 6
jne 0x4a4fc5
cmp dword [0x54af40], 2
jae 0x4a4fc7
xor esi, esi
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4f89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4fb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
jbe 0x4a4f62
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401850
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044d520
add esp, 4
test eax, eax
je 0x4a4f62
mov esi, 1
jmp 0x4a4f64
Function at 0x4a8c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4b98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.004bd5c1
lea ebx, [edi + 0x54]
mov eax, ebx
mov dword [esp + 0x1c], 0
call fcn.0044a420
lea esi, [edi + 0xa4]
call fcn.00468490
mov byte [esp + 0x1c], 2
lea eax, [edi + 0x188]
push eax
mov dword [edi], vtable.CViennaSettingUI.0
mov dword [ebx], vtable.CViennaSettingUI.1.0
mov dword [esi], vtable.CViennaSettingUI.2.0
call fcn.00482de0
push 0
push 0
push 0
mov bl, 3
mov byte [esp + 0x28], bl
push 0
mov dword [edi + 0x5c], 0x23000500
mov dword [edi + 0x58], 0xffffff00
mov dword [edi + 0x184], 0
call fcn.004c10f8
push eax
lea ecx, [esp + 0x14]
call fcn.00401b10
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push DirectSoundCreate
mov byte [esp + 0x3c], 4
mov ecx, dword [esp + 0x30]
push 0x516b28
push ecx
push 0
mov ecx, edi
call fcn.004c0479
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a8d43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4a9cac
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xdcfff8ff
cmp eax, 0xc
push esi
mov esi, ecx
ja case.0x4a9cbc.587204354
movzx eax, byte [eax + 0x4a9d78]
jmp dword [eax*4 + 0x4a9d64]
mov ecx, dword [0x54af10]
test ecx, ecx
mov dword [esp + 8], 0
je 0x4a9cfb
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
push 0x23000702
call eax
mov ecx, dword [0x54af10]
test ecx, ecx
je 0x4a9cfb
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
push 0x23000703
call eax
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esi - 4]
push edx
push 0x4a9f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x50], eax
mov eax, 1
pop esi
ret 0xc
mov dword [esi + 0x6c], 1
mov eax, 1
pop esi
ret 0xc
call fcn.004a9dc0
pop esi
ret 0xc
mov ecx, dword [0x54af10]
test ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [esi + 0x70], eax
je case.0x4a9cbc.587204354
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
push 0x2300070d
call eax
mov eax, 1
pop esi
ret 0xc
Function at 0x4ade70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push 0x48
mov ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004d1c40
add esp, 0xc
call fcn.004c9321
mov eax, dword [eax + 8]
push str.WAVE
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test ebx, ebx
mov esi, eax
je 0x4adfb1
test esi, esi
je 0x4adfb1
call fcn.004c9321
mov eax, dword [eax + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
call fcn.004c9321
mov eax, dword [eax + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0x204d454d
mov dword [esp + 0x30], esi
call dword [sym.imp.WINMM.dll_mmioOpenW]
push 0x20
push 0
lea ebx, [edi + 0x84]
mov esi, eax
push ebx
push esi
mov dword [edi + 0x8c], 0x45564157
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x4adfa8
push 0x10
push ebx
lea ebp, [edi + 0x70]
push ebp
push esi
mov dword [ebp], 0x20746d66
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
push 0
jne 0x4adfaa
push ebp
push esi
call dword [sym.imp.WINMM.dll_mmioAscend]
push 0x10
push ebx
lea ebp, [edi + 0x5c]
push ebp
push esi
mov dword [ebp], 0x61746164
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
push 0
jne 0x4adfaa
push ebp
push esi
call dword [sym.imp.WINMM.dll_mmioAscend]
mov edx, dword [edi + 0x7c]
push 0
push edx
push esi
call dword [sym.imp.WINMM.dll_mmioSeek]
mov eax, dword [edi + 0x74]
push eax
lea ecx, [edi + 0x34]
push ecx
push esi
call dword [sym.imp.WINMM.dll_mmioRead]
cmp dword [edi + 0x74], eax
jne 0x4adfa8
cmp word [edi + 0x36], 1
jne 0x4adfa8
cmp word [edi + 0x42], 0x10
jne 0x4adfa8
mov dword [edi + 0xc4], 0
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioClose]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
Function at 0x4af716
Capabilities:
Get common file path
Get system information on windows

Disassembly:
sub esp, 0x230
mov eax, dword [0x536ed4]
xor eax, esp
mov dword [esp + 0x22c], eax
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.004b2de0
mov eax, dword [esi + 8]
test eax, eax
je 0x4af7bb
test byte [esi + 0x50], 8
je 0x4af76d
cmp dword [eax + 0x4e8], 0
jle 0x4af76d
or dword [eax + 0x18], 0x2000000
mov eax, dword [esi + 8]
or dword [eax + 0x18], 0x4000000
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [esp + 4], 9
lea ecx, [esp + 0x28]
sete al
push ecx
push 0
push 0
lea eax, [eax*4 + 0x26]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4af7bb
lea edx, [esp + 0x28]
add esi, 0x54
push edx
mov ecx, esi
call fcn.00401d80
push str.RealtekAudioHelp_
mov ecx, esi
call fcn.0042bac0
mov ecx, dword [esp + 0x230]
pop esi
xor ecx, esp
call fcn.004cf0b8
add esp, 0x230
ret
Function at 0x4bfa1a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4bfa53
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.0040b810
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404b50
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4c1641
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 0x4c1684
call fcn.004c9321
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c1684
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4c169f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004c11fb
test ebx, ebx
mov esi, eax
je 0x4c169d
test edi, edi
je 0x4c169d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4c434d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x536ed4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x4c438a
push 0x4fd950
push 4
push eax
call fcn.004d011e
push eax
call fcn.004018f0
add esp, 0x10
jmp 0x4c439c
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c4407
push edi
call fcn.004d1bf8
mov edi, dword [eax]
call fcn.004d1bf8
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004cea8f
add esp, 0x18
mov ebx, eax
call fcn.004d1bf8
cmp dword [eax], 0
je 0x4c43e7
call fcn.004d1bf8
push dword [eax]
call fcn.004bb489
pop ecx
jmp 0x4c43ee
call fcn.004d1bf8
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4c4407
cmp ebx, esi
jae 0x4c4407
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4c4409
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf0b8
leave
ret
Function at 0x4c701b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4ec533
call fcn.004d1a05
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.004c9321
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4c7066
call fcn.004c9321
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 0x4c7077
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4c7084
or eax, 0xffffffff
jmp 0x4c71e0
mov ecx, esi
call fcn.004c6b6d
mov dword [ebp - 0x14], eax
call fcn.004beaa0
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4c7102
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4c7102
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4c7102
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404400
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4c7102
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4c7102
mov ecx, ebx
call fcn.004c26a2
test eax, eax
je 0x4c7102
push 0
mov ecx, ebx
call fcn.004c26bd
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004c0424
push dword [ebp - 0x14]
call fcn.004be9f8
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004c6e23
xor edi, edi
cmp eax, edi
je 0x4c715f
test byte [esi + 0x3c], 0x10
je 0x4c7149
push 4
pop edi
mov ecx, esi
call fcn.004c253c
test ax, 0x100
je 0x4c713f
push 5
pop edi
push edi
mov ecx, esi
call fcn.004be5c0
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4c715f
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004c26ff
or dword [ebp - 4], 0xffffffff
jmp 0x4c718a
cmp dword [ebp - 0x28], edi
je 0x4c7198
push 1
mov ecx, ebx
call fcn.004c26bd
cmp dword [ebp - 0x2c], edi
je 0x4c71a8
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4c71c1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4c71c1
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.004c6ba7
cmp dword [esi + 0x58], edi
je 0x4c71dd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004d1a71
ret