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

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406af7
cmp dword [esp + 0xc], 4
sete al
dec eax
and eax, 0xd
pop ecx
ret 8

Function at 0x406b40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40b108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x411080]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x5f0]
add ecx, 0x28
mov dword [esp + 0x214], eax
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x406c6d
mov ecx, dword [esi + 0x5f0]
add ecx, 0x28
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea edx, [esp + 0xc]
push 0
push edx
call dword [sym.imp.MSVCR71.dll__waccess]
add esp, 8
test eax, eax
je 0x406bda
push 0xe000
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0
push 0x10
push eax
push 0x7d2
mov dword [esp + 0x230], 0
call dword [sym.imp.Frn.dll_int___cdecl_FarinaMessageBox_unsigned_int__class_ATL::CStringT_unsigned_short_int__class_StrTraitMFC_DLL_unsigned_short_int__class_ATL::ChTraitsCRT_unsigned_short_int____const___unsigned_int__class_CWnd__]
add esp, 0x10
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x406c6d
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov ecx, dword [esi + 0x5f0]
cmp dword [ecx + 0x2c], 1
jne 0x406c55
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esi + 0x5f0]
mov ecx, dword [eax + 0x30]
lea edx, [esp + 0xc]
push edx
push ecx
lea edx, [esp + 0xc]
push str._mapid__d__s
push edx
mov dword [esp + 0x230], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
push 1
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.hh.exe
push 0x40db68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x406c6d
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x40db68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x214]
pop esi
call fcn.0040a481
add esp, 0x220
ret
Function at 0x407018
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40b164
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x5f0]
add eax, 0xc
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esi + 0x5f0]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov edx, dword [esi + 0x5f0]
add edx, 0x10
push edx
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x407121
push 5
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x40db68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4070e3
push 0xe000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0
push 0x10
push eax
push 0x7d1
mov byte [esp + 0x2c], 3
call dword [sym.imp.Frn.dll_int___cdecl_FarinaMessageBox_unsigned_int__class_ATL::CStringT_unsigned_short_int__class_StrTraitMFC_DLL_unsigned_short_int__class_ATL::ChTraitsCRT_unsigned_short_int____const___unsigned_int__class_CWnd__]
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x407121
mov eax, dword [esi + 0x5f0]
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x5f4]
call fcn.00404fb0
mov ecx, dword [esi + 0x554]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x407121
lea ecx, [esi + 0x534]
call fcn.004034f0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x409350
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4093bd
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x409395
cmp eax, 2
jne 0x4093ad
test esi, esi
mov eax, dword [esp + 0x14]
je 0x4093b7
test al, 1
jne 0x4093ad
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4093b7
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x4093d0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x409530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40b411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x10]
push str.SoftwareSony_CorporationVAIO_Control_CenterWindowState
push eax
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push esi
push eax
push 0x80000001
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409678
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.left
mov ebx, 4
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x40966b
cmp dword [esp + 0x18], ebx
jne 0x40966b
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x40e284
push esi
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x40966b
cmp dword [esp + 0x14], ebx
jne 0x40966b
mov edx, dword [esp + 0x34]
push edx
push str.right
lea ecx, [esp + 0x14]
call fcn.00406ac0
test eax, eax
jne 0x40966b
mov eax, dword [esp + 0x38]
push eax
push 0x40e268
lea ecx, [esp + 0x14]
call fcn.00406ac0
test eax, eax
jne 0x40966b
lea ecx, [esp + 0xc]
call fcn.00406aa0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call fcn.00406db0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
test esi, esi
je 0x409678
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test esi, esi
je 0x40968d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4096b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40b431
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [esp + 8], 0
lea ecx, [esp]
mov dword [esp + 0x14], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp]
push str.SoftwareSony_CorporationVAIO_Control_CenterWindowState
push eax
mov byte [esp + 0x1c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 8
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409794
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push edi
lea eax, [esp + 0x18]
push eax
push 0
push str.ActiveTabId
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40975b
cmp dword [esp + 0x10], 4
je 0x409761
mov dword [edi], 0
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x409770
push esi
call edi
xor esi, esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test esi, esi
je 0x409781
push esi
call edi
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
xor al, al
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x409950
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x40b490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
mov eax, dword [0x411080]
push ebx
mov dword [esp + 0x814], eax
push esi
xor esi, esi
mov dword [esp + 0x824], 0
mov dword [esp + 8], esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0xc]
push str.SoftwareSony_CorporationVAIO_Control_CenterWindowState
push eax
mov byte [esp + 0x82c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push eax
push 0x80000001
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x409a27
mov esi, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.TreeSelectedApp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0x802
call fcn.00409350
test eax, eax
jne 0x409a1e
push str.TreeSelectedApp
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x409a27
push esi
call ebx
xor esi, esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test esi, esi
je 0x409a38
push esi
call ebx
lea ecx, [esp + 0x82c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x81c]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x814]
pop ebx
call fcn.0040a481
add esp, 0x820
ret
Function at 0x409a70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40b4ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 4], esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 8]
push str.SoftwareSony_CorporationVAIO_Control_CenterWindowState
push eax
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 8
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push eax
push 0x80000001
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409bde
mov esi, dword [esp + 4]
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 8], esi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
push 0x40ccb0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test bl, bl
pop ebx
je 0x409bb2
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x409b6f
push edi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push str.TreeSelectedApp
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
jmp 0x409bd1
cmp eax, 1
jne 0x409b90
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.AllSelectedApp
lea ecx, [esp + 0x10]
call fcn.004093d0
jmp 0x409bd1
cmp eax, 2
jne 0x409bd1
push 1
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.RecentSelectedApp
lea ecx, [esp + 0x10]
call fcn.004093d0
jmp 0x409bd1
mov ecx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.ActiveTabId
push esi
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x409bde
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
test esi, esi
je 0x409bf3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40a23e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40e3a8
call fcn.0040a640
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x40a27e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a27e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40a296
cmp eax, 0x20b
je 0x40a283
mov dword [ebp - 0x1c], edi
jmp 0x40a2aa
cmp dword [ecx + 0x84], 0xe
jbe 0x40a27e
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40a2a4
cmp dword [ecx + 0x74], 0xe
jbe 0x40a27e
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x411204], 0xffffffff
or dword [0x411208], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4111bc]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4111b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x411200], eax
call fcn.0040a698
call fcn.0040a738
cmp dword [0x411090], edi
jne 0x40a30a
push fcn.0040a738
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0040a726
push 0x411034
push 0x411030
call sub.MSVCR71.dll__initterm
push 0x40a6dc
call fcn.0040a613
mov eax, dword [0x4111b4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4111b0]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x40a35e
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x41102c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40a388
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40a442
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x40a3f7
cmp ax, di
je 0x40a39e
cmp dword [ebp - 0x20], edi
jne 0x40a3f7
mov ax, word [esi]
cmp ax, di
je 0x40a3b3
cmp ax, 0x20
ja 0x40a3b3
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x40a39e
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x40a3cf
movzx eax, word [ebp - 0x54]
jmp 0x40a3d2
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0040a8b2
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x40a3ef
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x40a43c
cmp ax, 0x22
jne 0x40a408
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x40a388
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040a67b
ret
Function at 0x154e4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xef1000]
push edi
or ebp, 0xffffffff
jmp 0x154e4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x154e4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154e4c8
mov eax, 1
add ebx, ebx
jne 0x154e4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x154e4fc
jne 0x154e51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154e51b
dec eax
add ebx, ebx
jne 0x154e508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x154e4e0
add ebx, ebx
jne 0x154e517
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x154e56d
xor ecx, ecx
sub eax, 3
jb 0x154e533
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x154e5a2
sar eax, 1
mov ebp, eax
jmp 0x154e53e
add ebx, ebx
jne 0x154e53e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154e50c
inc ecx
add ebx, ebx
jne 0x154e54c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154e50c
add ebx, ebx
jne 0x154e559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x154e54e
jne 0x154e56a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x154e54e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x154e58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x154e57e
jmp 0x154e4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x154e58c
add edi, ecx
jmp 0x154e4ce
pop esi
mov edi, esi
mov ecx, 0x3acab2
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x154e5c7
cmp byte [edi], 0x82
jne 0x154e5ac
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 0x154e5aa
lea edi, [esi + 0x114a000]
mov eax, dword [edi]
or eax, eax
je 0x154e60f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1155688]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11557dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x154e5cd
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11557e0]
or eax, eax
je 0x154e609
mov dword [ebx], eax
add ebx, 4
jmp 0x154e5ea
call dword [esi + 0x11557f0]
mov ebp, dword [esi + 0x11557e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x154e643
sub esp, 0xffffff80
jmp 0x817888
Function at 0x4642e5
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffffcad1, 0x6e
add dword [edi - 0x5c702d7f], 0xfffffffe
invalid
sub ecx, eax
xlatb
mov edi, 0x48f1a988
js 0x46427a
rcl edi, 0xbf
mov byte [ecx - 0x7487b70f], ch
jl 0x464360
mov eax, esi
jb 0x4642e6
out dx, eax
xchg ebp, eax
xor edx, dword [ebx]
jne 0x464347
dec edx
cmp dl, byte [eax + edi*4 + 0x5b]
ljmp 0x4fd0
xchg edi, eax
xchg dword [edi - 0x19359bca], edx
ficomp dword [ebx - 0x474e77d9]
add esi, edx
sub dword [ebp - 0x69084cba], ebx
add dword [ecx], edi
cmp al, 0xcf
and esi, edi
invalid
invalid
iretd
Function at 0x582d95
Capabilities:
Encode data using xor

Disassembly:
cmp dword [edi], edx
test eax, 0x59c7597f
pop edi
inc ecx
pop edx
fdivr dword [edx - 0x27a4e49]
lcall 0xdaae, 0x3463474b
mov dword [0xe6694c9], eax
cmp cl, byte [edi - 0x11]
jnp 0x582e30
cmc
imul ecx, dword [ecx - 0x6369935c], 0x9eff63fd
insb byte es:[edi], dx
xchg esp, eax
adc ebx, dword fs:[ebp - 0xc83bb8c]
fld qword [edi + eax*8]
fstp st(3)
jg 0x582e0c
or eax, 0xd15e56cc
mov bl, byte [edi - 0x943912c]
or ebp, esp
fucompi st(3)
fsubr qword [ebx]
mov edi, 0x95dfdd1b
sub eax, 0x81bd41f
out dx, eax
lodsd eax, dword [esi]
sub esp, dword [ecx + 0x4a]
Function at 0x658e5c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6634a0
cmp edx, dword [eax]
je 0x658e7e
add eax, 8
inc ecx
cmp eax, 0x663530
jl 0x658e6f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6634a0]
jne 0x658fac
mov eax, dword [0xa66d10]
cmp eax, 1
je 0x658f86
test eax, eax
jne 0x658eaf
cmp dword [0x6612e4], 1
je 0x658f86
cmp edx, 0xfc
je 0x658fac
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658ee6
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00659fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a0b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x658f29
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a0b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dc0c
push edi
call fcn.0065aa70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00659fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00659fd0
lea eax, [ebp - 0xa0]
push 0x65dbec
push eax
call fcn.00659fd0
push dword [esi + 0x6634a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00659fd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a9e2
add esp, 0x2c
pop edi
jmp 0x658fac
lea eax, [ebp + 8]
lea esi, [esi + 0x6634a4]
push 0
push eax
push dword [esi]
call fcn.0065a0b0
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 0x40132e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x401349
call fcn.004013b9
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [0x43ec32]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x401375
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40139f
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x4013b3
mov esp, ebp
pop ebp
ret 8

Function at 0x402e38
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x402e78
push 6
call fcn.0042057b
add esp, 4
jmp 0x402e7d
mov esp, ebp
pop ebp
ret 0x14