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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7058
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100ca1c4]
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.1000c350
mov ecx, eax
test ecx, ecx
je 0x1005553a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x100aa65c
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.1000ba50
test al, al
jne 0x100551c7
push 0
push 0x100aa65c
lea ecx, [ebp - 0x228]
call fcn.1000cd50
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.10057390
mov edx, dword [0x100f5b4c]
add esp, 4
mov edi, eax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x1005520d
nop dword [eax]
cmp dword [ecx + 0x10], edi
jge 0x100551fa
mov ecx, dword [ecx + 8]
jmp 0x100551fe
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100551f0
cmp eax, edx
je 0x1005520d
cmp edi, dword [eax + 0x10]
jge 0x1005520f
mov eax, edx
cmp edx, eax
je 0x10055222
add eax, 0x14
lea ecx, [ebp - 0x228]
push eax
call fcn.10008780
mov esi, dword [ebp - 0x228]
cmp dword [esi - 0xc], 0
jne 0x1005528f
call fcn.1000c350
mov ecx, eax
test ecx, ecx
je 0x10055544
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x100aa65c
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1000ba50
test al, al
jne 0x10055269
push 0
push 0x100aa65c
mov ecx, ebx
call fcn.1000cd50
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10055288
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x1005551e
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x221]
call fcn.10049c40
lea eax, [edi - 3]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
cmp eax, 0x3d
ja case.0x100552bb.4
movzx eax, byte [eax + 0x10055568]
jmp dword [eax*4 + 0x10055558]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x221]
call fcn.10049ab0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.10008780
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 0x10055305
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.10052fb0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.10008780
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 0x10055348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x228]
jmp case.0x100552bb.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 0x10055364
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000cd50
push 0xd
push str.Wallpaper.set
lea ecx, [ebp - 0x230]
call fcn.1000cd50
mov esi, dword [ebp - 0x228]
jmp case.0x100552bb.4
push 0xa
push str.HaloWP.set
lea ecx, [ebp - 0x230]
call fcn.1000cd50
cmp edi, 0x3f
je 0x100553cd
cmp edi, 0x43
je 0x100553cd
cmp edi, 0x42
je 0x100553cd
cmp edi, 0x44
je 0x100553cd
cmp edi, 0x45
mov edi, 0x1a
jne 0x100553d2
mov edi, 0x1c
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10080c30
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 0x1005542a
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.1000c350
mov ecx, eax
test ecx, ecx
je 0x1005554e
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.1000ba50
test al, al
jne 0x100554a2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10055480
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000cd50
mov edi, dword [ebp - 0x22c]
add edi, 0xfffffff0
mov byte [ebp - 4], 7
push edi
call fcn.1000bb90
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 0x100554db
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 0x100554fc
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 0x10055518
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.100665d9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ba30
push 0x80004005
call fcn.1000ba30
push 0x80004005
call fcn.1000ba30
ret 0x552