Function at 0x420d40
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4b5b4c]
push ebx
push ebp
xor ebx, ebx
mov ecx, dword [eax + 0xb758]
mov ebp, dword [eax + 0xb754]
mov edx, dword [eax + 0xb75c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0xb760]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + 0xc518]
push edi
cmp ecx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], edx
jne 0x420d93
cmp dword [eax + 0xc528], ebx
jne 0x420d93
xor edi, edi
jmp 0x420d98
mov edi, 1
mov dword [esp + 0x24], edi
movsx edx, byte [0x4b6a81]
mov dword [eax + 0xb410], edx
call fcn.00447e60
call fcn.0042aed0
call fcn.0042b460
test eax, eax
je 0x420dc5
call fcn.0042b3f0
mov dword [esp + 0xc], eax
call fcn.00448120
test eax, eax
je 0x420dd7
call fcn.004480d0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00415550
mov edx, dword [0x4b5b4c]
add edx, 0xb630
push edx
call fcn.0042a820
push ebx
call fcn.004332a0
add esp, 0x10
test eax, eax
je 0x420e0b
mov byte [0x4b6a81], bl
push esi
call fcn.0042a480
test eax, eax
je 0x420e49
call fcn.0042a370
mov esi, eax
mov eax, dword [0x4b5b4c]
add eax, 0xb630
push esi
push eax
call fcn.0042a6b0
push esi
call fcn.004332a0
add esp, 0xc
test eax, eax
je 0x420e40
mov byte [0x4b6a81], bl
call fcn.0042a480
test eax, eax
jne 0x420e15
mov ecx, dword [esp + 0x10]
mov edx, 1
cmp ecx, edx
jne 0x420e66
mov ecx, dword [0x4b5b4c]
mov dword [ecx + 0x5cc0], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xbb8c], ebx
je 0x420ea5
cmp ecx, ebx
je 0x420e81
test ch, 1
jne 0x420e81
cmp ecx, 0x46
jne 0x420e8e
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x420ea5
test ch, 1
jne 0x420ea5
mov dword [eax + 0x5cc0], edx
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xc934], ebx
mov eax, dword [0x4b5b4c]
cmp edi, ebx
je 0x4211d3
cmp dword [esp + 0x10], 0x39
je 0x420ec2
mov cl, byte [0x4b69b9]
cmp cl, bl
je 0x420fd5
mov edi, dword [eax + 0xb950]
mov ecx, dword [eax + 0xb954]
cmp edi, ecx
jg 0x420f9c
lea esi, [edi*4 + 0xb750]
mov ebp, 0x141e
mov ecx, dword [esi + eax]
cmp ecx, ebx
je 0x420f8a
cmp dword [ecx + 0x158], ebx
je 0x420f8a
cmp dword [ecx + 0x1c], ebx
jne 0x420f8a
cmp dword [ecx + 0xbf4], ebp
jne 0x420f1d
push 0x1400
push ecx
call fcn.00440b60
mov eax, dword [0x4b5b4c]
add esp, 8
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x164]
mov dword [eax + 0x160], ecx
mov edx, dword [0x4b5b4c]
mov eax, 1
mov ecx, dword [esi + edx]
mov dword [ecx + 0xe24], eax
mov edx, dword [0x4b5b4c]
mov ecx, dword [esi + edx]
mov dword [ecx + 0x198], eax
mov edx, dword [0x4b5b4c]
mov eax, dword [esi + edx]
mov dword [eax + 0x1010], ebx
mov ecx, dword [0x4b5b4c]
mov edx, dword [esi + ecx]
mov dword [edx + 0x100c], ebx
mov eax, dword [0x4b5b4c]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x174]
mov edx, dword [eax + 0x170]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb954]
inc edi
add esi, 4
cmp edi, ecx
jle 0x420ee2
cmp dword [eax + 0x26a4], 3
je 0x420fc7
cmp dword [eax + 0xbb8c], ebx
jne 0x420fc7
mov ecx, dword [eax + 0xc06c]
inc ecx
imul ecx, dword [eax + 0x9170]
dec ecx
mov dword [eax + 0xbc40], ecx
mov eax, dword [0x4b5b4c]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x420fdd
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x10], 0x3b
jne 0x421029
mov al, byte [0x4b6a1d]
cmp al, bl
jne 0x42100c
mov al, byte [0x4b699d]
cmp al, bl
jne 0x42100c
mov edx, dword [esp + 0x1c]
push ebx
push edx
call fcn.00440bf0
add esp, 8
cmp edi, ebx
je 0x421024
push ebx
push edi
jmp 0x42101c
push ebx
push ebp
call fcn.00440bf0
add esp, 8
cmp esi, ebx
je 0x421024
push ebx
push esi
call fcn.00440bf0
add esp, 8
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x3c
jne 0x42109c
mov cl, byte [0x4b69b6]
cmp cl, bl
jne 0x421063
mov cl, byte [0x4b69aa]
cmp cl, bl
jne 0x421063
push 1
push ebp
call fcn.00440bf0
add esp, 8
cmp esi, ebx
je 0x42105e
push 1
push esi
call fcn.00440bf0
add esp, 8
mov eax, dword [0x4b5b4c]
mov cl, byte [0x4b6a1d]
cmp cl, bl
jne 0x42109c
mov cl, byte [0x4b699d]
cmp cl, bl
jne 0x42109c
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.00440bf0
add esp, 8
cmp edi, ebx
je 0x421095
push 1
push edi
call fcn.00440bf0
add esp, 8
mov eax, dword [0x4b5b4c]
jmp 0x4210a0
mov esi, dword [esp + 0x1c]
mov cl, byte [0x4b69bd]
cmp cl, bl
jne 0x4210b1
cmp dword [esp + 0x10], 0x3d
jne 0x4210d6
mov eax, dword [ebp + 0x174]
mov ecx, dword [ebp + 0x170]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x170]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x3e
jne 0x421156
mov edx, dword [eax + 0xb950]
mov ecx, dword [eax + 0xb954]
cmp edx, ecx
jg 0x421127
lea esi, [edx*4 + 0xb750]
mov ecx, dword [esi + eax]
cmp ecx, ebx
je 0x421119
cmp dword [ecx + 0x158], ebx
je 0x421119
cmp dword [ecx + 0x1c], ebx
jne 0x421119
mov eax, dword [ecx + 0x164]
mov dword [ecx + 0x160], eax
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb954]
inc edx
add esi, 4
cmp edx, ecx
jle 0x4210f4
mov cl, byte [0x4b69b6]
cmp cl, bl
jne 0x421147
mov cl, byte [0x4b69aa]
cmp cl, bl
jne 0x421147
mov dword [eax + 0xc93c], 1
jmp 0x421151
mov dword [eax + 0xc940], 1
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x3f
jne 0x42116c
mov dword [eax + 0xbc40], 1
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x42
jne 0x4211d3
mov ecx, dword [eax + 0xc530]
push ecx
call fcn.00413180
mov eax, dword [0x4b5b4c]
add esp, 4
mov esi, dword [eax + 0xb950]
mov ecx, dword [eax + 0xb954]
cmp esi, ecx
jg 0x4211d3
lea edi, [esi*4 + 0xb750]
mov ecx, dword [edi + eax]
cmp ecx, ebx
je 0x4211c5
cmp dword [ecx + 0x158], ebx
je 0x4211c5
mov ecx, dword [ecx + 0x345c]
cmp ecx, ebx
je 0x4211c5
push ecx
call fcn.00413180
mov eax, dword [0x4b5b4c]
add esp, 4
mov ecx, dword [eax + 0xb954]
inc esi
add edi, 4
cmp esi, ecx
jle 0x42119e
mov cl, byte [0x4b699d]
cmp cl, bl
jne 0x4211eb
mov cl, byte [0x4b6a1d]
cmp cl, bl
je 0x4215ef
cmp dword [esp + 0x28], ebx
je 0x421576
mov esi, 0x7d0
mov cl, byte [0x4b69b8]
cmp cl, bl
jne 0x4212aa
mov cl, byte [0x4b6a38]
cmp cl, bl
jne 0x4212aa
mov ecx, dword [esp + 0x10]
mov edi, 1
cmp ecx, 2
jne 0x421237
mov eax, dword [ebp + 0x262c]
xor eax, edi
mov dword [ebp + 0x262c], eax
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 3
jne 0x421255
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x262c]
xor ecx, edi
mov dword [eax + 0x262c], ecx
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 4
jne 0x42127b
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x421419
mov eax, dword [ecx + 0x262c]
xor eax, edi
mov dword [ecx + 0x262c], eax
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 5
jne 0x421367
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x421419
mov eax, dword [ecx + 0x262c]
xor eax, edi
mov dword [ecx + 0x262c], eax
mov eax, dword [0x4b5b4c]
jmp 0x421367
cmp dword [esp + 0x10], 2
jne 0x4212d0
mov eax, dword [ebp + 0x158]
xor edx, edx
cmp eax, ebx
mov eax, dword [ebp + 8]
sete dl
push edx
push eax
call fcn.00440830
mov eax, dword [0x4b5b4c]
add esp, 8
cmp dword [esp + 0x10], 3
jne 0x4212fa
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edi, dword [eax + 0x158]
mov edx, dword [eax + 8]
cmp edi, ebx
sete cl
push ecx
push edx
call fcn.00440830
mov eax, dword [0x4b5b4c]
add esp, 8
cmp dword [esp + 0x10], 4
jne 0x42132e
cmp dword [esp + 0x14], ebx
je 0x421414
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edi, dword [eax + 0x158]
mov edx, dword [eax + 8]
cmp edi, ebx
sete cl
push ecx
push edx
call fcn.00440830
mov eax, dword [0x4b5b4c]
add esp, 8
cmp dword [esp + 0x10], 5
jne 0x421362
cmp dword [esp + 0x18], ebx
je 0x421414
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edi, dword [eax + 0x158]
mov edx, dword [eax + 8]
cmp edi, ebx
sete cl
push ecx
push edx
call fcn.00440830
mov eax, dword [0x4b5b4c]
add esp, 8
mov edi, 1
cmp dword [esp + 0x10], 0x2f
jne 0x421386
mov edx, dword [eax + 0x5cf8]
xor ecx, ecx
cmp edx, ebx
sete cl
mov dword [eax + 0x5cf8], ecx
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x1f
jne 0x4213b7
cmp dword [eax + 0xc934], ebx
jne 0x4213a2
mov dword [eax + 0xc934], edi
mov eax, dword [0x4b5b4c]
jmp 0x4213b7
mov dword [eax + 0xc934], ebx
call fcn.00482af0
mov eax, dword [0x4b5b4c]
mov edi, 1
cmp dword [esp + 0x10], 0x21
jne 0x421419
mov edx, dword [eax + 0xb400]
inc edx
mov dword [eax + 0xb400], edx
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xb400], 3
jne 0x4213f0
mov dword [eax + 0xb400], esi
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xb1b8], ebx
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xb400], esi
jle 0x42141f
mov dword [eax + 0xb400], 0xffffffff
mov eax, dword [0x4b5b4c]
mov dword [eax + 0xb1b8], edi
mov eax, dword [0x4b5b4c]
jmp 0x421419
mov edi, 1
cmp dword [eax + 0xb400], esi
jl 0x421444
cmp dword [eax + 0xc934], ebx
jne 0x421444
mov dword [eax + 0xb400], 0xffffffff
mov ecx, dword [0x4b5b4c]
mov dword [ecx + 0xb1b8], edi
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x26
jne 0x421463
mov ecx, dword [eax + 0xa2e0]
xor edx, edx
cmp ecx, ebx
sete dl
mov dword [eax + 0xa2e0], edx
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x2e
jne 0x421490
mov edx, dword [eax + 0xc52c]
inc edx
mov dword [eax + 0xc52c], edx
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xc52c], 2
jle 0x421490
mov dword [eax + 0xc52c], ebx
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x17
jne 0x42150f
mov edi, dword [eax + 0xb950]
mov ecx, dword [eax + 0xb954]
cmp edi, ecx
jg 0x42150f
lea esi, [edi*4 + 0xb750]
mov ecx, dword [esi + eax]
cmp ecx, ebx
je 0x421501
cmp dword [ecx + 0x158], ebx
je 0x421501
cmp dword [ecx + 0x1c], ebx
jne 0x421501
push ebx
push ecx
call fcn.00440b60
mov eax, dword [0x4b5b4c]
add esp, 8
mov ecx, dword [esi + eax]
mov dword [ecx + 0xe0c], 1
mov edx, dword [0x4b5b4c]
mov eax, dword [esi + edx]
mov dword [eax + 0x1b8], ebx
mov ecx, dword [0x4b5b4c]
mov edx, dword [esi + ecx]
mov dword [edx + 0x1b4], ebx
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb954]
inc edi
add esi, 4
cmp edi, ecx
jle 0x4214ae
cmp dword [eax + 0xc51c], ebx
je 0x421576
cmp dword [esp + 0x10], 0x14
jne 0x421576
mov dword [eax + 0x26c4], ebx
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb758]
cmp ecx, ebx
je 0x421546
cmp dword [ecx + 0x158], ebx
je 0x421546
mov dword [ecx + 0x262c], ebx
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0x26a4]
sub ecx, 3
neg ecx
sbb ecx, ecx
and ecx, 3
mov dword [eax + 0x26a4], ecx
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xbc40], 0xffffffff
call fcn.004336e0
mov eax, dword [0x4b5b4c]
cmp dword [esp + 0x10], 0x20
jne 0x4215ef
cmp dword [eax + 0xc524], ebx
je 0x4215ef
mov esi, 1
mov dword [eax + 0xc520], esi
mov eax, dword [0x4b5b4c]
mov ebp, dword [eax + 0xc518]
inc ebp
mov dword [eax + 0xc518], ebp
mov eax, dword [0x4b5b4c]
mov edx, dword [eax + 0xc518]
mov ecx, dword [eax + edx*4 + 0xb750]
cmp ecx, ebx
je 0x4215c0
cmp dword [ecx + 0x158], ebx
jne 0x4215c8
cmp edx, dword [eax + 0xb954]
jl 0x42158a
mov ecx, dword [eax + 0xc518]
mov edx, dword [eax + 0xb954]
cmp ecx, edx
jle 0x4215ef
mov dword [eax + 0xc520], ebx
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xc518], ebx
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xc520], ebx
jne 0x421626
cmp dword [eax + 0xc51c], ebx
jmp 0x421626
mov esi, dword [esp + 0x10]
mov edi, 1
mov edx, dword [0x4a45f0]
cmp edx, 0xffffffff
jne 0x421659
call fcn.00492f37
cdq
mov ecx, 0xa
mov esi, dword [esp + 0x10]
idiv ecx
mov eax, dword [0x4b5b4c]
add edx, 0x14
mov dword [0x4a45f0], edx
lea ecx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*8]
mov ecx, dword [eax + 0xb3fc]
shl edx, 0
cmp ecx, edx
jmp 0x42167e
mov cl, byte [0x4b5524]
cmp cl, bl
je 0x421697
xor cl, cl
mov byte [0x4b5524], cl
mov byte [0x4b6a81], 1
cmp dword [eax + 0xb410], ebx
je 0x4216d4
cmp esi, ebx
je 0x4216d4
cmp cl, bl
jne 0x4216d4
test esi, 0x100
jne 0x4216d4
cmp esi, 0x58
je 0x4216d4
cmp dword [eax + 0x26a4], 3
jne 0x4216c2
cmp esi, 0x46
jne 0x4216d4
mov byte [0x4b6a81], bl
cmp esi, 0x46
jne 0x4216d4
mov byte [0x4b5524], 1
cmp dword [eax + 0xbb74], edi
jne 0x4216f5
call fcn.00417700
mov eax, dword [0x4b5b4c]
mov dword [eax + 0xbb74], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [0x4b5b4c]
cmp esi, 0x58
pop esi
jne 0x421717
cmp dword [eax + 0xb410], ebx
jne 0x421711
call fcn.00417700
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov dword [eax + 0xbb74], edi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret