joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006b20d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar eax, 1
cmp eax, 2
jb 0x1006b268
xor edi, edi
cmp di, word [esi + eax*2 - 2]
jne 0x1006b268
cmp di, word [esi + eax*2 - 4]
jne 0x1006b268
add eax, eax
cmp dword [edx + 0x14], 8
jb 0x1006b244
mov edx, dword [edx]
push eax
push esi
push 7
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jle 0x1006b264
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1006b2ae
jmp 0x1006b2a6
mov eax, dword [0x101c33f0]
mov esi, 0x80070057
cmp eax, 0x101c33f0
je 0x1006b293
test byte [eax + 0x44], 1
je 0x1006b293
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f684
push dword [eax + 0x38]
push 0x2f
pop ecx
call fcn.1004a069
push esi
lea ecx, [esp + 0x10]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x1006b2e5
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006b2d4
test byte [eax + 0x44], 1
je 0x1006b2d4
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f684
push dword [eax + 0x38]
push 0x32
pop ecx
call fcn.1004a069
push esi
lea ecx, [esp + 0x10]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x1006b400
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x18
mov eax, 0x1018c6f8
call fcn.10188e2d
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp - 0xe], cx
xor ebx, ebx
lea ecx, [ebp - 0xe]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1006ce7c
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 0x24]
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x1006b47c
cmp esi, 0x103
je 0x1006b471
cmp esi, 2
je 0x1006b48c
test esi, esi
jle 0x1006b46d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1006b49c
jmp 0x1006b48c
mov ecx, dword [ebp + 8]
push ebx
call fcn.100527dc
jmp 0x1006b48c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc eax
push eax
push dword [ebp - 0x24]
call fcn.100526e5
lea ecx, [ebp - 0x24]
call fcn.1004f7f5
call fcn.10188de9
ret 0xc
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006b4c2
test byte [eax + 0x44], 1
je 0x1006b4c2
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f684
push dword [eax + 0x38]
push 0x35
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x18]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1006ccf4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x101d5abc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x110
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1006cd63
cmp dword [ebp - 0x11c], 6
jb 0x1006cd51
jne 0x1006cd53
cmp dword [ebp - 0x118], 2
jae 0x1006cd53
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.101885f0
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006cd78
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006cd9e
test byte [eax + 0x44], 1
je 0x1006cd9e
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f684
push dword [eax + 0x38]
push 0x79
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x124]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x1006d272
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101d5abc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov bl, dl
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push 0x1001f694
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10045113
mov esi, eax
add esp, 0x14
test esi, esi
js 0x1006d33e
push 9
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006d2e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006d2e2
movzx esi, si
or esi, 0x80070000
lea eax, [ebp - 0x210]
test esi, esi
jns 0x1006d31a
test bl, bl
je 0x1006d31a
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006d316
test byte [eax + 0x44], 4
je 0x1006d316
push edi
push dword [eax + 0x3c]
mov edx, 0x1001f6a0
push dword [eax + 0x38]
push 0xa
pop ecx
call fcn.1004a093
mov eax, edi
xor esi, esi
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006d33e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006d33e
movzx esi, si
or esi, 0x80070000
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101885f0
leave
ret
Function at 0x1006d7e5
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push 0x2f0
mov eax, 0x1018cb6e
call fcn.10188e66
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x2e8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2e8], ebx
call fcn.100440e8
push 0x1001f73c
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x4c]
call fcn.1006e1db
push 0x250
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 1
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x7c]
push 0x1001f72c
call fcn.1006e1db
or esi, 0xffffffff
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], esi
call fcn.100523a7
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
push ebx
push 1
call fcn.10052803
cmp byte [ebp - 0x18], 0
je 0x1006d89d
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x18], bl
jae 0x1006d888
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2e4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x34], eax
cmp eax, esi
jmp 0x1006d8af
lea eax, [ebp - 0x2e4]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x1006d90b
push 0x1001d750
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x94]
call fcn.1006e1db
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.10051737
push ebx
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.10052803
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x1006d8fc
lea ecx, [ebp - 0x64]
mov dl, 1
call fcn.1006d355
lea ecx, [ebp - 0x64]
jmp 0x1006d86b
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x1006d917
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x34]
call fcn.1006d7bf
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10052803
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], esi
call fcn.1004417d
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
test bh, bh
jne 0x1006d94d
test bl, bl
je 0x1006d9a8
push esi
mov edx, edi
lea ecx, [ebp - 0x2f0]
call fcn.1006d410
mov esi, dword [ebp - 0x2f0]
mov eax, dword [esi]
mov dword [ebp - 0x2e8], eax
jmp 0x1006d999
lea edx, [eax + 0x10]
test bh, bh
je 0x1006d97d
push 0
mov ecx, edi
call fcn.1006dbf4
jmp 0x1006d988
test bl, bl
je 0x1006d988
mov ecx, edi
call fcn.1006dc6c
lea ecx, [ebp - 0x2e8]
call fcn.10057fca
mov eax, dword [ebp - 0x2e8]
cmp eax, esi
jne 0x1006d96b
lea ecx, [ebp - 0x2f0]
call fcn.1006dd17
call fcn.10188e03
ret 0xc
Function at 0x1006d9b6
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xbc
mov eax, 0x1018cbae
call fcn.10188e66
mov esi, ecx
push ecx
push ecx
lea ecx, [ebp - 0xc8]
call fcn.1006e341
xor edi, edi
lea ecx, [ebp - 0xc8]
mov edx, esi
mov dword [ebp - 4], edi
call fcn.1005b701
mov edx, 0x1001f73c
mov ecx, eax
call fcn.1005b701
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1005b314
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1006da0d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
push 1
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10052803
cmp esi, 0xffffffff
jne 0x1006da5a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1005b314
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1006da41
lea eax, [ebp - 0x28]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
push 1
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10052803
test esi, esi
je 0x1006da6b
lea ecx, [ebp - 0xc8]
call fcn.1006e291
call fcn.10188e03
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006da80
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006daa6
test byte [eax + 0x44], 1
je 0x1006daa6
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f770
push dword [eax + 0x38]
push 0xf
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x2c]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1006dac3
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x1018cbfb
call fcn.10188e66
mov edi, ecx
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
call fcn.100440e8
mov dword [ebp - 4], ebx
mov esi, dword [edi]
mov ecx, dword [esi]
call fcn.1006d9b6
push dword [edi + 4]
mov edx, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.1006d617
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1006db07
lea eax, [ebp - 0x28]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1006db65
cmp eax, 0xffffffff
je 0x1006db65
mov ecx, dword [edi + 0xc]
lea esi, [ebp - 0x34]
push ebx
push esi
mov edx, dword [ecx]
mov ecx, dword [edi + 8]
push edx
push dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1006db9c
lea ecx, [ebp - 0x2c]
call fcn.10046aaa
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10052803
lea ecx, [ebp - 0x40]
call fcn.1004417d
call fcn.10188e03
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006db7a
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006dbd7
test byte [eax + 0x44], 1
je 0x1006dbd7
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f770
push dword [eax + 0x38]
push 0x10
jmp 0x1006dbd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006dbb1
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006dbd7
test byte [eax + 0x44], 1
je 0x1006dbd7
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f770
push dword [eax + 0x38]
push 0x11
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x30]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1006ea84
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018cd4d
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101d5abc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ecx + 0x14], 8
jb 0x1006eac4
mov ecx, dword [ecx]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1006eaff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1006eaf9
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1006ebf0
push ecx
push dword [ebp - 0x23c]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.1006f5b4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x1006eb31
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1006eb65
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x1006eb52
lea eax, [ebp - 0x238]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x1006ec2f
push edi
push 1
lea ecx, [ebp - 0x238]
call fcn.10052803
jmp 0x1006ebd4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101885f0
leave
ret
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1006ec16
test byte [eax + 0x44], 1
je 0x1006ec16
push esi
push dword [eax + 0x3c]
mov edx, 0x1001f8e8
push dword [eax + 0x38]
push 0x12
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x240]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x1001f788
push 0x6d
pop edx
call fcn.1006e621
int3
Function at 0x1007a3ca
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189f22
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101d5abc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], edi
lea esi, [edi + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea eax, [edi + 0x44]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x40]
mov dword [edi + 0x10], ebx
push 0x58
push ebx
push eax
mov dword [edi + 0x18], esi
mov dword [esi], ebx
mov byte [esi + 4], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0x100203d8
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
call sub.msvcrt.dll_memset
mov dword [esi + 0xa0], ebx
add esp, 0xc
mov dword [edi + 0xc0], ebx
mov eax, edi
mov dword [edi], 0x10001ed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009d0d4
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
xor eax, eax
push edi
cmp dword [ebx + 0x9c], eax
je 0x1009d1a9
cmp byte [ebx + 0xa0], al
je 0x1009d1a9
push esi
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [ebx + 0x8c]
mov esi, eax
mov ecx, edi
call fcn.10052884
mov dword [eax], esi
cmp dword [edi], 0
je 0x1009d15d
cmp dword [edi], 0xffffffff
je 0x1009d15d
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d880c]
call esi
xor eax, eax
push eax
push eax
push ebx
push 0x1009cdd0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [ebx + 0x88]
mov esi, eax
mov ecx, edi
call fcn.10052884
mov dword [eax], esi
cmp dword [edi], 0
je 0x1009d1ad
cmp dword [edi], 0xffffffff
je 0x1009d1ad
jmp 0x1009d1a8
mov eax, dword [0x101c33f0]
mov esi, 0x80070000
cmp eax, 0x101c33f0
je 0x1009d19c
test byte [eax + 0x44], 1
je 0x1009d19c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1009d183
movzx eax, ax
or eax, esi
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x10022a60
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x53
pop ecx
call fcn.1004a069
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1009d20b
jmp 0x1009d206
pop esi
pop edi
pop ebx
leave
ret
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d880c]
call esi
mov eax, dword [0x101c33f0]
mov esi, 0x80070000
cmp eax, 0x101c33f0
je 0x1009d1fc
test byte [eax + 0x44], 1
je 0x1009d1fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1009d1e3
movzx eax, ax
or eax, esi
push eax
mov eax, dword [0x101c33f0]
mov edx, 0x10022a60
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x54
pop ecx
call fcn.1004a069
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1009d20b
movzx eax, ax
or eax, esi
push eax
lea ecx, [ebp - 4]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x100ac380
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x101950db
call fcn.10188e2d
mov ebx, ecx
lea edi, [ebx + 0x30]
cmp dword [edi + 0x14], 8
jb 0x100ac39b
mov ecx, dword [edi]
jmp 0x100ac39d
mov ecx, edi
mov eax, dword [ebx + 0x28]
lea edx, [ebp - 0x14]
push edx
push 0
lea edx, [ebp - 0x24]
push edx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 2
je 0x100ac4ea
test esi, esi
je 0x100ac3d7
jle 0x100ac3d1
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100ac4f0
mov ecx, dword [ebx + 0x24]
push 0
push dword [ebp - 0x14]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, eax
test esi, esi
jns 0x100ac424
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100ac516
test byte [ecx + 0x44], 1
je 0x100ac516
push esi
push dword [ecx + 0x3c]
mov edx, 0x10023114
push dword [ecx + 0x38]
push 0x12
jmp 0x100ac510
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov esi, eax
test esi, esi
jns 0x100ac466
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100ac516
test byte [ecx + 0x44], 1
je 0x100ac516
push esi
push dword [ecx + 0x3c]
mov edx, 0x10023114
push dword [ecx + 0x38]
push 0x13
jmp 0x100ac510
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.100ad570
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x100ac47d
mov edi, dword [edi]
mov eax, dword [ebx + 0x28]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push ecx
push 0
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jle 0x100ac4a7
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x100ac4e1
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x100ac4cf
test byte [eax + 0x44], 1
je 0x100ac4cf
push esi
push dword [eax + 0x3c]
mov edx, 0x10023114
push dword [eax + 0x38]
push 0x14
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x28]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x100ac526
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call fcn.10188de9
ret
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x100ac516
test byte [eax + 0x44], 1
je 0x100ac516
push esi
push dword [eax + 0x3c]
mov edx, 0x10023114
push dword [eax + 0x38]
push 0x11
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x18]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x100b202a
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1018b72e
call fcn.10188e66
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x100b2148
cmp byte [edi + 0x46], 0
je 0x100b2148
mov eax, dword [edi]
mov ebx, 0xffff
push ebx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x101d880c]
mov ecx, edi
call esi
cmp bx, ax
jne 0x100b206f
xor al, al
jmp 0x100b214a
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.10082946
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ebx, dword [edi + 0x40]
mov esi, ecx
cmp edx, 0x10
jae 0x100b209f
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x2c], eax
cmp edx, 0x10
jae 0x100b20af
lea ecx, [ebp - 0x28]
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea eax, [edi + 0x48]
push ecx
push eax
mov ecx, esi
call dword [0x101d880c]
mov ecx, ebx
call esi
xor ebx, ebx
sub eax, ebx
je 0x100b20ef
sub eax, 1
je 0x100b20f2
dec eax
sub eax, 1
jne 0x100b20df
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10043c5c
mov al, bl
jmp 0x100b214a
mov byte [edi + 0x46], bl
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x10
jae 0x100b2102
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x100b212b
cmp edx, 0x10
jae 0x100b2111
lea ecx, [ebp - 0x28]
push dword [edi + 0x50]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100b20df
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [edi + 0x46], bl
je 0x100b20dd
test esi, esi
jne 0x100b2092
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.10081f2b
jmp 0x100b208c
mov al, 1
call fcn.10188e03
ret
Function at 0x100b6755
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100b68aa
mov edx, sym.PrintConfig.dll_Ordinal_276
cmp eax, 0x7c
je 0x100b68aa
cmp eax, 0x29
jne 0x100b6790
cmp dword [esi + 0x10], 0
jne 0x100b68aa
test dword [esi + 0x50], edx
je 0x100b68b0
cmp eax, 0x2e
jne 0x100b67ab
push 5
lea ecx, [esi + 0x24]
call fcn.100b6ad9
mov ecx, esi
call fcn.100b6428
jmp 0x100b6894
cmp eax, 0x5c
jne 0x100b6800
mov ecx, esi
call fcn.100b6428
test byte [esi + 0x50], 0x80
je 0x100b67f4
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100b67dc
push 4
lea ecx, [esi + 0x24]
call fcn.100b6ad9
mov ecx, esi
call fcn.100b6428
jmp 0x100b689b
cmp eax, 0x42
jne 0x100b67f4
push 4
lea ecx, [esi + 0x24]
call fcn.100b6ad9
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100b67d0
mov ecx, esi
call fcn.100b519c
jmp 0x100b6894
cmp eax, 0x5b
jne 0x100b6820
mov ecx, esi
call fcn.100b6428
mov ecx, esi
call fcn.100b5f34
cmp dword [esi + 0x4c], 0x5d
je 0x100b679f
push 4
jmp 0x100b68b2
cmp eax, 0x28
jne 0x100b683d
mov ecx, esi
call fcn.100b6428
mov ecx, esi
call fcn.100b60eb
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100b68b0
jmp 0x100b6889
cmp eax, 0x5e
jne 0x100b6846
push 2
jmp 0x100b67c8
cmp eax, 0x24
jne 0x100b6852
push 3
jmp 0x100b67c8
cmp eax, 0x2a
je 0x100b68a6
cmp eax, 0x2b
je 0x100b68a6
cmp eax, 0x3f
je 0x100b68a6
cmp eax, 0x7b
je 0x100b68a6
cmp eax, 0x7d
jne 0x100b6870
test dword [esi + 0x50], edx
je 0x100b68a2
cmp eax, 0x5d
jne 0x100b687a
test dword [esi + 0x50], edx
je 0x100b6819
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100b64e1
mov bl, 1
mov ecx, esi
call fcn.100b6428
test bl, bl
je 0x100b689b
mov ecx, esi
call fcn.100b6683
mov cl, 1
jmp 0x100b675e
push 6
jmp 0x100b68b2
push 0xa
jmp 0x100b68b2
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.100b6a16
int3

Function at 0x100c83d5
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10198911
call fcn.10188e2d
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x100c8416
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d880c]
call esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.100c8513
test eax, eax
js 0x100c8451
push dword [ebp - 0x10]
mov ecx, edi
call fcn.100c8618
test eax, eax
js 0x100c8451
push ebx
push ebx
push edi
push 0x100c86b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x100c8451
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10188de9
ret 8