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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6628
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5194b4]
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.00431b50
mov ecx, eax
test ecx, ecx
je 0x4817f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x4ea86c
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00411a90
test al, al
jne 0x481467
push 0
push 0x4ea86c
lea ecx, [ebp - 0x228]
call fcn.00410390
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00484080
mov edx, dword [0x51d9e8]
add esp, 4
mov edi, eax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x4814ad
nop dword [eax]
cmp dword [ecx + 0x10], edi
jge 0x48149a
mov ecx, dword [ecx + 8]
jmp 0x48149e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x481490
cmp eax, edx
je 0x4814ad
cmp edi, dword [eax + 0x10]
jge 0x4814af
mov eax, edx
cmp edx, eax
je 0x4814c2
add eax, 0x14
lea ecx, [ebp - 0x228]
push eax
call fcn.004116f0
mov esi, dword [ebp - 0x228]
cmp dword [esi - 0xc], 0
jne 0x48152f
call fcn.00431b50
mov ecx, eax
test ecx, ecx
je 0x4817fb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x4ea86c
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00411a90
test al, al
jne 0x481509
push 0
push 0x4ea86c
mov ecx, ebx
call fcn.00410390
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x481528
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x4817d5
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x221]
call fcn.00475f40
lea eax, [edi - 3]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
cmp eax, 0x3d
ja case.0x48155b.4
movzx eax, byte [eax + 0x481820]
jmp dword [eax*4 + 0x481810]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x221]
call fcn.004780c0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.004116f0
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 0x4815a5
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.0047f2f0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.004116f0
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 0x4815e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x228]
jmp case.0x48155b.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 0x481604
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00410390
push 0xd
push str.Wallpaper.set
lea ecx, [ebp - 0x230]
call fcn.00410390
mov esi, dword [ebp - 0x228]
jmp case.0x48155b.4
push 0xa
push str.HaloWP.set
lea ecx, [ebp - 0x230]
call fcn.00410390
cmp edi, 0x3f
je 0x48168b
cmp edi, 0x43
je 0x48168b
cmp edi, 0x42
je 0x48168b
cmp edi, 0x44
je 0x48168b
cmp edi, 0x45
je 0x48168b
cmp edi, 0x47
je 0x48168b
cmp edi, 0x48
je 0x48168b
cmp edi, 0x49
je 0x48168b
cmp edi, 0x4a
je 0x48168b
cmp edi, 0x4b
je 0x48168b
cmp edi, 0x4d
mov edi, 0x1a
jne 0x481690
mov edi, 0x1c
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004881a0
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 0x4816e8
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.00431b50
mov ecx, eax
test ecx, ecx
je 0x481805
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.00411a90
test al, al
jne 0x481759
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481737
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.00410390
mov edi, dword [ebp - 0x22c]
add edi, 0xfffffff0
mov byte [ebp - 4], 7
push edi
call fcn.0040f200
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 0x481792
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 0x4817b3
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 0x4817cf
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.00469a5c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040f1b0
push 0x80004005
call fcn.0040f1b0
push 0x80004005
call fcn.0040f1b0
nop
bound edx, qword [0x163d0048]
dec eax
add al, dh
adc eax, 0x164f0048
dec eax
add 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