Function at 0x100ed93a
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x10181b8e
call fcn.10166ba4
sub esp, 0x118
mov eax, dword [0x101cb280]
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 0x100acba4
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 0x100acbbd
cmp cl, 0xff
mov dl, 1
jne 0x100acbbd
mov byte [esp + 0x17], dl
inc eax
cmp eax, 0x64
mov byte [edi], cl
jl 0x100acb8e
cmp dl, 1
push 4
pop edi
jne 0x100acc24
cmp byte [esi + 0x2d38f44], dl
jne 0x100acc24
mov ebp, dword [0x10a1f7a4]
push 0xeb
mov ecx, ebp
call fcn.100951ef
test al, al
jne 0x100acbfa
push 3
push edi
push 0xcb
mov ecx, ebp
call fcn.10096e22
cmp byte [esp + 0x17], 1
jne 0x100acc24
mov eax, dword [0x10a1f6b0]
mov eax, dword [eax + 0x2430]
mov ecx, dword [0x10a139cc]
push 0
push eax
push 0xf6969
lea eax, [esp + 0x24]
push eax
call fcn.1001f5cd
mov byte [esi + 0x2d38f44], 1
cmp byte [ebx], 1
jne 0x100acd23
mov eax, dword [0x10a1f7a4]
mov dword [eax + 0x40], 0xd4
mov eax, dword [0x10a1f7a4]
push 0xa
mov dword [eax + 0x44], 3
mov eax, dword [0x10a1f7a4]
xor ebp, ebp
push edi
inc ebp
push ebp
mov dword [eax + 0x48], 0x5d05
call fcn.100f0773
mov eax, dword [0x10a1f7a4]
push 0xb
mov dword [eax + 0x44], edi
mov eax, dword [0x10a1f7a4]
push edi
push ebp
mov dword [eax + 0x48], 0x5d0a
call fcn.100f0773
mov eax, dword [0x10a1f7a4]
push 0xc
mov dword [eax + 0x44], 6
mov eax, dword [0x10a1f7a4]
push edi
push ebp
mov dword [eax + 0x48], 0x5d0b
call fcn.100f0773
mov ecx, dword [0x10a1f7e0]
add esp, 0x24
cmp byte [ecx + 0x1d4f], 0
jne 0x100accbf
push ebx
call fcn.1010054e
jmp 0x100ad58c
lea ecx, [esp + 0x24]
call fcn.101521d0
mov ecx, dword [0x10a1f6c4]
and dword [esp + 0x130], 0
lea eax, [esp + 0x24]
push eax
push 0x41b
call fcn.10043240
push ebp
sub esp, 0x100
lea eax, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x11c], esp
push eax
call fcn.101521f0
mov ecx, dword [0x10a1f7a4]
push 0xeb
call fcn.100a9e1e
or dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.101521c0
lea edi, [esi + 0x16643a0]
mov dword [esp + 0x18], 0x12c
mov ebp, 0x1018dc66
push ebp
lea ecx, [edi + 0x12c00]
call fcn.101520c0
push ebp
mov ecx, edi
call fcn.101520c0
push ebp
lea ecx, [edi + 0x38400]
call fcn.101520c0
push ebp
lea ecx, [edi + 0x25800]
call fcn.101520c0
add edi, 0x100
dec dword [esp + 0x18]
jne 0x100acd36
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], 0x12c
jge 0x100ad437
mov eax, dword [esp + 0x10]
mov al, byte [eax + ebx]
test al, al
je 0x100ad437
movzx eax, al
mov ecx, eax
sub ecx, 0xfe
je 0x100ad437
dec ecx
je 0x100ad257
and dword [esp + 0x18], 0
mov ecx, esi
movzx edx, byte [ecx]
cmp edx, dword [esp + 0x10]
je 0x100acdd4
inc dword [esp + 0x18]
add ecx, 0x131b8
cmp dword [esp + 0x18], 0x12c
jl 0x100acdb2
jmp 0x100ad437
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 [0x10a1f708]
shl edi, 8
lea ecx, [edi + eax + 0x1676fa0]
call fcn.101520c0
lea eax, [esi + ebp + 1]
push eax
mov eax, dword [0x10a1f708]
lea ecx, [edi + eax + 0x16643a0]
call fcn.101520c0
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.1008f7c6
test eax, eax
je 0x100ace81
movzx ecx, byte [ebx + 0x5b]
cmp eax, ecx
jge 0x100ace52
mov cl, al
dec cl
mov byte [ebx + 0x5b], cl
movzx ecx, cl
sub eax, ecx
push eax
mov eax, dword [0x10a1f708]
lea ecx, [edi + eax + 0x1676fa0]
call fcn.10152000
push eax
mov eax, dword [0x10a1f708]
lea ecx, [edi + eax + 0x1676fa0]
call fcn.10152000
push eax
call fcn.10165eb9
add esp, 0xc
cmp dword [esp + 0x10], 0x2f
jne 0x100acefe
movzx eax, byte [ebx + 0x2f]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xb
jl 0x100acebf
cmp word [0x10a1f7b0], 9
jne 0x100acebf
mov ecx, dword [0x10a1f6c8]
mov edi, 0x519
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
movzx eax, byte [ebx + 0x2f]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xc
jl 0x100ad24e
cmp word [0x10a1f7b0], 0xc
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x518
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
cmp dword [esp + 0x10], 0x32
jne 0x100acf44
movzx eax, byte [ebx + 0x32]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 4
jl 0x100ad24e
cmp word [0x10a1f7b0], 0xc
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x51a
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
cmp dword [esp + 0x10], 0x33
jne 0x100acf66
movzx eax, byte [ebx + 0x33]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad24e
mov byte [esi + 0x2d38fb0], 0
cmp dword [esp + 0x10], 0x34
jne 0x100acfac
movzx eax, byte [ebx + 0x34]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xa
jl 0x100ad24e
cmp word [0x10a1f7b0], 1
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x59d
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
cmp dword [esp + 0x10], 0x36
jne 0x100ad029
movzx eax, byte [ebx + 0x36]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xa
jl 0x100acfea
cmp word [0x10a1f7b0], 0x11
jne 0x100acfea
mov ecx, dword [0x10a1f6c8]
mov edi, 0x59e
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
movzx eax, byte [ebx + 0x36]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0xc
jl 0x100ad24e
cmp word [0x10a1f7b0], 0x11
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x59f
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
cmp dword [esp + 0x10], 0x37
jne 0x100ad0c2
movzx eax, byte [ebx + 0x37]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad24e
cmp word [0x10a1f7b0], 0x11
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x5a0
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
mov ecx, dword [0x10a1f6c8]
inc edi
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
mov ecx, dword [0x10a1f6c8]
mov edi, 0x5a2
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
mov ecx, dword [0x10a1f6c8]
inc edi
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
mov eax, dword [esp + 0x10]
cmp eax, 0x3b
jne 0x100ad0fd
movzx ecx, byte [ebx + 0x3b]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 7
jl 0x100ad0e2
mov byte [esi + 0x2d38fbd], 1
movzx ecx, byte [ebx + 0x3b]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 9
jl 0x100ad24e
mov byte [esi + 0x2d38fbd], 0
cmp eax, 0x41
jne 0x100ad134
movzx ecx, byte [ebx + 0x41]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 0x18
jl 0x100ad119
mov byte [esi + 0x2d38fbe], 1
movzx ecx, byte [ebx + 0x41]
add ecx, ebp
cmp dword [esi + ecx*4 + 0x104], 0x19
jl 0x100ad24e
mov byte [esi + 0x2d38fbe], 0
cmp eax, 0x3d
jne 0x100ad17a
movzx eax, byte [ebx + 0x3d]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 2
jl 0x100ad24e
cmp word [0x10a1f7b0], 0x16
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
mov edi, 0x5ea
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
jmp 0x100ad17f
mov edi, 0x5ea
cmp dword [esp + 0x10], 0x3e
jne 0x100ad1e6
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 1
jl 0x100ad1b8
cmp word [0x10a1f7b0], 0x16
jne 0x100ad1b8
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x16
jl 0x100ad1cf
mov byte [esi + 0x2d38fbc], 1
movzx eax, byte [ebx + 0x3e]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x18
jl 0x100ad24e
mov byte [esi + 0x2d38fbc], 0
cmp dword [esp + 0x10], 0x42
jne 0x100ad24e
movzx eax, byte [ebx + 0x42]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x1b
jl 0x100ad224
cmp word [0x10a1f7b0], 0x1a
jne 0x100ad224
mov ecx, dword [0x10a1f6c8]
mov edi, 0x5e7
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
movzx eax, byte [ebx + 0x42]
add eax, ebp
cmp dword [esi + eax*4 + 0x104], 0x1d
jl 0x100ad24e
cmp word [0x10a1f7b0], 0x1a
jne 0x100ad24e
mov ecx, dword [0x10a1f6c8]
push 0x5e7
call fcn.101191cc
inc dword [esp + 0x20]
jmp 0x100ad437
xor ebp, ebp
mov eax, esi
movzx ecx, byte [eax]
cmp ecx, dword [esp + 0x10]
je 0x100ad277
inc ebp
add eax, 0x131b8
cmp ebp, 0x12c
jl 0x100ad25b
jmp 0x100ad437
mov edi, dword [esp + 0x1c]
imul ebp, ebp, 0x131b8
lea eax, [esi + ebp + 1]
push eax
mov eax, dword [0x10a1f708]
shl edi, 8
lea ecx, [eax + edi + 0x1689ba0]
call fcn.101520c0
mov eax, dword [esi + ebp + 0x104]
shl eax, 8
add eax, ebp
lea eax, [eax + esi + 0x4b8]
push eax
mov eax, dword [0x10a1f708]
lea ecx, [eax + edi + 0x169c7a0]
call fcn.101520c0
inc dword [esp + 0x1c]
cmp dword [esp + 0x10], 0x2f
jne 0x100ad305
cmp word [0x10a1f7b0], 0xc
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x519
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
mov edi, 0x518
push edi
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push edi
call fcn.10118c48
cmp dword [esp + 0x10], 0x31
jne 0x100ad313
mov byte [esi + 0x2d38fb1], 1
cmp dword [esp + 0x10], 0x32
jne 0x100ad338
cmp word [0x10a1f7b0], 0xc
je 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x51a
call fcn.101191cc
cmp dword [esp + 0x10], 0x33
jne 0x100ad346
mov byte [esi + 0x2d38fb0], 0
cmp dword [esp + 0x10], 0x34
jne 0x100ad36b
cmp word [0x10a1f7b0], 1
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x59d
call fcn.101191cc
cmp dword [esp + 0x10], 0x36
jne 0x100ad3a0
cmp word [0x10a1f7b0], 0x11
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x59e
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push 0x59f
call fcn.101191cc
cmp dword [esp + 0x10], 0x42
jne 0x100ad3c5
cmp word [0x10a1f7b0], 0x1a
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x5e7
call fcn.101191cc
cmp dword [esp + 0x10], 0x37
jne 0x100ad416
cmp word [0x10a1f7b0], 0x11
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x5a0
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push 0x5a1
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push 0x5a2
call fcn.101191cc
mov ecx, dword [0x10a1f6c8]
push 0x5a3
call fcn.101191cc
cmp dword [esp + 0x10], 0x3e
jne 0x100ad437
cmp word [0x10a1f7b0], 0x16
jne 0x100ad437
mov ecx, dword [0x10a1f6c8]
push 0x5ea
call fcn.101191cc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x64
jl 0x100acd76
mov ecx, dword [0x10a1f7a4]
push 1
mov edi, 0xeb
push edi
call fcn.1009693c
mov ebp, dword [esp + 0x20]
mov ecx, dword [0x10a1f7a4]
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.1009f0c0
mov ecx, dword [0x10a1f7a4]
push 3
push edi
call fcn.1009693c
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10a1f7a4]
push 0
push 0
add eax, 0xfffffffc
push eax
push 0x55
push 0x166
push ebx
push 3
push edi
call fcn.1009f0c0
xor ebx, ebx
inc ebx
mov ecx, dword [0x10a1f7a4]
push 0
push ebx
push edi
call fcn.10096db2
inc ebx
cmp ebx, 9
jl 0x100ad4b0
xor ebx, ebx
inc ebx
test ebp, ebp
jle 0x100ad4da
mov ecx, dword [0x10a1f7a4]
push ebx
push ebx
push edi
call fcn.10096db2
cmp ebp, ebx
jle 0x100ad4ed
mov ecx, dword [0x10a1f7a4]
push ebx
push 2
push edi
call fcn.10096db2
cmp ebp, 2
jle 0x100ad501
mov ecx, dword [0x10a1f7a4]
push ebx
push 3
push edi
call fcn.10096db2
cmp ebp, 3
jle 0x100ad515
mov ecx, dword [0x10a1f7a4]
push ebx
push 4
push edi
call fcn.10096db2
cmp dword [esp + 0x1c], 0
jle 0x100ad52b
mov ecx, dword [0x10a1f7a4]
push ebx
push 5
push edi
call fcn.10096db2
cmp dword [esp + 0x1c], ebx
jle 0x100ad540
mov ecx, dword [0x10a1f7a4]
push ebx
push 6
push edi
call fcn.10096db2
cmp dword [esp + 0x1c], 2
jle 0x100ad556
mov ecx, dword [0x10a1f7a4]
push ebx
push 7
push edi
call fcn.10096db2
cmp dword [esp + 0x1c], 3
jle 0x100ad56c
mov ecx, dword [0x10a1f7a4]
push ebx
push 8
push edi
call fcn.10096db2
push ebx
mov ecx, esi
call fcn.1009a81f
push 3
mov ecx, esi
call fcn.1009a81f
push 2
mov ecx, esi
call fcn.1009a81f
mov dword [esi + 0x2d38fac], ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.10165cbe
pop edi
pop esi
pop ebp
pop ebx
leave
ret 4
mov ecx, dword [0x10a1f708]
jmp 0x100acb55