Function at 0x100ed93c
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x10174d0e
call fcn.10159f04
sub esp, 0x118
mov eax, dword [0x101b7f10]
push ebx
mov ebx, dword [esp + 0x130]
push ebp
mov dword [esp + 0x11c], eax
xor eax, eax
push esi
xor dl, dl
push edi
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], dl
cmp byte [eax + ebx], 0
je 0x100acb7f
mov dword [esi + 0x2d38fb4], eax
movzx ecx, byte [eax + ebx]
mov dword [esi + 0x2d38fb8], ecx
mov cl, byte [eax + ebx]
lea edi, [esi + eax + 0x2d38f45]
cmp byte [edi], cl
je 0x100acb98
cmp cl, 0xff
mov dl, 1
jne 0x100acb98
mov byte [esp + 0x17], dl
inc eax
cmp eax, 0x64
mov byte [edi], cl
jl 0x100acb69
cmp dl, 1
push 4
pop edi
jne 0x100acbff
cmp byte [esi + 0x2d38f44], dl
jne 0x100acbff
mov ebp, dword [0x10a0c444]
push 0xeb
mov ecx, ebp
call fcn.100951e2
test al, al
jne 0x100acbd5
push 3
push edi
push 0xcb
mov ecx, ebp
call fcn.10096e10
cmp byte [esp + 0x17], 1
jne 0x100acbff
mov eax, dword [0x10a0c350]
mov eax, dword [eax + 0x2430]
mov ecx, dword [0x10a0066c]
push 0
push eax
push 0xf6969
lea eax, [esp + 0x24]
push eax
call fcn.1001f53b
mov byte [esi + 0x2d38f44], 1
cmp byte [ebx], 1
jne 0x100accfe
mov eax, dword [0x10a0c444]
mov dword [eax + 0x40], 0xd4
mov eax, dword [0x10a0c444]
push 0xa
mov dword [eax + 0x44], 3
mov eax, dword [0x10a0c444]
xor ebp, ebp
push edi
inc ebp
push ebp
mov dword [eax + 0x48], 0x5d05
call fcn.100f0775
mov eax, dword [0x10a0c444]
push 0xb
mov dword [eax + 0x44], edi
mov eax, dword [0x10a0c444]
push edi
push ebp
mov dword [eax + 0x48], 0x5d0a
call fcn.100f0775
mov eax, dword [0x10a0c444]
push 0xc
mov dword [eax + 0x44], 6
mov eax, dword [0x10a0c444]
push edi
push ebp
mov dword [eax + 0x48], 0x5d0b
call fcn.100f0775
mov ecx, dword [0x10a0c480]
add esp, 0x24
cmp byte [ecx + 0x1d4f], 0
jne 0x100acc9a
push ebx
call fcn.10100560
jmp 0x100ad567
lea ecx, [esp + 0x24]
call fcn.10152120
mov ecx, dword [0x10a0c364]
and dword [esp + 0x130], 0
lea eax, [esp + 0x24]
push eax
push 0x41b
call fcn.100431ba
push ebp
sub esp, 0x100
lea eax, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x11c], esp
push eax
call fcn.10152140
mov ecx, dword [0x10a0c444]
push 0xeb
call fcn.100a9df9
or dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10152110
lea edi, [esi + 0x16643a0]
mov dword [esp + 0x18], 0x12c
mov ebp, 0x10180c16
push ebp
lea ecx, [edi + 0x12c00]
call fcn.10152010
push ebp
mov ecx, edi
call fcn.10152010
push ebp
lea ecx, [edi + 0x38400]
call fcn.10152010
push ebp
lea ecx, [edi + 0x25800]
call fcn.10152010
add edi, 0x100
dec dword [esp + 0x18]
jne 0x100acd11
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], 0x12c
jge 0x100ad412
mov eax, dword [esp + 0x10]
mov al, byte [eax + ebx]
test al, al
je 0x100ad412
movzx eax, al
mov ecx, eax
sub ecx, 0xfe
je 0x100ad412
dec ecx
je 0x100ad232
and dword [esp + 0x18], 0
mov ecx, esi
movzx edx, byte [ecx]
cmp edx, dword [esp + 0x10]
je 0x100acdaf
inc dword [esp + 0x18]
add ecx, 0x131b8
cmp dword [esp + 0x18], 0x12c
jl 0x100acd8d
jmp 0x100ad412
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
imul ebp, ebp, 0x131b8
shl eax, 8
add eax, ebp
lea eax, [eax + esi + 0x4b8]
push eax
mov eax, dword [0x10a0c3a8]
shl edi, 8
lea ecx, [edi + eax + 0x1676fa0]
call fcn.10152010
lea eax, [esi + ebp + 1]
push eax
mov eax, dword [0x10a0c3a8]
lea ecx, [edi + eax + 0x16643a0]
call fcn.10152010
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
imul ebp, ebp, 0x4c6e
movzx ecx, byte [eax + ebx]
add ecx, ebp
push dword [esi + ecx*4 + 0x104]
mov ecx, esi
push eax
call fcn.1008f78c
test eax, eax
je 0x100ace5c
movzx ecx, byte [ebx + 0x5b]
cmp eax, ecx
jge 0x100ace2d
mov cl, al
dec cl
mov byte [ebx + 0x5b], cl
movzx ecx, cl
sub eax, ecx
push eax
mov eax, dword [0x10a0c3a8]
lea ecx, [edi + eax + 0x1676fa0]
call fcn.10151f50
push eax
mov eax, dword [0x10a0c3a8]
lea ecx, [edi + eax + 0x1676fa0]
call fcn.10151f50
push eax
call fcn.10159219
add esp, 0xc
cmp dword [esp + 0x10], 0x2f
jne 0x100aced9
movzx eax, byte [ebx + 0x2f]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xb
jl 0x100ace9a
cmp word [0x10a0c450], 9
jne 0x100ace9a
mov ecx, dword [0x10a0c368]
mov edi, 0x519
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
movzx eax, byte [ebx + 0x2f]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xc
jl 0x100ad229
cmp word [0x10a0c450], 0xc
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x518
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
cmp dword [esp + 0x10], 0x32
jne 0x100acf1f
movzx eax, byte [ebx + 0x32]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 4
jl 0x100ad229
cmp word [0x10a0c450], 0xc
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x51a
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
cmp dword [esp + 0x10], 0x33
jne 0x100acf41
movzx eax, byte [ebx + 0x33]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad229
mov byte [esi + 0x2d38fb0], 0
cmp dword [esp + 0x10], 0x34
jne 0x100acf87
movzx eax, byte [ebx + 0x34]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xa
jl 0x100ad229
cmp word [0x10a0c450], 1
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x59d
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
cmp dword [esp + 0x10], 0x36
jne 0x100ad004
movzx eax, byte [ebx + 0x36]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xa
jl 0x100acfc5
cmp word [0x10a0c450], 0x11
jne 0x100acfc5
mov ecx, dword [0x10a0c368]
mov edi, 0x59e
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
movzx eax, byte [ebx + 0x36]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xc
jl 0x100ad229
cmp word [0x10a0c450], 0x11
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x59f
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
cmp dword [esp + 0x10], 0x37
jne 0x100ad09d
movzx eax, byte [ebx + 0x37]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad229
cmp word [0x10a0c450], 0x11
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x5a0
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
mov ecx, dword [0x10a0c368]
inc edi
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
mov ecx, dword [0x10a0c368]
mov edi, 0x5a2
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
mov ecx, dword [0x10a0c368]
inc edi
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
mov eax, dword [esp + 0x10]
cmp eax, 0x3b
jne 0x100ad0d8
movzx ecx, byte [ebx + 0x3b]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 7
jl 0x100ad0bd
mov byte [esi + 0x2d38fbd], 1
movzx ecx, byte [ebx + 0x3b]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 9
jl 0x100ad229
mov byte [esi + 0x2d38fbd], 0
cmp eax, 0x41
jne 0x100ad10f
movzx ecx, byte [ebx + 0x41]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 0x18
jl 0x100ad0f4
mov byte [esi + 0x2d38fbe], 1
movzx ecx, byte [ebx + 0x41]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 0x19
jl 0x100ad229
mov byte [esi + 0x2d38fbe], 0
cmp eax, 0x3d
jne 0x100ad155
movzx eax, byte [ebx + 0x3d]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad229
cmp word [0x10a0c450], 0x16
jne 0x100ad229
mov ecx, dword [0x10a0c368]
mov edi, 0x5ea
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
jmp 0x100ad15a
mov edi, 0x5ea
cmp dword [esp + 0x10], 0x3e
jne 0x100ad1c1
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 1
jl 0x100ad193
cmp word [0x10a0c450], 0x16
jne 0x100ad193
mov ecx, dword [0x10a0c368]
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x16
jl 0x100ad1aa
mov byte [esi + 0x2d38fbc], 1
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x18
jl 0x100ad229
mov byte [esi + 0x2d38fbc], 0
cmp dword [esp + 0x10], 0x42
jne 0x100ad229
movzx eax, byte [ebx + 0x42]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x1b
jl 0x100ad1ff
cmp word [0x10a0c450], 0x1a
jne 0x100ad1ff
mov ecx, dword [0x10a0c368]
mov edi, 0x5e7
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
movzx eax, byte [ebx + 0x42]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x1d
jl 0x100ad229
cmp word [0x10a0c450], 0x1a
jne 0x100ad229
mov ecx, dword [0x10a0c368]
push 0x5e7
call fcn.101191c2
inc dword [esp + 0x20]
jmp 0x100ad412
xor ebp, ebp
mov eax, esi
movzx ecx, byte [eax]
cmp ecx, dword [esp + 0x10]
je 0x100ad252
inc ebp
add eax, 0x131b8
cmp ebp, 0x12c
jl 0x100ad236
jmp 0x100ad412
mov edi, dword [esp + 0x1c]
imul ebp, ebp, 0x131b8
lea eax, [esi + ebp + 1]
push eax
mov eax, dword [0x10a0c3a8]
shl edi, 8
lea ecx, [eax + edi + 0x1689ba0]
call fcn.10152010
mov eax, dword [esi + ebp + 0x104]
shl eax, 8
add eax, ebp
lea eax, [eax + esi + 0x4b8]
push eax
mov eax, dword [0x10a0c3a8]
lea ecx, [eax + edi + 0x169c7a0]
call fcn.10152010
inc dword [esp + 0x1c]
cmp dword [esp + 0x10], 0x2f
jne 0x100ad2e0
cmp word [0x10a0c450], 0xc
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x519
call fcn.101191c2
mov ecx, dword [0x10a0c368]
mov edi, 0x518
push edi
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push edi
call fcn.10118c3e
cmp dword [esp + 0x10], 0x31
jne 0x100ad2ee
mov byte [esi + 0x2d38fb1], 1
cmp dword [esp + 0x10], 0x32
jne 0x100ad313
cmp word [0x10a0c450], 0xc
je 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x51a
call fcn.101191c2
cmp dword [esp + 0x10], 0x33
jne 0x100ad321
mov byte [esi + 0x2d38fb0], 0
cmp dword [esp + 0x10], 0x34
jne 0x100ad346
cmp word [0x10a0c450], 1
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x59d
call fcn.101191c2
cmp dword [esp + 0x10], 0x36
jne 0x100ad37b
cmp word [0x10a0c450], 0x11
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x59e
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push 0x59f
call fcn.101191c2
cmp dword [esp + 0x10], 0x42
jne 0x100ad3a0
cmp word [0x10a0c450], 0x1a
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x5e7
call fcn.101191c2
cmp dword [esp + 0x10], 0x37
jne 0x100ad3f1
cmp word [0x10a0c450], 0x11
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x5a0
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push 0x5a1
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push 0x5a2
call fcn.101191c2
mov ecx, dword [0x10a0c368]
push 0x5a3
call fcn.101191c2
cmp dword [esp + 0x10], 0x3e
jne 0x100ad412
cmp word [0x10a0c450], 0x16
jne 0x100ad412
mov ecx, dword [0x10a0c368]
push 0x5ea
call fcn.101191c2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x64
jl 0x100acd51
mov ecx, dword [0x10a0c444]
push 1
mov edi, 0xeb
push edi
call fcn.1009692a
mov ebp, dword [esp + 0x20]
mov ecx, dword [0x10a0c444]
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0x50
push 0x53
mov ebx, 0x135
push ebx
push 1
push edi
call fcn.1009f09b
mov ecx, dword [0x10a0c444]
push 3
push edi
call fcn.1009692a
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10a0c444]
push 0
push 0
add eax, 0xfffffffc
push eax
push 0x55
push 0x166
push ebx
push 3
push edi
call fcn.1009f09b
xor ebx, ebx
inc ebx
mov ecx, dword [0x10a0c444]
push 0
push ebx
push edi
call fcn.10096da0
inc ebx
cmp ebx, 9
jl 0x100ad48b
xor ebx, ebx
inc ebx
test ebp, ebp
jle 0x100ad4b5
mov ecx, dword [0x10a0c444]
push ebx
push ebx
push edi
call fcn.10096da0
cmp ebp, ebx
jle 0x100ad4c8
mov ecx, dword [0x10a0c444]
push ebx
push 2
push edi
call fcn.10096da0
cmp ebp, 2
jle 0x100ad4dc
mov ecx, dword [0x10a0c444]
push ebx
push 3
push edi
call fcn.10096da0
cmp ebp, 3
jle 0x100ad4f0
mov ecx, dword [0x10a0c444]
push ebx
push 4
push edi
call fcn.10096da0
cmp dword [esp + 0x1c], 0
jle 0x100ad506
mov ecx, dword [0x10a0c444]
push ebx
push 5
push edi
call fcn.10096da0
cmp dword [esp + 0x1c], ebx
jle 0x100ad51b
mov ecx, dword [0x10a0c444]
push ebx
push 6
push edi
call fcn.10096da0
cmp dword [esp + 0x1c], 2
jle 0x100ad531
mov ecx, dword [0x10a0c444]
push ebx
push 7
push edi
call fcn.10096da0
cmp dword [esp + 0x1c], 3
jle 0x100ad547
mov ecx, dword [0x10a0c444]
push ebx
push 8
push edi
call fcn.10096da0
push ebx
mov ecx, esi
call fcn.1009a7fa
push 3
mov ecx, esi
call fcn.1009a7fa
push 2
mov ecx, esi
call fcn.1009a7fa
mov dword [esi + 0x2d38fac], ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.1015901e
pop edi
pop esi
pop ebp
pop ebx
leave
ret 4
mov ecx, dword [0x10a0c3a8]
jmp 0x100acb30