joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x71c
lea eax, [esp + 0x514]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401067
lea ecx, [esp + 0x208]
push 0
lea edx, [esp + 0x310]
push ecx
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x520]
push eax
push ecx
call fcn.004020ef
push 0
lea edx, [esp + 0x324]
push 0
lea eax, [esp + 0x120]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0040205e
add esp, 0x28
lea edx, [esp + 0x208]
push str.sIsUninst
push edx
call fcn.00401ef0
add esp, 8
test eax, eax
jne 0x4010a3
mov eax, dword [esp + 0x72c]
mov ecx, dword [esp + 0x728]
push eax
push ecx
call fcn.00401a00
add esp, 8
xor eax, eax
add esp, 0x71c
ret 0x10
push ebx
push esi
push edi
lea edx, [esp + 0x41c]
push 0x104
push edx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea eax, [esp + 0x420]
push str._INS576._MP
push eax
lea ecx, [esp + 0x630]
push 0
push ecx
call fcn.0040205e
mov edx, dword [esp + 0x74c]
mov eax, dword [esp + 0x748]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00401d20
lea edx, [esp + 0x2c]
xor esi, esi
push edx
call fcn.00401b90
add esp, 0x24
test eax, eax
je 0x401148
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x624]
push eax
call edi
cmp eax, 0xffffffff
jne 0x40112a
test esi, esi
jne 0x401148
jmp 0x401133
test esi, esi
jne 0x401133
mov esi, 1
push 0x64
call ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.00401b90
add esp, 4
test eax, eax
jne 0x401115
lea edx, [esp + 0xc]
push edx
call fcn.00401b90
call fcn.00401d80
push 0
push str.dying...
call fcn.00401ec0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x71c
ret 0x10

Function at 0x401180
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push ebp
mov dword [esp + 4], eax
push esi
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], eax
rep stosd dword es:[edi], eax
mov cx, word [esp + 0x68]
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
xor ebp, ebp
push edx
push eax
push ebp
push ebp
push ebp
mov word [esp + 0x60], cx
mov ecx, dword [esp + 0x78]
push 1
push ebp
push ebp
push ecx
push ebp
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40123b
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x401216
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x68], 0x103
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x68]
push edx
push eax
call esi
push 0x64
call edi
cmp dword [esp + 0x68], 0x103
je 0x4011fc
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401227
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401232
push eax
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x54
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
add esp, 0x54
ret
Function at 0x4015e0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea edi, [edx - 2]
xor eax, eax
xor ecx, ecx
xor esi, esi
cmp edi, 0x17
mov byte [ebp], 0
ja case.0x401606.8
xor edx, edx
mov dl, byte [edi + 0x4016f4]
jmp dword [edx*4 + 0x4016d8]
mov eax, 0x80000002
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Common_Start_Menu
jmp case.0x401606.8
mov eax, 0x80000002
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Common_Desktop
jmp case.0x401606.8
mov eax, 0x80000002
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Common_Programs
jmp case.0x401606.8
mov eax, 0x80000001
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Desktop
jmp case.0x401606.8
mov eax, 0x80000001
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Programs
jmp case.0x401606.8
mov eax, 0x80000001
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov esi, str.Start_Menu
lea edx, [esp + 0x18]
xor edi, edi
push edx
push 0x20019
push edi
push ecx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4016ce
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ebp
push ecx
push edi
push esi
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4016c3
mov edi, 1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 0x10

Function at 0x401750
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x30c
lea ecx, [esp + 0x104]
push 0
push eax
push ecx
push 0
call sym.setup.exe__SHGetSpecialFolderPathA_16
test eax, eax
je 0x4017b7
push 0
lea edx, [esp + 0x108]
push str.SupportNow_2.5
push edx
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0040205e
push 0
lea ecx, [esp + 0x18]
push str.SupportNow_2.5.lnk
push ecx
lea edx, [esp + 0x228]
push 0
push edx
call fcn.0040205e
add esp, 0x28
lea eax, [esp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x30c
ret
Function at 0x4017f0
Capabilities:
Copy file
Get common file path
Get installed programs
Persist via lnk shortcut
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xb38
mov dl, byte [0x409930]
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
mov byte [esp + 0x21c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x11c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x21c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor esi, esi
lea edx, [esp + 0x21c]
push esi
push str.sIsUninst.exe
push edx
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0040205e
add esp, 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4019eb
lea eax, [esp + 0x14]
push eax
push str.Uninstall.lnk
push str.SupportNow_2.5
push 2
call fcn.00401270
add esp, 0x10
lea ecx, [esp + 8]
mov dword [esp + 8], esi
push ecx
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSupportNow
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4019ed
mov dl, byte [0x409930]
mov ecx, 0x103
lea edi, [esp + 0x321]
mov byte [esp + 0x320], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x731]
mov byte [esp + 0x730], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0xc]
lea eax, [esp + 0x320]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
push str.UninstallString
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4019e0
mov al, byte [esp + 0x320]
push ebx
test al, al
lea esi, [esp + 0x324]
lea ebx, [esp + 0x734]
je 0x4019b5
cmp byte [esi], 0x5c
jne 0x4019a8
mov edi, 0x4071e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4071e8
push esi
call fcn.0040226f
add esp, 0xc
test eax, eax
jne 0x4019a8
mov al, byte [esi]
inc esi
mov byte [ebx], al
inc ebx
mov byte [ebx], 0x73
inc ebx
mov cl, byte [esi]
mov al, byte [esi + 1]
inc esi
mov byte [ebx], cl
inc ebx
test al, al
jne 0x401977
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edx
lea eax, [esp + 0x734]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0
push str.UninstallString
push edx
mov byte [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
pop ebx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0xb38
ret
Function at 0x401a00
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa28
mov dl, byte [0x409930]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push 0x104
push eax
call fcn.00401250
add esp, 8
test eax, eax
jne 0x401af5
mov dl, byte [0x409930]
mov ecx, 0x40
lea edi, [esp + 0x20d]
mov byte [esp + 0x20c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x311]
mov byte [esp + 0x310], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x314]
stosb byte es:[edi], al
push 0
lea edx, [esp + 0x214]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004020ef
push 0
lea ecx, [esp + 0x328]
push 0
lea edx, [esp + 0x228]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0040205e
push 0
lea ecx, [esp + 0x30]
push str.VISIT.EXE
push ecx
lea edx, [esp + 0x13c]
push 0
push edx
call fcn.0040205e
add esp, 0x3c
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov cl, byte [0x409930]
xor eax, eax
mov byte [esp + 0x61c], cl
mov ecx, 0x103
lea edi, [esp + 0x61d]
lea edx, [esp + 0x414]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea eax, [esp + 0x418]
push str.IsUninst.exe
push eax
lea ecx, [esp + 0x524]
push 0
push ecx
call fcn.0040205e
mov edx, dword [esp + 0xa44]
add esp, 0x14
lea eax, [esp + 0x518]
lea ecx, [esp + 0x61c]
push edx
push eax
push str.__s___s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0xa44]
push 0
lea eax, [esp + 0x630]
push edx
push eax
call fcn.00401180
add esp, 0x1c
pop edi
add esp, 0xa28
ret
Function at 0x401b90
Capabilities:
Copy file

