Function at 0x1001ce4a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
xor edi, edi
test edx, 0x800
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x1001ccc0
mov dword [ecx], str.this_version_of_PCRE_is_not_compiled_with_PCRE_UTF8_support
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
cmp ecx, edi
je 0x1001cca9
cmp eax, edi
mov dword [ecx], edi
jne 0x1001cce7
mov dword [ecx], str.erroffset_passed_as_NULL
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
test edx, 0xfffff580
mov dword [eax], edi
je 0x1001cd0e
mov dword [ecx], str.unknown_option_bit_s__set
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x38], 0x100bd320
mov dword [esp + 0x3c], 0x100bd420
mov dword [esp + 0x40], 0x100bd520
mov dword [esp + 0x44], 0x100bd660
movzx ebx, byte [esi]
cmp ebx, edi
mov dword [esp + 0x10], esi
je 0x1001d4d5
lea ecx, [ecx]
mov eax, edx
and eax, 8
mov dword [esp + 0x34], eax
je 0x1001cd79
test byte [ebx + 0x100bd660], 1
jne 0x1001d40c
cmp ebx, 0x23
jne 0x1001cd79
lea ecx, [ecx]
movzx eax, byte [esi + 1]
add esi, 1
cmp eax, edi
je 0x1001d40c
cmp eax, 0xa
jne 0x1001cd60
jmp 0x1001d40c
lea eax, [ebx - 0x24]
cmp eax, 0x58
ja case.0x1001cd88.37
movzx eax, byte [eax + 0x1001d724]
jmp dword [eax*4 + 0x1001d704]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push 0
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
call fcn.1001af40
add esp, 0x14
cmp dword [edi], 0
jne 0x1001d651
test eax, eax
jl 0x1001ce1a
mov dword [esp + 0x10], esi
mov ebx, 0x5c
add dword [esp + 0xc], 2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], 0
lea esp, [esp]
cmp dword [esp + 0x34], 0
je 0x1001d39f
test byte [ebx + 0x100bd660], 1
jne 0x1001d3d9
cmp ebx, 0x23
jne 0x1001d39f
movzx eax, byte [esi + 1]
add esi, 1
test eax, eax
je 0x1001d3d9
cmp eax, 0xa
jne 0x1001ce01
jmp 0x1001d3d9
mov edx, 1
add dword [esp + 0xc], edx
cmp eax, 0xfffffff4
jg 0x1001d408
mov ecx, 0xfffffff4
sub ecx, eax
cmp ecx, dword [esp + 0x48]
jle 0x1001ce3d
mov dword [esp + 0x48], ecx
add dword [esp + 0xc], edx
mov esi, dword [esp + 0x10]
jmp 0x1001cf93
add dword [esp + 0xc], 1
jmp 0x1001d40c
lea edi, [esi + 1]
lea ecx, [esp + 0x38]
mov eax, edi
call fcn.1001b150
test eax, eax
je case.0x1001cd88.37
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
mov eax, edi
call fcn.1001b1d0
mov esi, eax
mov eax, ebx
add esp, 0xc
cmp dword [eax], 0
jne 0x1001d655
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x24]
jne 0x1001ceba
cmp edx, 1
je 0x1001cec4
cmp edx, 0xffffffff
je 0x1001cec4
mov eax, dword [esp + 0xc]
sub eax, 1
cmp ecx, 1
jne 0x1001cecb
add eax, ecx
jmp 0x1001ced2
cmp ecx, 1
jne 0x1001ceaa
cmp edx, 0xffffffff
jne 0x1001ceaa
add dword [esp + 0xc], 1
jmp 0x1001cee2
test ecx, ecx
jle 0x1001ced2
add eax, 4
test edx, edx
jle 0x1001cedb
add eax, 4
jmp 0x1001cede
add eax, 2
mov dword [esp + 0xc], eax
cmp byte [esi + 1], 0x3f
jne 0x1001d40c
add esi, 1
jmp 0x1001d40c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx + 3]
mov dword [esp + 0xc], eax
jmp 0x1001d40c
add esi, 1
xor ebx, ebx
cmp byte [esi], 0x5e
mov dword [esp + 0x10], esi
jne 0x1001cf1e
add esi, 1
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x14]
cmp byte [esi], 0x5c
jne 0x1001cf61
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push 1
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
call fcn.1001af40
add esp, 0x14
cmp dword [edi], 0
jne 0x1001d651
mov esi, dword [esp + 0x10]
neg eax
cmp eax, 3
je 0x1001cf61
mov ebx, 0xa
jmp 0x1001cf64
add ebx, 1
mov al, byte [esi + 1]
add esi, 1
test al, al
mov dword [esp + 0x10], esi
je 0x1001cf76
cmp al, 0x5d
jne 0x1001cf22
cmp ebx, 1
jne 0x1001cf85
add dword [esp + 0xc], 3
jmp 0x1001d40c
add dword [esp + 0xc], 0x21
cmp byte [esi], 0
je 0x1001d40c
cmp byte [esi + 1], 0x7b
jne 0x1001d40c
lea edi, [esi + 2]
lea ecx, [esp + 0x38]
mov eax, edi
call fcn.1001b150
test eax, eax
je 0x1001d40c
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov eax, edi
call fcn.1001b1d0
mov edx, ebx
add esp, 0xc
cmp dword [edx], 0
mov esi, eax
jne 0x1001d655
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1001d00a
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x1001d016
cmp eax, 0xffffffff
je 0x1001d016
add dword [esp + 0xc], 5
cmp byte [esi + 1], 0x3f
jne 0x1001d40c
add esi, 1
jmp 0x1001d40c
cmp eax, 1
jne 0x1001cff3
cmp dword [esp + 0x24], 0xffffffff
jne 0x1001cff3
add dword [esp + 0xc], 1
jmp 0x1001cff8
mov cl, 0x3f
xor edi, edi
cmp byte [esi + 1], cl
jne 0x1001d266
movzx eax, byte [esi + 2]
add eax, 0xffffffdf
cmp eax, 0x31
ja case.0x1001d041.34
movzx eax, byte [eax + 0x1001d798]
jmp dword [eax*4 + 0x1001d780]
mov al, byte [esi + 3]
add esi, 3
test al, al
je 0x1001d060
cmp al, 0x29
je 0x1001d08b
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x1001d052
mov ecx, dword [esp + 0x14]
sub esi, dword [esp + 0x30]
mov dword [ecx], str.missing___after_comment
mov ecx, dword [esp + 0x4c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x1001d060
jmp 0x1001d40c
add esi, 2
jmp 0x1001d26b
cmp byte [esi + 3], 0x29
jne 0x1001d429
add esi, 3
add dword [esp + 0xc], 1
jmp 0x1001d26b
mov al, byte [esi + 3]
cmp al, 0x3d
je 0x1001d0c3
cmp al, 0x21
jne 0x1001d454
mov edi, 3
add esi, 3
add dword [esp + 0xc], edi
jmp 0x1001d26b
movzx edx, byte [esi + 3]
mov eax, 4
test byte [edx + 0x100bd660], al
je 0x1001d143
movzx ecx, byte [esi + eax]
add dword [esp + 0xc], 2
add esi, eax
test byte [ecx + 0x100bd660], al
je 0x1001d10f
jmp 0x1001d100
movzx edx, byte [esi + 1]
add esi, 1
test byte [edx + 0x100bd660], al
jne 0x1001d100
cmp byte [esi], 0x29
je 0x1001d26b
mov ecx, dword [esp + 0x14]
sub esi, dword [esp + 0x30]
mov dword [ecx], str.malformed_number_after____
mov ecx, dword [esp + 0x4c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
add esi, 1
cmp byte [esi + 2], cl
jne 0x1001d166
mov al, byte [esi + 3]
cmp al, 0x3d
je 0x1001d26b
cmp al, 0x21
je 0x1001d26b
cmp al, 0x3c
je 0x1001d26b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
add esi, 2
sub esi, dword [esp + 0x30]
mov dword [edx], str.assertion_expected_after____
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
add esi, 2
movzx edx, byte [esi]
lea ecx, [edx - 0x29]
cmp ecx, 0x4f
ja case.0x1001d1b9.42
movzx ecx, byte [ecx + 0x1001d7f4]
jmp dword [ecx*4 + 0x1001d7cc]
or dword [eax], 1
add esi, 1
jmp 0x1001d1a3
or dword [eax], 2
add esi, 1
jmp 0x1001d1a3
or dword [eax], 4
add esi, 1
jmp 0x1001d1a3
or dword [eax], 8
add esi, 1
jmp 0x1001d1a3
or dword [eax], 0x40
add esi, 1
jmp 0x1001d1a3
or dword [eax], 0x200
add esi, 1
jmp 0x1001d1a3
lea eax, [esp + 0x10]
add esi, 1
jmp 0x1001d1a3
cmp dword [esp + 0x2c], edi
jne case.0x1001d1b9.58
mov eax, dword [esp + 0x18]
or eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
not ecx
and eax, ecx
mov dword [ebp + 8], eax
xor eax, eax
xor ecx, ecx
jmp 0x1001d222
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
or eax, ecx
test al, 7
je 0x1001d23d
add dword [esp + 0xc], 4
test al, 1
mov edi, 2
je 0x1001d23d
or dword [ebp + 8], 0x4000000
cmp edx, 0x29
jne 0x1001d26b
cmp edi, 2
jne 0x1001d40c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1001d25c
cmp eax, 3
jne 0x1001d40c
add dword [esp + 0x28], 2
jmp 0x1001d40c
add dword [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
jae 0x1001d4aa
mov ecx, dword [esp + 0xc]
mov dl, byte [esp + 0x28]
mov dword [esp + eax*4 + 0x50], ecx
mov byte [esp + eax + 0x370], dl
add eax, 1
add ecx, 3
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], ecx
jmp 0x1001d40c
add dword [esp + 0xc], 3
cmp dword [esp + 0x2c], 0
mov ebx, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
jbe 0x1001d2dd
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
sub eax, ebx
sub edi, dword [esp + eax*4 + 0x50]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + eax + 0x370]
mov dword [esp + 0x28], eax
jmp 0x1001d2df
xor edi, edi
movzx eax, byte [esi + 1]
cmp eax, 0x7b
jne 0x1001d352
lea eax, [esi + 2]
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
call fcn.1001b150
test eax, eax
je 0x1001d36a
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
call fcn.1001b1d0
mov ecx, ebx
add esp, 0xc
cmp dword [ecx], 0
mov esi, eax
jne 0x1001d655
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
jne 0x1001d36a
add dword [esp + 0xc], 1
test ebx, ebx
jle 0x1001d40c
add edi, 7
add ebx, 0xffffffff
imul edi, ebx
add dword [esp + 0xc], edi
jmp 0x1001d40c
cmp eax, 0x2a
jne 0x1001d35f
or ebx, 0xffffffff
add esi, 1
jmp 0x1001d333
cmp eax, 0x2b
jne 0x1001d396
or ebx, 0xffffffff
add esi, 1
mov eax, dword [esp + 0x10]
lea edx, [eax - 1]
imul edx, edi
add dword [esp + 0xc], edx
cmp ebx, eax
jle 0x1001d40c
sub ebx, eax
mov eax, dword [esp + 0xc]
add edi, 7
imul ebx, edi
lea ecx, [eax + ebx - 6]
mov dword [esp + 0xc], ecx
jmp 0x1001d40c
cmp eax, 0x3f
jne 0x1001d36a
add esi, ebx
jmp 0x1001d333
cmp ebx, 0x5c
jne 0x1001d3d4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
push 0
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, edi
call fcn.1001af40
add esp, 0x14
cmp dword [edi], 0
jne 0x1001d651
test eax, eax
jl 0x1001d3fb
mov esi, dword [esp + 0x10]
add dword [esp + 0x18], 1
cmp dword [esp + 0x18], 0xff
jge 0x1001d3fb
movzx ebx, byte [esi + 1]
add esi, 1
test byte [ebx + 0x100bd660], 0x80
mov dword [esp + 0x10], esi
je 0x1001cde0
mov eax, dword [esp + 0x18]
sub esi, 1
add dword [esp + 0xc], eax
jmp 0x1001d40c
mov esi, dword [esp + 0x10]
movzx ebx, byte [esi + 1]
add esi, 1
test ebx, ebx
mov dword [esp + 0x10], esi
je 0x1001d4d5
mov edx, dword [ebp + 8]
xor edi, edi
jmp 0x1001cd40
sub esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [edx], str.__p_must_be_followed_by__
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
sub esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov dword [eax], str.unrecognized_character_after____
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
sub esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov dword [eax], str.unrecognized_character_after___
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
sub esi, dword [esp + 0x30]
mov dword [ecx], str.too_many_sets_of_parentheses
mov ecx, dword [esp + 0x4c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
add esi, 4
cmp esi, 0x10003
mov dword [esp + 0xc], esi
jle 0x1001d509
mov edx, dword [esp + 0x14]
mov dword [edx], str.regular_expression_too_large
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
add esi, 0x14
push esi
call dword [0x100bd760]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1001d53d
mov eax, dword [esp + 0x14]
mov dword [eax], str.failed_to_get_memory
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x14]
mov eax, edi
mov dword [ebx], 0x50435245
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], 0x100bd320
mov byte [eax], 0x46
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push 0xffffffffffffffff
push 0
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x3c]
push edx
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x48], 0
call fcn.1001c7b0
mov al, byte [esp + 0x48]
mov ecx, dword [esp + 0x74]
add esp, 0x2c
mov byte [ebx + 0x10], al
mov byte [ebx + 0x11], cl
cmp dword [esi], 0
mov esi, dword [esp + 0x10]
jne 0x1001d5c9
cmp byte [esi], 0
je 0x1001d5c9
mov edx, dword [esp + 0x14]
mov dword [edx], str.unmatched_parentheses
jmp 0x1001d5cd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax], 0
add eax, 1
sub eax, ebx
sub eax, 0x14
cmp eax, dword [esp + 0xc]
jle 0x1001d5e8
mov dword [edx], str.internal_error:_code_overflow
movzx eax, byte [ebx + 0x10]
cmp ecx, eax
jle 0x1001d621
push ebx
mov dword [edx], str.back_reference_to_non_existent_subpattern
call dword [0x100bd764]
sub esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
cmp dword [edx], 0
je 0x1001d676
push ebx
call dword [0x100bd764]
sub esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test al, 0x10
mov esi, 0x40000000
jne 0x1001d6cc
lea edx, [esp + 0x30]
push edx
push edi
mov dword [esp + 0x38], eax
call fcn.1001ca50
add esp, 8
test eax, eax
je 0x1001d69e
or dword [ebx + 0xc], 0x10
jmp 0x1001d6cc
lea eax, [esp + 0x30]
push eax
push edi
call fcn.1001cb60
add esp, 8
test eax, eax
jl 0x1001d6b8
or dword [ebx + 0xc], esi
mov byte [ebx + 0x12], al
jmp 0x1001d6cc
push edi
call fcn.1001cae0
add esp, 4
test eax, eax
je 0x1001d6cc
or dword [ebx + 0xc], 0x10000000
mov eax, dword [esp + 0x34]
test eax, eax
jl 0x1001d6ea
cmp dword [esp + 0x20], 1
jg 0x1001d6e0
test dword [ebx + 0xc], esi
jne 0x1001d6ea
or dword [ebx + 0xc], 0x20000000
mov byte [ebx + 0x13], al
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret