joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40715f
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push ebx
push ebx
push 0x43dbc8
call fcn.00413931
mov dword [esi + 0x20], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 0x20]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x407199
cmp dword [eax + 0x20], ebx
jne 0x4071a9
cmp edi, 2
jge 0x4071a9
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40718d
mov ecx, eax
pop edi
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x28], eax
pop esi
pop ebx
ret

Function at 0x4080af
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x3ff
and ax, cx
movzx eax, ax
cmp eax, 1
je 0x4080d2
cmp eax, 0xd
je 0x4080d2
mov eax, dword [ebp + 0xc]
jmp 0x4080da
mov eax, dword [ebp + 0xc]
or eax, 0x100000
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push 0x4558c8
call fcn.00418899
add esp, 0x10
pop ebp
ret
Function at 0x40859c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x43aadf
call fcn.00422513
mov esi, ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x38], 0x104
stosd dword es:[edi], eax
push str.RequireIE
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040194d
xor edi, edi
lea ecx, [ebp - 0x44]
push str.Startup
mov dword [ebp - 4], edi
call fcn.0040194d
lea eax, [esi + 0xd0]
xor ebx, ebx
push eax
lea eax, [ebp - 0x48]
inc ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00409ae5
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00401856
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00401856
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], edi
je 0x4086bd
lea ecx, [ebp - 0x14]
mov esi, str._d._d._d._d
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
call fcn.0042380f
add esp, 0x18
call fcn.0040c667
push eax
lea ecx, [ebp - 0x34]
call fcn.004012cf
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4086ad
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call fcn.004017e6
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push edi
push str.Version
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x3c]
test eax, eax
je 0x4086cd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
mov ebx, edi
lea ecx, [esi - 0x10]
call fcn.00401856
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0x10]
call fcn.00401856
mov eax, ebx
call fcn.004224c2
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00401872
cmp dword [ebp - 0x38], 0
jbe 0x4086ad
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
mov esi, dword [ebp - 0x34]
push esi
call fcn.0042380f
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp + eax - 0x30]
cmp dword [ebp + eax - 0x20], ecx
jb 0x4086b2
ja 0x408718
add eax, 4
cmp eax, 0x10
jl 0x408702
jmp 0x4086b2
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
push eax
call fcn.0040a05d
jmp 0x4086b0
Function at 0x409180
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x2c
mov eax, 0x43ac57
call fcn.004224e0
lea esi, [ecx + 0x130]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.004017e6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40929f
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004013b4
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.004017e6
push eax
push ebx
push 0x44160c
lea ecx, [ebp - 0x10]
call fcn.004098f9
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
lea ecx, [ebp - 0x38]
call fcn.00415039
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00407d6f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1001
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.004154c1
test eax, eax
jne 0x409244
mov ecx, esi
call fcn.00401451
jmp 0x409281
push str.LOCALIZATION_INI
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.00415828
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], vtable.CFileException.0
lea ecx, [ecx - 0x10]
call fcn.00401856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00415060
call fcn.004224ae
ret

Function at 0x4092bc
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x43ac8a
call fcn.004224e0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004013b4
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.004017e6
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401872
lea ecx, [ebp - 0x2c]
call fcn.0041623c
mov eax, dword [edi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], 0
je 0x409369
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004164d9
test eax, eax
je 0x409369
lea ecx, [ebp - 0x2c]
call fcn.00416681
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041679a
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040132a
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
lea ecx, [ebp - 0x2c]
call fcn.0041648d
jmp 0x40936b
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004163ed
mov eax, ebx
call fcn.004224ae
ret 4
Function at 0x409910
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ad38
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00423430
mov eax, dword [0x4535a0]
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 ebx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [ebp + 8]
call fcn.00401451
xor ecx, ecx
lea eax, [ebp - 0x1044]
push eax
push ecx
push dword [esi]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1044], ecx
call sub.msi.dll_MsiOpenProductW
test eax, eax
jne 0x409ab5
push str.SELECT__Message__FROM__Error__WHERE_Error.Error
lea ecx, [ebp - 0x1048]
call fcn.0040194d
push 9
xor eax, eax
mov byte [ebp - 4], 1
pop ecx
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
push 0xa
push 0x14
stosw word es:[edi], ax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.004238a6
add esp, 0x10
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x1048]
push eax
call fcn.00403dd6
xor esi, esi
mov dword [ebp - 0x103c], esi
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x1048]
mov dword [ebp - 0x1040], esi
push dword [ebp - 0x1044]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x409a7f
push esi
push dword [ebp - 0x1040]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x409a7f
cmp dword [ebp - 0x103c], eax
je 0x409a10
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], esi
push eax
push dword [ebp - 0x1040]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x409a7f
push 0xffe
mov word [ebp - 0x1038], ax
lea eax, [ebp - 0x1036]
push esi
push eax
call fcn.00421c40
add esp, 0xc
mov dword [ebp - 0x104c], 0x800
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1038]
push eax
push 1
push dword [ebp - 0x103c]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x409a7f
lea eax, [ebp - 0x1038]
mov ecx, ebx
push eax
call fcn.00401ec8
cmp dword [ebp - 0x103c], 0
je 0x409a93
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x1040], 0
je 0x409aa7
push dword [ebp - 0x1040]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x1048]
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [ebp - 0x1044], 0
je 0x409ac9
push dword [ebp - 0x1044]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
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.00421c2b
mov esp, ebp
pop ebp
ret
Function at 0x409ae5
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x43b505
call fcn.004224e0
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.0040c667
mov ecx, dword [ebp + 8]
push eax
call fcn.004012cf
push 0x7d
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
pop ebx
mov eax, dword [ebp + 0x14]
add ebx, ebx
mov ecx, dword [ebp + 8]
push ebx
mov esi, dword [eax]
call fcn.004017e6
push esi
push ebx
push eax
mov eax, dword [ebp + 0x10]
push 0x43d650
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0xffffffffffffffff
call fcn.00401872
lea ecx, [esi + 1]
cmp ebx, ecx
jbe 0x409b14
mov eax, dword [ebp + 8]
call fcn.004224ae
ret 0x10
Function at 0x40afdb
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0x28
mov eax, 0x43af65
call fcn.00422513
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xec], esi
jne 0x40b192
cmp dword [ebx + 0xe4], esi
jne 0x40b192
call fcn.0040c667
push eax
lea ecx, [ebp - 0x2c]
call fcn.004012cf
mov dword [ebp - 4], esi
call fcn.0040c667
push eax
lea ecx, [ebp - 0x28]
call fcn.004012cf
mov ecx, dword [ebx + 0x110]
mov eax, dword [ebx + 0x50]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x40b052
call fcn.00405053
test eax, eax
jne 0x40b052
mov esi, str.Adobe_Acrobat_Reader
lea ecx, [ebp - 0x28]
push esi
call fcn.00401ec8
mov dword [ebx + 0x50], esi
jmp 0x40b063
mov eax, 0x43fb7c
lea ecx, [ebp - 0x28]
push eax
mov dword [ebx + 0x50], eax
call fcn.00401ec8
push 0x90
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00409b5a
mov edi, dword [ebp - 0x28]
push edi
push dword [eax]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call fcn.004014f0
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [ebx + 0x164], 0
mov esi, dword [ebp - 0x2c]
jne 0x40b182
cmp dword [ebx + 0x160], 0
je 0x40b0ca
push 0
push 0x10024
push esi
call fcn.004080af
add esp, 0xc
cmp eax, 6
jne 0x40b182
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x130]
cmp dword [eax - 0xc], 0
je 0x40b0ee
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x130]
call fcn.00401451
and dword [ebx + 0xe0], 0
lea eax, [ebp - 0x24]
and dword [ebp - 0x24], 0
xor ebx, ebx
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40b14b
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ebx, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
test ebx, ebx
je 0x40b14b
xor ecx, ecx
lea eax, [ebp - 0x20]
push ecx
push ecx
push ecx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
push 1
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test ebx, ebx
je 0x40b173
xor ecx, ecx
lea eax, [ebp - 0x20]
push ecx
push ecx
push ecx
push eax
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp dword [ebp - 0x24], 0
je 0x40b182
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.00401856
lea ecx, [esi - 0x10]
call fcn.00401856
call fcn.004224c2
ret
Function at 0x40b296
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4535a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
xor esi, esi
push esi
push eax
call fcn.00421c40
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x40b2ec
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 2
cmove esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00421c2b
mov esp, ebp
pop ebp
ret

Function at 0x40b7c7
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x43aff0
call fcn.004224e0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.0040194d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov ebx, dword [eax - 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40b843
mov ecx, dword [ebp + 0x18]
cmp ecx, 1
je 0x40b81a
cmp ecx, 2
je 0x40b81a
push ebx
jmp 0x40b81e
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
push ecx
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40b868
mov ebx, 0x455994
push 0x43ff14
mov ecx, ebx
call fcn.00401ec8
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00403dd6
mov ecx, 0x4558c8
call fcn.0040b2fe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401856
mov eax, esi
call fcn.004224ae
ret

Function at 0x40b87b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b8dd
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40b8dd
inc edi
jmp 0x40b902
mov esi, 0x455994
push str.Failed_to_register_DWORD_value:
mov ecx, esi
call fcn.00401ec8
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00403dd6
mov ecx, 0x4558c8
call fcn.0040b2fe
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f994
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40f9d9
call fcn.00419463
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f9d9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f9f5
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040bc2b
mov ebx, eax
test edi, edi
je 0x40f9f3
test esi, esi
je 0x40f9f3
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433395
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4535a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004290e2
mov dword [ebp - 0x14], eax
cmp dword [0x45895c], esi
jne 0x433488
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x433415
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x433568
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x433568
push 0x445a44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433568
push eax
call ebx
push 0x445a50
push edi
mov dword [0x45895c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x445a60
push edi
mov dword [0x458960], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x458964], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45896c], eax
test eax, eax
je 0x433485
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x458968], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4334ad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4334a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4334c2
push 4
pop eax
jmp 0x43356a
cmp dword [ebp - 0x14], esi
je 0x4334c2
push dword [0x45895c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4334a7
mov eax, dword [0x458968]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x433520
cmp dword [0x45896c], edi
je 0x433520
push eax
call ebx
push dword [0x45896c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x433520
test eax, eax
je 0x433520
call ecx
test eax, eax
je 0x433515
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x433515
test byte [ebp - 8], 1
jne 0x433520
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x433550
mov eax, dword [0x458960]
cmp eax, edi
je 0x43354d
push eax
call ebx
test eax, eax
je 0x43354d
call eax
mov esi, eax
test esi, esi
je 0x43354d
mov eax, dword [0x458964]
cmp eax, edi
je 0x43354d
push eax
call ebx
test eax, eax
je 0x43354d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45895c]
call ebx
test eax, eax
je 0x433568
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43356a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421c2b
mov esp, ebp
pop ebp
ret
Function at 0x401360
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040b520
mov eax, dword [0x24592dc]
mov ecx, dword [0x2458d68]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x401485
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x24592dc], 0x959
jne 0x40146f
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push str.zamuloguwatisofobus
push 0
call ebx
push 0
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.gotarurivocabowixetalakagaxahufijefisosefimazuwuhituwigoveyehucorocoyepep
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea ecx, [ebp - 0x2008]
push ecx
push 0
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x40139e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40414b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440520]
jne 0x404155
repz ret
jmp fcn.004081ac

Function at 0x40af73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440520]
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.0040644d
and dword [ebp - 0x14], 0
cmp dword [0x446bcc], 0
mov dword [ebp - 0x18], eax
jne 0x40b026
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b0ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b0ce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x446bcc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x446bd0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x446bd4], eax
call edi
push eax
call esi
mov dword [0x446bdc], eax
test eax, eax
je 0x40b026
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x446bd8], eax
mov eax, dword [0x446bd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b07f
cmp dword [0x446bdc], ecx
je 0x40b07f
push eax
call esi
push dword [0x446bdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b07f
test ebx, ebx
je 0x40b07f
call edi
test eax, eax
je 0x40b076
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b076
test byte [ebp - 8], 1
jne 0x40b07f
or dword [ebp + 0x10], 0x200000
jmp 0x40b0b2
mov eax, dword [0x446bd0]
cmp eax, dword [ebp - 0x18]
je 0x40b0b2
push eax
call esi
test eax, eax
je 0x40b0b2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b0b2
mov eax, dword [0x446bd4]
cmp eax, dword [ebp - 0x18]
je 0x40b0b2
push eax
call esi
test eax, eax
je 0x40b0b2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x446bcc]
call esi
test eax, eax
je 0x40b0ce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b0d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414b
leave
ret