joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10112943
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10323834
call fcn.102790e7
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1011295d
xor eax, eax
jmp 0x10112aa6
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x10112980
cmp dword [0x10667f84], ebx
je 0x10112a6a
push 2
pop edi
jmp 0x10112999
cmp ebx, 1
jne 0x10112a6a
push esi
call fcn.10112ca9
test al, al
je 0x10112a67
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.10111f87
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
push eax
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x10112a35
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x101129ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 2
mov edi, eax
jae 0x101129f6
cmp dword [ebp - 0x1c], 1
je 0x101129f3
cmp dword [ebp - 0x1c], 2
jne 0x101129f6
push 2
pop edi
push edi
call fcn.10112cd3
push dword [ebp - 0x10]
test eax, eax
je 0x10112a52
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x10667c70
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x106428f0], edi
call fcn.10112ba0
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 0x10], edi
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
push edi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xc]
call fcn.10112030
mov edi, eax
test edi, edi
je 0x101129be
jmp 0x10112a5b
call fcn.1011377f
test edi, edi
je 0x10112a76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.10111fa8
mov ecx, dword [ebp - 0x14]
inc ebx
cmp ebx, 2
jl 0x10112968
jmp 0x10112a81
lea ecx, [ebp + 0xb]
call fcn.10111fa8
mov ecx, dword [ebp - 0x14]
test edi, edi
jne 0x10112a9c
cmp dword [ebp - 0x1c], 2
je 0x10112a94
mov al, byte [esi + 0x10]
and al, 0xf
cmp al, 2
jne 0x10112aa4
push ecx
call fcn.10113fb5
jmp 0x10112aa2
push esi
call fcn.101142d3
mov ecx, eax
mov eax, ecx
call fcn.102790b8
ret 4
Function at 0x10112e7c
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x10323857
call fcn.102790e7
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10112e96
xor al, al
jmp 0x10112f67
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x10112ea7
xor ecx, ecx
cmp dword [0x10667f84], ecx
jmp 0x10112eb1
push esi
call fcn.10112ca9
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x10112e8f
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.10111f87
xor ecx, ecx
mov dword [ebp - 4], edi
push 2
test bl, bl
pop eax
cmovne ecx, eax
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 0x14], ecx
or eax, ecx
jmp 0x10112f3b
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x10112ef1
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.10112cd3
push ebx
test eax, eax
je 0x10112f55
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x10667c70
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x106428f0], edi
call fcn.10112ba0
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp + 8], edi
or eax, dword [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 0xc]
call fcn.10112030
mov edi, eax
test edi, edi
je 0x10112ee5
jmp 0x10112f5a
call fcn.1011377f
lea ecx, [ebp + 0xf]
call fcn.10111fa8
test edi, edi
sete al
call fcn.102790b8
ret 8