Disassembly:
sub esp, 0x514
mov dl, byte [0x409930]
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x419]
mov byte [esp + 0x418], dl
mov byte [esp + 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x524]
push str.disk1VISIT.EXE
push eax
lea ecx, [esp + 0x424]
push 0
push ecx
call fcn.0040205e
mov dl, byte [0x409930]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], dl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
call fcn.00401250
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x401d12
mov dl, byte [0x409930]
mov ecx, 0x40
lea edi, [esp + 0x315]
mov byte [esp + 0x314], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x211]
mov byte [esp + 0x210], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea ecx, [esp + 0x214]
stosb byte es:[edi], al
push esi
lea edx, [esp + 0x31c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004020ef
push esi
lea ecx, [esp + 0x228]
push esi
lea edx, [esp + 0x330]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0040205e
push esi
lea ecx, [esp + 0x34]
push str.VISIT.EXE
push ecx
lea edx, [esp + 0x140]
push esi
push edx
call fcn.0040205e
add esp, 0x3c
lea eax, [esp + 0x10c]
lea ecx, [esp + 0x418]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x401cfc
call fcn.004017f0
test eax, eax
jl 0x401d14
lea edx, [esp + 0x10c]
push edx
call fcn.00401710
mov esi, eax
add esp, 4
test esi, esi
jl 0x401d12
call fcn.004017c0
mov eax, esi
pop edi
pop esi
add esp, 0x514
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.CopyFile
call fcn.00401ec0
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x514
ret
Function at 0x401d80
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
sub esp, 0x208
mov al, byte [0x409930]
push edi
mov byte [esp + 0x108], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x108]
push 0x104
push ecx
stosb byte es:[edi], al
call fcn.00401250
add esp, 8
test eax, eax
jne 0x401eab
mov dl, byte [0x409930]
mov ecx, 0x40
lea edi, [esp + 5]
mov byte [esp + 4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push 0x104
lea ecx, [esp + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401eab
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.SupportNow_Document
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push eax
push str.SupportNow_Document
push 1
push str.SOFTWAREClassesCLSIDD4AE369C_810D_11D1_A357_00C0F01C2AA1
push 0x80000002
call edi
push str.ole32.dll
call esi
push eax
push str.ole32.dll
push 1
push str.SOFTWAREClassesCLSIDD4AE369C_810D_11D1_A357_00C0F01C2AA1InprocHandler32
push 0x80000002
call edi
lea edx, [esp + 8]
push edx
call esi
push eax
lea eax, [esp + 0xc]
push eax
push 1
push str.SOFTWAREClassesCLSIDD4AE369C_810D_11D1_A357_00C0F01C2AA1LocalServer32
push 0x80000002
call edi
push str.SupportNow.Document
call esi
push eax
push str.SupportNow.Document
push 1
push str.SOFTWAREClassesCLSIDD4AE369C_810D_11D1_A357_00C0F01C2AA1ProgID
push 0x80000002
call edi
push str.SupportNow_Document
call esi
push eax
push str.SupportNow_Document
push 1
push str.SOFTWAREClassesSupportNow.Document
push 0x80000002
call edi
push str.D4AE369C_810D_11D1_A357_00C0F01C2AA1
call esi
push eax
push str.D4AE369C_810D_11D1_A357_00C0F01C2AA1
push 1
push str.SOFTWAREClassesSupportNow.DocumentCLSID
push 0x80000002
call edi
pop esi
pop edi
add esp, 0x208
ret
Function at 0x4b5d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x73000]
push edi
jmp 0x4b5d7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b5d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5d70
mov eax, 1
add ebx, ebx
jne 0x4b5d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b5da4
jne 0x4b5dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5dc3
dec eax
add ebx, ebx
jne 0x4b5db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b5d88
add ebx, ebx
jne 0x4b5dbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b5e15
xor ecx, ecx
sub eax, 3
jb 0x4b5ddb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b5e4a
sar eax, 1
mov ebp, eax
jmp 0x4b5de6
add ebx, ebx
jne 0x4b5de6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5db4
inc ecx
add ebx, ebx
jne 0x4b5df4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5db4
add ebx, ebx
jne 0x4b5e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b5df6
jne 0x4b5e12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b5df6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b5e34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b5e26
jmp 0x4b5d76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b5e34
add edi, ecx
jmp 0x4b5d76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b5e52
cmp byte [edi], 0x13
jne 0x4b5e52
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 0x4b5e57
lea edi, [esi + 0xb1000]
mov eax, dword [edi]
or eax, eax
je 0x4b5ecf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xba16c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xba2c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b5e84
mov ecx, edi
jns 0x4b5eb3
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 + 0xba2c4]
or eax, eax
je 0x4b5ec9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b5ea1
call dword [esi + 0xba2d4]
mov ebp, dword [esi + 0xba2c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b5f03
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4061bd
pop dword [ebp - 0x1c]
mov eax, 0x74607235
add eax, 0x8bdfef88
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa2b1780e
add dword [ebp - 0x2c], 0xaba0cd3d
mov dword [ebp - 0x28], 0x7084890f
add dword [ebp - 0x28], 0xc1aec336
mov dword [ebp - 0x24], 0x6d7227d1
sub dword [ebp - 0x24], 0x2125e3a3
mov dword [ebp - 0x20], 0xb5430ba2
add dword [ebp - 0x20], 0x4abcf45e
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xf90de8f6
sub eax, 0xf8cd77b2
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x6b72410
sub dword [ebp - 0x2c], 0x9244baba
mov dword [ebp - 0x28], 0x37b1a599
sub dword [ebp - 0x28], 0xf6454424
mov dword [ebp - 0x24], 0xaf73c849
sub dword [ebp - 0x24], 0x4c045bdd
mov dword [ebp - 0x20], 0x896b3eb6
add dword [ebp - 0x20], 0x7694c14a
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x1b642e02
add eax, 0xe4dc430e
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3de79
push 0
call eax
mov ecx, 0x6352d0d0
add ecx, 0x9cad90ff
xor esi, esi
add esi, eax
mov edx, 0x6a9818ea
sub edx, 0x6a54b8ea
add edx, dword [ebp - 0x1c]
mov edi, 0x731413fa
add edi, 0x664b7839
sub dword [ebp - 8], esi
mov ebx, dword [edx]
sub dword [ebp - 0x10], 0x83e5311e
xor ebx, edi
xor dword [ebp - 8], 0x25e41d52
mov dword [esi], ebx
xor dword [ebp - 0x18], 0xf6be35d8
add esi, 0xf72d349d
add esi, 0x8d2cb67
add edx, 0x30ab2a32
sub edx, 0x30ab2a2e
loop 0x4062e1
add eax, 0x17a0f
xor ebx, ebx
add ebx, eax
add eax, 0x4153bbbd
add eax, 0xbeac4448
mov ecx, 0xe710f08
sub ecx, 0xe310f08
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40fa99
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
xor esi, esi
push esi
push esi
push esi
push 0x40f9ce
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7b742f9d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x392f3596
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x7813480f
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ebx, ebx
push ebx
push ebx
mov ebp, str.__MSVCRT_HEAP_SELECT
push ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x78134961
push esi
push ebx
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x7813495f
push esi
push ebx
push ebp
call edi
test eax, eax
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
jbe 0x78134953
cmp eax, esi
ja 0x78134953
cmp byte [ebx], 0
mov ecx, ebx
je 0x78134889
mov al, byte [ecx]
cmp al, 0x61
jl 0x78134883
cmp al, 0x7a
jg 0x78134883
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x78134875
push 0x16
push ebx
push str.__GLOBAL_HEAP_SELECTED
call fcn.7816c3cf
add esp, 0xc
test eax, eax
jne 0x781348a1
mov edi, ebx
jmp 0x781348fc
push 0x105
push 8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x78134953
push 3
push esi
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
cmp byte [esi], 0
mov ecx, esi
je 0x781348e5
mov al, byte [ecx]
cmp al, 0x61
jl 0x781348df
cmp al, 0x7a
jg 0x781348df
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x781348d1
push esi
push ebx
call sym.MSVCR80.dll_strstr
pop ecx
pop ecx
push esi
push 0
mov edi, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
test edi, edi
je 0x78134953
push 0x2c
push edi
call sym.MSVCR80.dll_strchr
test eax, eax
pop ecx
pop ecx
je 0x78134953
inc eax
cmp byte [eax], 0x20
je 0x7813490e
mov cl, byte [eax]
xor esi, esi
cmp cl, 0x30
jl 0x78134953
cmp cl, 0x39
jg 0x78134934
imul esi, esi, 0xa
movsx ecx, cl
inc eax
lea esi, [esi + ecx - 0x30]
mov cl, byte [eax]
cmp cl, 0x30
jge 0x7813491d
cmp esi, 2
je 0x78134943
cmp esi, 3
je 0x78134943
cmp esi, 1
jne 0x78134953
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
mov eax, esi
jmp 0x781349c1
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
call sym.MSVCR80.dll__get_osplatform
test eax, eax
pop ecx
je 0x7813497d
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
lea eax, [esp + 0x14]
push eax
call sym.MSVCR80.dll__get_winmajor
test eax, eax
pop ecx
je 0x78134999
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [esp + 0x10], 2
jne 0x781349ac
cmp dword [esp + 0x14], 5
jb 0x781349ac
xor eax, eax
inc eax
jmp 0x781349c1
lea eax, [esp + 0x18]
push eax
call fcn.781347e2
cmp byte [esp + 0x1c], 6
pop ecx
sbb eax, eax
add eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x78138894
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.MSVCR80.dll__invalid_parameter

Function at 0x78139847
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x781c19c8]
jne 0x78139851
repz ret
jmp sym.MSVCR80.dll___report_gsfailure