joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4145bb
Capabilities:
Set registry value

Disassembly:
push 0x50
mov eax, 0x436da0
call fcn.00424754
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push 4
call fcn.00404e2d
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4145eb
push eax
call fcn.00412252
jmp 0x4145ed
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x451378], eax
push dword [eax]
call fcn.004049f1
pop ecx
mov dword [ebp - 4], ebx
jmp 0x41460f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea esi, [ebp + 8]
call fcn.0040a753
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdvanced_System_Repair_Pro
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.NotifUpdate
call fcn.0040835d
mov byte [ebp - 4], 4
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.0041d08b
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.FirstScanDone
call fcn.0040835d
mov byte [ebp - 4], 5
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.0041d08b
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.LastDriverFix
call fcn.0040835d
mov byte [ebp - 4], 6
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.0041d08b
mov byte [ebp - 4], 7
cmp byte [ebp + 0xc], bl
je 0x414738
lea eax, [ebp - 0x5c]
push eax
call fcn.00412396
mov byte [ebp - 4], 8
push 0x27
lea eax, [ebp - 0x14]
push eax
call fcn.0040f729
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
call fcn.00412396
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push eax
call fcn.00412396
mov byte [ebp - 4], 0xb
mov esi, dword [esi]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
je 0x414705
push eax
push esi
call fcn.004135af
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push eax
call fcn.004127c1
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
call fcn.004127c1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.00405d74
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5c]
push eax
call fcn.004127c1
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405d74
call fcn.004247f9
ret

Function at 0x4157b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44cd60]
jne 0x4157c3
repz ret
jmp fcn.00427870
Function at 0x417c63
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x4353c8
call fcn.00424721
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
lea esi, [ebp + 0xc]
call fcn.0040a753
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417cb6
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405d74
call fcn.004247f9
ret

Function at 0x417e50
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x434c74
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x44cd60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.00404e2d
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x417ea9
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x417eab
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x417ef6
mov eax, dword [edi]
push esi
push eax
call fcn.00422fa5
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x417ef3
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00422bc0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.0041d62b
mov esi, dword [ebp]
test eax, eax
jne 0x417f76
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x417f92
mov eax, dword [esi]
push edi
push eax
call fcn.00422fa5
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x417f5e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00422bc0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x417f92
mov eax, dword [esi]
push 0
push eax
call fcn.00422fa5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x4181da
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x43678a
call fcn.00424721
lea eax, [ebp - 0x10]
push eax
call fcn.0040835d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea esi, [ebp - 0x10]
call fcn.0040a753
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push 1
push str.InstallDir
mov ebx, str.SoftwareAdvancedSystemRepairPro
push ebx
push SysReAllocString
call edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
call fcn.0040a753
push eax
push 1
push str.InstallDir
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00405d74
call fcn.004247f9
ret

Function at 0x4199c0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 4
mov eax, 0x434bd3
call fcn.00424721
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, ebx
call fcn.00406844
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov dword [ebp - 0x10], 1
je 0x419a7d
mov esi, dword [ebx]
call fcn.00413211
test al, al
je 0x419a7d
mov eax, dword [ebx]
push edi
push dword [ebp + 0x10]
push dword [eax]
call fcn.00422c40
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], edi
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x419a3a
mov edi, dword [ebp + 0x10]
jmp 0x419a76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x419a74
mov edi, dword [ebp + 0x10]
mov esi, dword [ebx]
call fcn.00413211
test al, al
je 0x419a74
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x419a7d
xor edi, edi
mov esi, dword [ebx]
call fcn.00413211
mov eax, ebx
call fcn.004247f9
ret 0xc
Function at 0x419e4c
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436e68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x44cd60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [esp + 0x10], esi
cmp dword [ebp + 0xc], esi
je 0x419e8b
mov ecx, dword [ebp + 0xc]
jmp 0x419ea0
lea eax, [esp + 0x18]
push eax
call fcn.00401567
pop ecx
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push eax
call fcn.0040835d
mov dword [esp + 0x30], 2
test byte [esp + 0x10], bl
je 0x419ec6
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x18]
call fcn.00405d74
cmp byte [ebp + 8], 0
je 0x419f71
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.0040630e
pop ecx
pop ecx
test al, al
jne 0x419f7c
lea eax, [esp + 0x20]
push eax
mov ecx, 0x440f74
call fcn.0040835d
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.0040b71e
mov byte [esp + 0x38], 4
lea ecx, [esp + 0x20]
push str.___minimize
push ecx
mov esi, eax
call fcn.00412a86
add esp, 0x10
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x1c]
call fcn.00405d74
mov byte [esp + 0x30], 7
lea ecx, [esp + 0x20]
call fcn.00405d74
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push ebx
push 0x440b84
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x18]
call fcn.00405d74
jmp 0x419f9e
push dword [ebp + 0xc]
push esi
call fcn.0040630e
pop ecx
pop ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov edi, 0x440b84
push edi
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push esi
push SysReAllocString
call ebx
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405d74
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a48a
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x435137
call fcn.00424721
mov dword [ebp - 4], 1
xor ebx, ebx
xor eax, eax
cmp byte [ebp + 0x14], bl
push ebx
sete al
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov dword [ebp - 0x10], ebx
dec eax
and eax, 0x100
inc eax
inc eax
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x41a4ec
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00405d74
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405d74
call fcn.004247f9
ret
Function at 0x41c950
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
test ebx, ebx
jb 0x41c9c6
ja 0x41c969
cmp esi, dword [esp + 0x20]
jae 0x41c9ca
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, ebx
sbb eax, ebp
test eax, eax
ja 0x41c985
jb 0x41c981
cmp ecx, 0x10000
jae 0x41c985
mov edi, ecx
jmp 0x41c98a
mov edi, 0x10000
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esi + ecx]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c9c6
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x41c9c6
add esi, eax
adc ebp, 0
cmp ebp, ebx
jb 0x41c969
ja 0x41c9c6
cmp esi, dword [esp + 0x20]
jb 0x41c969
cmp esi, dword [esp + 0x20]
jne 0x41c9e7
cmp ebp, ebx
jne 0x41c9e7
or esi, ebp
je 0x41c9df
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x41fb28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x41fbb7
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00422c40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41fb77
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41fb99
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x41fc75
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x41fbdf
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x41fbea
xor eax, eax
jmp 0x41fc36
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x41fc07
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00420478
jmp 0x41fc17
cmp ecx, 2
jne 0x41fc20
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00421daa
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.00422c40
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41fc61
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x41fc75
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x41fb35
pop edi
pop ebx
leave
ret
Function at 0x422184
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x44cd60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42221c
push 0x43dd54
push 4
push eax
call fcn.00423804
push eax
call fcn.0041aadf
add esp, 0x10
push ebx
push edi
call fcn.004248ac
mov edi, dword [eax]
call fcn.004248ac
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00424849
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004248ac
cmp dword [eax], ebx
je 0x422233
call fcn.004248ac
push dword [eax]
call fcn.004196b0
pop ecx
jmp 0x42223a
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4221c7
jmp 0x4222c1
call fcn.004248ac
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4222bd
cmp dword [ebp - 0x234], esi
jae 0x4222bd
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00422bc0
add esp, 0xc
push 0x43d964
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4222ac
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4222ac
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4222ac
push ebx
push ebx
push esi
jmp 0x4222b5
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4222bf
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004157b9
leave
ret
Function at 0x42f122
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004271d4
and dword [ebp - 4], 0
cmp dword [0x450fe0], 0
mov ebx, eax
jne 0x42f1d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42f284
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42f284
push eax
call fcn.00427162
mov dword [esp], 0x43f34c
push edi
mov dword [0x450fe0], eax
call esi
push eax
call fcn.00427162
mov dword [esp], 0x43f338
push edi
mov dword [0x450fe4], eax
call esi
push eax
call fcn.00427162
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x450fe8], eax
call esi
push eax
call fcn.00427162
pop ecx
mov dword [0x450ff0], eax
test eax, eax
je 0x42f1d3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427162
pop ecx
mov dword [0x450fec], eax
mov eax, dword [0x450fec]
cmp eax, ebx
je 0x42f22b
cmp dword [0x450ff0], ebx
je 0x42f22b
push eax
call fcn.004271dd
push dword [0x450ff0]
mov esi, eax
call fcn.004271dd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42f22b
test edi, edi
je 0x42f22b
call esi
test eax, eax
je 0x42f222
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42f222
test byte [ebp - 0xc], 1
jne 0x42f22b
or dword [ebp + 0x10], 0x200000
jmp 0x42f264
mov eax, dword [0x450fe4]
cmp eax, ebx
je 0x42f264
push eax
call fcn.004271dd
pop ecx
test eax, eax
je 0x42f264
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42f264
mov eax, dword [0x450fe8]
cmp eax, ebx
je 0x42f264
push eax
call fcn.004271dd
pop ecx
test eax, eax
je 0x42f264
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450fe0]
call fcn.004271dd
pop ecx
test eax, eax
je 0x42f284
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42f286
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x672467cb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7f9d25b6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
add byte [eax], 0
add bh, al
inc ebp
inc byte [eax]
add byte [eax], al
add byte [ebp - 0x301781ab], cl
add eax, 0xc3890000
push edx
mov edx, ebx
or dl, 0x40
push edx
mov edx, 0x401e9a
sub edx, fcn.00401665
push edx
xor eax, eax
push fcn.00401665
mov dword [ebp + 0x7e], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401058
mov eax, ebx

Function at 0x4015eb
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x324, 0
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
push 0
call dword [sym.imp.OLE32.DLL_CoCreateGuid]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x324]
push eax
movzx ebx, word [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
lea eax, [ebx - 0x41]
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x408c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x407e18], 0x1d9232
je 0x408d60
jmp 0x408c1c
xor ebx, 0xfa25ed61
xor edx, 0xfb9bde2a
xor edx, 0xfa599e2c
mov ebx, 0xfe935905
mov ebx, 0xf7b9a947
call fcn.00408c93
mov ebx, 0xfc113b91
mov ebx, 0xf80f43f0
mov edx, 0xfbd25e81
xor edx, 0xfef1835a
cmp eax, 0x18334ada
jne 0x402273
jmp 0x408cc3
mov edx, 0xfb014e29
mov dword [0x407e18], 0x1d9232
mov ebx, 0xfebd7897
jmp 0x408cdc
call fcn.00408d2e
jmp 0x408d60
invalid
mov edx, 0xfb729060
pushal
nop
jb 0x408d5b
xor dword [edi + 0x47], esi
jns 0x408d0e
and dword [eax + 0x71], ebx
mov dh, 0x26
adc esi, dword [edi]
pushfd
push 0x1c
push ecx
xchg edi, eax
push 0x56
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x132fa27d], bl
aaa
mov cs, word [edx + 0x56]
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x332fa27d], bl
dec eax
test al, 0x25
push esp
push 0xffffffffffffffbb
daa
adc edx, dword [ebp - 0x45]
and al, 0x52
jg 0x408d5c
cmp byte [ebx], dh
xchg ecx, eax
scasd eax, dword es:[edi]
mov dh, 0xf4
sbb eax, 0x187363fa
fimul dword [edx + 0x33]
sbb byte [ebx + 0x27], dl
retf

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4b630693
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xffa0c98
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403390
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4a81c4]
movsd xmm0, qword [0x4a81f0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movsd qword [0x4a81f0], xmm0
inc dword [0x4a81c4]
push dword [0x4a9320]
call fcn.00425c00
movsx eax, word [0x4a8358]
add esp, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 1
movss dword [0x4a845c], xmm0
call fcn.00452759
int3