Function at 0x100782e0
Capabilities:
Check if file exists
Get common file path
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100fd16c]
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]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], ebx
call fcn.1000e7b0
mov ecx, eax
test ecx, ecx
je 0x100786f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x100dc63c
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.1000deb0
test al, al
jne 0x10078367
push 0
push 0x100dc63c
lea ecx, [ebp - 0x228]
call fcn.1000f1b0
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.1007a550
mov edx, dword [0x1012adfc]
add esp, 4
mov edi, eax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x100783ad
nop dword [eax]
cmp dword [ecx + 0x10], edi
jge 0x1007839a
mov ecx, dword [ecx + 8]
jmp 0x1007839e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10078390
cmp eax, edx
je 0x100783ad
cmp edi, dword [eax + 0x10]
jge 0x100783af
mov eax, edx
cmp edx, eax
je 0x100783c2
add eax, 0x14
lea ecx, [ebp - 0x228]
push eax
call fcn.1000abe0
mov esi, dword [ebp - 0x228]
cmp dword [esi - 0xc], 0
jne 0x1007842f
call fcn.1000e7b0
mov ecx, eax
test ecx, ecx
je 0x100786fb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x100dc63c
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1000deb0
test al, al
jne 0x10078409
push 0
push 0x100dc63c
mov ecx, ebx
call fcn.1000f1b0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10078428
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x100786d5
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x221]
call fcn.100678b0
lea eax, [edi - 3]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
cmp eax, 0x3d
ja case.0x1007845b.4
movzx eax, byte [eax + 0x10078720]
jmp dword [eax*4 + 0x10078710]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x221]
call fcn.100672b0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.1000abe0
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100784a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x221]
call fcn.10076780
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.1000abe0
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100784e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x228]
jmp case.0x1007845b.4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x64006c
mov dword [ebp - 0x14], 0x73
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078504
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f1b0
push 0xd
push str.Wallpaper.set
lea ecx, [ebp - 0x230]
call fcn.1000f1b0
mov esi, dword [ebp - 0x228]
jmp case.0x1007845b.4
push 0xa
push str.HaloWP.set
lea ecx, [ebp - 0x230]
call fcn.1000f1b0
cmp edi, 0x3f
je 0x1007858b
cmp edi, 0x43
je 0x1007858b
cmp edi, 0x42
je 0x1007858b
cmp edi, 0x44
je 0x1007858b
cmp edi, 0x45
je 0x1007858b
cmp edi, 0x47
je 0x1007858b
cmp edi, 0x48
je 0x1007858b
cmp edi, 0x49
je 0x1007858b
cmp edi, 0x4a
je 0x1007858b
cmp edi, 0x4b
je 0x1007858b
cmp edi, 0x4d
mov edi, 0x1a
jne 0x10078590
mov edi, 0x1c
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100b24f0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push esi
push eax
call edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100785e8
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push dword [ebp - 0x230]
lea eax, [ebp - 0x220]
push eax
call edi
call fcn.1000e7b0
mov ecx, eax
test ecx, ecx
je 0x10078705
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000deb0
test al, al
jne 0x10078659
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078637
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000f1b0
mov edi, dword [ebp - 0x22c]
add edi, 0xfffffff0
mov byte [ebp - 4], 7
push edi
call fcn.1000dff0
mov ecx, dword [ebp - 0x234]
add eax, 0x10
add esp, 4
mov byte [ebp - 4], 3
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10078692
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100786b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100786cf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
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.10090156
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000de90
push 0x80004005
call fcn.1000de90
push 0x80004005
call fcn.1000de90
nop
bound eax, qword [edi + eax + 0x7853d10]
adc al, dh
test byte [edi], al
adc byte [edi - 0x7b], cl
pop es
adc byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [ebx], al
add eax, dword [ecx]
add cl, ah
int3