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

Disassembly:
push 0xbc4
mov eax, 0x45b0a7
call fcn.0043f163
mov esi, ecx
xor edi, edi
push 0xbb6
lea eax, [ebp - 0xbc6]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0xbd0], 0x3ffe
mov word [ebp - 0xbc8], di
call fcn.0043b840
add esp, 0xc
cmp dword [esi + 0x10], edi
mov esi, dword [esi + 4]
lea eax, [ebp - 0xbcc]
mov dword [ebp - 0xbcc], edi
push eax
je 0x415fcf
push 0xf013f
jmp 0x415fd4
push 0xf003f
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x416071
push edi
push str.writeValue:__Key_found_..._:__d
call fcn.0040750a
push str.writeValue:__After_addRegistryKey_method_in_writeValue_method__
call fcn.0040750a
mov esi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0xbd0]
push eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416059
push str.value_is_found
call fcn.0040750a
pop ecx
lea eax, [ebp - 0xbc8]
push eax
push 0x468d64
push ebx
call fcn.0040384d
add esp, 0xc
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
jmp 0x416084
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.00401109
xor al, al
jmp 0x41608b
push eax
push str.writeValue:__Key_open_failure___d
call fcn.0040750a
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401109
mov al, 1
call fcn.0043f1e6
ret 8
Function at 0x4162a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b077
mov eax, dword fs:[0]
push eax
mov eax, 0x8bd0
call fcn.0043fa20
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.0043b840
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x416325
push 0x101
jmp 0x416326
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 0x41634f
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 0x416481
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 0x41646b
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 0x416458
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 0x416378
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.00438785
leave
ret
Function at 0x41649c
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x45b047
call fcn.0043f163
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 0x4164ed
push 0x102
jmp 0x4164ef
push 2
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x41652f
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.0043f1e6
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 0x416566
push dword [ebp + 8]
push esi
push str.Deleting_key:_:__d____s
call fcn.0040750a
add esp, 0xc
xor esi, esi
jmp 0x41650f
xor esi, esi
inc esi
jmp 0x41650f
Function at 0x4166df
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.0043b840
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 0x4167de
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4167de
cmp dword [ebp - 0x68], 6
jb 0x41678f
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 0x4167de
cmp dword [ebp - 0x7c], 3
jne 0x41678f
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 0x4167de
cmp dword [ebp - 0x70], edi
jne 0x4167a7
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x4167de
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 0x4167de
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 0x4167e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x74], edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4167f9
push dword [ebp - 0x74]
call esi
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x70], edi
je 0x416806
push dword [ebp - 0x70]
call esi
mov dword [ebp - 0x70], edi
cmp ebx, edi
je 0x41681b
push 0x478fb8
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.0043f4d6
mov ecx, dword [ebp + 0xec]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438785
add ebp, 0xf0
leave
ret
Function at 0x416e32
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45af8a
mov eax, dword fs:[0]
push eax
mov eax, 0x139c
call fcn.0043fa20
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.0043b840
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x416ea4
push 0x101
jmp 0x416ea6
push 1
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x416ecf
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 0x416f55
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.0041ccf5
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.0043ba50
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.00438785
leave
ret

Function at 0x417031
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.00416f6d
add esp, 0xc
push edi
add esi, 0x58
push esi
call fcn.004173cb
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 0x417304
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 0x41731a
mov eax, dword [ebx]
jmp 0x41731c
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 0x4173b8
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 0x4173b7
push str.ShellOpencommand
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173b7
push str.ShellOpen
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173b7
push str.Shell
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173b7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x4173b7
cmp dword [esi + 0x18], 8
jb 0x4173ac
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 0x4173c6
mov eax, esi
call fcn.00417031
mov eax, dword [esi + 0x54]
leave
ret
Function at 0x418215
Capabilities:
Accept command line arguments

Disassembly:
push 0xc
mov eax, 0x45bd44
call fcn.0043f0fa
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x484070], 1
jle 0x41825c
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.00418262
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f1d2
ret

Function at 0x41c6a8
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x45ae1d
call fcn.0043f0fa
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.0041cc5a
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
cmp dword [ebx - 0xc], edi
jne 0x41c70c
push str.Check_Arg_passed___Empty_Filename
call fcn.0040750a
mov dword [esp], str.FAILED
push dword [ebp + 8]
call fcn.0041cc5a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
lea ecx, [ebx - 0x10]
call fcn.00401109
mov eax, dword [ebp + 8]
jmp 0x41c85e
cmp byte [ebp + 0x10], 0
push 0x40
je 0x41c719
mov eax, dword [esi + 0xc]
jmp 0x41c71c
mov eax, dword [esi + 0x10]
push eax
push ebx
call fcn.0043a7e9
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x41c747
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 0x41c6e9
push 2
push edi
push dword [ebp + 0x10]
call fcn.0043c412
add esp, 0xc
test eax, eax
je 0x41c777
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_seek_Error_:__d
call fcn.0040750a
push dword [ebp + 0x10]
call fcn.0043b3ac
add esp, 0xc
jmp 0x41c740
push dword [ebp + 0x10]
call fcn.0043c31d
pop ecx
push dword [ebp + 0x10]
mov dword [esi], eax
call fcn.0043be48
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.0043c16a
add esp, 0x10
test eax, eax
jne 0x41c7f6
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 0x41c7d7
xor eax, eax
jmp 0x41c7e0
push dword [ebp - 0x10]
call fcn.00439a30
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406091
push dword [ebp + 0x10]
call fcn.0043b3ac
jmp 0x41c6e2
mov byte [esi + eax], 0
cmp dword [ebp - 0x10], 0
jne 0x41c804
xor eax, eax
jmp 0x41c80d
push dword [ebp - 0x10]
call fcn.00439a30
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406091
push dword [ebp + 0x10]
call fcn.0043b3ac
test eax, eax
pop ecx
je 0x41c834
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_close_error_:__d
jmp 0x41c739
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.0043f1d2
ret 0xc
Function at 0x41f3a6
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 0x41f3ec
call fcn.004293b6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f3ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41f42f
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 0x41f418
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 0x41f418
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41f42c
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 0x426488
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4264c1
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.0041d3ab
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041a6ce
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x427f9e
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 0x427fe1
call fcn.004293b6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427fe1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x427ffc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00427b58
test ebx, ebx
mov esi, eax
je 0x427ffa
test edi, edi
je 0x427ffa
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42b32b
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 0x42b359
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b377
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b295
jmp 0x42b377
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b377
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042b295
test edi, edi
mov eax, edi
jne 0x42b361
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 0x42b43a
jmp 0x42b32a
ret 8
Function at 0x438785
Capabilities:
Terminate process

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

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43a5cd
call fcn.0043aa98
mov dword [eax], esi
call fcn.0043aa85
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043cf89
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043aaab
pop ecx
jmp 0x43a5c8
test byte [esp + 0xc], 0x80
je 0x43a5f7
and eax, 0xfffffffe
jmp 0x43a5fa
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43a5dc
xor eax, eax
pop esi
ret
Function at 0x44ca46
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00440df6
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 0x44cb1b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44ca86
xor eax, eax
jmp 0x44cbdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44ca7f
push eax
call fcn.00440d93
mov dword [esp], 0x462cb0
push edi
mov dword [0x484bf4], eax
call esi
push eax
call fcn.00440d93
mov dword [esp], 0x462c9c
push edi
mov dword [0x484bf8], eax
call esi
push eax
call fcn.00440d93
mov dword [0x484bfc], eax
lea eax, [ebp - 8]
push eax
call fcn.0043914b
test eax, eax
pop ecx
pop ecx
je 0x44cae9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ce8d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44cb1b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00440d93
cmp eax, ebx
pop ecx
mov dword [0x484c04], eax
je 0x44cb1b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440d93
pop ecx
mov dword [0x484c00], eax
mov eax, dword [0x484c00]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44cb94
cmp dword [0x484c04], esi
je 0x44cb94
push eax
call fcn.00440dff
pop ecx
call eax
cmp eax, ebx
je 0x44cb61
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x484c04]
call fcn.00440dff
pop ecx
call eax
test eax, eax
je 0x44cb61
test byte [ebp - 0x18], 1
jne 0x44cb94
lea eax, [ebp - 0xc]
push eax
call fcn.00439182
test eax, eax
pop ecx
je 0x44cb7c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ce8d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44cb8b
or dword [ebp + 0x10], 0x200000
jmp 0x44cbc5
or dword [ebp + 0x10], 0x40000
jmp 0x44cbc5
mov eax, dword [0x484bf8]
cmp eax, esi
je 0x44cbc5
push eax
call fcn.00440dff
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44cbc5
mov eax, dword [0x484bfc]
cmp eax, esi
je 0x44cbc5
push dword [ebp - 4]
push eax
call fcn.00440dff
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.00440dff
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4550d6
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.0045506b
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.0043b840
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 0x455125
cmp dword [ebp - 0x1c], 5
jb 0x45513d
jmp 0x455139
cmp dword [ebp - 0x10], 1
jne 0x45513d
cmp dword [ebp - 0x1c], 4
ja 0x455139
jne 0x45513d
cmp dword [ebp - 0x18], 0
jbe 0x45513d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x464da4
call fcn.00454f5c
test eax, eax
jge 0x45515e
mov byte [0x484e93], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00438785
add ebp, 0x78
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
mov ecx, 0x497921c7
nop
nop
nop
nop
nop
test eax, eax
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x71981255
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219