joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a0f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5a0ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x5a1035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.005a0e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x5a0fc5
mov edi, 0x5bb8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x5a1035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.005a0e00
add edi, 4
add esp, 0xc
cmp edi, 0x5bb8c0
jb 0x5a1000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x5a1070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.005a7082
mov esi, eax
add esp, 8
test esi, esi
je 0x5a1107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5a1102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.005a6946
add esp, 8
test eax, eax
je 0x5a10e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x5a10e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.005a6946
add esp, 8
test eax, eax
jne 0x5a10c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x5a1102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x5a1f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5b69fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x5a2002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.005a5dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x5a2002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0059d6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.005a620b
push 0x10
call fcn.005a61d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x5a1fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005921c0
jmp 0x5a1fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.005a1b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x5a1ff0
mov ecx, edi
call fcn.005922c0
push edi
call fcn.005a61c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5a2021
inc ebx
cmp ebx, 0x20
jb 0x5a1f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5a3250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7808
push 0x5a7288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x5a3329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x5a3329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005a61d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x5a3329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x5a3329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x5a332c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005a3351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a3d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x5a3d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x5a3d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x5a3d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5a3d94
push eax
push esi
call fcn.005a620b
add esp, 8
pop esi
ret 0x10

Function at 0x5a3da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5a3e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x5a3e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x5bc320
push ecx
mov dword [esp + 0x1c], 4
call fcn.005a5dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x5a3dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x5a3e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5a3ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x5a3eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x5bc320
push ecx
mov dword [esp + 0x1c], 4
call fcn.005a5dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x5a3eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x5a3e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x5a4000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x5a4131
push esi
call fcn.005a7145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00596080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x5a4131
push 0
push ebp
call fcn.005963a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00596260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5a408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005962f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5a4121
push 0x5bc918
push edi
call fcn.005a53f0
push eax
push ebx
push esi
call fcn.005a3f60
push 0x5bc8f8
push edi
call fcn.005a53f0
push eax
push ebx
push esi
call fcn.005a3f60
push 0x5bc8d8
push edi
call fcn.005a53f0
push eax
push ebx
push esi
call fcn.005a3f60
push 0x5bc8c0
push edi
call fcn.005a53f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.005a3f60
push 0x5bc8a0
push edi
call fcn.005a53f0
push eax
push ebx
push esi
call fcn.005a3f60
push 0x5bc888
push edi
call fcn.005a53f0
push eax
push ebx
push esi
call fcn.005a3f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5a51b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005a5140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005a5140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005a5140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005a5140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5a5bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5a5c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5b787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5a5c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5a5c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x401000
Capabilities:
Execute command

Disassembly:
push str.start_Enginevcs.exe_vcsgamedata.iso
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
xor eax, eax
ret

Function at 0x401817
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401856
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401856
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401856
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401856
cmp dword [ecx + 0x74], 0xe
jbe 0x401856
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40588a
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x4fa1a0
call fcn.004e4400
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
mov edi, str.open
push edi
mov dword [ebp - 4], eax
push eax
mov byte [ebp - 4], 1
call esi
mov ebx, eax
cmp ebx, 0x20
jge 0x405932
push 0x510f7c
lea ecx, [ebp - 0x14]
call fcn.004018fe
push ebx
mov ebx, 0x511a8c
lea eax, [ebp - 0x14]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.004022da
add esp, 0xc
push 1
push 0
push dword [ebp + 8]
push str.IExplore.exe
push edi
push 0
call esi
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004022da
add esp, 0xc
cmp dword [ebp - 0x18], 0x20
jge 0x405927
push 1
push 0
push dword [ebp + 8]
push str.explorer.exe
push edi
push 0
call esi
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004022da
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401285
call fcn.004e44a5
ret 4
Function at 0x4181b1
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x551bc0]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 0x10
mov eax, 0x4fbf23
call fcn.004e43cd
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x10]
call fcn.00406877
mov byte [ebp - 4], 1
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x14]
call fcn.00406877
push 0x104
lea eax, [ebp]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004018c7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401ec8
cmp eax, 0xffffffff
je 0x418252
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402255
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401bc7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401285
push str.EmpTTHelp.chm::_html
lea ecx, [ebp - 0x14]
call fcn.00406eaf
push 0x510f7c
lea ecx, [ebp - 0x18]
call fcn.004018fe
lea eax, [ebp + 0x114]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.004022ed
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401bc7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401285
push str.DRPU_Tour_and_Training_Management_Software_Help_Manual
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call fcn.004b1c58
cmp eax, esi
je 0x4182c6
push esi
push esi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
push 3
push esi
push dword [ebp - 0x18]
push str.hh.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp + 0x114]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.004e43be
add ebp, 0x10c
leave
ret 4
Function at 0x4396d2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x90]
and dword [ebx + 0x25c], 0
and dword [ebx + 0x258], 0
push edi
lea esi, [ebx + 0x40]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 4], eax
test esi, esi
jle 0x439736
mov eax, dword [ebx + 0x258]
push dword [ebx + eax*4 + 0xc8]
mov ecx, ebx
call fcn.00439404
add dword [ebx + 0x25c], eax
inc dword [ebx + 0x258]
cmp dword [ebx + 0x258], esi
jl 0x43970e
mov eax, dword [ebx + 0x258]
push dword [ebx + eax*4 + 0xc8]
mov esi, dword [ebx + 0x25c]
mov ecx, ebx
call fcn.00439404
mov ecx, dword [ebp - 0x18]
lea edx, [esi + ecx]
add eax, esi
mov esi, dword [ebp + 8]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [esi], edx
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
jle 0x43977a
mov dword [esi + 8], ecx
fld qword [ebx + 0x18]
fmul qword [0x51af00]
call fcn.004e54d0
add dword [esi], eax
xor edi, edi
inc edi
cmp dword [0x5532ec], edi
je 0x4397e9
cmp dword [0x5532a4], edi
je 0x4397e9
cmp dword [0x5532a0], edi
je 0x4397e9
cmp dword [0x55329c], edi
je 0x4397e9
cmp dword [0x553298], edi
je 0x4397e9
cmp dword [0x553294], edi
je 0x4397e9
cmp dword [0x553290], edi
je 0x4397e9
cmp dword [0x55328c], edi
je 0x4397e9
cmp dword [0x553288], edi
je 0x4397e9
cmp dword [0x553264], edi
je 0x4397e9
cmp dword [0x553260], edi
jne 0x4398b4
cmp dword [ebx + 0x314], edi
jne 0x4398b4
push dword [0x5533a4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4398b4
mov ebx, dword [ebx + 0x280]
cmp ebx, edi
jne 0x43981f
push 0x190
push 0
jmp 0x439932
cmp ebx, 2
jne 0x43982b
push 0x12c
jmp 0x439818
cmp ebx, 3
je 0x439824
cmp ebx, 4
je 0x439939
cmp ebx, 5
jne 0x439845
push 0x258
jmp 0x439818
cmp ebx, 6
jne 0x439851
push 0x2bc
jmp 0x439818
cmp ebx, 7
je 0x439939
cmp ebx, 8
je 0x43983e
cmp ebx, 9
je 0x439939
cmp ebx, 0xa
je 0x439939
cmp ebx, 0xb
jne 0x43987d
push 0x320
jmp 0x439818
cmp ebx, 0xc
je 0x439939
cmp ebx, 0xd
je 0x439939
cmp ebx, 0xe
je 0x439939
cmp ebx, 0xf
je 0x439939
cmp ebx, 0x10
jne 0x439939
push 0xc8
jmp 0x439818
xor eax, eax
cmp dword [0x553280], eax
jne 0x439939
mov ebx, dword [ebx + 0x280]
cmp ebx, edi
jne 0x4398cf
push 0xffffff38
jmp 0x439931
cmp ebx, 2
jne 0x4398db
push 0xfffffed4
jmp 0x439931
cmp ebx, 3
je 0x4398d4
cmp ebx, 4
je 0x439939
cmp ebx, 5
jne 0x4398ee
push 0xffffffffffffff9c
jmp 0x439931
cmp ebx, 6
jne 0x4398f6
push eax
jmp 0x439931
cmp ebx, 7
je 0x439939
cmp ebx, 8
je 0x4398ea
cmp ebx, 9
je 0x439939
cmp ebx, 0xa
je 0x439939
cmp ebx, 0xb
jne 0x439913
push 0x64
jmp 0x439931
cmp ebx, 0xc
je 0x439939
cmp ebx, 0xd
je 0x439939
cmp ebx, 0xe
je 0x439939
cmp ebx, 0xf
je 0x439939
cmp ebx, 0x10
jne 0x439939
push 0xfffffe70
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x452dae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x452eaa
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebp
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
call fcn.00452b92
and dword [esp + 0x10], 0
push ebx
mov dword [esp + 0x18], eax
call fcn.00452b7b
pop ecx
pop ecx
xor ecx, ecx
cmp cx, word [eax]
jae 0x452e8a
push edi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
jne 0x452e28
push 5
push dword [esi + 8]
jmp 0x452e2b
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x452e89
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x452e56
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x452e37
test edi, edi
je 0x452e89
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebp
push 1
push dword [esp + 0x18]
call fcn.00452c12
inc dword [esp + 0x18]
push ebx
mov dword [esp + 0x20], eax
call fcn.00452b7b
movzx eax, word [eax]
add esp, 0xc
cmp dword [esp + 0x10], eax
jl 0x452e1a
pop edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x453741
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x551bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x1fc
xor ebx, ebx
lea eax, [esi + 0x54]
push ebx
push eax
call fcn.004e4cd0
push 0x90
xor edi, edi
inc edi
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], edi
mov dword [esi + 0x258], edi
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], edi
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x294], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x2a0], ebx
mov dword [ebp - 0x98], 0x94
call fcn.004e4cd0
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x4537e7
cmp dword [ebp - 0x94], 5
jae 0x4537e9
xor edi, edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x260], edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e43be
leave
ret