Function at 0x534a50
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x535085
sub esp, 0x44
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x535052
lea ecx, [0x643900]
mov dword [esp], ecx
mov dword [esp + 4], 0
shr eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.00444130
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0x22
jne 0x534dd6
mov edx, dword [esp + 0x4c]
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x28]
xor ebp, ebp
jmp 0x534ac5
mov ecx, eax
mov ebp, esi
mov eax, edi
test ebx, ebx
je 0x534dad
mov dword [esp + 0x34], eax
movzx esi, byte [ecx]
lea edi, [ebx - 1]
mov dword [esp + 0x4c], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
lea eax, [edi + ecx]
xchg esi, eax
cmp al, 0x22
xchg esi, eax
je 0x534cd3
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ebp
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x534bf4
cmp ebx, 1
je 0x534bcb
movzx ecx, byte [ecx + edi]
cmp cl, 0xb
jne 0x534b85
lea esi, [ebp + 1]
cmp edx, esi
jb 0x534b39
mov edi, dword [esp + 0x34]
mov byte [edi + ebp], cl
lea ecx, [ebx - 2]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
jmp 0x534abf
mov byte [esp + 0x21], cl
mov dword [esp + 0x4c], ebx
lea eax, [0x643900]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.004441e0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x21]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
jmp 0x534b25
cmp cl, 0xc
je 0x534b1a
cmp cl, 1
jb 0x534b94
cmp cl, 9
jbe 0x534b1a
cmp cl, 0xe
jb 0x534ba2
cmp cl, 0x7f
jbe 0x534b1a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
xchg esi, eax
cmp al, 0xb
xchg esi, eax
jne 0x534c5e
lea ecx, [ebp + 1]
cmp edx, ecx
jb 0x534c18
mov ebx, dword [esp + 0x34]
xchg esi, eax
mov byte [ebx + ebp], al
xchg esi, eax
mov esi, ecx
mov edi, ebx
mov ebx, dword [esp + 0x4c]
jmp 0x534abf
xchg esi, eax
mov byte [esp + 0x20], al
xchg esi, eax
lea eax, [0x643900]
mov dword [esp], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004441e0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
movzx esi, byte [esp + 0x20]
jmp 0x534c06
xchg esi, eax
cmp al, 0xc
xchg esi, eax
je 0x534bfb
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x534bfb
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x534bfb
xchg esi, eax
cmp al, 0x7f
xchg esi, eax
je 0x534bfb
lea ecx, [esi - 1]
cmp cl, 7
jbe 0x534bfb
lea ecx, [esi - 0xe]
cmp cl, 0x11
jbe 0x534bfb
lea ecx, [esi - 0x23]
cmp cl, 0x38
jbe 0x534bfb
lea ecx, [esi - 0x5d]
cmp cl, 0x21
jbe 0x534bfb
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
test ecx, ecx
jne 0x534d08
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
cmp byte [eax], 0x40
jne 0x534cdf
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], edx
dec ecx
mov dword [esp + 0x4c], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00535090
movzx eax, byte [esp + 0x14]
test al, al
je 0x534d84
mov dword [esp], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00447720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x60], 1
add esp, 0x44
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x534e00
xchg esi, ebx
mov byte [eax + ebp], bl
xchg esi, ebx
lea esi, [edi - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ecx, esi
mov ebp, ebx
mov ebx, edi
mov dword [esp + 0x2c], ebp
test ebx, ebx
jle 0x534f8b
movzx esi, byte [ecx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x534ec0
lea esi, [ebx - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ecx
cmp ebx, 1
je 0x534e97
test edi, edi
jbe 0x53507b
lea ebx, [ebp + 1]
mov ecx, esi
movzx esi, byte [esi]
cmp edx, ebx
jae 0x534de2
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], edi
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
lea ecx, [0x643900]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004441e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
movzx esi, byte [esp + 0x21]
mov edi, dword [esp + 0x4c]
jmp 0x534de2
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
ja 0x534ed3
mov edi, ebx
mov esi, ecx
jmp 0x534e32
lea edi, [esi - 0x61]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x534eca
lea edi, [esi - 0x41]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x534eca
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x23
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x24
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x25
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x26
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x27
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x2a
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x3d
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x3f
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x60
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x7b
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x7c
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x7d
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x7e
xchg esi, eax
je 0x534eca
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
je 0x534eca
test ebp, ebp
je 0x535029
mov word [esp + 0x22], 0
mov word [esp + 0x22], 0x2e2e
cmp byte [eax], 0x2e
jne 0x534fcf
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
lea esi, [ebp + eax - 1]
cmp byte [esi], 0x2e
je 0x534fa6
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
lea ecx, [esp + 0x22]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004b5c20
cmp dword [esp + 0x18], 0xffffffff
jne 0x534fa6
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jmp 0x534cdb
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
add esp, 0x44
ret
xor eax, eax
mov ecx, edi
call fcn.0045c9a0
nop
call fcn.0045b380
jmp fcn.00534a50