Function at 0x101130ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x10113107
mov eax, dword [edi]
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 0xc]
push ecx
push 0xffff
push dword [ebp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0xc]
push 2
pop eax
cmp edx, eax
jae 0x1011313e
cmp ecx, 1
je 0x1011313c
cmp ecx, eax
jne 0x1011313e
mov esi, eax
push esi
call fcn.10112cd3
test eax, eax
je 0x10113155
push edi
mov ecx, 0x10667c70
call fcn.10112ba0
jmp 0x10113188
test esi, esi
jne 0x10113182
cmp ecx, 2
je 0x10113163
cmp ecx, 1
jne 0x1011316f
shr edx, 1
xor eax, eax
mov word [ebx + edx*2 - 2], ax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x1c]
push eax
push ecx
call fcn.10112f6f
test eax, eax
push 2
pop eax
cmove esi, eax
push edi
call fcn.1011377f
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x101131a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x101131cd
cmp dword [0x10667f84], edi
je 0x101132be
push 2
pop esi
jmp 0x101131e6
cmp edi, 1
jne 0x101132be
push ebx
call fcn.10112ca9
test al, al
je 0x101132be
xor esi, esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xc], esi
call fcn.10111f87
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push eax
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
or eax, esi
jmp 0x1011326d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1011321b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call fcn.10112cd3
push dword [ebp - 4]
test eax, eax
je 0x10113286
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x10667c70
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x106428f0], esi
call fcn.10112ba0
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 4], esi
or eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xc]
call fcn.10112030
mov esi, eax
test esi, esi
je 0x10113207
jmp 0x101132b6
call fcn.1011377f
test esi, esi
jne 0x101132b6
movzx ecx, word [ebx + 0x10]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x10], eax
je 0x101132d3
cmp dword [ebp - 0x10], 3
jne 0x101132b3
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x101132b3
and cl, 0xf
cmp cl, 4
je 0x101132d3
push 2
pop esi
lea ecx, [ebp + 0xb]
call fcn.10111fa8
inc edi
cmp edi, 2
jl 0x101131b5
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xb]
mov dword [eax], 1
call fcn.10111fa8
xor eax, eax
jmp 0x101132ca
Function at 0x101138ed
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x103238c2
call fcn.102790e7
xor edi, edi
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.10111f87
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
push edi
jmp 0x10113979
cmp dword [ebx], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jne 0x10113927
test eax, eax
jne 0x10113923
mov eax, dword [edi]
push 0
jmp 0x1011392f
test eax, eax
jne 0x1011392d
mov eax, dword [edi]
push dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
push esi
call fcn.10112cd3
push edi
test eax, eax
je 0x1011399f
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x10667c70
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x106428f0], esi
call fcn.10112ba0
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], esi
call fcn.10111fa8
lea ecx, [ebp - 0xd]
call fcn.10111f87
mov dword [ebp - 4], esi
push esi
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.10112030
mov esi, eax
test esi, esi
je 0x10113912
jmp 0x101139a4
call fcn.1011377f
lea ecx, [ebp - 0xd]
call fcn.10111fa8
mov eax, esi
call fcn.102790b8
ret 4

Function at 0x10113b72
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xc
mov eax, 0x103238f8
call fcn.10279152
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.1011384b
test eax, eax
jne 0x10113b93
push 2
pop eax
jmp 0x10113c05
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.10113d1f
mov esi, eax
test esi, esi
je 0x10113bc0
cmp dword [ebp - 0x14], 0
je 0x10113bbc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10113c05
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x10113bec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10113c05
call fcn.102790b8
ret 0x20
Function at 0x10113c0d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x10323913
call fcn.10279152
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.1011384b
test eax, eax
jne 0x10113c2e
push 2
pop eax
jmp 0x10113ca0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.10113d1f
mov esi, eax
test esi, esi
je 0x10113c5b
cmp dword [ebp - 0x14], 0
je 0x10113c57
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10113ca0
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x10113c87
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10113ca0
call fcn.102790b8
ret 0x20
Function at 0x101153b6
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x214], 1
call fcn.1027bff1
mov edx, 0x10668350
mov dword [ebp - 0x210], esi
add esp, 0xc
mov eax, edx
xor ecx, ecx
cmp dword [eax], 0
je 0x10115417
add eax, 0x14
inc ecx
cmp eax, 0x10668378
jl 0x10115402
jmp 0x1011556e
imul esi, ecx, 0x14
add esi, edx
je 0x1011556e
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10115552
cmp dword [ebp - 0x214], 1
jne 0x10115552
cmp word [ebp - 0x20c], ax
je 0x10115552
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10115552
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x10115499
add eax, eax
cmp eax, 0x208
jae 0x10115581
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x1011549f
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.10115763
mov dword [esi], eax
test eax, eax
je 0x10115552
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._GetPerfhostHookVersion_0
push eax
call edi
test eax, eax
jne 0x101154cc
mov eax, dword [ebp + 0x10]
jmp 0x101154ce
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x101154f2
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_12
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_4
jmp 0x10115526
cmp eax, 2
jne 0x10115507
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_8
jmp 0x101154e4
cmp eax, 3
jne 0x10115530
push str._InitPerf_v3_4
push dword [esi]
call edi
push str._PerfCodeMarker_v3_8
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_v3_4
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x10115552
cmp dword [esi + 0x10], 0
je 0x10115552
cmp dword [esi + 0xc], 0
je 0x10115552
push dword [0x10668380]
push esi
call fcn.1011537d
test eax, eax
jns 0x1011556e
cmp dword [esi], 0
je 0x1011555f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 0xc
call fcn.10279be9
int3
Function at 0x1011799e
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x101179bf
mov eax, dword [esi]
jmp 0x101179c1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10117a15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10117a15
cmp eax, 5
jne 0x10117a07
push dword [ebp + 0xc]
push 0x80
push esi
call fcn.101182ec
cmp dword [esi + 0x14], 8
jb 0x101179f4
mov eax, dword [esi]
jmp 0x101179f6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10117a15
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10117a15
cmp byte [ebp + 0xc], 0
jne 0x10117a28
xor al, al
jmp 0x10117a17
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push esi
push str.failed_to_delete_file__s
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.10116e64
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3

