Function at 0x1003d820
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1003db9d
push ebx
push edi
cmp eax, 0x7c
je 0x1003db9b
cmp eax, 0x29
jne 0x1003d85d
cmp dword [esi + 0x10], 0
jne 0x1003db9b
test dword [esi + 0x50], 0x10000000
je 0x1003dbaa
jmp 0x1003db2c
cmp eax, 0x2e
jne 0x1003d871
push 5
lea ecx, [esi + 0x24]
call fcn.10045ea0
jmp 0x1003db39
cmp eax, 0x5c
jne 0x1003d94d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1003d8c0
cmp word [eax], 0x5c
jne 0x1003d8bb
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003d8b9
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1003d8a7
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1003d8bb
cmp edi, 0x29
je 0x1003d8bb
test dl, 0x10
jne 0x1003d8b9
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x1003d8bb
cmp ecx, 0x7d
je 0x1003d8bb
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10046fc0
test byte [esi + 0x50], 0x80
je 0x1003d941
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1003d929
push 4
lea ecx, [esi + 0x24]
call fcn.10045ea0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1003dad6
cmp word [eax], 0x5c
jne 0x1003dad1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003dacf
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1003d921
movzx edx, word [ecx]
cmp edx, 0x28
je 0x1003dad1
cmp edx, 0x29
je 0x1003dad1
test bl, 0x10
jmp 0x1003dac0
cmp eax, 0x42
jne 0x1003d941
push 4
lea ecx, [esi + 0x24]
call fcn.10045ea0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1003d8e0
mov ecx, esi
call fcn.1003dbd0
jmp 0x1003db86
cmp eax, 0x5b
jne 0x1003d9ff
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1003d99c
cmp word [eax], 0x5c
jne 0x1003d997
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003d995
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1003d983
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1003d997
cmp edi, 0x29
je 0x1003d997
test dl, 0x10
jne 0x1003d995
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x1003d997
cmp ecx, 0x7d
je 0x1003d997
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10046fc0
lea ecx, [esi + 0x24]
call fcn.1003cf50
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1003d9c4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10045f10
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1003d9e2
cmp eax, 0x5d
jne 0x1003d9e2
push eax
lea ecx, [esi + 0x24]
call fcn.1003cec0
mov ecx, esi
call fcn.10045f10
mov ecx, esi
call fcn.1003e9f0
cmp dword [esi + 0x4c], 0x5d
jne 0x1003dbbc
mov ecx, esi
call fcn.10045f10
jmp 0x1003db86
cmp eax, 0x28
jne 0x1003da78
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1003da4a
cmp word [eax], 0x5c
jne 0x1003da45
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003da43
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1003da31
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1003da45
cmp edi, 0x29
je 0x1003da45
test dl, 0x10
jne 0x1003da43
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x1003da45
cmp ecx, 0x7d
je 0x1003da45
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10046fc0
mov ecx, esi
call fcn.10047450
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1003dbaa
mov ecx, esi
call fcn.10045f10
test bl, bl
je 0x1003db8d
jmp 0x1003db86
cmp eax, 0x5e
jne 0x1003da81
push 2
jmp 0x1003da88
cmp eax, 0x24
jne 0x1003dae2
push 3
lea ecx, [esi + 0x24]
call fcn.10045ea0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x1003dad6
cmp word [eax], 0x5c
jne 0x1003dad1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003dacf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1003dabd
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1003dad1
cmp edi, 0x29
je 0x1003dad1
test dl, 0x10
jne 0x1003dacf
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x1003dad1
cmp ecx, 0x7d
je 0x1003dad1
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10046fc0
jmp 0x1003db8d
cmp eax, 0x2a
je 0x1003dba1
cmp eax, 0x2b
je 0x1003dba1
cmp eax, 0x3f
je 0x1003dba1
cmp eax, 0x7b
je 0x1003dba1
cmp eax, 0x7d
jne 0x1003db1a
test dword [esi + 0x50], 0x10000000
je 0x1003dbb3
jmp 0x1003db2c
cmp eax, 0x5d
jne 0x1003db2c
test dword [esi + 0x50], 0x10000000
je 0x1003dbbc
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1003cd20
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x1003db7f
cmp word [eax], 0x5c
jne 0x1003db7a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x1003db78
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1003db66
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1003db7a
cmp edi, 0x29
je 0x1003db7a
test dl, 0x10
jne 0x1003db78
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x1003db7a
cmp ecx, 0x7d
je 0x1003db7a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10046fc0
mov ecx, esi
call fcn.10045ff0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1003d833
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10041210
push 5
mov ecx, esi
call fcn.10041210
push 6
mov ecx, esi
call fcn.10041210
push 4
mov ecx, esi
call fcn.10041210
int3