joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e2a5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4741f0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x44e2f6
push edi
call fcn.00457c8f
mov esi, eax
test esi, esi
je 0x44e31a
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x44e31a
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x462c1c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 0xc

Function at 0x453de4
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 0x453dfa
mov edi, dword [esi + 0xc]
jmp 0x453e24
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x453e24
call fcn.0044838f
call fcn.00455ed2
cmp dword [eax + 0x1038], 0
je 0x453e3c
push edi
mov ecx, ebx
call fcn.00453142
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00453d03
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x453e5a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x58], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x453e66
mov edi, eax
mov dword [ebx + 0x58], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45479a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
call fcn.004446c3
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov esi, eax
call fcn.00442294
test byte [ebp - 3], 0x10
mov edi, eax
je 0x4547f4
cmp edi, 3
jne 0x4547e3
push 2
pop edi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4547f4
xor eax, eax
jmp 0x45483c
cmp edi, 0xa
jb 0x4547fe
cmp edi, 0x11
jbe 0x454803
cmp edi, 4
jne 0x45483a
test byte [ebp - 3], 8
je 0x45480e
push 2
pop eax
jmp 0x45483c
neg ebx
push ebx
neg esi
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebp - 3], 2
je 0x45483a
mov eax, edi
sub eax, 4
je 0x454878
sub eax, 9
je 0x454867
dec eax
je 0x454857
dec eax
dec eax
je 0x454843
dec eax
je 0x454878
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x45483c
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x45483c
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax + eax + 0xa]
jmp 0x45483c
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x45483c

Function at 0x45660d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00455ed2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45664d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x45664d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x456651
xor eax, eax
jmp 0x4566ce
movzx eax, word [esi + 6]
push ebx
shl eax, 2
push edi
push eax
call fcn.00440ad3
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x45667f
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x45666e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0045624a
push edi
mov ebx, eax
call fcn.00440afe
test ebx, ebx
pop ecx
je 0x4566c1
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00456493
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0045651a
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x456ee2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4741f0]
xor eax, ebp
cmp dword [ebp + 8], 0x800
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x11c]
jne 0x456f15
push 0x467128
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x456f27
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x456f5c
lea eax, [ebp - 0x11c]
push eax
push esi
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00434505
add esp, 0x10
cmp eax, 0xffffffff
je 0x456f5c
cmp eax, esi
jae 0x456f5c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x456f5e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00433dfe
leave
ret
Function at 0x456f81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4741f0]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x45702b
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x38], eax
call esi
mov dword [ebp - 0x34], eax
push 4
xor ebx, ebx
jmp 0x45712d
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4570db
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push reloc.ODBC32.dll_SQLAllocConnect
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45712e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4570d0
cmp dword [ebp - 0x24], 1
jne 0x4570d0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x467138
push eax
call fcn.004319aa
add esp, 0xc
cmp eax, 1
jne 0x4570d0
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x40], eax
call esi
push 2
mov dword [ebp - 0x3c], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45712e
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x45712e
lea ecx, [ebp - 0x18]
push ecx
push 0x456f6b
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x45712e
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x40], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x457153
push dword [ebp + edi*4 - 0x40]
mov ecx, dword [ebp - 0x2c]
call fcn.00456ee2
cmp eax, ebx
pop ecx
jne 0x457155
inc edi
cmp edi, esi
jl 0x45713d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 4
Function at 0x457166
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x473e4c
je 0x457222
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push reloc.ODBC32.dll_SQLAllocConnect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45720a
mov esi, dword [ebx + 4]
jmp 0x457204
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4571f4
cmp dword [ebp - 0xc], 4
jne 0x4571f4
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4571ec
or dword [eax + 0x9c], ecx
jmp 0x4571f4
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4571b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x45719b
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x457909
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x45bd49
call fcn.00433e9c
sub esp, 0x124
mov eax, dword [0x4741f0]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x124]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edx
push eax
push ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x457a17
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4579eb
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040abf0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00457909
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401020
test bl, bl
jne 0x4579eb
or dword [ebp - 4], 0xffffffff
jmp 0x457956
cmp esi, 0x103
je 0x4579fb
cmp esi, 0x3f2
jne 0x457a0b
push dword [edi]
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 8
Function at 0x457d3e
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x45be00
call fcn.00433e9c
mov eax, 0x1024
call fcn.00433420
mov eax, dword [0x4741f0]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
xor eax, ebp
push edi
xor edi, edi
mov dword [ebp - 0x102c], edi
cmp dword [ecx + 0x50], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1030], esi
mov dword [ebp - 0x1014], edx
je 0x457e75
push eax
call fcn.00457c8f
cmp eax, edi
mov dword [ebp - 0x1020], eax
jne 0x457da9
push dword [ebp - 0x1014]
jmp 0x457ea7
call fcn.00440b08
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1018], ebx
lea eax, [ebp - 0x1024]
push eax
push edi
lea eax, [ebp - 0x102c]
push eax
push edi
push esi
push dword [ebp - 0x1020]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
mov dword [ebp - 0x1028], eax
jne 0x457e32
push dword [ebp - 0x1024]
lea ecx, [ebp - 0x1018]
call fcn.00401400
lea ecx, [ebp - 0x1024]
push ecx
push eax
lea eax, [ebp - 0x102c]
push eax
push edi
push dword [ebp - 0x1030]
push dword [ebp - 0x1020]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x1028], eax
call fcn.004041b0
mov ebx, dword [ebp - 0x1018]
push dword [ebp - 0x1020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1028], edi
mov ecx, dword [ebp - 0x101c]
jne 0x457e68
lea eax, [ebp - 0x1018]
push eax
call fcn.004042c0
lea ecx, [ebx - 0x10]
call fcn.00401020
mov eax, dword [ebp - 0x101c]
jmp 0x457eb0
push dword [ebp - 0x1014]
call fcn.0040abf0
jmp 0x457e58
cmp edx, edi
jne 0x457e83
mov dword [ebp - 0x1014], 0x45d77d
push dword [ecx + 0x64]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push dword [ebp - 0x1014]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, ebx
call fcn.0040abf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 0x10

Function at 0x458075
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4580aa
cmp edi, dword [esi + 0xc]
jge 0x4580aa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4580aa
cmp edi, dword [eax + 8]
jge 0x4580aa
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4580ac
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x4581b0
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x4581e4
jmp fcn.0043edd9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x458255
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x45834e
cmp eax, dword [edi + 0xc]
jge 0x45834e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4582a6
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x458337
cmp dword [ebp + 0xc], ebx
je 0x458337
jmp 0x4582d0
push 0x10
call fcn.00457f41
cmp eax, ebx
je 0x4582bc
mov ecx, eax
call fcn.004581a7
mov esi, eax
jmp 0x4582be
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x4582e7
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4582f7
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x458309
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043edd9
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00434090
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x458349
cmp ecx, dword [esi + 8]
jge 0x458349
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x45834f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45877a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x45875c
mov ecx, 0x4772e0
call fcn.004580d5
mov ebx, eax
cmp word [ebx + 8], 0
jne 0x458870
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.COMCTL32.DLL
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x458847
push edi
push str.KERNEL32.DLL
call esi
push str.GetUserDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov esi, dword [ebp + 0x10]
mov edi, 0x3ee
je 0x458811
call eax
and ax, 0x3ff
cmp ax, 0x11
jne 0x458811
mov ecx, str.MS_UI_Gothic
call fcn.004586bf
test eax, eax
je 0x458811
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xe
add eax, edi
push 0xfc11
movzx eax, ax
push eax
push 5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
jne 0x458829
neg esi
sbb esi, esi
and esi, 0xe
add esi, edi
movzx eax, si
push 5
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
pop edi
je 0x458847
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004477ba
add esp, 0xc
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 4], eax
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov word [ebx + 8], ax
pop esi
push dword [ebx + 4]
mov ecx, dword [ebp + 8]
call fcn.00403a20
mov bx, word [ebx + 8]
mov eax, dword [ebp + 0xc]
mov word [eax], bx
xor eax, eax
cmp bx, 0xffff
setne al
pop ebx
leave
ret 0xc
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43107c]
jne 0x401cdf
repz ret
jmp fcn.00402908

