joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403700
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
mov esi, dword [esp + 0x88]
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 0x54], ebx
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push 0x40ef18
push 0x80000001
call ebp
test eax, eax
jne 0x403875
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push str.NVIEW
push ecx
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 1
call edi
test eax, eax
jne 0x4037b2
mov dx, word [esp + 0x20]
cmp dx, word [0x40ef14]
jne 0x40385f
mov eax, 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea eax, [esp + 0x18]
push eax
push 0xf003f
push ebx
push str.SoftwareNVIDIA_CorporationGlobal_nViewInstalled
push 0x80000001
call ebp
test eax, eax
jne 0x403840
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push str.AutoStartWritten
push ecx
mov dword [esp + 0x28], 0x64
call edi
test eax, eax
je 0x40381f
cmp dword [esi + 0x5c], ebx
je 0x40381f
mov edx, dword [esp + 0x18]
mov dword [esi + 0x44], 1
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov edx, dword [esp + 0x18]
mov dword [esi + 0x44], ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp dword [esi + 0x5c], ebx
je 0x40385f
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x44], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x44], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp dword [esi + 0x5c], ebx
je 0x403889
mov dword [esi + 0x44], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov dword [esi + 0x44], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x4038a0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x198
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x54]
push esi
cmp eax, edx
push edi
je 0x403a08
test eax, eax
je 0x403954
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x40ef18
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403925
mov eax, dword [0x40fcdc]
lea edx, [esp + 0x10]
push 0xc8
push edx
push 0x7f1
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
lea ecx, [esp + 0x14]
push 0x40fd58
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
add esp, 0x198
ret
mov edx, dword [esp + 8]
push 0x4a
push str.rundll32.exe_nview.dll_nViewLoadHook
push 1
push 0
push str.NVIEW
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x198
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 8]
push ecx
push 0x2001b
push 0
push 0x40ef18
push 0x80000001
call esi
test eax, eax
je 0x4039ae
mov eax, dword [0x40fcdc]
lea edx, [esp + 0x10]
push 0xc8
push edx
push 0x7f1
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
lea ecx, [esp + 0x14]
push 0x40fd58
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
add esp, 0x198
ret
mov edx, dword [esp + 8]
push str.NVIEW
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push str.SoftwareNVIDIA_CorporationGlobal_nViewInstalled
push 0x80000001
call esi
test eax, eax
jne 0x403a08
mov edx, dword [esp + 8]
push 8
push 0x40ef74
push 1
push eax
push str.AutoStartWritten
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 8]
push eax
call edi
pop edi
pop esi
add esp, 0x198
ret
Function at 0x403a20
Capabilities:
Create process on windows
Delete registry key

Disassembly:
sub esp, 0x98
xor eax, eax
push esi
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], eax
mov ecx, 0x10
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xa4]
mov dword [esp + 8], 0
test edi, edi
mov dword [esp + 0x14], eax
jne 0x403a76
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNamespace1CDB2949_8F65_4355_8456_263E7C208A5D
push 0x80000001
call esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNamespace1CDB2949_8F65_4355_8456_263E7C208A5D
push 0x80000002
call esi
test edi, edi
mov dword [esp + 0x1c], 0x44
je 0x403a8e
lea ecx, [esp + 0x60]
push str.regsvr32.exe__s_nvshell.dll
push ecx
jmp 0x403a98
lea edx, [esp + 0x60]
push str.regsvr32.exe__u__s_nvshell.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x60]
push eax
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403b12
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call edi
test eax, eax
je 0x403af7
cmp dword [esp + 0x18], 0x103
jne 0x403afe
push 0x64
call esi
jmp 0x403ad7
push 0x7d0
call esi
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop edi
pop esi
add esp, 0x98
ret
Function at 0x403cf0
Capabilities:
Get common file path
Get file size
Move file
Set file attributes

Disassembly:
sub esp, 0x624
push ebp
push esi
mov esi, dword [esp + 0x630]
push edi
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
mov edi, dword [esp + 0x63c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x403d33
pop edi
pop esi
pop ebp
add esp, 0x624
ret 8
test edi, edi
mov eax, 0x40f170
je 0x403d3e
mov eax, edi
push esi
push eax
lea eax, [esp + 0x238]
push str._ls_ls_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x40f15c]
mov ecx, dword [str._Rename__r_n]
add esp, 0x10
mov dword [esp + 0x14], edx
mov edi, eax
mov ax, word [0x40f160]
mov dword [esp + 0x10], ecx
mov cl, byte [0x40f162]
lea edx, [esp + 0x28]
push 0x104
push edx
mov dword [esp + 0x2c], edi
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x28]
push str.WININIT.INI
push eax
call fcn.00406fb0
add esp, 8
lea ecx, [esp + 0x28]
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
jne 0x403ddd
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x624
ret 8
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push 0
lea edx, [ebx + edi + 0xa]
push edx
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esp + 0x20], eax
je 0x403eb6
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x403ea7
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00406f30
add esp, 8
test eax, eax
jne 0x403e51
lea ecx, [esp + 0x14]
lea edx, [ebx + ebp]
push ecx
push 0x40f138
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add ebx, eax
mov eax, ebx
jmp 0x403e74
push 0xa
push eax
call fcn.00406e70
mov esi, eax
mov eax, ebp
inc esi
sub eax, esi
add eax, ebx
lea ecx, [esi + edi]
push eax
push esi
push ecx
call fcn.00406b20
add esp, 0x14
sub esi, ebp
mov eax, esi
mov ecx, edi
lea esi, [esp + 0x234]
mov edx, ecx
lea edi, [eax + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add ebx, eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x10]
push 0
push 0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x624
ret 8
Function at 0x4056c0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x414
push ebx
lea eax, [esp + 0xc]
push esi
push eax
xor ebx, ebx
push 1
push 8
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x405736
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x405715
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
lea ecx, [esp + 0x10]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x405736
pop esi
pop ebx
add esp, 0x414
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 0x400
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jne 0x40576e
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40579a
pop esi
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
xor esi, esi
cmp eax, ebx
push edi
jbe 0x4057d3
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esp + 0x28]
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push edx
push eax
call ebx
test eax, eax
jne 0x4057ce
mov eax, dword [esp + 0x24]
inc esi
add edi, 8
cmp esi, eax
jb 0x4057b2
jmp 0x4057d3
mov ebp, 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x414
ret
Function at 0x408ab1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f520
cmp edx, dword [eax]
je 0x408ad3
add eax, 8
inc ecx
cmp eax, 0x40f5b0
jl 0x408ac4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f520]
jne 0x408c01
mov eax, dword [0x40fde4]
cmp eax, 1
je 0x408bdb
test eax, eax
jne 0x408b04
cmp dword [0x40f464], 1
je 0x408bdb
cmp edx, 0xfc
je 0x408c01
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408b3b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a020
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a110
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408b7e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a110
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c514
push edi
call fcn.00409470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a020
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a030
lea eax, [ebp - 0xa0]
push 0x40c4f4
push eax
call fcn.0040a030
push dword [esi + 0x40f524]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a030
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a4c5
add esp, 0x2c
pop edi
jmp 0x408c01
lea eax, [ebp + 8]
lea esi, [esi + 0x40f524]
push 0
push eax
push dword [esi]
call fcn.0040a110
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 0x1001339
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov dx, word [0x10011a4]
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], dx
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x30e]
mov word [ebp - 0x310], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push esi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push 0x10011a0
push eax
call edi
lea eax, [ebp - 0x310]
push esi
push eax
push 0x3e8
push dword [section..data]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x10013d3
lea eax, [ebp - 0x310]
push 0x1001198
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x414]
push ebx
push eax
push esi
push ebx
lea eax, [ebp - 0x20c]
push 0x10010d0
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x108]
push esi
push eax
push 0x10011bc
push 0x10010c0
push 0x10010b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x108]
push 0x10010e0
push eax
call esi
test eax, eax
je 0x100149f
lea eax, [ebp - 0x108]
push 0x10010e8
push eax
call esi
test eax, eax
jne 0x1001474
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 0x1001110
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp + 8], ebx
je 0x100149f
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10014c4
lea eax, [ebp - 0x108]
push 0x10010f0
push eax
call esi
test eax, eax
jne 0x100148d
push 0x10011b0
jmp 0x10014bf
lea eax, [ebp - 0x108]
push 0x10010f8
push eax
call esi
test eax, eax
jne 0x10014a8
mov dword [ebp - 4], 1
jmp 0x10014c4
lea eax, [ebp - 0x108]
push 0x1001108
push eax
call esi
test eax, eax
jne 0x10014c4
push 0x10011a8
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5cff88
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 3]
lea esp, [esp]
mov byte [esp], dh
lea esp, [esp]
jmp 0x5cffb1

Function at 0x5cffd9
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 0x50], esi
call fcn.005cff88
mov byte [esp], dh
lea esp, [esp + 1]
mov dword [esp + 0x4c], edi
lea esp, [esp + 0x4c]
mov eax, dword fs:[0x30]
jmp 0x5cffe8
mov dword [esp + 0xb], eax
mov word [esp + 8], bx
push dword [esp + 0xa]
jmp 0x5cffa4
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x5d002d
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5d0011
Function at 0x5bdb50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x134000]
mov dword [edi + 0x13d790], 0xbf90a611
push edi
or ebp, 0xffffffff
jmp 0x5bdb7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bdb81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bdb70
mov eax, 1
add ebx, ebx
jne 0x5bdb93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bdba4
jne 0x5bdbc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bdbc3
dec eax
add ebx, ebx
jne 0x5bdbb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bdb88
add ebx, ebx
jne 0x5bdbbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bdc15
xor ecx, ecx
sub eax, 3
jb 0x5bdbdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bdc4a
sar eax, 1
mov ebp, eax
jmp 0x5bdbe6
add ebx, ebx
jne 0x5bdbe6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bdbb4
inc ecx
add ebx, ebx
jne 0x5bdbf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bdbb4
add ebx, ebx
jne 0x5bdc01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bdbf6
jne 0x5bdc12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bdbf6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bdc34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bdc26
jmp 0x5bdb76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bdc34
add edi, ecx
jmp 0x5bdb76
pop esi
mov edi, esi
mov ecx, 0xa5a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bdc52
cmp byte [edi], 0x72
jne 0x5bdc52
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 0x5bdc57
lea edi, [esi + 0x1ba000]
mov eax, dword [edi]
or eax, eax
je 0x5bdcc6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f986c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f995c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bdc84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f9960]
or eax, eax
je 0x5bdcc0
mov dword [ebx], eax
add ebx, 4
jmp 0x5bdca1
call dword [esi + 0x1f9970]
mov ebp, dword [esi + 0x1f9964]
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 0x5bdcfa
sub esp, 0xffffff80
jmp fcn.0053dad0
Function at 0x413788
Capabilities:
Check for vm using instruction vpcext

Disassembly:
inc ebx
xor eax, 0x355d3550
outsd dx, dword [esi]
xor eax, 0x358f3574
pushfd
xor eax, 0x35bb35a9
sal byte [0x35eb35de], 0xfa
xor eax, 0x3611360c
xor byte [esi], dh
cmp eax, 0x55364836
insb byte es:[di], dx
test byte ss:[esi], dh
movsb byte es:[edi], byte [esi]
lodsb al, byte ss:[esi]
mov al, 0x36
mov ah, 0x36
mov eax, 0xc036bc36
les esi, ss:[esi]
enter 0xffffffffffffcc36, 0x36
and al, 0x37
xor byte [edi], dh
dec edi
aaa
pop esi
aaa
wait
aaa
mov al, byte [0x50384637]
cmp byte [edx + 0x38], bl
arpl word [eax], di
jae 0x413816
cmp byte [eax], 0x8c
cmp byte [ecx - 0x45c755c8], ah
cmp ch, bl
cmp al, ch
cmp byte [edi], cl
cmp dword [ecx + edi], esi
inc esp
cmp dword [ebx + 0x39], esp
xchg ebx, eax
cmp dword [esi - 0x77c585c7], edi
cmp ch, ch
cmp bl, byte [ecx]
cmp esp, dword [esi]
cmp edi, dword [edx]
cmp eax, dword [ecx + 0x3b]
pop ebx
cmp ecx, dword [ebx - 0x4fc454c5]
cmp ecx, dword [esi + 0x3c]
les edi, [edi]
cmp al, 1
cmp eax, 0x3d5d3d13
fdivr qword [0x3ec53e54]
adc edi, dword [0x3ddc3d5d]
push esp
lds edi, ds:[esi]
add bh, byte [edi]
xchg dword [edi], edi
sar dword [edi], 1
std
aas
add byte [eax + 0x840001], al
add byte [eax], al
inc esi
xor byte [ebx - 0x1dcf60d0], al
xor byte [edx], al
xor dword [edx + 0x31], ebx
popal
xor dword [ebx + 0x32], esi
sbb al, 0x33
dec ebx
xor ecx, dword [edi - 0x52cc69cd]
xor edi, ecx
xor ecx, dword [ebp + 0x34]
push 0x8c34c534
xor eax, 0x366435b9
mov ecx, 0x7a366435
invalid
leave
call 0x177f32d2
inc esi
pop esp
mov dword ds:[0xf53ec03e], eax

Function at 0x413854
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov ecx, 0x7a366435
leave
out 0x36, al
adc esi, dword [edi]
sub al, 0x37
ja 0x41389b
iretd
sar byte ds:[esi], 0xf5
invalid
Function at 0x413fa0
Capabilities:
Parse credit card information

Disassembly:
in al, 0x3a
call 0xf07c2be1
cmp dh, ah
cmp bh, al
cmp bh, ah
cmp al, byte [eax]
cmp edx, dword [ebx + edi]
and al, 0x3b
xor al, 0x3b
cmp al, 0x3b
inc eax
cmp eax, dword [ebx + edi + 0x48]
cmp ecx, dword [ebx + edi + 0x50]
cmp edx, dword [ebx + edi + 0x58]
cmp ebx, dword [ebx + edi + 0x60]
cmp esp, dword [ebx + edi + 0x68]
cmp ebp, dword [ebx + edi + 0x70]
cmp esi, dword [ebx + edi + 0x78]
cmp edi, dword [ebx + edi - 0x80]
cmp eax, dword [ebx + edi + 0x3b8c3b88]
nop
cmp edx, dword [ebx + edi + 0x3b9c3b98]
mov al, byte [0xa83ba43b]
cmp ebp, dword [ebx + edi + 0x3bb43bb0]
mov eax, 0xc03bbc3b
cmp eax, esp
cmp ecx, eax
cmp ecx, esp
cmp ebx, eax
cmp esp, ebp
cmp ebp, ecx
cmp edi, esp
cmp ebx, dword [esp + edi]
and al, 0x3c
sub byte [esp + ebp], bh
cmp al, 0x30
cmp al, 0x34
cmp al, 0x38
cmp al, 0x3c
cmp al, 0x40
cmp al, 0x44
cmp al, 0x48
cmp al, 0x58
cmp al, 0x68
cmp al, 0x78
cmp al, 0x80
cmp al, 0x84
cmp al, 0x88
cmp al, 0x8c
cmp al, 0x90
cmp al, 0x94
cmp al, 0x98
cmp al, 0x9c
cmp al, 0xa0
cmp al, 0xa4
cmp al, 0xa8
cmp al, 0xac
cmp al, 0xb0
cmp al, 0xb4
cmp al, 0xb8
cmp al, 0xbc
cmp al, 0xc0
cmp al, 0xc4
cmp al, 0xc8
cmp al, 0xcc
cmp al, 0xd0
cmp al, 0xd4
cmp al, 0xd8
cmp al, 0xdc
cmp al, 0xe0
cmp al, 0xe4
cmp al, 0xe8
cmp al, 0xec
cmp al, 0xf0
cmp al, 0xf4
cmp al, 0xf8
cmp al, 0xfc
cmp al, 0
cmp eax, 0x3d103d04
sbb edi, dword [0x3d363d1f]
inc esp
cmp eax, 0x3d6c3d64
jo 0x4140b5
je 0x4140b7
js 0x4140b9
jl 0x4140bb
cmp byte [0x3d883d84], 0x8c
cmp eax, 0x3ef73e59
cmp al, 0x3f
invalid
cmp byte [esi + 0x38], al
add dword [ecx], edi
push es
cmp byte [ecx], al
cmp dword [esi], eax
cmp dword [ebx], ecx
cmp dword [edi], ebx
cmp dword [edi + 0x39], ecx
xchg esi, eax
cmp dword [ebx - 0x23c634c7], esi
cmp dword [0x863a323a], edx
cmp dl, byte [esi - 0x13c557c6]
cmp cl, byte [edx]
cmp edx, dword [edi]
cmp esp, dword [ecx + 0x263bb23b]
cmp al, 0x2b
cmp al, 0x4b
cmp al, 0x2b
xor byte ds:[esi], bh
imul edi, dword [esi], 0xffffff96
mov bl, 0x3e
retf

Function at 0x422043
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004220c2
jae 0x42204f
xor ecx, ecx
call fcn.004220c2
jae 0x422079
xor eax, eax
call fcn.004220c2
jae 0x42208a
mov al, 0x10
call fcn.004220c2
adc al, al
jae 0x42206b
jne 0x4220b7
stosb byte es:[edi], al
jmp 0x422050
call fcn.004220ce
dec ecx
loop 0x422096
mov eax, ebp
call fcn.004220cc
jmp 0x4220b8
lodsb al, byte [esi]
shr eax, 1
je 0x4220de
adc ecx, 2
mov ebp, eax
jmp 0x4220b8
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004220cc
cmp eax, 0x7d00
jae 0x4220b6
cmp eax, 0x500
jae 0x4220b7
cmp eax, 0x7f
ja 0x4220b8
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x422050
pop ebp
ret 8

Function at 0x45bda4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45bdaa
ret