Function at 0x4d5ad0
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x60cf39
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x18], 0
mov dword [0x6b42a8], 0
je 0x4d5b1b
mov dword [eax], 0
mov eax, dword [ecx + 0x28]
add ecx, 0x28
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.0059e260
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5f7d
mov ecx, esi
sub ecx, dword [esp + 0x48]
cmp ecx, 2
jge 0x4d5b4c
add esi, 2
jmp 0x4d5f60
sub esi, 2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d5b54
sub eax, edx
cmp eax, 0x44
jb 0x4d5f7d
movsx edx, byte [esi + 5]
push edx
push str.PSWpsw
call fcn.0059eac0
add esp, 8
test eax, eax
jne 0x4d5b86
add esi, 4
jmp 0x4d5f60
mov edi, 6
jmp 0x4d5b90
movsx eax, byte [edi + esi]
push eax
call fcn.0059e905
add esp, 4
test eax, eax
jne 0x4d5ba4
add esi, 4
add edi, 1
cmp edi, 0xc
jl 0x4d5b90
xor edi, edi
cmp byte [esi + 0xc], 0x2d
jne 0x4d5bfe
movsx eax, byte [esi + 0xd]
lea ebp, [esi + 0xd]
push eax
mov edi, 1
call fcn.0059e905
add esp, 4
test eax, eax
je 0x4d5bf6
lea ecx, [ecx]
add ebp, 1
cmp edi, 8
jge 0x4d5bec
movsx eax, byte [ebp]
push eax
add edi, 1
call fcn.0059e905
add esp, 4
test eax, eax
jne 0x4d5bd0
cmp edi, 2
jl 0x4d5bf6
cmp edi, 7
jle 0x4d5bfe
add esi, 4
jmp 0x4d5f60
push 0x400
push esi
push 0x6b5bb0
mov dword [esp + 0x28], esi
call fcn.005a2c60
lea eax, [edi + 0xc]
mov ebx, 0x6b5bb0
add edi, 0x44
add esp, 0xc
lea esi, [eax + 0x6b5bb0]
mov byte [0x6b5faf], 0
mov dword [esp + 0x28], ebx
mov dword [0x69d9ac], eax
mov dword [0x69ddb0], edi
call fcn.004dd850
mov ebp, dword [0x69d9ac]
xor edi, edi
cmp byte [ebp + 0x6b5bb0], 0x5b
lea ebp, [ebp + 0x6b5bb0]
mov dword [esp + 0x20], edi
jne 0x4d5ceb
push 0x5d
push ebp
call fcn.0059eac0
add esp, 8
test eax, eax
jne 0x4d5c7b
mov esi, dword [esp + 0x1c]
add esi, 4
jmp 0x4d5f60
lea esi, [ebp + 1]
call fcn.004dd850
push 0x5d
push ebp
call fcn.0059eac0
mov esi, eax
add esp, 8
cmp ebp, esi
mov edi, ebp
jae 0x4d5cbc
cmp byte [edi], 0x20
ja 0x4d5cb5
mov byte [edi], 0x20
add edi, 1
mov esi, edi
call fcn.004dd850
push 0x5d
push ebp
call fcn.0059eac0
add esp, 8
mov esi, eax
add edi, 1
cmp edi, esi
jb 0x4d5c96
cmp byte [esi - 1], 0x20
ja 0x4d5cca
add esi, 0xffffffff
call fcn.004dd850
add esi, 1
mov edi, esi
sub edi, ebp
cmp edi, 5
mov dword [esp + 0x20], edi
jge 0x4d5ce6
mov esi, dword [esp + 0x1c]
add esi, 4
jmp 0x4d5f60
call fcn.004dd850
mov ecx, dword [0x69d9ac]
mov al, byte [ecx + edi + 0x6b5bb0]
cmp al, 0x3d
lea esi, [ecx + edi + 0x6b5bb0]
je 0x4d5d13
cmp al, 0x3a
je 0x4d5d13
mov esi, dword [esp + 0x1c]
add esi, 4
jmp 0x4d5f60
mov eax, 0x6b5bb0
add esi, 1
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d5d20
sub eax, edx
lea edx, [eax + 0x6b5bb0]
cmp esi, edx
jae 0x4d5d65
cmp byte [esi], 0x20
ja 0x4d5d3f
call fcn.004dd850
mov eax, 0x6b5bb0
add esi, 1
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d5d50
sub eax, edx
lea eax, [eax + 0x6b5bb0]
cmp esi, eax
jb 0x4d5d35
mov ecx, dword [0x69ddb0]
mov al, byte [ecx + edi + 0x6b5baf]
cmp al, 0x3d
je 0x4d5d86
cmp al, 0x3a
je 0x4d5d86
mov esi, dword [esp + 0x1c]
add esi, 4
jmp 0x4d5f60
mov esi, dword [0x69d9ac]
add esi, 1
add ecx, 0xffffffff
cmp esi, ecx
jge 0x4d5dd0
mov ebp, dword [esp + 0x1c]
add edi, esi
lea esp, [esp]
movsx ecx, byte [edi + ebx]
push ecx
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
call fcn.0059eac0
add esp, 8
test eax, eax
jne 0x4d5db9
lea ebx, [ebp + 4]
mov edx, dword [0x69ddb0]
add esi, 1
add edx, 0xffffffff
add edi, 1
cmp esi, edx
jl 0x4d5da0
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x14]
call fcn.00401450
push 0x6978
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call fcn.00404f10
lea eax, [esp + 0x14]
push 0x654368
push eax
call fcn.00413690
add esp, 8
test al, al
je 0x4d5e1b
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.0059e260
add esp, 8
cmp eax, ebx
jne 0x4d6033
push 0x639ce8
lea ecx, [esp + 0x18]
call fcn.00401590
push 0x697f
lea ecx, [esp + 0x18]
call fcn.00404f10
lea edx, [esp + 0x14]
push edx
mov ecx, 0x63eae8
call fcn.004011c0
add esp, 4
test al, al
je 0x4d5e87
push ebx
lea ecx, [esp + 0x38]
call fcn.00404e10
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x48], 1
or dword [esp + 0x20], 1
mov ecx, eax
call fcn.0040ff90
mov ecx, dword [eax]
or dword [esp + 0x18], 2
lea esi, [esp + 0x14]
call fcn.004134a0
test eax, eax
jge 0x4d5e87
mov bl, 1
jmp 0x4d5e89
xor bl, bl
test byte [esp + 0x18], 2
je 0x4d5e9e
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x30]
call fcn.00401510
mov dword [esp + 0x40], 0
test byte [esp + 0x18], 1
je 0x4d5ebb
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x34]
call fcn.00401510
test bl, bl
jne 0x4d6033
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4d5ed1
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [0x6b4064]
or ecx, 0xffffffff
xor ebx, ebx
test eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ecx
je 0x4d5f42
mov ebp, dword [esp + 0x28]
jmp 0x4d5ef0
mov esi, ebp
xor edi, edi
xor ecx, ecx
sub esi, eax
mov dl, byte [eax]
cmp dl, byte [esi + eax]
jne 0x4d5f04
add edi, 1
jmp 0x4d5f09
cmp dl, 0x3f
jne 0x4d5f16
add ecx, 1
add eax, 1
cmp ecx, 6
jl 0x4d5ef8
jmp 0x4d5f19
or edi, 0xffffffff
cmp edi, dword [esp + 0x2c]
jle 0x4d5f27
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx*4 + 0x6b4068]
add ebx, 1
test eax, eax
jne 0x4d5ef0
cmp dword [esp + 0x20], eax
jge 0x4d6049
or ecx, 0xffffffff
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x14]
mov dword [0x6b42ac], 0
add esi, 4
call fcn.00401510
mov eax, dword [esp + 0x24]
add eax, 0x28
mov eax, dword [eax]
push eax
push esi
call fcn.0059e260
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d5b39
cmp dword [0x6b5584], 0
jne 0x4d6081
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00401db0
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], 2
xor esi, esi
xor ebp, ebp
mov dword [0x6b5584], 1
add edi, 0x2c
push edi
mov ecx, 0x639ce8
call fcn.004011c0
add esp, 4
test al, al
je 0x4d600c
test esi, esi
jne 0x4d600c
push edi
mov ecx, ebx
call fcn.00407270
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
push edx
push eax
call fcn.004d5ad0
mov esi, eax
test esi, esi
je 0x4d6001
mov dword [0x6b42a8], 1
add ebp, 1
add edi, 4
cmp ebp, 0xa
jl 0x4d5fc0
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00407290
test esi, esi
mov dword [0x6b5584], 0
je 0x4d606a
lea ecx, [esp + 0x20]
call fcn.00401510
mov eax, esi
jmp 0x4d6083
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.00401510
jmp 0x4d5f7d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax*4 + 0x6b4064]
add ecx, 6
mov dword [0x6b42ac], ecx
lea ecx, [esp + 0x14]
call fcn.00401510
mov eax, ebp
jmp 0x4d6083
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4d6078
mov dword [eax], 0
lea ecx, [esp + 0x20]
call fcn.00401510
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8