joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d650
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x128
mov eax, dword [0x45d740]
xor eax, esp
mov dword [esp + 0x124], eax
push 0x103
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.00435f30
add esp, 0xc
test edi, edi
je 0x40d734
push esi
push 1
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.LCDEBUG
lea ecx, [esp + 0x28]
lea eax, [esp + 0x14]
push str.GlobalProcLock__s_Mutex
push ecx
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
call fcn.00431836
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40d71c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d715
mov dword [edi], esi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00431676
add esp, 0x128
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00431676
add esp, 0x128
ret
mov ecx, dword [esp + 0x124]
xor ecx, esp
xor eax, eax
call fcn.00431676
add esp, 0x128
ret

Function at 0x40d7e0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
test edi, edi
mov dword [esp + 4], 0
mov dword [esp], 0
jne 0x40d7fd
or eax, 0xffffffff
add esp, 8
ret
push esi
lea eax, [esp + 8]
push eax
push 0x4531d4
push 1
push 0
push 0x4531c4
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x40d849
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x40d849
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x40d861
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 4], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x40d871
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x40ec71
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x45d740]
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 - 0x11c]
jne 0x40ecb1
push 0x44b9c8
push 4
push eax
call fcn.00435db6
push eax
call fcn.0040a960
add esp, 0x10
jmp 0x40ecc3
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40ed31
push edi
call fcn.00435ee6
mov edi, dword [eax]
call fcn.00435ee6
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004318cd
add esp, 0x18
mov ebx, eax
call fcn.00435ee6
cmp dword [eax], 0
je 0x40ed11
call fcn.00435ee6
push dword [eax]
call fcn.0040ebec
pop ecx
jmp 0x40ed18
call fcn.00435ee6
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40ed31
cmp ebx, esi
jae 0x40ed31
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40ed33
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00431676
leave
ret
Function at 0x413a5f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x448e66
call fcn.00435990
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413a84
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x413ad0
call fcn.00412fcd
push eax
lea ecx, [ebp - 0x10]
call fcn.004022f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004117a0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004022a0
mov eax, esi
call fcn.00435a68
ret 8

Function at 0x41424f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x414295
call fcn.0041d2c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x414295
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4142d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4142c1
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4142c1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4142d5
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x415543
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x448bfa
call fcn.004359c3
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.0041d2c4
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41558e
call fcn.0041d2c4
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41559f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4155ac
or eax, 0xffffffff
jmp 0x415708
mov ecx, esi
call fcn.00415095
mov dword [ebp - 0x14], eax
call fcn.00417f05
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41562a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41562a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41562a
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040ec3c
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41562a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41562a
mov ecx, ebx
call fcn.00413540
test eax, eax
je 0x41562a
push 0
mov ecx, ebx
call fcn.0041355b
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00419b8e
push dword [ebp - 0x14]
call fcn.00417e5d
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041534b
xor edi, edi
cmp eax, edi
je 0x415687
test byte [esi + 0x3c], 0x10
je 0x415671
push 4
pop edi
mov ecx, esi
call fcn.004133fd
test ax, 0x100
je 0x415667
push 5
pop edi
push edi
mov ecx, esi
call fcn.00417a25
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x415687
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041374b
or dword [ebp - 4], 0xffffffff
jmp 0x4156b2
cmp dword [ebp - 0x28], edi
je 0x4156c0
push 1
mov ecx, ebx
call fcn.0041355b
cmp dword [ebp - 0x2c], edi
je 0x4156d0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4156e9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4156e9
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.004150cf
cmp dword [esi + 0x58], edi
je 0x415705
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00435a68
ret
Function at 0x41915e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x419197
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040ffe5
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040ffc0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41ad2a
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 0x41ad6d
call fcn.0041d2c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41ad6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41ad88
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041a8e1
test ebx, ebx
mov esi, eax
je 0x41ad86
test edi, edi
je 0x41ad86
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41c350
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.0041d2c4
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x41c37b
xor eax, eax
jmp 0x41c41f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x41c374
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c374
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040e700
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x41c3d0
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 0x41c3bf
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0041b14e
push edi
mov ebx, eax
call fcn.0040e730
test ebx, ebx
pop ecx
je 0x41c412
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.0041b839
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0041b8eb
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 0x420053
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x420081
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42009f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041ffbd
jmp 0x42009f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42009f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041ffbd
test edi, edi
mov eax, edi
jne 0x420089
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4607c8]
test ecx, ecx
je 0x420162
jmp 0x420052
ret 8

Function at 0x431676
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d740]
jne 0x431680
repz ret
jmp fcn.004391b8