Function at 0x40837a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43107c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b1d
and dword [ebp - 0x14], 0
cmp dword [0x433e64], 0
mov dword [ebp - 0x18], eax
jne 0x40842d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4084d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4084d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433e64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433e68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433e6c], eax
call edi
push eax
call esi
mov dword [0x433e74], eax
test eax, eax
je 0x40842d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433e70], eax
mov eax, dword [0x433e70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408486
cmp dword [0x433e74], ecx
je 0x408486
push eax
call esi
push dword [0x433e74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408486
test ebx, ebx
je 0x408486
call edi
test eax, eax
je 0x40847d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40847d
test byte [ebp - 8], 1
jne 0x408486
or dword [ebp + 0x10], 0x200000
jmp 0x4084b9
mov eax, dword [0x433e68]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084b9
mov eax, dword [0x433e6c]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433e64]
call esi
test eax, eax
je 0x4084d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4084d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x10001010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018fe2
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10021010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], esi
mov dword [esi], 0
call fcn.10007200
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10001079
push 0x80004005
call fcn.10006f40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x1ff
lea eax, [ebp - 0x267]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x278], 1
mov byte [ebp - 0x268], 0
call fcn.1000a540
mov eax, 0x54
mov dword [ebp - 0x26c], 0x200
mov word [ebp - 0x62], ax
lea edx, [ebp - 0x68]
mov eax, 0x53
mov dword [ebp - 0x60], 0x410057
mov word [ebp - 0x68], ax
add esp, 0xc
mov dword [ebp - 0x66], 0x46004f
mov dword [ebp - 0x44], 0x43005c
lea ecx, [eax + 0x16]
mov dword [ebp - 0x58], 0x4d005c
mov eax, 0x65
mov dword [ebp - 0x40], 0x790072
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x274]
push eax
push 0x20019
push ecx
mov dword [ebp - 0x34], 0x610072
mov dword [ebp - 0x2c], 0x79
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x48], 0x740066
mov dword [ebp - 0x30], 0x680070
mov dword [ebp - 0x54], 0x630069
mov dword [ebp - 0x5c], 0x450052
mov dword [ebp - 0x38], 0x67006f
mov dword [ebp - 0x3c], 0x740070
mov dword [ebp - 0x4c], 0x6f0073
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x24], 0x680063
mov dword [ebp - 0x20], 0x6e0069
mov dword [ebp - 0x1a], 0x750047
mov dword [ebp - 0x28], 0x61004d
mov word [ebp - 0x16], cx
call fcn.100063f0
add esp, 0xc
test eax, eax
jne 0x10001214
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x270]
push eax
push ecx
mov ecx, dword [ebp - 0x274]
lea edx, [ebp - 0x28]
call fcn.10001790
add esp, 0x10
test eax, eax
je 0x100011fb
lea eax, [ebp - 0x274]
push eax
push 0x20119
push ecx
lea edx, [ebp - 0x68]
call fcn.100063f0
add esp, 0xc
test eax, eax
jne 0x10001214
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x270]
push eax
push ecx
mov ecx, dword [ebp - 0x274]
lea edx, [ebp - 0x28]
call fcn.10001790
add esp, 0x10
test eax, eax
jne 0x10001214
lea eax, [ebp - 0x268]
mov ecx, esi
push eax
call fcn.100074c0
mov ecx, dword [ebp - 0x274]
call fcn.10006480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000837b
mov esp, ebp
pop ebp
ret

Function at 0x10001530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10021010]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov word [ebp - 8], 0x6c
push eax
mov dword [ebp - 0xd], 0x642e6c6c
mov word [ebp - 0x10], 0x746e
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0xe], 0x64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000837b
mov esp, ebp
pop ebp
ret