Function at 0x4010d7
Capabilities:
Parse credit card information

Disassembly:
jmp 0x4506d0
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
lea eax, [ebp + ebp*2]
push 0
shl eax, 3
sub eax, ebp
push 0x35f
mov dword [esp + 0x14], 0
lea eax, [eax + eax*2]
lea esi, [ebp + eax*2]
shl esi, 4
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
lea ecx, [eax*8]
sub ecx, eax
movsx edi, word [edx + ecx*8]
mov dword [esp + 0x18], edi
call fcn.0040184d
add esp, 8
test eax, eax
je 0x45073a
cmp dword [ebp*4 + 0x5a7d04], 1
jne 0x45073a
mov dword [ebp*4 + 0x5a7d04], 2
lea eax, [edi - 5]
push ebx
cmp eax, 0x40
ja case.0x45074f.13
xor ecx, ecx
mov cl, byte [eax + 0x4510e8]
jmp dword [ecx*4 + 0x4510c4]
push 0
push 0x362
call fcn.0040184d
add esp, 8
test eax, eax
jne case.0x45074f.13
mov ebx, 0x4848d0
lea edi, [esi + 0x485c68]
mov edx, dword [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 0
push edx
push eax
push ecx
mov ecx, 0x488190
call fcn.0040168b
add ebx, 4
add edi, 8
cmp ebx, 0x4848e0
jl 0x450778
mov eax, dword [0x487c00]
test eax, eax
jne 0x4507e5
mov eax, dword [esi + 0x485948]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
mov cl, byte [eax + edx*8 + 2]
lea eax, [eax + edx*8]
test cl, 0x10
je 0x4507f3
movsx ecx, word [eax + 0x30]
push ebp
push 1
push ecx
call fcn.00401c35
add esp, 0xc
mov dword [esi + 0x48594c], 0
jmp 0x450b64
mov ecx, dword [esi + 0x485944]
test ecx, ecx
je 0x4507f3
mov dword [esp + 0x10], eax
mov dword [esi + 0x48594c], 0
jmp 0x450b64
push 0
mov ecx, 0x488190
call fcn.004011f9
test eax, eax
je case.0x45074f.13
push ebp
mov ecx, 0x488190
call fcn.0040145b
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45085a
mov eax, dword [esi + 0x485948]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
mov cl, byte [eax + edx*8 + 2]
lea eax, [eax + edx*8]
test cl, 0x10
je 0x45085a
movsx ecx, word [eax + 0x30]
push ebp
push 1
push ecx
call fcn.00401c35
add esp, 0xc
mov dword [esi + 0x48594c], 0
jmp 0x450b64
cmp dword [esi + 0x485c28], 2
je 0x45098f
push 0
mov ecx, 0x488190
call fcn.004011f9
test eax, eax
je 0x450949
cmp dword [esi + 0x485c28], 0xfffffffe
je 0x450908
push ebp
mov ecx, 0x488190
call fcn.0040145b
test eax, eax
mov dword [esp + 0x10], eax
jne 0x450910
mov ebx, 0x4848d0
lea edi, [esi + 0x485c68]
mov edx, dword [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 0
push edx
push eax
push ecx
mov ecx, 0x488190
call fcn.0040168b
add ebx, 4
add edi, 8
cmp ebx, 0x4848dc
jl 0x4508b1
mov eax, dword [esi + 0x485948]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
mov cl, byte [eax + edx*8 + 2]
lea eax, [eax + edx*8]
test cl, 0x10
je 0x450910
movsx ecx, word [eax + 0x30]
push ebp
push 1
push ecx
call fcn.00401c35
add esp, 0xc
jmp 0x450910
mov dword [esp + 0x10], 0x11
mov ecx, dword [0x50202c]
xor eax, eax
mov dword [esi + 0x48594c], eax
cmp ecx, eax
mov dword [esi + 0x485c28], eax
je 0x450b64
mov eax, dword [esi + 0x485944]
cmp eax, 1
jl 0x450b64
cmp eax, 2
jg 0x450b64
jmp 0x450bb5
push 0
push 0x35f
call fcn.0040184d
add esp, 8
test eax, eax
je case.0x45074f.13
cmp dword [ebp*4 + 0x5a7d04], 2
jne case.0x45074f.13
xor edi, edi
lea ebx, [esp + 0x18]
push edi
mov ecx, 0x488190
call fcn.00401bef
mov dword [ebx], eax
inc edi
add ebx, 4
cmp edi, 3
jl 0x450974
jmp case.0x45074f.13
mov eax, dword [esp + 0x14]
cmp eax, 0x3f
mov eax, dword [esi + 0x485948]
jne 0x4509e9
mov edx, dword [esi + 0x485cd8]
inc eax
push ebp
lea ecx, [eax*8]
sub ecx, eax
cmp byte [edx + ecx*8], 0x3b
jne 0x4509cf
push 1
lea eax, [esi + 0x485c88]
push 0
push eax
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
push 0
lea ecx, [esi + 0x485c88]
push 0
push ecx
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
inc eax
push ebp
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
cmp byte [eax + edx*8], 0x3b
jne 0x450a1a
push 1
lea ecx, [esi + 0x485c88]
push 1
push ecx
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
push 0
lea edx, [esi + 0x485c88]
push 1
push edx
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
cmp dword [esi + 0x485c28], 2
je 0x450c07
push 0
mov ecx, 0x488190
call fcn.004011f9
test eax, eax
je 0x450bc9
cmp dword [esi + 0x485c28], 0xfffffffe
je 0x450ae5
push ebp
mov ecx, 0x488190
call fcn.0040145b
test eax, eax
mov dword [esp + 0x10], eax
jne 0x450aed
mov eax, dword [esp + 0x14]
cmp eax, 0x42
je 0x450a83
cmp eax, 0x43
jne 0x450ab2
mov ebx, 0x4848d0
lea edi, [esi + 0x485c68]
mov eax, dword [ebx]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push 0
push eax
push ecx
push edx
mov ecx, 0x488190
call fcn.0040168b
add ebx, 4
add edi, 8
cmp ebx, 0x4848dc
jl 0x450a8e
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov cl, byte [edx + ecx*8 + 2]
test cl, 0x10
je 0x450aed
movsx eax, word [eax + 0x30]
push ebp
push 1
push eax
call fcn.00401c35
add esp, 0xc
jmp 0x450aed
mov dword [esp + 0x10], 0x11
mov ecx, dword [0x50202c]
xor eax, eax
mov dword [esi + 0x48594c], eax
cmp ecx, eax
mov dword [esi + 0x485c28], eax
je 0x450b64
mov eax, dword [esi + 0x485944]
cmp eax, 1
jl 0x450b64
cmp eax, 2
jg 0x450b64
mov eax, dword [esp + 0x14]
cmp eax, 7
jne 0x450bab
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*8 + 6], 3
lea ecx, [edx + ecx*8]
je 0x450b64
cmp word [ecx + 8], 3
je 0x450b64
mov ecx, dword [0x48820c]
mov dword [0x4881f0], ecx
mov dword [0x502008], eax
mov dword [0x502044], 1
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x45074f.13
mov dword [0x5a7d18], eax
push 0
push 0x35f
call fcn.0040184d
add esp, 8
test eax, eax
pop ebx
je 0x450ba4
cmp dword [ebp*4 + 0x5a7d04], 2
jne 0x450ba4
mov eax, dword [esi + 0x48594c]
test eax, eax
jne 0x450ba4
mov dword [ebp*4 + 0x5a7d04], 0
pop edi
pop esi
pop ebp
add esp, 0x18
ret
cmp eax, 0x42
je 0x450bb5
cmp eax, 0x43
jne 0x450b64
mov edx, dword [0x48820c]
mov eax, dword [esi + 0x485948]
mov dword [0x4881f0], edx
jmp 0x450b55
push 0
push 0x35f
call fcn.0040184d
add esp, 8
test eax, eax
je case.0x45074f.13
cmp dword [ebp*4 + 0x5a7d04], 2
jne case.0x45074f.13
xor edi, edi
lea ebx, [esp + 0x18]
push edi
mov ecx, 0x488190
call fcn.00401bef
mov dword [ebx], eax
inc edi
add ebx, 4
cmp edi, 3
jl 0x450bec
jmp case.0x45074f.13
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 7]
cmp eax, 0x3c
ja case.0x450c1f.11
xor edx, edx
mov dl, byte [eax + 0x451140]
jmp dword [edx*4 + 0x45112c]
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
inc eax
push ebp
lea ecx, [eax*8]
sub ecx, eax
cmp byte [edx + ecx*8], 0x3b
jne 0x450c5d
push 1
lea eax, [esi + 0x485c88]
push 0
push eax
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
push 0
push 0
jmp 0x450c88
mov eax, dword [esi + 0x485948]
push ebp
inc eax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
cmp byte [eax + edx*8], 0x3b
jne 0x450a1a
push 1
push 1
lea ecx, [esi + 0x485c88]
push ecx
mov ecx, 0x488190
call fcn.00401ca8
jmp 0x450d3c
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
inc eax
push ebp
lea ecx, [eax*8]
sub ecx, eax
cmp byte [edx + ecx*8], 0x3b
jne 0x450cd9
push 1
lea eax, [esi + 0x485ca8]
push 0
lea ecx, [esi + 0x485c88]
push eax
push ecx
mov ecx, 0x488190
call fcn.00401938
jmp 0x450d3c
push 0
push 0
jmp 0x450d1e
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
inc eax
push ebp
lea ecx, [eax*8]
sub ecx, eax
cmp byte [edx + ecx*8], 0x3b
jne 0x450d1a
push 1
lea eax, [esi + 0x485ca8]
push 1
lea ecx, [esi + 0x485c88]
push eax
push ecx
mov ecx, 0x488190
call fcn.00401938
jmp 0x450d3c
push 0
push 1
lea edx, [esi + 0x485ca8]
lea eax, [esi + 0x485c88]
push edx
push eax
mov ecx, 0x488190
call fcn.00401938
jmp 0x450d3c
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x45074f.13
cmp eax, 1
jne 0x450d58
mov dword [esi + 0x48594c], 0
jmp case.0x45074f.13
mov dword [esi + 0x485c28], eax
jmp case.0x45074f.13
mov eax, dword [esi + 0x485c38]
mov ebx, 0x10
test eax, eax
jl 0x450ddb
mov ecx, dword [esi + 0x485c3c]
xor edi, edi
cmp eax, ecx
jg 0x450ddd
mov edx, dword [esp + 0x14]
cmp edx, ebx
lea edx, [eax + 1]
jne 0x450d99
cmp edx, ecx
push ebp
jle 0x450d93
push 1
push edi
jmp 0x450da6
push 0
push 0
jmp 0x450da6
cmp edx, ecx
push ebp
jle 0x450da2
push 1
jmp 0x450da4
push 0
push 1
shl eax, 5
add eax, 0x488850
mov ecx, 0x488190
push eax
call fcn.00401ca8
mov edi, eax
test edi, edi
je case.0x45074f.13
cmp edi, 1
jne 0x450dd3
inc dword [esi + 0x485c38]
jmp case.0x45074f.13
mov dword [esi + 0x485c38], edi
jmp 0x450ddd
mov edi, eax
push 0
mov ecx, 0x488190
call fcn.004011f9
test eax, eax
je case.0x45074f.13
cmp edi, 0xfffffffe
je 0x450e48
push ebp
mov ecx, 0x488190
call fcn.0040145b
test eax, eax
mov dword [esp + 0x10], eax
jne 0x450e50
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov cl, byte [edx + ecx*8 + 2]
test bl, cl
je 0x450e50
movsx eax, word [eax + 0x30]
push ebp
push 1
push eax
call fcn.00401c35
add esp, 0xc
mov dword [esi + 0x48594c], 0
jmp 0x450b64
mov dword [esp + 0x10], 0x11
mov dword [esi + 0x48594c], 0
jmp 0x450b64
push 0
mov ecx, 0x488190
call fcn.004011f9
test eax, eax
je case.0x45074f.13
push ebp
mov ecx, 0x488190
call fcn.0040145b
test eax, eax
mov dword [esp + 0x10], eax
jne 0x450fbb
mov eax, dword [esi + 0x485c2c]
test eax, eax
je 0x450ecd
mov ebx, 0x4848d0
lea edi, [esi + 0x485c68]
mov ecx, dword [ebx]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push 0
push ecx
push edx
push eax
mov ecx, 0x488190
call fcn.0040168b
add ebx, 4
add edi, 8
cmp ebx, 0x4848dc
jl 0x450e9f
mov dword [esi + 0x485c2c], 0
mov eax, dword [esi + 0x485c30]
test eax, eax
je 0x450fbb
mov eax, dword [0x50202c]
test eax, eax
jne 0x450fbb
mov ebp, dword [esi + 0x485948]
mov ebx, dword [esi + 0x485cd8]
lea ecx, [ebp*8]
sub ecx, ebp
cmp word [ebx + ecx*8 - 0x38], 0x3f
fld qword [ebx + ecx*8 - 0x28]
lea ebx, [ebx + ecx*8]
jne 0x450f19
fsub qword [ebx - 0x60]
fabs
fld qword [ebx - 0x20]
fsub qword [ebx - 0x58]
jmp 0x450f1e
fabs
fld qword [ebx - 0x20]
fabs
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
lea edi, [eax + eax*4]
mov eax, dword [esi + 0x485c30]
fstp st(0)
lea edi, [edi + edi*4]
shl edi, 2
cmp eax, 2
fstp st(0)
jne 0x450f9d
mov eax, dword [esi + 0x485cd8]
add ebp, 0xfffffffe
fld qword [ebx - 0x60]
lea edx, [ebp*8]
sub edx, ebp
cmp word [eax + edx*8], 0x3f
jne 0x450f78
fsub qword [ebx - 0x98]
fabs
fld qword [ebx - 0x58]
fsub qword [ebx - 0x90]
jmp 0x450f7d
fabs
fld qword [ebx - 0x58]
fabs
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
lea eax, [eax + eax*4]
fstp st(0)
lea eax, [eax + eax*4]
fstp st(0)
lea edi, [edi + eax*4]
push 0xca
call fcn.00401b27
add eax, edi
push eax
push 0xca
call fcn.004014a6
mov ebp, dword [esp + 0x38]
add esp, 0xc
xor eax, eax
mov dword [esi + 0x48594c], eax
mov dword [esi + 0x485c28], eax
jmp 0x450b64
mov ecx, dword [0x48820c]
mov edx, dword [esi + 0x485ccc]
mov eax, dword [esi + 0x485cc8]
sub ecx, edx
cmp ecx, eax
jl case.0x45074f.13
mov eax, dword [esi + 0x485948]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x485cd8]
mov cl, byte [eax + edx*8 + 2]
lea eax, [eax + edx*8]
test cl, 0x10
je 0x45101b
movsx ecx, word [eax + 0x30]
push ebp
push 1
push ecx
call fcn.00401c35
add esp, 0xc
mov dword [esi + 0x48594c], 0
jmp case.0x45074f.13
mov eax, dword [esi + 0x485cc8]
test eax, eax
je 0x451081
mov edx, dword [0x48820c]
mov edi, dword [esi + 0x485ccc]
sub edx, edi
cmp edx, eax
jl 0x451081
mov eax, dword [esi + 0x485948]
mov edx, dword [esi + 0x485cd8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov cl, byte [edx + ecx*8 + 2]
test cl, 0x10
je 0x451077
movsx eax, word [eax + 0x30]
push ebp
push 1
push eax
call fcn.00401c35
add esp, 0xc
mov dword [esi + 0x48594c], 0
mov ecx, dword [esi + 0x485c34]
push ebp
push ecx
call fcn.0040184d
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, 0x14
jne 0x4510a3
test eax, eax
jne 0x4510b4
jmp case.0x45074f.13
cmp ecx, 0x15
jne case.0x45074f.13
test eax, eax
jne case.0x45074f.13
mov dword [esi + 0x48594c], 0
jmp case.0x45074f.13