Function at 0x43b2d5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45d8a8]
je 0x43b2f0
inc edi
cmp edi, 0x17
jb 0x43b2e1
cmp edi, 0x17
jae 0x43b470
push ebp
push 3
call fcn.0044370c
cmp eax, 1
pop ecx
je 0x43b43c
push 3
call fcn.0044370c
test eax, eax
pop ecx
jne 0x43b324
cmp dword [0x45d5bc], 1
je 0x43b43c
cmp ebx, 0xfc
je 0x43b46f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x460fd8
push ebp
call fcn.00435db6
add esp, 0xc
test eax, eax
je 0x43b35a
push esi
push esi
push esi
push esi
push esi
call fcn.004353b3
add esp, 0x14
push 0x104
mov esi, 0x460ff1
push esi
push 0
mov byte [0x4610f5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43b39e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00435db6
add esp, 0xc
test eax, eax
je 0x43b39e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004353b3
add esp, 0x14
push esi
call fcn.00435e20
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43b3e3
push esi
call fcn.00435e20
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4612ec
push 0x44fc5c
sub ecx, eax
push ecx
push eax
call fcn.00434fda
add esp, 0x14
test eax, eax
je 0x43b3e3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004353b3
add esp, 0x14
jmp 0x43b3e5
xor esi, esi
push 0x44fc58
push ebx
push ebp
call fcn.00435faa
add esp, 0xc
test eax, eax
je 0x43b405
push esi
push esi
push esi
push esi
push esi
call fcn.004353b3
add esp, 0x14
push dword [edi*8 + 0x45d8ac]
push ebx
push ebp
call fcn.00435faa
add esp, 0xc
test eax, eax
je 0x43b427
push esi
push esi
push esi
push esi
push esi
call fcn.004353b3
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044354f
add esp, 0xc
jmp 0x43b46f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43b46f
cmp ebp, 0xffffffff
je 0x43b46f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45d8ac]
push dword [esi]
call fcn.00435e20
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44354f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00439396
xor ebx, ebx
cmp dword [0x461570], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x443625
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x443705
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450d50
push edi
call esi
cmp eax, ebx
je 0x443705
push eax
call fcn.00439328
mov dword [esp], 0x450d40
push edi
mov dword [0x461570], eax
call esi
push eax
call fcn.00439328
mov dword [esp], 0x450d2c
push edi
mov dword [0x461574], eax
call esi
push eax
call fcn.00439328
mov dword [0x461578], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00435b43
test eax, eax
pop ecx
pop ecx
je 0x4435f3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004353b3
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x443625
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439328
cmp eax, ebx
pop ecx
mov dword [0x461580], eax
je 0x443625
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439328
pop ecx
mov dword [0x46157c], eax
mov eax, dword [0x46157c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4436aa
cmp dword [0x461580], ecx
je 0x4436aa
push eax
call fcn.0043939f
push dword [0x461580]
mov esi, eax
call fcn.0043939f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4436aa
cmp edi, ebx
je 0x4436aa
call esi
cmp eax, ebx
je 0x443677
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x443677
test byte [ebp - 0x18], 1
jne 0x4436aa
lea eax, [ebp - 0x10]
push eax
call fcn.00435b7a
test eax, eax
pop ecx
je 0x443692
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004353b3
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4436a1
or dword [ebp + 0x10], 0x200000
jmp 0x4436e5
or dword [ebp + 0x10], 0x40000
jmp 0x4436e5
mov eax, dword [0x461574]
cmp eax, dword [ebp - 8]
je 0x4436e5
push eax
call fcn.0043939f
cmp eax, ebx
pop ecx
je 0x4436e5
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4436e5
mov eax, dword [0x461578]
cmp eax, dword [ebp - 8]
je 0x4436e5
push eax
call fcn.0043939f
cmp eax, ebx
pop ecx
je 0x4436e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461570]
call fcn.0043939f
cmp eax, ebx
pop ecx
je 0x443705
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x443707
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4483dd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45d740]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00448372
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00435f30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44842c
cmp dword [ebp - 0x1c], 5
jb 0x448444
jmp 0x448440
cmp dword [ebp - 0x10], 1
jne 0x448444
cmp dword [ebp - 0x1c], 4
ja 0x448440
jne 0x448444
cmp dword [ebp - 0x18], 0
jbe 0x448444
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45180c
call fcn.00448263
test eax, eax
jge 0x448465
mov byte [0x501b4c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00431676
add ebp, 0x78
leave
ret
Function at 0x402e41
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040627e
xor ebx, ebx
cmp eax, ebx
jne 0x402f24
test byte [ebp + 0x10], 2
je 0x402ea2
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f09
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ede
test edi, edi
jne 0x402f09
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402e41
test eax, eax
jne 0x402ee7
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402eb7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406806
test eax, eax
jne 0x402f19
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f24
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405d91
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
je 0x405d8b
invalid
inc dword [eax]
je 0x405d8b
invalid
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
invalid
invalid
invalid
clc
Function at 0x406796
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4067ba
xor eax, eax
test eax, eax
je 0x4067cd
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4067cd
xor ecx, ecx
jmp 0x4067d0
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4
Function at 0x1000fe50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10066c40]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x6e72654b
mov dword [ebp - 0xf], 0x2e32336c
mov dword [ebp - 0xb], 0x6c6c64
mov byte [ebp - 0x10], 0x65
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013dd7
mov esp, ebp
pop ebp
ret

Function at 0x1000fea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10066c40]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x11], 0x33697061
mov dword [ebp - 0xd], 0x6c642e32
mov word [ebp - 0x13], 0x7664
mov byte [ebp - 0x14], 0x41
mov word [ebp - 9], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013dd7
mov esp, ebp
pop ebp
ret

Function at 0x100100c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10066c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x28], eax
mov esi, 1
call fcn.1000fea0
mov edi, eax
test edi, edi
je 0x10010155
lea eax, [ebp - 0x18]
push eax
push edi
mov word [ebp - 0x13], 0x7265
mov dword [ebp - 0x17], 0x75516765
mov dword [ebp - 0xb], 0x417845
mov dword [ebp - 0x10], 0x756c6156
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0x11], 0x79
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001014e
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013dd7
mov esp, ebp
pop ebp
ret

Function at 0x10010170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10066c40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x16], 0x7274736e
mov dword [ebp - 0x1b], 0x6873756c
mov dword [ebp - 0xd], 0x6361436e
mov dword [ebp - 0x12], 0x69746375
mov byte [ebp - 0x1c], 0x46
mov byte [ebp - 0x17], 0x49
mov word [ebp - 9], 0x6568
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 7], 0
call fcn.1000fe50
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100101e5
push dword [ebp + 0x10]
push edi
push esi
call eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013dd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10013dd7
mov esp, ebp
pop ebp
ret