joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50028cb
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x500285a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x5002878
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x50028d6
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x50028bd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x50028c6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x50028d0
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x50028b2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x500283c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x5002923
dec eax
je 0x500291a
sub eax, 3
je 0x5002911
mov dword [ebp - 4], 0x40
jmp 0x5002940
mov dword [ebp - 4], 4
jmp 0x5002926
mov dword [ebp - 4], 0x20
jmp 0x5002926
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x5002972
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x50028f2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.05002183
pop ebp
fld dword [ebp]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x500297e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015f4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401606
mov eax, dword [0x59308b]
shl eax, 2
mov dword [0x59308f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0055e7f8
pop edx
call fcn.0055e75c
call fcn.0055e838
push 0
call fcn.005690e0
pop ecx
push 0x593034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x593093], eax
push 0
jmp fcn.00572c58
Function at 0x458f20
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x5b0254
call fcn.00568428
mov word [ebp - 0x14], 8
push dword [ebp + 8]
call fcn.0049c5cc
pop ecx
inc dword [ebp - 8]
mov edx, 0x5bbe88
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
lea eax, [ebp - 0x34]
push eax
call fcn.004146a0
pop ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
call fcn.00459014
add esp, 0xc
add dword [ebp - 8], 2
mov eax, dword [ebp + 8]
add eax, 0x70
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
push edx
call fcn.0040432c
pop ecx
push eax
push dword [ebp - 0x38]
call fcn.004042d8
add esp, 8
inc dword [ebp - 8]
mov eax, dword [ebp - 0x38]
add eax, 0x24
call fcn.00401d9c
inc dword [ebp - 8]
inc dword [ebp - 8]
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
mov dword [0x5b0240], ecx
mov byte [0x5cf4cc], 0
xor eax, eax
mov dword [0x5cf4d0], eax
mov dword [0x5cf4d4], 0xffffffff
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x68], ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x21], 1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x22], 0
push 0
push 0x3e8
push dword [ebp + 8]
call fcn.0049c78c
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x45aff4
Capabilities:
Check for peb beingdebugged flag
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x5bb834
call fcn.00568428
mov word [ebp - 0x14], 8
push dword [ebp + 0x10]
mov dl, byte [ebp + 0xc]
push edx
push dword [ebp + 8]
call fcn.004850d4
add esp, 0xc
add dword [ebp - 8], 2
mov ecx, 0x5bbe78
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x10
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x14
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x30
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x58
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x5c
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x60
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x64
call fcn.00401d9c
inc dword [ebp - 8]
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x473610
Capabilities:
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov eax, 0x5bb93c
call fcn.00568428
mov word [ebp - 0x14], 8
push dword [ebp + 0x10]
mov dl, byte [ebp + 0xc]
push edx
push dword [ebp + 8]
call fcn.004850d4
add esp, 0xc
add dword [ebp - 8], 2
mov ecx, 0x5bbe18
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x14
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x20
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x24
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x28
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x2c
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x30
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x34
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x38
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x3c
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x40
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x44
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x48
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x4c
call fcn.00401d9c
inc dword [ebp - 8]
lea edx, [ebp - 0x2c]
push edx
call fcn.00424d3c
pop ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x88
push ecx
call fcn.0043c470
add esp, 8
inc dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00424d3c
pop ecx
push eax
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.0043c470
add esp, 8
inc dword [ebp - 8]
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00424d3c
pop ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0xc8
push eax
call fcn.0043c470
add esp, 8
inc dword [ebp - 8]
lea edx, [ebp - 0x44]
push edx
call fcn.00424d3c
pop ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe8
push ecx
call fcn.0043c470
add esp, 8
inc dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x484064
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
xor eax, eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00483dd0
pop ecx
test al, al
jne 0x484086
xor eax, eax
jmp 0x48414b
push dword [ebp + 8]
call fcn.00483ff0
pop ecx
test al, al
jne 0x48409d
mov eax, 1
jmp 0x48414b
call fcn.004934c0
cmp al, 5
jne 0x4840bc
push 0x5b014c
lea edx, [ebp - 0xa4]
push edx
call fcn.0056805c
add esp, 8
jmp 0x4840c3
mov byte [ebp - 0xa4], 0
push str.ServUPerformanceCount
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00567f80
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xa4]
push edx
push 0
push 4
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x484109
push 0
push 0
push 0
push 4
push dword [ebp - 8]
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x48412a
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x484123
mov dword [ebp - 4], 2
jmp 0x48412a
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x484139
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_UnmapViewOfFile
mov edx, dword [ebp - 8]
test edx, edx
je 0x484148
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4848e4
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
mov eax, dword [0x5cefd4]
mov edx, dword [eax]
cmp edx, 2
jne 0x48494c
push bind
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x484918
xor eax, eax
jmp 0x4849a6
push bind
push 0x5b0190
push dword [ebp - 4]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 8], eax
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov edx, dword [ebp - 8]
test edx, edx
jne 0x484940
xor eax, eax
jmp 0x4849a6
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, 1
jmp 0x4849a6
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4849a3
mov dword [ebp - 0x14], pe_nt_image_headers32
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x18]
push edx
push 0
push 0x5b0190
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x48499b
mov byte [ebp - 0xd], 1
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_RegCloseKey
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x484ec4
Capabilities:
Delete registry value
Delete service
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
push dword [ebp + 8]
call fcn.004848e4
pop ecx
test al, al
jne 0x484ee8
mov al, 1
jmp 0x485033
mov edx, dword [0x5ced6c]
mov ecx, dword [edx]
mov ax, word [ecx + 0x44]
mov word [ebp - 0xa], ax
mov edx, dword [0x5ced6c]
mov eax, dword [edx]
mov dx, 0xfff5
call fcn.004f2bfc
mov dword [ebp - 0x10], 0xf
push dword [ebp + 8]
call fcn.00483ff0
pop ecx
test al, al
je 0x484f3e
push 0
push dword [ebp + 8]
call fcn.0048448c
add esp, 8
push 0x3e8
call sub.KERNEL32.DLL_Sleep
dec dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x484f10
push dword [ebp + 8]
call fcn.00483ff0
pop ecx
test al, al
je 0x484f58
push 1
push dword [ebp + 8]
call fcn.0048448c
add esp, 8
mov eax, dword [0x5ced6c]
mov eax, dword [eax]
mov dx, word [ebp - 0xa]
call fcn.004f2bfc
mov ecx, dword [0x5cefd4]
mov eax, dword [ecx]
cmp eax, 2
jne 0x484fca
push 2
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x485013
push 0xf01ff
push 0x5b0190
push dword [ebp - 0x14]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x485013
push dword [ebp - 0x18]
call sub.ADVAPI32.DLL_DeleteService
test eax, eax
je 0x485013
push dword [ebp - 0x14]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 0x18]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, 1
jmp 0x485033
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x484fec
xor eax, eax
jmp 0x485033
push 0x5b0190
push dword [ebp - 0x1c]
call sub.ADVAPI32.DLL_RegDeleteValueA
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call sub.ADVAPI32.DLL_RegCloseKey
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x48500f
xor eax, eax
jmp 0x485033
mov al, 1
jmp 0x485033
mov edx, dword [ebp - 4]
test edx, edx
je 0x485022
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x485031
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x48dfac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov eax, 0x5bd864
call fcn.00568428
mov word [ebp - 0x14], 8
mov eax, dword [ebp + 8]
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 4
call fcn.00401d9c
inc dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 8
call fcn.00401d9c
inc dword [ebp - 8]
lea edx, [ebp - 0x2c]
push edx
call fcn.00424d3c
pop ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
call fcn.0048e10c
add esp, 8
inc dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0048e1d4
pop ecx
push eax
mov edx, dword [ebp + 8]
add edx, 0x88
push edx
call fcn.0048e170
add esp, 8
inc dword [ebp - 8]
mov cl, byte [0x5bd398]
test cl, cl
jne 0x48e059
push 0
call fcn.0049a2e4
pop ecx
mov byte [ebp - 0x35], al
mov al, byte [ebp - 0x35]
test al, al
jne 0x48e04b
mov byte [0x5bd850], 1
jmp 0x48e052
mov byte [0x5bd850], 0
mov byte [0x5bd398], 1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov byte [ecx + 0x1a], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x19], al
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x15
mov eax, dword [ebp + 8]
mov byte [eax + 0x18], 1
mov edx, dword [ebp + 8]
mov byte [edx + 0x30], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x24], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x25], 0x17
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xffffffff
mov edx, dword [ebp + 8]
mov byte [edx + 0x1b], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x3c]
push eax
push 0x5bd81c
call fcn.0048e1f8
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x4934c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov al, byte [0x5bea28]
test al, al
je 0x4934d9
mov al, byte [0x5bea28]
jmp 0x493556
mov byte [0x5bea28], 2
mov dword [ebp - 0x94], 0x94
lea edx, [ebp - 0x94]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x493551
mov ecx, dword [ebp - 0x84]
cmp ecx, 2
jne 0x49354a
mov eax, dword [ebp - 0x90]
cmp eax, 3
jne 0x493519
mov byte [0x5bea28], 3
jmp 0x493551
mov edx, dword [ebp - 0x90]
cmp edx, 4
jne 0x49352d
mov byte [0x5bea28], 4
jmp 0x493551
mov ecx, dword [ebp - 0x90]
cmp ecx, 5
jb 0x493541
mov byte [0x5bea28], 5
jmp 0x493551
mov byte [0x5bea28], 2
jmp 0x493551
mov byte [0x5bea28], 2
mov al, byte [0x5bea28]
mov esp, ebp
pop ebp
ret
Function at 0x494a08
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9e8
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], pe_nt_image_headers32
mov byte [ebp - 0x418], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x5bebe2
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x494ba7
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
mov edx, dword [ebp - 0x14]
test edx, edx
jne 0x494ba7
mov byte [ebp - 0x88], 0
push str._shellopencommand
lea ecx, [ebp - 0x218]
push ecx
call fcn.00567f80
add esp, 8
lea eax, [ebp - 8]
push eax
push 1
push 0
lea edx, [ebp - 0x218]
push edx
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x494ba7
mov dword [ebp - 0xc], pe_nt_image_headers32
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x418]
push eax
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x494b9f
mov ecx, dword [ebp - 0x10]
cmp ecx, 2
jne 0x494b0f
push pe_nt_image_headers32
lea eax, [ebp - 0x618]
push eax
lea edx, [ebp - 0x418]
push edx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea ecx, [ebp - 0x618]
push ecx
lea eax, [ebp - 0x418]
push eax
call fcn.0056805c
add esp, 8
push 0x5bebfb
lea edx, [ebp - 0x418]
push edx
call fcn.0056819d
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x494b9f
mov edx, dword [ebp - 0x18]
add edx, 2
push edx
call fcn.0056808c
pop ecx
inc eax
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
push dword [ebp - 0x18]
call fcn.00567e90
add esp, 0xc
push dword [ebp - 0x18]
call fcn.0056808c
pop ecx
inc eax
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0056808c
pop ecx
mov edx, dword [ebp - 0x18]
add eax, edx
push eax
call fcn.00567e90
add esp, 0xc
push dword [ebp + 8]
call fcn.0056808c
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00567e6c
add esp, 0xc
push 1
lea eax, [ebp - 0x418]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jbe 0x494b9f
mov byte [ebp - 1], 1
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4954e8
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push dword [ebp + 8]
call fcn.0056808c
pop ecx
lea eax, [eax + eax*2]
add eax, 0x32
push eax
call fcn.0055e02c
pop ecx
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x495698
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 0xe], cl
mov al, byte [ebp - 0xe]
cmp al, 0x41
jb 0x49553b
mov dl, byte [ebp - 0xe]
cmp dl, 0x5a
ja 0x49553b
mov byte [ebp - 0xd], 1
jmp 0x495564
mov cl, byte [ebp - 0xe]
cmp cl, 0x61
jb 0x495550
mov al, byte [ebp - 0xe]
cmp al, 0x7a
ja 0x495550
mov byte [ebp - 0xd], 1
jmp 0x495564
mov dl, byte [ebp - 0xe]
cmp dl, 0x30
jb 0x495564
mov cl, byte [ebp - 0xe]
cmp cl, 0x39
ja 0x495564
mov byte [ebp - 0xd], 1
mov al, byte [ebp + 0xc]
test al, al
jne 0x495639
mov dl, byte [ebp - 0xe]
cmp dl, 0x24
jne 0x495580
mov byte [ebp - 0xd], 1
jmp 0x495639
mov cl, byte [ebp - 0xe]
cmp cl, 0x5f
jne 0x495591
mov byte [ebp - 0xd], 1
jmp 0x495639
mov al, byte [ebp - 0xe]
cmp al, 0x40
jne 0x4955a1
mov byte [ebp - 0xd], 1
jmp 0x495639
mov dl, byte [ebp - 0xe]
cmp dl, 0x2e
jne 0x4955b2
mov byte [ebp - 0xd], 1
jmp 0x495639
mov cl, byte [ebp - 0xe]
cmp cl, 0x2d
jne 0x4955c0
mov byte [ebp - 0xd], 1
jmp 0x495639
mov al, byte [ebp - 0xe]
cmp al, 0x3d
jne 0x4955cd
mov byte [ebp - 0xd], 1
jmp 0x495639
mov dl, byte [ebp - 0xe]
cmp dl, 0x3b
jne 0x4955db
mov byte [ebp - 0xd], 1
jmp 0x495639
mov cl, byte [ebp - 0xe]
cmp cl, 0x2f
jne 0x4955e9
mov byte [ebp - 0xd], 1
jmp 0x495639
mov al, byte [ebp - 0xe]
cmp al, 0x23
jne 0x4955f6
mov byte [ebp - 0xd], 1
jmp 0x495639
mov dl, byte [ebp - 0xe]
cmp dl, 0x3f
jne 0x495604
mov byte [ebp - 0xd], 1
jmp 0x495639
mov cl, byte [ebp - 0xe]
cmp cl, 0x3a
jne 0x495612
mov byte [ebp - 0xd], 1
jmp 0x495639
mov al, byte [ebp - 0xe]
cmp al, 0x25
jne 0x49561f
mov byte [ebp - 0xd], 1
jmp 0x495639
mov dl, byte [ebp - 0xe]
cmp dl, 0x26
jne 0x49562d
mov byte [ebp - 0xd], 1
jmp 0x495639
mov cl, byte [ebp - 0xe]
cmp cl, 0x2b
jne 0x495639
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
test al, al
je 0x495651
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0xe]
mov byte [edx + ecx], al
inc dword [ebp - 8]
jmp 0x495695
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], 0x25
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [ebp - 0xe]
sar ecx, 4
and ecx, 0xf
mov cl, byte [ecx + 0x5bea79]
mov byte [eax + edx], cl
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [ebp - 0xe]
and ecx, 0xf
mov cl, byte [ecx + 0x5bea79]
mov byte [eax + edx], cl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0056808c
pop ecx
mov edx, dword [ebp - 0xc]
cmp eax, edx
ja 0x495516
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov byte [eax + edx], 0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0056805c
add esp, 8
push dword [ebp - 4]
call fcn.0055df78
pop ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x495730
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
mov eax, 0x5bf39c
call fcn.00568428
mov word [ebp - 0x24], 8
lea eax, [ebp - 4]
call fcn.00401d9c
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 0x14
mov word [ebp - 0x24], 0x20
lea eax, [ebp - 0xc]
call fcn.00401d9c
mov edx, eax
inc dword [ebp - 0x18]
mov ecx, dword [0x5ced68]
mov eax, dword [ecx]
call fcn.004f51c0
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0058fcb0
inc dword [ebp - 0x18]
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058ff14
mov word [ebp - 0x24], 0x14
lea ecx, [ebp - 0x38]
push ecx
lea eax, [ebp - 8]
call fcn.00401ed8
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
test edx, edx
jbe 0x495877
push dword [ebp - 0x3c]
call fcn.0055e02c
pop ecx
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00401ed8
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x40]
push ecx
push str.VarFileInfoTranslation
push dword [ebp - 0x4c]
call sub.VERSION.DLL_VerQueryValueA
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
call fcn.00401ed8
push eax
mov edx, dword [ebp - 0x48]
movzx ecx, word [edx + 2]
push ecx
mov eax, dword [ebp - 0x48]
movzx edx, word [eax]
push edx
push str.StringFileInfo_04x_04x_s
lea ecx, [ebp - 0x9c]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x9c]
push ecx
push dword [ebp - 0x4c]
call sub.VERSION.DLL_VerQueryValueA
mov word [ebp - 0x24], 0x2c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x40]
call fcn.0058fc78
inc dword [ebp - 0x18]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0058ff44
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0058ff14
push dword [ebp - 0x4c]
call fcn.0055df78
pop ecx
mov word [ebp - 0x24], 0x38
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0058ff44
mov eax, dword [ebp + 8]
mov word [ebp - 0x24], 0x44
push eax
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0058ff14
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0058ff14
pop eax
mov word [ebp - 0x24], 0x38
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret