joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
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 + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
out 0x91, eax
xchg esi, eax
in al, dx
mov bh, 0xc8
and ch, byte [ebx - 0x4e]
sbb dword [ebx], ebx
cli
jo 0x414b28
jae 0x414b10
inc esp
invalid
dec ebp
out 0x8c, eax
aad 0xb2
sbb byte [ebx + 0x2a], dh
dec ebp
out 0x8c, eax
aad 0xb2
sbb byte [ebx + 0x2a], dh
mov dl, 0x18
jae 0x414b4e
mov dl, 0x18
jae 0x414b52
mov dl, 0x18
invalid
xor ebp, dword [edx]
xor ebx, edi
jb 0x414b7e
mov dl, 0x18
les ebx, [ebx + 0x6e]
jnp 0x414b24
xor esi, esi
jb 0x414b8a
mov dl, 0x18
leave
or bh, cl
pop ecx
jae 0x414b13
pop ebp
mov edx, 0x19961ebf
mov edx, es
cdq
sbb byte [ebx + 0x2a], dh
or dword [edx], esi
push ds
int1
ja 0x414bbb
pop edx
fdivr qword [ecx]
or al, 0x57
push edi
test eax, 0xedf21c76
xor ch, byte [eax]
inc esp
push 0x5a
or dh, byte [ebx + 0x2a]
jae 0x414bb6
mov dl, 0x19
lea esp, [ebx]
inc ebp
sbb dword [ebx - 0x1753ce07], ecx
mov esi, 0xbbdc5a18
out dx, eax
cmp byte [ebx], bl
mov bl, 0xa6
invalid
dec edx
sti
invalid
lds esi, [ebx + 0x332a7318]
invalid
Function at 0x401a82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e14c]
jne 0x401a8c
repz ret
jmp fcn.0040252b

Function at 0x40b0be
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e14c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404144
and dword [ebp - 0x14], 0
cmp dword [0x440bf8], 0
mov dword [ebp - 0x18], eax
jne 0x40b171
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b219
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b219
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x440bf8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x440bfc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x440c00], eax
call edi
push eax
call esi
mov dword [0x440c08], eax
test eax, eax
je 0x40b171
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x440c04], eax
mov eax, dword [0x440c04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b1ca
cmp dword [0x440c08], ecx
je 0x40b1ca
push eax
call esi
push dword [0x440c08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b1ca
test ebx, ebx
je 0x40b1ca
call edi
test eax, eax
je 0x40b1c1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b1c1
test byte [ebp - 8], 1
jne 0x40b1ca
or dword [ebp + 0x10], 0x200000
jmp 0x40b1fd
mov eax, dword [0x440bfc]
cmp eax, dword [ebp - 0x18]
je 0x40b1fd
push eax
call esi
test eax, eax
je 0x40b1fd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b1fd
mov eax, dword [0x440c00]
cmp eax, dword [ebp - 0x18]
je 0x40b1fd
push eax
call esi
test eax, eax
je 0x40b1fd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x440bf8]
call esi
test eax, eax
je 0x40b219
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b21b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a82
leave
ret
Function at 0x42fba0
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x42fc2e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x42fbec
push 0
push str.vepamanal_tulesizoxe_yabadodopa_zokorubonoxesiticohub_foyidufumobowebacaxosububonobo
call edi
push str.wuviyakox
push str.yekukefocudovizene
push str.kaluravujokiziduyux
push str.vixuboxituja
call ebx
push 0
call ebp
call fcn.0042faf0
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x42fc24
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.tigegisipawupesavumefozoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x42fbc2
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x42fc4a
mov dword [0x441cf0], 0xa62e7790
mov dword [0x441cf4], 0xffffffff
ret
Function at 0x430010
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x441ce4]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x44194c], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x43005a
push 0
push str.lujawidolo
call esi
push str.rusokuj
push 0
push 0
call edi
mov eax, dword [0x441ce4]
dec ebp
jne 0x430030
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x430082
push 0
push 0
call edi
mov eax, dword [0x441ce4]
cmp esi, 0x846373
jne 0x430099
mov eax, dword [0x43fad0]
add eax, 0xa231
mov dword [0x441ce4], eax
cmp eax, 0x141
jne 0x4300b0
mov dword [0x441138], ebp
mov dword [0x44113c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x430070
call fcn.0042fc90
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x401140
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREUltraEdit_abc
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4011a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 4]
push str.RegOpenKeyEx_error__GetLastError___d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0xc]
add esp, 0xc
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
add esp, 8
ret
mov eax, dword [esp + 4]
push str.aaaa
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 4]
test eax, eax
push ecx
je 0x4011f9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 4]
push str.RegDeleteValue_error__GetLastError___d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0xc]
add esp, 0xc
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
add esp, 8
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp]
push str.HKEY_LOCAL_MACHINESOFTWAREUltraEdit_abc_aaaa_deleted__
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 8]
add esp, 8
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
mov eax, 0x63
add esp, 8
ret

Function at 0x401330
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x40cfe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push edi
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::operator_2
mov ecx, 7
xor eax, eax
lea edi, [esp + 4]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], 3
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 4]
mov dword [esp + 0xc], eax
push ecx
mov word [esp + 0x18], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
pop edi
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
je 0x4013c9
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4013f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x7942fc99
xor ecx, ebp
loop 0x4013f8
pop ebp
ret
Function at 0x406430
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x406450
pop edi
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x2c]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x406476
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4064ba
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
cmp eax, 1
jne 0x4064d4
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
call sub.MFC42.DLL_CString::CString
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret
Function at 0x4064f0
Capabilities:
Query service status
Start service
Stop service

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x406652
mov eax, dword [esp + 0x3c]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40653c
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [sym.imp.ADVAPI32.dll_ControlService]
lea ecx, [esp + 0x18]
push ecx
push 4
push esi
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [esp + 0x18]
push edx
push esi
call ebp
test eax, eax
jne 0x40656d
push ebx
jmp 0x40663e
mov eax, dword [esp + 0x38]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x406593
cmp eax, 1
jne 0x406598
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4065a9
push ebx
jmp 0x40663e
cmp eax, 1
jne 0x4065e8
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
push esi
call edi
jmp 0x40666c
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x3c], 0
push 0x3e8
call ebp
lea eax, [esp + 0x18]
push eax
push 4
push esi
call edi
test eax, eax
je 0x4065d7
cmp dword [esp + 0x1c], 4
je 0x406660
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x3c], eax
jl 0x4065b7
push ebx
jmp 0x40663e
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
call edi
test eax, eax
jne 0x4065f9
push ebx
jmp 0x40663e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x3c], 0
push 0x3e8
call ebx
lea edx, [esp + 0x18]
push edx
push 4
push esi
call edi
lea eax, [esp + 0x18]
push eax
push esi
call ebp
test eax, eax
je 0x40662b
cmp dword [esp + 0x1c], 1
je 0x40665c
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x3c], eax
jl 0x406607
mov ecx, dword [esp + 0x14]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
Function at 0x407d90
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
cmp eax, 5
jae 0x407dce
cmp ecx, 1
jne 0x407dce
mov dword [esi + 0x150], ecx
mov eax, ecx
pop esi
add esp, 0x94
ret
cmp eax, 5
jne 0x407e33
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x407df0
cmp ecx, 2
jne 0x407e33
mov dword [esi + 0x150], ecx
mov eax, ecx
pop esi
add esp, 0x94
ret
cmp eax, 1
jne 0x407e12
cmp ecx, 2
jne 0x407e33
mov dword [esi + 0x150], 3
mov eax, dword [esi + 0x150]
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x407e33
cmp ecx, eax
jne 0x407e33
mov dword [esi + 0x150], 4
mov eax, dword [esi + 0x150]
pop esi
add esp, 0x94
ret
mov dword [esi + 0x150], 0
mov eax, dword [esi + 0x150]
pop esi
add esp, 0x94
ret
Function at 0x407ee0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x40d42c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x1c], esi
call fcn.0040cc2e
xor edi, edi
mov ebx, 0x40ea14
mov ebp, 0xa
mov dword [esp + 0x2c], edi
mov dword [esi + 0x68], ebx
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], ebp
lea ecx, [esi + 0x8c]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x90]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x94]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString_2
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], ebp
lea ebx, [esi + 0xe0]
mov byte [esp + 0x2c], 5
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x2c], 6
mov dword [esi], 0x40e93c
call fcn.004086d0
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x411200
lea ecx, [esp + 0x14]
push 0x427924
push ecx
mov dword [esi + 0x84], eax
call sub.MFC42.DLL_operator_1
push 0x30
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, edi
mov byte [esp + 0x2c], 8
je 0x40803e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Temp
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 9
call fcn.0040c9c4
mov ecx, ebp
mov byte [esp + 0x34], 8
call fcn.0040aef0
jmp 0x408040
xor eax, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 7
mov dword [esi + 0x60], eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x88]
mov byte [esp + 0x2c], 0xa
cmp eax, 1
jne 0x408085
push str.windir
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
lea ecx, [esp + 0x34]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x34]
push eax
push 0x411e70
jmp 0x4080a7
push str.SystemRoot
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
lea ecx, [esp + 0x34]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x34]
push ecx
push str._s_system32
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, ebx
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4086d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
cmp eax, 5
jae 0x408706
cmp ecx, 1
jne 0x408706
mov dword [esi + 0x88], ecx
jmp 0x408755
cmp eax, 5
jne 0x40874b
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x408720
cmp ecx, 2
jne 0x40874b
mov dword [esi + 0x88], ecx
jmp 0x408755
cmp eax, 1
jne 0x408736
cmp ecx, 2
jne 0x40874b
mov dword [esi + 0x88], 3
jmp 0x408755
cmp eax, 2
jne 0x40874b
cmp ecx, eax
jne 0x40874b
mov dword [esi + 0x88], 4
jmp 0x408755
mov dword [esi + 0x88], 0
mov ecx, esi
call fcn.00409a20
mov eax, dword [esi + 0x88]
pop esi
add esp, 0x94
ret
Function at 0x40aef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40da54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [esp + 0x20], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 8]
mov byte [esp + 0x20], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 3
call fcn.0040c9e8
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
mov byte [esp + 0x24], 5
mov dword [esi], 0x40ec4c
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi]
mov eax, dword [ebp]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_s.log
push ecx
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040c9c4
mov ecx, esi
call fcn.0040b090
test eax, eax
jne 0x40afcb
push eax
push eax
push 0x412228
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 8

Function at 0x40be60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, 8
mov eax, edi
sub ecx, edi
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x40be74
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
call fcn.0040bdc0
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x40c000
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
push eax
push esi
push ecx
call fcn.0040bdc0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, esi
sub ecx, esi
mov esi, 8
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x40c026
pop esi
pop ebx
ret
Function at 0x40c7b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
test eax, eax
jne 0x40c7c5
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40c817
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 0x1f0fff
call edi
test eax, eax
je 0x40c817
mov ecx, dword [esi]
push ecx
push 0
push 0x1f0fff
call edi
mov esi, eax
test esi, esi
jne 0x40c7f0
pop edi
pop esi
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
jne 0x40c809
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x24070c9a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xc713f37
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219