Function at 0x101182ec
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x1011830d
mov eax, dword [esi]
jmp 0x1011830f
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10118322
cmp byte [ebp + 0x10], al
jne 0x10118333
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 0xc]
push eax
push esi
push str.Cannot_set_file__s_attbutes_to__u
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.10116ef5
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x1012306c
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
inc ebx
push ebx
push 0
push str.GlobalOfficeSourceEngineRunning
push str.scm:ose
push ebx
call fcn.10167609
mov esi, eax
cmp esi, 0x80070422
jne 0x101231ce
call fcn.10161df6
test al, al
je 0x101230ad
push str.The_installed_OSE_service_is_diabled_and_cannot_start
push 4
call fcn.1011f78c
call fcn.10161df6
test al, al
je 0x101230c2
push str.Attempt_to_re_enable_OSE_service
push 4
call fcn.1011f460
push ebx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x10123100
call fcn.10161df6
test al, al
je 0x101231df
lea eax, [ebp - 4]
push eax
push str.Cannot_open_Service_Control_manager_to_detect_OSE_service._Return_code:__i
push 4
call fcn.1011f8c0
jmp 0x101231df
push 2
push 0x10384f38
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
call edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1012313f
call fcn.10161df6
test al, al
je 0x101231c4
lea eax, [ebp - 4]
push eax
push str.Cannot_detect_OSE_service._Return_code:__i
push 4
call fcn.1011f6f0
jmp 0x101231c4
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x10123179
call fcn.10161df6
test al, al
je 0x101231ba
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push str.Cannot_re_enable_OSE_service._Error__u
push 4
call fcn.1011f644
jmp 0x101231ba
call fcn.10161df6
test al, al
je 0x1012318e
push str.Successfully_re_enable_local_OSE_service
push 4
call fcn.100163d7
call fcn.10161df6
test al, al
je 0x101231a3
push str.Retry_starting_OSE_service
push 4
call fcn.100161c1
push 1
push 0
push str.GlobalOfficeSourceEngineRunning
push str.scm:ose
push 1
call fcn.10167609
mov esi, eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
inc ebx
movzx eax, byte [0x10664634]
test esi, esi
cmovns eax, ebx
mov byte [0x10664634], al
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10126cf6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x390], 0
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x20], 0xffffffff
je 0x10126dbd
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x390]
push 0
push ecx
push esi
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10126d6f
lea eax, [ebp - 0x390]
mov dword [ebp - 0x394], esi
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x394]
push eax
push str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.10123b33
jmp 0x10126dcf
mov eax, dword [ebp - 0x390]
cmp eax, esi
je 0x10126dab
cmp byte [ebp + 0x10], 0
je 0x10126dab
lea eax, [ebp - 0x390]
mov dword [ebp - 0x394], esi
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x394]
push eax
push str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
push 0x21
lea ecx, [ebp - 0x38c]
call fcn.10123a91
jmp 0x10126dcf
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 0xc
push str.trying_to_read_from_a_file_thats_not_open
push 0x15
lea ecx, [ebp - 0x38c]
call fcn.10013fed
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x101277af
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10127912
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10127912
cmp eax, 0x29
jne 0x101277e9
cmp dword [esi + 0x10], 0
jne 0x10127912
test dword [esi + 0x50], edx
je 0x10127917
cmp eax, 0x2e
jne 0x10127804
push 5
lea ecx, [esi + 0x24]
call fcn.10129d84
mov ecx, esi
call fcn.10129dc4
jmp 0x101278fa
cmp eax, 0x5c
jne 0x10127861
mov ecx, esi
call fcn.10129dc4
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x10127837
cmp word [esi + 0x48], 0x62
jne 0x10127837
push 4
lea ecx, [esi + 0x24]
call fcn.10129d84
mov ecx, esi
call fcn.10129dc4
jmp 0x10127901
test eax, eax
je 0x10127855
cmp word [esi + 0x48], 0x42
jne 0x10127855
push 4
lea ecx, [esi + 0x24]
call fcn.10129d84
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1012782b
mov ecx, esi
call fcn.1012791f
jmp 0x101278fa
cmp eax, 0x5b
jne 0x10127885
mov ecx, esi
call fcn.10129dc4
mov ecx, esi
call fcn.10127d0f
cmp dword [esi + 0x4c], 0x5d
je 0x101277f8
push 4
jmp 0x10127919
cmp eax, 0x28
jne 0x101278a2
mov ecx, esi
call fcn.10129dc4
mov ecx, esi
call fcn.1012a669
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x101278ef
jmp 0x10127917
cmp eax, 0x5e
jne 0x101278ae
push 2
jmp 0x10127823
cmp eax, 0x24
jne 0x101278ba
push 3
jmp 0x10127823
cmp eax, 0x2a
je 0x1012790e
cmp eax, 0x2b
je 0x1012790e
cmp eax, 0x3f
je 0x1012790e
cmp eax, 0x7b
je 0x1012790e
cmp eax, 0x7d
jne 0x101278d8
test dword [esi + 0x50], edx
je 0x1012790a
cmp eax, 0x5d
jne 0x101278e2
test dword [esi + 0x50], edx
je 0x1012787e
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10127216
mov ecx, esi
call fcn.10129dc4
test bl, bl
je 0x10127901
mov ecx, esi
call fcn.10129def
mov cl, 1
mov bl, cl
jmp 0x101277b7
push 6
jmp 0x10127919
push 0xa
jmp 0x10127919
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.10276056
int3

Function at 0x1012b632
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.1027bff1
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80070057
je 0x1012b6a9
lea eax, [ebp - 0x20c]
push eax
call fcn.100082d6
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10007f44
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push str.Invalid_csidl_is_passed_to_SHGetFolerPath
push 0x1d
lea ecx, [ebp - 0x594]
call fcn.100ece16
push 0x1060513c
lea eax, [ebp - 0x594]
push eax
call fcn.1027a8f4
int3
Function at 0x1012b858
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.1027bff1
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1012b8c8
lea eax, [ebp - 0x20c]
push eax
call fcn.100082d6
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10007f44
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
push str.Cannot_get_the_system_directory
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x594]
call fcn.100084eb
push 0x1060513c
lea eax, [ebp - 0x594]
push eax
call fcn.1027a8f4
int3

Function at 0x1012b8f3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.1027bff1
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1012b932
mov edx, dword [edi]
jmp 0x1012b934
mov edx, edi
cmp dword [esi + 0x14], 8
jb 0x1012b93e
mov ecx, dword [esi]
jmp 0x1012b940
mov ecx, esi
lea eax, [ebp - 0x20c]
push eax
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1012b98b
lea eax, [ebp - 0x20c]
push eax
call fcn.100082d6
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.10007f44
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 0x10
push edi
push esi
push str.Cannot_get_temp_file_name_on_directory__s_with_prefix__s
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x594]
call fcn.1012b483
push 0x1060513c
lea eax, [ebp - 0x594]
push eax
call fcn.1027a8f4
int3