Function at 0x40e010
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
xor edx, edx
push edi
xor ebp, ebp
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], edx
mov dword [eax + 4], ecx
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edx
add edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
movsx ebx, byte [edi]
cmp ebx, edx
jne 0x40e0f7
mov ecx, dword [esi + 0xc]
sub edi, ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
mov dword [esi + 8], edi
je 0x40e6ae
mov ebx, dword [ecx + 0xa4]
call fcn.0040da40
test al, al
je 0x40e6ae
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0xa4]
sub edx, ecx
sub eax, ebx
je 0x40e0ce
sub ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40e0b5
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x40e0cb
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40e0cb
mov edi, dword [esi]
mov ecx, dword [esi + 4]
sub edi, eax
sub ecx, eax
mov dword [esi], edi
mov dword [esi + 4], ecx
sub dword [esi + 8], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
add eax, edx
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 0x28]
mov ecx, dword [ecx]
mov dword [esi + 0xc], ecx
movsx ebx, byte [ecx + eax]
lea edi, [ecx + eax]
test ebx, ebx
mov dword [esp + 0x24], edi
je 0x40e6ae
xor edx, edx
cmp dword [esp + 0x1c], edx
je 0x40e141
movsx edx, bl
push edx
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x40e3b0
mov eax, dword [esi + 0xc]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
mov dword [esi], eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + eax - 1]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
xor edx, edx
cmp dword [esp + 0x18], edx
je 0x40e363
cmp ebx, 0x3e
jne 0x40e203
mov ecx, dword [esp + 0x10]
test cl, 0xc0
jne 0x40e25c
mov ebx, dword [esi + 0xc]
sub edi, ebx
cmp ebp, 1
lea eax, [edi + 1]
mov dword [esi + 8], eax
jne 0x40e1b3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
cmp eax, ebp
jne 0x40e1f5
cmp dword [esp + 0x20], 0x2f
jne 0x40e1f5
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40e1a6
movsx ecx, al
push ecx
push str.__t_n_r_
call dword [sym.imp.MSVCRT.dll_strchr]
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x40e1f5
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x40e1f5
dec eax
cmp eax, ebp
jle 0x40e3ac
mov edx, dword [esp + 0x24]
lea edi, [ebp - 1]
sub edx, ebp
test edi, edi
lea eax, [edx + 1]
je 0x40e1e9
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov dl, byte [eax]
mov bl, byte [ecx + eax]
inc eax
cmp dl, bl
jne 0x40e1e1
dec edi
jne 0x40e1d2
jmp 0x40e1e9
test edi, edi
jne 0x40e3ac
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], 0
test cl, 0x20
je 0x40e7a4
jmp 0x40e3ac
cmp ebx, 0x3c
jne 0x40e258
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x40e779
cmp eax, 0xffffffff
je 0x40e779
mov ecx, dword [esp + 0x10]
test al, 1
je 0x40e336
test cl, 0xc0
je 0x40e28c
cmp ebx, 0x22
jne 0x40e262
test cl, 0x80
je 0x40e328
xor ecx, 0x80
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x40e3ac
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x40e222
cmp ebx, 0x27
jne 0x40e328
test cl, 0x40
je 0x40e328
xor ecx, 0x40
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x40e3ac
cmp ebx, 0x22
jne 0x40e2b5
test ch, 1
je 0x40e328
xor ecx, 0x180
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x40e3ac
cmp ebx, 0x27
jne 0x40e2da
test ch, 1
je 0x40e328
xor ecx, 0x140
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x40e3ac
cmp ebx, 0x3d
jne 0x40e305
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40e305
test ch, 1
jne 0x40e30a
xor ecx, 0x100
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ecx
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x40e3ac
test ch, 1
je 0x40e328
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x40e328
xor dword [esp + 0x10], 0x100
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
jmp 0x40e3ac
test al, 0x40
je 0x40e3ac
cmp ebx, 0x22
jne 0x40e350
test byte [esp + 0x10], 0x40
jne 0x40e3ac
xor dword [esp + 0x10], 0x80
jmp 0x40e3ac
cmp ebx, 0x27
jne 0x40e3ac
test byte [esp + 0x10], 0x80
jne 0x40e3ac
xor dword [esp + 0x10], 0x40
jmp 0x40e3ac
mov eax, dword [esp + 0x10]
cmp eax, edx
je 0x40e66d
test al, 0x10
je 0x40e3c7
cmp ebx, 0x3c
je 0x40e781
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x40e3ac
xor dword [esp + 0x10], 0x10
mov dword [esp + 0x18], 0x42a784
mov ebp, 1
mov dword [esp + 0x14], 2
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll__mbclen]
add edi, eax
add esp, 4
mov dword [esp + 0x24], edi
xor edx, edx
jmp 0x40e056
test al, 1
je 0x40e4a5
xor eax, 1
cmp ebx, 0x60
mov dword [esp + 0x10], eax
ja 0x40e486
cmp ebx, 0x40
jbe 0x40e3ed
cmp ebx, 0x5b
jb 0x40e486
cmp ebx, 0x5f
je 0x40e486
cmp ebx, 0x3a
je 0x40e486
cmp ebx, 0x2f
jne 0x40e421
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], 0x42a780
sub edi, ecx
mov ebp, 1
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jmp 0x40e3ac
cmp ebx, 0x21
jne 0x40e431
or al, 2
mov dword [esp + 0x10], eax
jmp 0x40e3ac
cmp ebx, 0x3f
jne 0x40e45a
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], 0x42a77c
sub edi, ecx
mov ebp, 2
inc edi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x1c], edi
jmp 0x40e3ac
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov dword [esp + 0x28], 0x42a780
mov ecx, esp
push 0
mov ebp, 1
call fcn.00411e20
push ecx
mov ecx, esp
push str.first_tag_syntax
jmp 0x40e621
mov eax, dword [esi + 0xc]
mov ebp, 1
sub edi, eax
mov dword [esp + 0x18], 0x42a780
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], edi
jmp 0x40e3ac
test al, 2
je 0x40e570
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x40e4c4
or al, 4
mov dword [esp + 0x10], eax
jmp 0x40e3ac
test al, 0x20
je 0x40e517
movsx edx, bl
push edx
push 0x42a764
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [esp + 0x18], 0x42a780
test eax, eax
mov ebp, 1
je 0x40e4f8
mov dword [esp + 0x14], 0x40
jmp 0x40e3ac
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov ecx, esp
push 0
call fcn.00411e20
push ecx
mov ecx, esp
push str.doctype_tag_syntax
jmp 0x40e621
cmp ebx, 0x5b
jne 0x40e527
or al, 8
mov dword [esp + 0x10], eax
jmp 0x40e3ac
cmp ebx, 0x44
jne 0x40e537
or al, 0x20
mov dword [esp + 0x10], eax
jmp 0x40e3ac
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov dword [esp + 0x28], 0x42a780
mov ecx, esp
push 0
mov ebp, 1
call fcn.00411e20
push ecx
mov ecx, esp
push str.exclamation_tag_syntax
call fcn.00411e20
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
jmp 0x40e62e
test al, 4
je 0x40e5d0
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x40e59a
mov dword [esp + 0x18], 0x42a734
mov ebp, 3
mov dword [esp + 0x14], 0x20
jmp 0x40e3ac
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov dword [esp + 0x28], 0x42a780
mov ecx, esp
push 0
mov ebp, 1
call fcn.00411e20
push ecx
mov ecx, esp
push str.comment_tag_syntax
call fcn.00411e20
mov edx, dword [esp + 0x48]
add edx, 0x10
push edx
jmp 0x40e62e
test al, 8
je 0x40e643
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x10], eax
jne 0x40e5fa
mov dword [esp + 0x18], 0x42a71c
mov ebp, 3
mov dword [esp + 0x14], 8
jmp 0x40e3ac
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov dword [esp + 0x28], 0x42a780
mov ecx, esp
push 0
mov ebp, 1
call fcn.00411e20
push ecx
mov ecx, esp
push str.cdata_section_syntax
call fcn.00411e20
mov ecx, dword [esp + 0x48]
add ecx, 0x10
push ecx
call fcn.0040b300
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x40e3ac
test al, 0x20
je 0x40e3ac
cmp ebx, 0x3c
jne 0x40e65f
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
jmp 0x40e3ac
cmp ebx, 0x3e
je 0x40e793
jmp 0x40e3ac
cmp ebx, 0x3c
jne 0x40e67f
mov dword [esp + 0x10], 1
jmp 0x40e3ac
movsx edx, bl
push edx
push str.__t_n_r
mov dword [esp + 0x1c], 4
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x40e397
mov dword [esp + 0x10], 0x10
jmp 0x40e3ac
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp edx, ecx
jne 0x40e6d8
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x14]
cmp eax, 4
je 0x40e7a4
cmp eax, 2
je 0x40e7a4
mov al, byte [esp + 0x10]
mov edx, 0x42a700
test al, 0x20
jne 0x40e73f
mov eax, dword [esp + 0x14]
cmp eax, 0x40
je 0x40e73f
cmp eax, 1
jne 0x40e710
mov edx, str.start_tag
jmp 0x40e744
test eax, eax
jne 0x40e71b
mov edx, str.end_tag
jmp 0x40e744
cmp eax, 8
jne 0x40e727
mov edx, str.cdata_section
jmp 0x40e744
cmp eax, 0x10
jne 0x40e733
mov edx, str.processing_instruction
jmp 0x40e744
cmp eax, 0x20
jne 0x40e744
mov edx, str.comment
jmp 0x40e744
mov edx, str.document_type
push 0xffffffffffffffff
push ecx
push 2
push ecx
mov ecx, esp
push edx
mov dword [esp + 0x28], 0xffffffff
call fcn.00411e20
push ecx
mov ecx, esp
push str.unterminated_tag_syntax
call fcn.00411e20
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
call fcn.0040b300
add esp, 0x18
jmp 0x40e7a4
sub edi, dword [esi + 0xc]
mov dword [esi + 8], edi
jmp 0x40e7a4
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], 4
sub edi, eax
mov dword [esi + 8], edi
jmp 0x40e7a4
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], 0x40
sub edi, ecx
inc edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 8]
pop edi
pop esi
mov eax, dword [ecx + 4]
pop ebp
sub edx, eax
mov eax, dword [esp + 8]
mov dword [ecx + 8], edx
mov dword [ecx], eax
pop ebx
add esp, 0x20
ret 4