joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412474
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.0041251b
test eax, eax
je 0x4124d9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4124d9
lea eax, [ebp - 0xc]
push esi
push eax
xor esi, esi
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x412549
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4125ac
call esi
cmp eax, 0x3f0
jne 0x4125a3
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x41261b
cmp eax, ebx
je 0x41261b
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x41261b
call esi
cmp eax, 0x7a
jne 0x41261b
push dword [ebp - 4]
call fcn.00416f58
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x41260f
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41261f
cmp byte [ebp - 0x24], bl
je 0x41261b
push esi
call fcn.00416807
pop ecx
xor eax, eax
jmp 0x41266a
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x412652
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41264b
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x41262e
jmp 0x412652
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x412667
push esi
call fcn.00416807
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41266f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
cmp dword [0x42ea88], ecx
jne 0x41268a
mov eax, dword [0x428410]
cmp eax, 0xffffffff
jne 0x4126ca
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4126c4
lea eax, [ebp - 0x14]
push eax
call fcn.00417177
pop ecx
lea ecx, [ebp - 0x34]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x4126c4
movsx eax, word [ebp - 0x34]
mov dword [0x428410], eax
mov ax, word [0x428410]
leave
ret

Function at 0x412a2d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
xor esi, esi
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
mov dword [ebp - 4], 0xcccccccc
call fcn.00416f70
push 0x44
lea eax, [ebp - 0x74]
pop edi
push edi
push esi
push eax
call fcn.00416f70
add esp, 0x18
xor eax, eax
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x74], edi
push 1
setne al
mov word [ebp - 0x44], ax
pop edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x48], edi
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x412b23
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, esi
je 0x412afd
cmp eax, edi
jne 0x412afd
push edi
push esi
push esi
lea eax, [ebp - 0x30]
push esi
push eax
call ebx
test eax, eax
je 0x412a98
cmp dword [ebp - 0x2c], 0xf
jne 0x412adb
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x2c], 0x113
jne 0x412aed
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0040febc
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x412a98
jmp 0x412ab3
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x42ea7c], eax
call esi
push dword [ebp - 0x14]
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc
Function at 0x412b2c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push dword [0x42e1c4]
mov ebx, str._04x
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_CharNextA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call edi
push eax
call edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x828]
push eax
push 0x42dba8
call fcn.00411de3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00412024
lea eax, [ebp - 0x428]
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x42bad0
push eax
push str.Languages
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x412be6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_VerLanguageNameA
leave
ret

Function at 0x4134c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.00413603
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x413578
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41356a
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x41352e
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x413557
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x413564
cmp byte [ebp - 0x838], bl
je 0x41356a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x413578
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00413173
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x41359d
cmp dword [ebp + 0xc], 4
jne 0x4135b7
cmp dword [ebp - 0x14], ebx
jne 0x4135b7
cmp word [edi + 0x14], 3
mov ecx, edi
jne 0x4135b2
call fcn.00413834
jmp 0x4135b7
call fcn.00413a60
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x413603
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x260]
mov edi, SysReAllocStringLen
push eax
mov ebx, 0x104
push str..htm
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x413703
lea eax, [ebp - 0x260]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
push edi
call esi
test eax, eax
jne 0x413703
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x15c]
push str.netscape.exe
push eax
call fcn.004180e0
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x413705
lea ecx, [ebp - 0x15c]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x58]
call fcn.0041377c
lea eax, [ebp - 0x364]
lea ecx, [ebp - 0x58]
push eax
call fcn.00414dd7
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
mov edx, ecx
mov dword [ebp - 0x58], 0x423aac
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x58]
mov word [eax + 0x14], dx
call fcn.004137d9
xor eax, eax
jmp 0x413777
xor esi, esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x413766
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413766
movsx ax, byte [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
sub eax, 0x30
cmp dword [ebp - 4], esi
mov word [ecx + 0x14], ax
je 0x413762
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x413776
cmp dword [ebp - 4], esi
je 0x413774
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413834
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.004176e0
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x413a02
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x413a02
cmp dword [ebp - 0x14], 1
jne 0x413a02
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x4139c5
cmp byte [ebp - 0x148], al
je 0x4139c5
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x4139b7
lea eax, [ebp - 0x96c]
push 0x4287a4
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x427af8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x4277f8
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x41391b
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.00413349
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x413a10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4145cd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x414605
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x414611
mov eax, dword [esi + 0x5c]
jmp 0x41465a
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x414658
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x414636
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x41461a
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x414dd7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x414e29
push eax
call fcn.00416f58
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x414e29
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x427bec
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x414e2d
xor al, al
jmp 0x414e8e
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x414e8c
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00416f58
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x414e8c
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x414e7a
mov al, 1
pop ebx
leave
ret 4
Function at 0x41e7b6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42b3d0
cmp edx, dword [eax]
je 0x41e7d8
add eax, 8
inc ecx
cmp eax, 0x42b460
jl 0x41e7c9
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42b3d0]
jne 0x41e906
mov eax, dword [0x42eb74]
cmp eax, 1
je 0x41e8e0
test eax, eax
jne 0x41e809
cmp dword [0x428b24], 1
je 0x41e8e0
cmp edx, 0xfc
je 0x41e906
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41e840
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00417060
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00417a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41e883
lea eax, [ebp - 0x1a4]
push eax
call fcn.00417a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x424064
push edi
call fcn.00417940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00417060
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00417070
lea eax, [ebp - 0xa0]
push 0x424044
push eax
call fcn.00417070
push dword [esi + 0x42b3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00417070
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004200db
add esp, 0x2c
pop edi
jmp 0x41e906
lea eax, [ebp + 8]
lea esi, [esi + 0x42b3d4]
push 0
push eax
push dword [esi]
call fcn.00417a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x12a1e00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9d4000]
push edi
jmp 0x12a1e1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x12a1e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a1e10
mov eax, 1
add ebx, ebx
jne 0x12a1e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x12a1e44
jne 0x12a1e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a1e63
dec eax
add ebx, ebx
jne 0x12a1e50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x12a1e28
add ebx, ebx
jne 0x12a1e5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x12a1eb5
xor ecx, ecx
sub eax, 3
jb 0x12a1e7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x12a1eea
sar eax, 1
mov ebp, eax
jmp 0x12a1e86
add ebx, ebx
jne 0x12a1e86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a1e54
inc ecx
add ebx, ebx
jne 0x12a1e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a1e54
add ebx, ebx
jne 0x12a1ea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x12a1e96
jne 0x12a1eb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x12a1e96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x12a1ed4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x12a1ec6
jmp 0x12a1e16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x12a1ed4
add edi, ecx
jmp 0x12a1e16
pop esi
mov edi, esi
mov ecx, 0x476e1c
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x12a1f0f
cmp byte [edi], 0x81
jne 0x12a1ef4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x12a1ef2
lea edi, [esi + 0xe9c000]
mov eax, dword [edi]
or eax, eax
je 0x12a1f60
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xec54e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xec56f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x12a1f15
mov ecx, edi
jns 0x12a1f44
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xec56f8]
or eax, eax
je 0x12a1f5a
mov dword [ebx], eax
add ebx, 4
jmp 0x12a1f32
call dword [esi + 0xec56f4]
mov ebp, dword [esi + 0xec56fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x12a1f94
sub esp, 0xffffff80
jmp 0x877c0c
Function at 0x40b5e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40b5ef
pop dword [ebp - 0x2c]
mov eax, 0x40b5ef
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc99779c8
sub dword [ebp - 0x3c], 0x7b45347d
mov dword [ebp - 0x38], 0x75277c80
sub dword [ebp - 0x38], 0x42f4303b
mov dword [ebp - 0x34], 0x5f1459d2
sub dword [ebp - 0x34], 0x12c815a4
mov dword [ebp - 0x30], 0xe2354572
add dword [ebp - 0x30], 0x1dcaba8e
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x3f1afd51
add eax, 0xc126334f
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd20c4d30
sub dword [ebp - 0x3c], 0x5d99e3da
mov dword [ebp - 0x38], 0x8b0a7938
add dword [ebp - 0x38], 0xb661e83d
mov dword [ebp - 0x34], 0xb3843802
add dword [ebp - 0x34], 0xafeb346a
mov dword [ebp - 0x30], 0xcc62d14
sub dword [ebp - 0x30], 0xcc62d14
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xd1a1ee45
add eax, 0x2e9f41f7
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a228
push 0
call eax
mov ecx, 0x139c7da
add ecx, 0xfec67e10
mov esi, eax
mov edi, 0x5552a824
add edi, 0xaaef07dc
add edi, dword [ebp - 0x2c]
mov ebx, 0xc86af115
sub ebx, 0x29f71325
xor dword [ebp - 0x1c], ecx
mov edx, dword [edi]
add dword [ebp - 0x14], 0x76f5f9cf
xor edx, ebx
xor dword [ebp - 0x10], 0x57110318
mov dword [esi], edx
mov dword [ebp - 8], 0xd17425da
add esi, 0x69624f0c
add esi, 0x969db0f8
add edi, 4
loop 0x40b70c
add eax, 0xcafff5e6
add eax, 0x35011495
mov ebx, eax
add eax, 0x588dcb9e
add eax, 0xa7723467
mov ecx, 0x9fcb7ce6
sub ecx, 0x9f8b7ce6
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403e59
pop dword [ebp - 8]
mov eax, 0xa8608e40
sub eax, 0xa8204fe7
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xd2673f72
sub dword [ebp - 0x18], 0x8414fa27
mov dword [ebp - 0x14], 0x4ce2e1d
add dword [ebp - 0x14], 0x2d651e28
mov dword [ebp - 0x10], 0x5278262e
add dword [ebp - 0x10], 0xf9d41e00
mov dword [ebp - 0xc], 0xcf3b3be9
add dword [ebp - 0xc], 0x30c4c417
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd98f79e5
sub dword [ebp - 0x18], 0x651d108f
mov dword [ebp - 0x14], 0x506ebbcf
sub dword [ebp - 0x14], 0xf025a5a
mov dword [ebp - 0x10], 0xf054b803
sub dword [ebp - 0x10], 0x8ce54b97
mov dword [ebp - 0xc], 0xa1ad9a9b
add dword [ebp - 0xc], 0x5e526565
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x35721
push 0
call eax
mov ecx, 0x42cb
xor edi, edi
add edi, eax
mov ebx, 0x81acec1e
sub ebx, 0x816bdc1e
add ebx, dword [ebp - 8]
mov edx, 0x95f25dea
sub edx, 0xb65ee7e1
xor dword [ebp - 4], eax
mov esi, dword [ebx]
mov dword [ebp - 4], 0x8772638c
add esi, edx
sub dword [ebp - 4], ebx
mov dword [edi], esi
sub dword [ebp - 4], 0x8fe8896c
add edi, 0x23cd3fa8
add edi, 0xdc32c05c
add ebx, 0x1073745e
sub ebx, 0x1073745a
loop 0x403f6d
add eax, 0x4ef3cf2f
add eax, 0xb10d2ed0
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret