Function at 0x100257c0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10025cce
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x10025ccc
cmp eax, 0x29
jne 0x10025800
cmp dword [esi + 0x10], 0
jne 0x10025ccc
test dword [esi + 0x50], 0x10000000
je 0x10025cdb
jmp 0x10025c5d
cmp eax, 0x2e
jne 0x10025872
push 5
lea ecx, [esi + 0x24]
call fcn.1000ebf0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10025cad
cmp word [eax], 0x5c
jne 0x10025868
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x10025866
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10025843
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x10025859
cmp ecx, 0x29
je 0x10025859
mov ecx, eax
test bl, 0x10
jne 0x10025866
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x10025859
mov edx, ecx
cmp edi, 0x7d
jne 0x10025866
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x10025cad
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x10025cad
cmp eax, 0x5c
jne 0x100259d7
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100258cc
cmp word [eax], 0x5c
jne 0x100258c7
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x100258c5
test byte [esi + 0x50], 8
jne 0x100258a9
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x100258c0
cmp ecx, 0x29
je 0x100258c0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100258c5
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x100258c0
mov edx, ecx
cmp ebx, 0x7d
jne 0x100258c5
lea eax, [edx + 2]
jmp 0x100258c7
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
test byte [esi + 0x50], 0x80
je 0x100259cb
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1002595e
push 4
lea ecx, [esi + 0x24]
call fcn.1000ebf0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10025952
cmp word [eax], 0x5c
jne 0x1002594d
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002594b
test byte [esi + 0x50], 8
jne 0x10025920
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x10025937
cmp ecx, 0x29
je 0x10025937
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002594b
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x10025937
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002594b
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.10029680
jmp 0x10025cbe
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
jmp 0x10025cbe
cmp ecx, 0x42
jne 0x100259cb
push 4
lea ecx, [esi + 0x24]
call fcn.1000ebf0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100259bf
cmp word [eax], 0x5c
jne 0x100259ba
lea ebx, [eax + 2]
cmp ebx, ecx
je 0x100259ba
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100259a3
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x28
je 0x100259b7
cmp edx, 0x29
je 0x100259b7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100259ba
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x7b
je 0x100259b7
cmp edx, 0x7d
jne 0x100259ba
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
jmp 0x10025cbe
mov ecx, esi
call fcn.10025d00
jmp 0x10025cb4
cmp eax, 0x5b
jne 0x10025ad2
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10025a28
cmp word [eax], 0x5c
jne 0x10025a23
lea edx, [eax + 2]
cmp edx, ecx
je 0x10025a23
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10025a0c
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x10025a20
cmp edi, 0x29
je 0x10025a20
test bl, 0x10
jne 0x10025a23
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10025a20
cmp edx, 0x7d
jne 0x10025a23
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.10025000
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10025a9e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10025a94
cmp word [eax], 0x5c
jne 0x10025a8c
lea edx, [eax + 2]
cmp edx, ecx
je 0x10025a8c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10025a75
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x10025a89
cmp edi, 0x29
je 0x10025a89
test bl, 0x10
jne 0x10025a8c
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10025a89
cmp edx, 0x7d
jne 0x10025a8c
lea eax, [ecx + 2]
add eax, 2
lea edi, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10025abb
cmp eax, 0x5d
jne 0x10025abb
push eax
mov ecx, edi
call fcn.10024f80
mov ecx, esi
call fcn.10029240
mov ecx, esi
call fcn.100264c0
push 4
push 0x5d
mov ecx, esi
call fcn.10028040
jmp 0x10025cb4
cmp eax, 0x28
jne 0x10025b4a
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10025b22
cmp word [eax], 0x5c
jne 0x10025b1d
lea edx, [eax + 2]
cmp edx, ecx
je 0x10025b1d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10025b06
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x10025b1a
cmp ebx, 0x29
je 0x10025b1a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10025b1d
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10025b1a
cmp edx, 0x7d
jne 0x10025b1d
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
mov ecx, esi
call fcn.10029830
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.10028040
test bl, bl
je 0x10025cbe
jmp 0x10025cb4
cmp eax, 0x5e
jne 0x10025bb3
push 2
lea ecx, [esi + 0x24]
call fcn.1000ebf0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10025ba7
cmp word [eax], 0x5c
jne 0x10025ba2
lea edx, [eax + 2]
cmp edx, ecx
je 0x10025ba2
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10025b8b
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x10025b9f
cmp ebx, 0x29
je 0x10025b9f
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10025ba2
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10025b9f
cmp edx, 0x7d
jne 0x10025ba2
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10029680
jmp 0x10025cbe
cmp eax, 0x24
jne 0x10025c13
push 3
lea ecx, [esi + 0x24]
call fcn.1000ebf0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10025c07
cmp word [eax], 0x5c
jne 0x10025c04
add eax, 2
cmp eax, ecx
je 0x10025c04
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10025bef
movzx edx, word [eax]
cmp edx, 0x28
je 0x10025c01
cmp edx, 0x29
je 0x10025c01
test cl, 0x10
jne 0x10025c04
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10025c01
cmp eax, 0x7d
jne 0x10025c04
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.10029680
jmp 0x10025cbe
cmp eax, 0x2a
je 0x10025cd2
cmp eax, 0x2b
je 0x10025cd2
cmp eax, 0x3f
je 0x10025cd2
cmp eax, 0x7b
je 0x10025cd2
cmp eax, 0x7d
jne 0x10025c4b
test dword [esi + 0x50], 0x10000000
je 0x10025ce4
jmp 0x10025c5d
cmp eax, 0x5d
jne 0x10025c5d
test dword [esi + 0x50], 0x10000000
je 0x10025ced
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10024db0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10025cad
cmp word [eax], 0x5c
jne 0x10025caa
add eax, 2
cmp eax, ecx
je 0x10025caa
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10025c95
movzx edx, word [eax]
cmp edx, 0x28
je 0x10025ca7
cmp edx, 0x29
je 0x10025ca7
test cl, 0x10
jne 0x10025caa
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10025ca7
cmp eax, 0x7d
jne 0x10025caa
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.10029680
mov ecx, esi
call fcn.10029290
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x100257d6
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.1000e120
push 5
mov ecx, esi
call fcn.1000e120
push 6
mov ecx, esi
call fcn.1000e120
push 4
mov ecx, esi
call fcn.1000e120
int3