Function at 0x4766c0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 0
jne 0x47685b
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x47670f
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x47685b
cmp dl, 0x3f
je 0x47672e
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x476724
cmp eax, edi
je 0x476a2f
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x47685b
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x47674a
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x47685b
cmp dl, 0x23
jne 0x476784
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x29
je 0x476a26
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x476760
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x4767d7
cmp byte [ecx + 1], 0x3f
je 0x47685b
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x29
je 0x4767c4
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x4767a4
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp byte [ecx], 0
je 0x476a26
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x47685b
cmp byte [ecx], 0x50
jne 0x4767e1
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x4767f5
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x4767f5
cmp bl, 0x3d
jne 0x4767fa
cmp dl, 0x27
jne 0x47685b
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x47680a
cmp eax, edi
je 0x476a2f
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x47681c
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x476831
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x476825
test esi, esi
je 0x47685b
mov eax, ecx
sub eax, edx
cmp edi, eax
jne 0x47685b
push edi
push edx
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x476857
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
je 0x476a26
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x476874
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
cmp al, 0x5c
jne 0x4768bd
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x51
jne 0x4769f7
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x5c
jne 0x476893
test al, al
je 0x476a26
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x476893
jmp 0x4769f7
cmp al, 0x5b
jne 0x476982
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x4768fd
add ecx, 2
cmp byte [ecx], 0x45
jne 0x4768dc
mov dword [esp + 0x10], ecx
jmp 0x4768c7
push 3
push 0x5adc68
push ecx
call sub.MSVCR90.dll_strncmp
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x476911
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x4768c7
test esi, esi
jne 0x476911
cmp al, 0x5e
jne 0x476911
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x4768c7
cmp byte [ecx + 1], 0x5d
jne 0x476921
test dword [ebx + 0x44], 0x2000000
jne 0x476921
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x4769f7
test al, al
je 0x476a2c
cmp al, 0x5c
jne 0x476975
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x51
jne 0x476975
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0x5c
jne 0x476950
test al, al
je 0x476a26
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x476950
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x476930
jmp 0x4769f7
test edi, edi
je 0x4769ad
cmp al, 0x23
jne 0x4769ad
lea ebx, [ebx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x476a26
cmp al, 0xa
jne 0x476990
test al, al
je 0x476a26
jmp 0x4769f7
cmp al, 0x28
jne 0x4769d6
mov ecx, dword [esp + 0x2c]
push ebp
push edi
push ecx
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.004766c0
add esp, 0x18
test eax, eax
jg 0x476a2f
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x476a26
jmp 0x4769f7
cmp al, 0x29
je 0x476a17
cmp al, 0x7c
jne 0x4769f7
cmp dword [esp + 0x14], 0
je 0x4769f7
mov eax, dword [ebp]
cmp eax, edx
jle 0x4769f0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x476870
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x14], 0
je 0x476a26
cmp dword [ebp], edx
jge 0x476a26
mov dword [ebp], edx
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret