Function at 0x473141
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
movzx eax, byte [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x48]
add esi, ebx
mov dword [eax], 0
mov eax, dword [esp + 0x4c]
mov dword [eax], 0
cmp ebx, esi
je 0x473198
movsx eax, byte [ebx]
mov dword [esp], eax
call fcn.004730b1
test al, al
jne 0x4731ba
movzx eax, byte [ebx]
cmp al, 9
je 0x473191
cmp al, 0x20
jne 0x473261
add ebx, 1
cmp esi, ebx
jne 0x473173
xor eax, eax
jmp 0x473266
cmp edx, 1
je 0x473261
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473261
add ebx, 1
cmp esi, ebx
je 0x473198
movsx eax, byte [ebx]
mov edx, 2
cmp al, 0x3b
je 0x4731e8
cmp al, 0x20
je 0x4731d5
cmp al, 9
jne 0x4731a1
add ebx, 1
mov edx, 1
cmp esi, ebx
je 0x473198
movsx eax, byte [ebx]
cmp al, 0x3b
jne 0x4731cd
add ebx, 1
cmp esi, ebx
je 0x473261
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], 0
xor ebp, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
movsx eax, byte [ebx]
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473271
lea edi, [ebx + 1]
cmp esi, edi
je 0x473261
mov ecx, 5
movsx eax, byte [edi]
cmp al, 0x3d
je 0x473289
cmp al, 0x20
je 0x4734c1
cmp al, 9
je 0x4734c1
cmp ecx, 4
je 0x473261
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473261
add edi, 1
cmp esi, edi
jne 0x473227
lea esi, [esi]
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [ebx]
cmp al, 0x20
je 0x47327c
cmp al, 9
jne 0x473261
add ebx, 1
cmp esi, ebx
jne 0x473211
jmp 0x473261
cmp ecx, 5
mov dword [esp + 8], 0x96e8b4
cmove ebp, edi
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0087af41
test al, al
je 0x4736f1
test byte [esp + 0x1c], 2
jne 0x473261
add edi, 1
cmp esi, edi
je 0x473261
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
movsx eax, byte [edi]
cmp al, 0x27
je 0x473261
mov dword [esp], eax
call fcn.00473051
test al, al
je 0x4734a1
lea ebp, [edi + 1]
cmp esi, ebp
je 0x473261
movsx eax, byte [ebp]
cmp al, 0x27
jne 0x473481
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov dword [eax], edi
mov eax, ebp
sub eax, edi
mov dword [edx], eax
mov dword [esp + 8], 0x96e8c7
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0087af41
test al, al
je 0x473511
cmp esi, ebx
je 0x473261
mov dword [esp + 0x14], 0
mov edi, 1
movzx eax, byte [ebx]
cmp al, 0x27
je 0x473378
cmp al, 0x2d
je 0x473366
mov edx, eax
and edx, 0xffffffdf
sub edx, 0x41
cmp dl, 0x19
jbe 0x473366
sub eax, 0x30
cmp al, 9
ja 0x473261
add ebx, 1
cmp esi, ebx
je 0x473261
movzx eax, byte [ebx]
cmp al, 0x27
jne 0x47334a
mov eax, dword [esp + 0x18]
add ebx, 1
test eax, eax
jne 0x473571
cmp esi, ebx
je 0x4734f5
lea eax, [esi - 2]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
movsx eax, byte [ebx]
mov dword [esp], eax
call fcn.00473111
test al, al
je 0x4733fc
cmp edi, 1
je 0x473541
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4734ea
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x473261
mov ebp, dword [esp + 0x10]
movzx eax, byte [ebx]
sub ecx, 1
add ebx, 1
mov dword [esp + 0xc], ecx
mov byte [ebp], al
lea edx, [ebp + 1]
cmp esi, ebx
je 0x4734f5
movsx eax, byte [ebx]
mov dword [esp + 0x10], edx
mov dword [esp], eax
call fcn.00473111
test al, al
jne 0x4733a9
movsx eax, byte [ebx]
cmp al, 0x25
je 0x473591
cmp al, 0x3b
je 0x473417
cmp al, 0x20
je 0x473417
cmp al, 9
jne 0x4734da
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
test edx, edx
je 0x47342c
cmp edi, 1
je 0x473261
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, ecx
or edx, 2
test edi, edi
cmove edx, ecx
add ebx, 1
mov dword [esp + 0x1c], edx
cmp al, 0x3b
je 0x47327f
cmp esi, ebx
je 0x47346f
movzx eax, byte [ebx]
cmp al, 0x3b
je 0x47327c
cmp al, 0x20
je 0x473468
cmp al, 9
jne 0x473261
add ebx, 1
cmp esi, ebx
jne 0x473451
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0xc]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
call fcn.00473051
test al, al
je 0x473261
add ebp, 1
cmp esi, ebp
jne 0x4732f3
jmp 0x473261
movzx eax, byte [edi]
cmp al, 0x20
je 0x4734b0
cmp al, 9
jne 0x473261
add edi, 1
cmp esi, edi
jne 0x4732d1
jmp 0x473261
lea eax, [edi + 1]
mov ebp, edi
mov ecx, 4
cmp esi, eax
je 0x473261
mov edi, eax
jmp 0x47322c
mov dword [esp], eax
call fcn.00473111
test al, al
je 0x473261
add ebx, 1
cmp esi, ebx
jne 0x47339a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47346f
cmp edi, 1
jne 0x47346f
jmp 0x473261
mov dword [esp + 8], fcn.0096e8cd
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0087af41
test al, al
je 0x473819
cmp esi, ebx
je 0x473261
mov edi, 2
jmp 0x473343
movzx eax, byte [ebx]
mov edx, dword [esp + 0x14]
movzx eax, byte [eax + 0x96eb80]
movzx eax, byte [edx + eax + 0x96ec80]
mov dword [esp + 0x14], eax
cmp eax, 0xc
jne 0x4733b2
jmp 0x473261
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
cmp esi, ebx
je 0x4734f5
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jmp 0x47338f
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x473851
lea edx, [ebx + 1]
cmp esi, edx
je 0x473261
movzx eax, byte [edx]
lea ecx, [eax - 0x30]
cmp cl, 9
jbe 0x4736a1
lea ecx, [eax - 0x61]
lea ebp, [eax - 0x41]
mov byte [esp + 0x27], cl
mov ecx, ebp
cmp cl, 5
jbe 0x4736b1
cmp byte [esp + 0x27], 5
ja 0x473261
sub eax, 0x57
shl eax, 4
cmp ebx, dword [esp + 0x20]
je 0x473261
movzx edx, byte [edx + 1]
lea ecx, [edx - 0x30]
cmp cl, 9
jbe 0x47364b
lea ecx, [edx - 0x61]
lea ebp, [edx - 0x41]
mov byte [esp + 0x27], cl
mov ecx, ebp
cmp cl, 5
jbe 0x473641
cmp byte [esp + 0x27], 5
ja 0x473261
lea ecx, [edx - 0x57]
or eax, ecx
cmp edi, 1
je 0x473652
cmp edi, 2
je 0x4736d1
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x47367d
add ebx, 3
cmp esi, ebx
jne 0x47339a
jmp 0x4734f5
cmp byte [esp + 0x27], 5
lea ecx, [edx - 0x37]
jbe 0x47360f
or eax, ecx
cmp edi, 1
jne 0x473619
movzx edx, al
mov ecx, dword [esp + 0x14]
movzx edx, byte [edx + 0x96eb80]
movzx edx, byte [ecx + edx + 0x96ec80]
mov dword [esp + 0x14], edx
cmp edx, 0xc
je 0x473261
mov edx, dword [esp + 0x18]
test edx, edx
je 0x47362a
mov ecx, dword [esp + 0x10]
add ebx, 3
sub dword [esp + 0xc], 1
mov byte [ecx], al
lea edx, [ecx + 1]
cmp esi, ebx
jne 0x4733e9
jmp 0x4734f5
mov eax, ecx
shl eax, 4
jmp 0x4735dd
cmp byte [esp + 0x27], 5
jbe 0x4735d7
sub eax, 0x37
shl eax, 4
jmp 0x4735dd
lea edx, [eax - 0x20]
cmp dl, 0x5e
jbe 0x473622
cmp al, 0x9f
ja 0x473622
jmp 0x473261
mov dword [esp + 8], 0x96e8be
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0087af41
test al, al
je 0x473828
mov eax, dword [esp + 0x1c]
mov edx, eax
and edx, 1
mov dword [esp + 0x18], edx
jne 0x473261
add edi, 1
test al, 2
jne 0x473963
cmp esi, edi
je 0x473261
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
lea esi, [esi]
movsx eax, byte [edi]
cmp al, 0x22
jne 0x473869
cmp byte [esp + 0x26], 0
lea ebx, [edi + 1]
jne 0x473971
cmp esi, ebx
je 0x473261
movzx eax, byte [edi + 1]
cmp al, 0x5c
jne 0x4737df
jmp 0x47398d
mov ecx, dword [esp + 0x14]
movzx edx, byte [edx + 0x96eb80]
movzx edx, byte [ecx + edx + 0x96ec80]
mov dword [esp + 0x14], edx
cmp edx, 0xc
je 0x473261
mov edx, dword [esp + 0x18]
test edx, edx
je 0x47380a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x473261
mov edi, dword [esp + 0x10]
sub ecx, 1
add ebx, 1
mov dword [esp + 0xc], ecx
mov byte [edi], al
lea edx, [edi + 1]
cmp esi, ebx
je 0x473261
mov dword [esp + 0x10], edx
movzx eax, byte [ebx]
cmp al, 0x5c
je 0x473ac4
cmp al, 0x22
je 0x4739d1
movzx edx, al
cmp byte [esp + 0x26], 0
jne 0x473781
lea ecx, [edx - 0x20]
cmp cl, 0x5e
jbe 0x4737a1
cmp dl, 0x9f
jbe 0x473261
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x4737a9
add ebx, 1
cmp esi, ebx
jne 0x4737d4
jmp 0x473261
cmp esi, ebx
je 0x473261
xor edi, edi
jmp 0x473343
lea eax, [ebp - 1]
add edi, 1
cmp ebx, eax
je 0x47383c
cmp byte [ebp - 1], 0x2a
je 0x473aa4
cmp esi, edi
je 0x473261
mov dword [esp + 0x18], 0
jmp 0x473751
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x47359d
jmp 0x473261
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473951
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x473a19
lea ebx, [edi + 1]
cmp esi, ebx
je 0x47346f
movsx eax, byte [edi + 1]
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473a7b
lea ebx, [edi + 2]
cmp esi, ebx
je 0x47346f
movsx eax, byte [ebx]
mov dword [esp], eax
call fcn.004730b1
test al, al
je 0x473910
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4739c1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x473261
lea eax, [edx + 1]
sub ecx, 1
add ebx, 1
mov dword [esp + 0x10], eax
movzx eax, byte [ebx - 1]
mov dword [esp + 0xc], ecx
mov byte [edx], al
cmp esi, ebx
je 0x47346f
movsx eax, byte [ebx]
mov dword [esp + 0x18], 1
mov dword [esp], eax
call fcn.004730b1
test al, al
jne 0x4738be
movzx eax, byte [ebx]
cmp al, 0x3b
je 0x4739f1
cmp al, 0x20
je 0x473927
cmp al, 9
jne 0x473261
mov eax, dword [esp + 0x18]
add ebx, 1
test eax, eax
je 0x47344d
or dword [esp + 0x1c], 1
cmp esi, ebx
jne 0x473451
jmp 0x47346f
movzx eax, byte [edi]
cmp al, 0x20
je 0x473960
cmp al, 9
jne 0x473261
add edi, 1
cmp esi, edi
jne 0x473751
jmp 0x473261
cmp esi, ebx
je 0x473261
movzx eax, byte [edi + 1]
mov dword [esp + 0x14], 0
cmp al, 0x5c
jne 0x4737df
lea ebx, [edi + 2]
cmp esi, ebx
je 0x473261
movzx eax, byte [edi + 2]
mov edx, 0x5c
cmp al, 0x5c
je 0x4737ea
mov edx, 0x22
cmp al, 0x22
jne 0x4737e7
jmp 0x4737ea
add ebx, 1
cmp esi, ebx
jne 0x4738af
jmp 0x47346f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x473927
cmp byte [esp + 0x26], 0
je 0x473927
jmp 0x473261
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47327c
add ebx, 1
or dword [esp + 0x1c], 1
cmp esi, ebx
jne 0x473211
jmp 0x473261
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x473261
mov ebx, dword [esp + 0x10]
movzx eax, byte [edi]
sub ecx, 1
mov dword [esp + 0xc], ecx
mov byte [ebx], al
lea edx, [ebx + 1]
lea ebx, [edi + 1]
cmp esi, ebx
je 0x473ab9
movsx eax, byte [edi + 1]
mov dword [esp + 0x10], edx
mov dword [esp], eax
call fcn.004730b1
mov edx, dword [esp + 0x10]
test al, al
jne 0x4738ce
movzx eax, byte [edi + 1]
cmp al, 0x3b
je 0x473a9b
cmp al, 0x20
je 0x473a6f
cmp al, 9
jne 0x473261
mov dword [esp + 0x10], edx
lea ebx, [edi + 2]
jmp 0x473936
movzx eax, byte [edi + 1]
cmp al, 0x3b
je 0x47327c
cmp al, 9
je 0x473a93
cmp al, 0x20
jne 0x473261
lea ebx, [edi + 2]
jmp 0x47344d
mov dword [esp + 0x10], edx
jmp 0x4739fd
cmp esi, edi
je 0x473261
mov dword [esp + 0x18], 0
jmp 0x4732d1
mov eax, dword [esp + 0x44]
sub eax, ecx
jmp 0x473266
add ebx, 1
cmp esi, ebx
je 0x473261
movzx eax, byte [ebx]
cmp al, 0x5c
je 0x473ae8
cmp al, 0x22
jne 0x4737e7
mov edx, 0x22
jmp 0x4737ea
mov edx, 0x5c
jmp 0x4737ea