joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449240
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5f4b60]
cmp eax, 0xf
jne 0x44938b
push ebx
push 0x9c
lea ebx, [eax - 2]
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.004af380
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4492c3
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4492c3
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x90]
dec eax
je 0x449356
dec eax
jne 0x449382
mov eax, dword [ebp - 0x9c]
cmp eax, 4
mov ecx, 3
cmovbe ebx, ecx
cmp eax, 5
jne 0x44931c
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x4492ff
lea ebx, [ecx + 1]
jmp 0x449382
cmp eax, 1
jne 0x449309
lea ebx, [eax + 4]
jmp 0x449382
cmp eax, 2
jne 0x449382
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 5
jmp 0x449382
cmp eax, 6
jne 0x449382
mov eax, dword [ebp - 0x98]
xor ebx, ebx
cmp eax, 2
jne 0x44933a
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xb
jmp 0x449382
cmp eax, 1
jne 0x44934a
cmp byte [ebp - 6], al
sete bl
add ebx, 9
jmp 0x449382
cmp byte [ebp - 6], 1
setne bl
add ebx, 7
jmp 0x449382
cmp dword [ebp - 0x9c], 4
jne 0x449382
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x44936d
xor ebx, ebx
jmp 0x449382
cmp eax, 0xa
jne 0x449377
lea ebx, [eax - 9]
jmp 0x449382
mov ecx, 2
cmp eax, 0x5a
cmove ebx, ecx
mov dword [0x5f4b60], ebx
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
Function at 0x44e4e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x124
lea eax, [ebp - 0x22c]
push 0
push eax
mov byte [ebp - 0x231], 0
mov dword [ebp - 0x230], 0
call fcn.004af380
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44e53c
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x128
xor bl, bl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x44e5b3
mov bh, byte [ebp + 8]
lea ecx, [ecx]
xor eax, eax
mov cl, byte [ebp + eax - 0x20c]
mov byte [ebp + eax - 0x108], cl
lea eax, [eax + 1]
test cl, cl
jne 0x44e562
test bh, bh
jne 0x44e599
lea eax, [ebp - 0x108]
push eax
push str.LTVSRV.EXE
call fcn.0055d916
add esp, 8
test eax, eax
jne 0x44e599
test bl, bl
jne 0x44e5ac
mov bl, 1
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x44e560
jmp 0x44e5b3
mov byte [ebp - 0x231], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x231]
pop ebx
xor ecx, ebp
pop esi
call fcn.004adbd4
mov esp, ebp
pop ebp
ret

Function at 0x44f1a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
push 0x104
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x118], 1
jne 0x44f22b
xor ecx, ecx
jmp 0x44f23d
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f234
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.004059b0
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00405650
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
Function at 0x4503a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x124
lea eax, [ebp - 0x128]
push 0
push eax
mov dword [ebp - 0x12c], 0
call fcn.004af380
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4503fa
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x12c]
push eax
push esi
mov dword [ebp - 0x12c], 0x128
mov byte [ebp - 0x12d], 0
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45045c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0055d916
add esp, 8
test eax, eax
jne 0x450441
call edi
cmp dword [ebp - 0x124], eax
jne 0x450454
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x450423
jmp 0x45045b
mov byte [ebp - 0x12d], 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x12d]
pop esi
xor ecx, ebp
pop ebx
call fcn.004adbd4
mov esp, ebp
pop ebp
ret

Function at 0x450ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ecx]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 4], 4
mov ecx, 0xd
cmovne eax, ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x450f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x450fa1
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x10], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
je 0x450f9b
mov ecx, dword [edi]
test ecx, ecx
je 0x450f98
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x450f93
cmp edx, 2
jbe 0x450f8c
cmp edx, 7
jne 0x450f93
cmp ecx, 1
jb 0x450f93
cmp byte [ecx + esi - 1], 0
jne 0x450f93
cmp ecx, 1
jbe 0x450f9b
cmp byte [ecx + esi - 2], 0
jmp 0x450f91
cmp byte [ecx + esi - 1], 0
je 0x450f9b
mov eax, 0xd
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 0xc
push 0x80004005
call fcn.00406880
int3
Function at 0x4552f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x455309
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455315
sub eax, edi
inc eax
add edx, eax
add esi, eax
cmp eax, 1
jne 0x455310
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455ae0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ca88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x33
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.ShutDownService___Trying_to_shutdown_service_status
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004059b0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x455b6c
push dword [ebp - 0x28]
call fcn.004ad196
add esp, 4
push 0xf003f
push 0
push 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x455bfa
push 0x28
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.ShutDownService___Failed_getting_the_SCM
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004059b0
mov dword [ebp - 4], 1
push 1
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x455be4
push dword [ebp - 0x28]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
xor al, al
jmp 0x455c47
push 0x20
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x455c27
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ShutDownService___Failed_getting_the_service
lea ecx, [ebp - 0x28]
call fcn.00405090
mov dword [ebp - 4], 2
jmp 0x455bbc
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
Function at 0x455f80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x124
lea eax, [ebp - 0x128]
push 0
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], 0
call fcn.004af380
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x45604c
push ebx
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x456048
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0055d916
add esp, 8
test eax, eax
jne 0x456037
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x124]
cmp ecx, eax
je 0x456037
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x456031
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x455ff0
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
Function at 0x4596c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d2e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5f7448]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 0x14]
mov dword [ebp - 0x10], 0
cmp dword [edi], 0
je 0x45970e
mov ecx, dword [ebp + 8]
push 0x5876dc
call fcn.004038b0
jmp 0x4597da
push edi
push 0
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x459742
push edi
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x459742
push 0x586988
jmp 0x4597d2
push 0x10
call fcn.004acf15
mov esi, eax
add esp, 4
lea ecx, [esi + 4]
push ecx
push str.SeDebugPrivilege
mov dword [esi], 1
push 0
mov dword [esi + 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x459780
push esi
call fcn.004af1a1
add esp, 4
push str.Failed_to_lookup_SE_DEBUG_NAME_
jmp 0x4597d2
push 0x10
call fcn.004acf15
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x10
push esi
push 0
push dword [edi]
mov dword [ebx + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
push esi
setne bl
call fcn.004af1a1
add esp, 4
test bl, bl
jne 0x4597cd
mov esi, dword [ebp - 0x14]
push dword [esi + 0x18]
call fcn.004af1a1
add esp, 4
mov dword [esi + 0x18], 0
push str.Failed_to_AdjustTokenPrivileges_
jmp 0x4597d2
push 0x5876dc
mov ecx, dword [ebp + 8]
call fcn.004038b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459800
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d328
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x124
lea eax, [ebp - 0x17c]
push 0
push eax
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x180], 0
call fcn.004af380
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x188], eax
cmp eax, 0xffffffff
jne 0x459872
xor al, al
jmp 0x459a13
lea ecx, [ebp - 0x180]
push ecx
push eax
mov dword [ebp - 0x180], 0x128
mov byte [ebp - 0x181], 0
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x459a01
jmp 0x4598a0
cmp byte [ebp - 0x15c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4598cd
xor eax, eax
jmp 0x4598df
lea eax, [ebp - 0x15c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4598d6
sub eax, edx
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004059b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0042da10
mov ebx, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042da10
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x459927
mov ebx, dword [ebx]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x459932
mov ecx, dword [ecx]
mov eax, edi
cmp esi, edi
cmovb eax, esi
push eax
push ebx
push ecx
call fcn.00409aa0
add esp, 0xc
test eax, eax
jne 0x45995a
cmp esi, edi
jae 0x459951
or eax, 0xffffffff
jmp 0x459958
xor eax, eax
cmp esi, edi
setne al
test eax, eax
sete bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x10
jb 0x459972
push dword [ebp - 0x40]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0x10
jb 0x459999
push dword [ebp - 0x58]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4599c3
push dword [ebp - 0x28]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test bl, bl
jne 0x4599fa
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x188]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x459a01
mov ebx, dword [ebp - 0x18c]
jmp 0x4598a0
mov byte [ebp - 0x181], 1
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x181]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret 4
Function at 0x45b060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x45b06f
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0x20019
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45b08e
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x45b099
mov eax, dword [eax]
push esi
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45e9c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x118], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp - 0x11c], esi
mov byte [esi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
push 0x104
mov dword [ebp - 0x118], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x114], 0
jne 0x45ea4b
xor ecx, ecx
jmp 0x45ea5d
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ea54
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.004059b0
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00405650
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret

Function at 0x45eaa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56df92
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x220], esi
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x21c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
jne 0x45eb2a
xor ecx, ecx
jmp 0x45eb42
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45eb33
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004040e0
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00403d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
Function at 0x4730f0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571163
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5f7448]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.0046c280
mov dword [ebp - 4], 0
jmp 0x473130
mov al, byte [esi + 0xa8]
test al, al
jne 0x473143
cmp dword [esi + 0xac], 1
je 0x4731bd
mov ecx, dword [esi + 0xac]
test ecx, ecx
jne 0x473218
mov cl, byte [esi + 0xb8]
cmp cl, 0x7b
jne 0x473165
cmp dword [esi + 0xbc], 1
je 0x473197
cmp cl, 0x3f
jne 0x473173
cmp dword [esi + 0xbc], 1
je 0x473197
cmp cl, 0x2a
jne 0x473181
cmp dword [esi + 0xbc], 1
je 0x473197
cmp cl, 0x2b
jne 0x473283
cmp dword [esi + 0xbc], 1
jne 0x473283
cmp dword [ebp - 0x20], 0
jne 0x4731c1
mov al, byte [esi + 0xa8]
push 1
mov byte [ebp - 0x10], al
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046ee40
mov ecx, esi
call fcn.00477470
cmp dword [ebp - 0x20], 0
jle 0x4732e3
push 0x20
call fcn.004ad19b
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x4732d2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, edx
and ecx, 8
push ecx
and edx, 0x10
push edx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.00473c70
push eax
mov ecx, edi
call fcn.0046d560
mov edi, eax
mov byte [ebp - 4], 0
push edi
lea ecx, [esi + 0x14]
call fcn.00477680
jmp 0x4732ee
cmp ecx, 1
jne 0x473130
cmp al, 0x29
je 0x4731bd
cmp al, 0x7c
je 0x4731bd
cmp dword [ebp - 0x20], 0
jg 0x4731c7
cmp al, 0x28
je 0x4732c6
cmp al, 0x5b
je 0x4732ba
cmp al, 0x2e
je 0x4732ba
cmp al, 0x77
je 0x4732ba
cmp al, 0x57
je 0x4732ba
cmp al, 0x73
je 0x4732ba
cmp al, 0x53
je 0x4732ba
cmp al, 0x64
je 0x4732ba
cmp al, 0x44
je 0x4732ba
cmp al, 0x5e
je 0x4732ae
cmp al, 0x24
je 0x4732ae
cmp al, 0x41
je 0x4732ae
cmp al, 0x5a
je 0x4732ae
cmp al, 0x7a
je 0x4732ae
cmp al, 0x62
je 0x4732ae
cmp al, 0x42
je 0x4732ae
cmp al, 0x47
je 0x4732ae
cmp al, 0x5c
je 0x4732a2
cmp al, 0x6b
je 0x4732a2
cmp al, 0x67
je 0x4732a2
push 1
mov byte [ebp - 0x10], al
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046ee40
mov ecx, esi
call fcn.00477470
jmp 0x473130
push dword [ebp + 8]
mov ecx, esi
call fcn.0046f920
jmp 0x4732ec
push dword [ebp + 8]
mov ecx, esi
call fcn.0046fd20
jmp 0x4732ec
push dword [ebp + 8]
mov ecx, esi
call fcn.00470260
jmp 0x4732ec
push dword [ebp + 8]
mov ecx, esi
call fcn.00471170
jmp 0x4732ec
xor edi, edi
mov byte [ebp - 4], 0
push edi
lea ecx, [esi + 0x14]
call fcn.00477680
jmp 0x4732ee
push 0
mov ecx, esi
call fcn.00474f60
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046d8b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4