joyce8/EMBER2024-capa huggingface dataset:
Function at 0x653e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6698f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x653ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.006507a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x653e61
mov edx, dword [eax]
jmp 0x653e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00652050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x653ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x653ebf
cmp esi, edi
je 0x653ebf
mov ecx, esi
call fcn.0064ba00
push esi
call fcn.006591c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00650990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x653ef5
mov eax, dword [eax]
jmp 0x653ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.0064f640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x653f25
mov eax, dword [eax]
jmp 0x653f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x653f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x653f76
cmp esi, edi
je 0x653f76
mov eax, dword [esi]
cmp eax, edi
je 0x653f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x653f6d
push eax
call fcn.006591c8
add esp, 4
push esi
call fcn.006591c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x653f90
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 0x653ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x654035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00653e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x653fc5
mov edi, 0x66e8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x654035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00653e00
add edi, 4
add esp, 0xc
cmp edi, 0x66e8c0
jb 0x654000
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 0x654070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.0065a082
mov esi, eax
add esp, 8
test esi, esi
je 0x654107
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 0x654102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00659946
add esp, 8
test eax, eax
je 0x6540e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x6540e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00659946
add esp, 8
test eax, eax
jne 0x6540c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x654102
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 0x654f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6699fb
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 0x655002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00658dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x655002
lea edx, [esp + 0x14]
push edx
push 0x66f140
call fcn.006506e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0065920b
push 0x10
call fcn.006591d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x654fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006451c0
jmp 0x654fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00654b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x654ff0
mov ecx, edi
call fcn.006452c0
push edi
call fcn.006591c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x655021
inc ebx
cmp ebx, 0x20
jb 0x654f3e
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 0x656250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a808
push 0x65a288
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 0x656329
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 0x656329
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.006591d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x656329
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 0x656329
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 0x65632c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00656351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x656d20
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 0x656d58
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 0x656d60
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 0x656d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x656d94
push eax
push esi
call fcn.0065920b
add esp, 8
pop esi
ret 0x10

Function at 0x656da0
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 0x656e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x656e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x66f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00658dff
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 0x656dda
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 0x656e30
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 0x656ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x656eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x66f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00658dff
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 0x656eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x656e6a
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 0x657000
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 0x657131
push esi
call fcn.0065a145
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.00649080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x657131
push 0
push ebp
call fcn.006493a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00649260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x65708b
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.006492f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x657121
push 0x66f918
push edi
call fcn.006583f0
push eax
push ebx
push esi
call fcn.00656f60
push 0x66f8f8
push edi
call fcn.006583f0
push eax
push ebx
push esi
call fcn.00656f60
push 0x66f8d8
push edi
call fcn.006583f0
push eax
push ebx
push esi
call fcn.00656f60
push 0x66f8c0
push edi
call fcn.006583f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00656f60
push 0x66f8a0
push edi
call fcn.006583f0
push eax
push ebx
push esi
call fcn.00656f60
push 0x66f888
push edi
call fcn.006583f0
push eax
push ebx
push esi
call fcn.00656f60
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 0x6581b0
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.00658140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00658140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00658140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00658140
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 0x658230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6582d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x6582ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00658230
mov esi, eax
add esp, 8
test esi, esi
jne 0x6582ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x65827e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x6582ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x658bfa
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 0x658c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x66a87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x658c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x658c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402320
Capabilities:
Create thread

Disassembly:
cmp dword [esi], 0
jne 0x402360
push 0
push 0
push 0
mov dword [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x40], eax
test eax, eax
je 0x402360
push 0
push 0
push esi
push 0x402430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
ret
Function at 0x404600
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x470050]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x104
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404642
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x404658
lea ecx, [esp + 4]
push ecx
mov eax, SysReAllocString
mov ecx, 0x104
mov edx, edi
call fcn.00401330
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404660
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
je 0x404681
push 0x45bc38
call fcn.00401270
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.0042c1e9
add esp, 0x20c
ret

Function at 0x404b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455438
mov eax, dword fs:[0]
push eax
mov eax, dword [0x470050]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov word [esi + 4], cx
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.004028d0
cmp dword [esp + 0x2c], 8
mov dx, word [esp + 0x30]
mov word [esi + 0x1c], dx
jb 0x404be1
mov eax, dword [esp + 0x18]
push eax
call fcn.0042c62b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20
Function at 0x404cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4556d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470050]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x60]
mov edi, eax
mov eax, esi
shr eax, 4
inc eax
push ecx
movzx edx, ax
push edx
push 6
and esi, 0xf
push edi
mov ebp, esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
xor eax, eax
mov word [esp + 0x1c], ax
push eax
mov eax, 0x45b064
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call fcn.00402da0
mov ecx, dword [esp + 0x64]
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x60], esi
call fcn.004028d0
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x404d6a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042c62b
add esp, 4
cmp ebx, esi
je 0x404e4f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x404e4f
mov bl, 1
mov byte [esp + 0x17], bl
mov edi, eax
xor edx, edx
lea esp, [esp]
movzx ecx, word [edi]
add edi, 2
cmp cx, si
je 0x404da5
movzx ecx, cx
cmp edx, ebp
je 0x404dc1
lea edi, [edi + ecx*2]
inc edx
cmp edx, 0x10
jl 0x404d90
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov dword [esp + 0x48], esi
xor edx, edx
lea ebx, [ecx + 1]
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], dx
call fcn.00406880
mov eax, esi
mov esi, dword [esp + 0x64]
push 0xffffffffffffffff
push 0
mov ecx, esi
mov dword [esp + 0x60], 1
call fcn.004028d0
mov ebp, 8
cmp dword [esp + 0x4c], ebp
jb 0x404e11
mov eax, dword [esp + 0x38]
push eax
call fcn.0042c62b
add esp, 4
cmp dword [esi + 0x18], ebp
jb 0x404e1b
mov edx, dword [esi + 4]
jmp 0x404e1e
lea edx, [esi + 4]
test ebx, ebx
je 0x404e37
cmp ebx, 0x7fffffff
ja 0x404e37
push edi
mov eax, SysReAllocString
mov ecx, ebx
call fcn.00401330
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x404e70
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov cx, ax
and eax, 0x3ff
shr cx, 0xa
add eax, 0xfffffffc
movzx ecx, cx
cmp eax, 0x1a
ja case.0x404e94.13
jmp dword [eax*4 + 0x405064]
cmp cx, 1
jne 0x404eb2
push str.zh_TW
push 0x104
push esi
call fcn.00401230
ret
push str.zh_CN
push 0x104
push esi
call fcn.00401230
ret
push str.cs_CZ
push 0x104
push esi
call fcn.00401230
ret
push str.da_DK
push 0x104
push esi
call fcn.00401230
ret
push str.nl_NL
push 0x104
push esi
call fcn.00401230
ret
cmp cx, 2
jne 0x404f0d
push str.en_GB
push 0x104
push esi
call fcn.00401230
ret
push str.en_US
push 0x104
push esi
call fcn.00401230
ret
push str.fi_FI
push 0x104
push esi
call fcn.00401230
ret
push str.fr_FR
push 0x104
push esi
call fcn.00401230
ret
push str.de_DE
push 0x104
push esi
call fcn.00401230
ret
push str.el_GR
push 0x104
push esi
call fcn.00401230
ret
push str.hu_HU
push 0x104
push esi
call fcn.00401230
ret
push str.it_IT
push 0x104
push esi
call fcn.00401230
ret
push str.ja_JP
push 0x104
push esi
call fcn.00401230
ret
push str.ko_KR
push 0x104
push esi
call fcn.00401230
ret
push str.no_NO
push 0x104
push esi
call fcn.00401230
ret
push str.pl_PL
push 0x104
push esi
call fcn.00401230
ret
cmp cx, 1
jne 0x404fdf
push str.pt_BR
push 0x104
push esi
call fcn.00401230
ret
push str.pt_PT
push 0x104
push esi
call fcn.00401230
ret
push str.ru_RU
push 0x104
push esi
call fcn.00401230
ret
cmp cx, 2
jne 0x405018
push str.es_MX
push 0x104
push esi
call fcn.00401230
ret
push str.es_ES
push 0x104
push esi
call fcn.00401230
ret
push str.sv_SE
push 0x104
push esi
call fcn.00401230
ret
push 0x45bc3c
push 0x104
push esi
call fcn.00401230
ret
push str.en_US
mov eax, SysReAllocString
mov ecx, 0x104
mov edx, esi
call fcn.00401330
ret
Function at 0x4050d0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x470050]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x4595bc
push 1
push 0
push 0x4595cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x405154
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x4595dc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
jl 0x405148
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
test eax, eax
jge 0x40516c
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0042c1e9
add esp, 0x214
ret
lea eax, [esp + 0xc]
mov ecx, eax
mov edx, 0x103
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefb]
test ecx, ecx
je 0x4051a0
movzx ecx, word [esi + eax]
test cx, cx
je 0x4051a0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x405180
jmp 0x4051a4
test edx, edx
jne 0x4051a7
sub eax, 2
xor edx, edx
mov word [eax], dx
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov word [esp + 0x216], ax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0xc]
push ecx
push eax
call edx
test eax, eax
jl 0x405136
test ebx, ebx
je 0x4051f3
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
test eax, eax
jl 0x405136
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x214]
test esi, esi
setge al
pop esi
xor ecx, esp
call fcn.0042c1e9
add esp, 0x214
ret