Function at 0x4eec50
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x20
push ebx
push ebp
xor eax, eax
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
lea ecx, [edx + ecx*2]
or ebx, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
movzx esi, word [edx]
cmp esi, eax
jne 0x4eed32
mov ecx, dword [edi + 0x1c]
mov eax, edx
sub eax, dword [edi + 0xc]
sar eax, 1
test ecx, ecx
mov dword [edi + 8], eax
je 0x4ef3b3
mov eax, dword [ecx + 0xd4]
mov dword [esp + 0x2c], eax
call fcn.004eeab0
test al, al
je 0x4ef3b3
mov esi, dword [esp + 0x34]
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 8]
mov eax, dword [eax + 0xd4]
sub edx, ecx
sub eax, dword [esp + 0x2c]
je 0x4eed04
sub ecx, eax
test ebp, ebp
mov dword [esi + 4], ecx
je 0x4eecf5
sub ebp, eax
jmp 0x4eed01
cmp dword [esp + 0x28], 0
je 0x4eed01
sub dword [edi], eax
sub dword [edi + 4], eax
sub dword [edi + 8], eax
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [ecx + 0x58]
add eax, edx
cmp dword [ecx + 0x18], 8
jb 0x4eed1a
mov ecx, dword [ecx + 4]
jmp 0x4eed1d
add ecx, 4
lea eax, [ecx + eax*2]
mov dword [edi + 0xc], ecx
movzx esi, word [eax]
test esi, esi
mov dword [esp + 0x1c], eax
je 0x4ef3b3
test ebp, ebp
je 0x4eed73
push esi
push str.__t_n_r__
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
je 0x4ef02e
mov ecx, dword [esp + 0x1c]
mov eax, ecx
sub eax, dword [edi + 0xc]
mov dword [edi], ebp
sar eax, 1
sub eax, ebp
lea edx, [eax + ebp - 1]
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [edi + 4], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
jmp 0x4eed77
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x4eefe7
cmp esi, 0x3e
jne 0x4eee53
mov eax, dword [esp + 0x10]
test al, 0xc0
jne 0x4eee6e
sub ecx, dword [edi + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x18]
cmp ecx, 1
mov dword [edi + 8], eax
jne 0x4eeded
cmp ebx, ecx
mov dword [esp + 0x14], 0
jne 0x4eee3c
cmp dword [esp + 0x20], 0x2f
jne 0x4eee3c
cmp dword [esp + 0x24], 0
je 0x4eede0
mov eax, dword [esp + 0x24]
push eax
push str.__t_n_r_
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
je 0x4eee3c
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x4eee3c
add eax, 0xffffffff
cmp eax, ecx
jle 0x4ef02e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + ecx]
sub eax, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
add eax, 2
sub ecx, eax
sub dword [esp + 0x2c], 1
je 0x4eee34
mov dx, word [eax]
mov si, word [eax + ecx]
add eax, 2
cmp dx, si
je 0x4eee12
add dword [esp + 0x1c], 2
xor eax, eax
jmp 0x4eec92
mov dword [esp + 0x14], 0
test byte [esp + 0x10], 0x20
je 0x4ef34f
add dword [esp + 0x1c], 2
xor eax, eax
jmp 0x4eec92
cmp esi, 0x3c
jne 0x4eee6a
cmp ebx, 2
je 0x4ef464
cmp ebx, 0xffffffff
je 0x4ef464
mov eax, dword [esp + 0x10]
test bl, 1
je 0x4eefa4
test al, 0xc0
je 0x4eeed9
cmp esi, 0x22
jne 0x4eeea9
test al, al
jns 0x4eef8c
add dword [esp + 0x1c], 2
xor eax, 0x80
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
cmp esi, 0x27
jne 0x4eef8c
test al, 0x40
je 0x4eef8c
add dword [esp + 0x1c], 2
xor eax, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
cmp esi, 0x22
jne 0x4eef0a
test eax, 0x100
je 0x4eef8c
add dword [esp + 0x1c], 2
xor eax, 0x180
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
cmp esi, 0x27
jne 0x4eef37
test eax, 0x100
je 0x4eef8c
add dword [esp + 0x1c], 2
xor eax, 0x140
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
cmp esi, 0x3d
jne 0x4eef6a
cmp dword [esp + 0x20], esi
je 0x4eef6a
test eax, 0x100
jne 0x4eef71
add dword [esp + 0x1c], 2
xor eax, 0x100
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
test eax, 0x100
je 0x4eef8c
push esi
push str.__t_n_r
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
jne 0x4eef8c
xor dword [esp + 0x10], 0x100
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x4eec92
test bl, 0x40
je 0x4ef02e
cmp esi, 0x22
jne 0x4eefcb
test al, 0x40
jne 0x4ef02e
add dword [esp + 0x1c], 2
xor eax, 0x80
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x4eec92
cmp esi, 0x27
jne 0x4ef02e
test al, al
js 0x4ef02e
add dword [esp + 0x1c], 2
xor eax, 0x40
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x4eec92
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4ef36a
test dl, 0x10
je 0x4ef03a
cmp esi, 0x3c
je 0x4ef471
push esi
push str.__t_n_r
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
jne 0x4ef02e
xor dword [esp + 0x10], 0x10
mov ebx, 2
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x528028
add dword [esp + 0x1c], 2
xor eax, eax
jmp 0x4eec92
test dl, 1
je 0x4ef128
mov eax, 1
xor edx, eax
cmp esi, 0x60
mov dword [esp + 0x10], edx
ja 0x4ef107
cmp esi, 0x40
jbe 0x4ef065
cmp esi, 0x5b
jb 0x4ef107
cmp esi, 0x5f
je 0x4ef107
cmp esi, 0x3a
je 0x4ef107
cmp esi, 0x2f
jne 0x4ef09f
add dword [esp + 0x1c], 2
mov ebp, ecx
sub ebp, dword [edi + 0xc]
mov dword [esp + 0x18], eax
sar ebp, 1
xor ebx, ebx
add ebp, eax
mov dword [esp + 0x14], 0x528024
xor eax, eax
jmp 0x4eec92
cmp esi, 0x21
jne 0x4ef0b7
add dword [esp + 0x1c], 2
or edx, 2
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4eec92
cmp esi, 0x3f
jne 0x4ef0e4
add dword [esp + 0x1c], 2
mov ebp, ecx
sub ebp, dword [edi + 0xc]
mov dword [esp + 0x14], 0x522b60
sar ebp, 1
add ebp, eax
mov dword [esp + 0x18], 2
lea ebx, [esi - 0x2f]
xor eax, eax
jmp 0x4eec92
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.first_tag_syntax
jmp 0x4ef273
add dword [esp + 0x1c], 2
mov ebp, ecx
sub ebp, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov ebx, eax
sar ebp, 1
mov dword [esp + 0x14], 0x528024
xor eax, eax
jmp 0x4eec92
test dl, 2
je 0x4ef221
xor edx, 2
cmp esi, 0x2d
mov dword [esp + 0x10], edx
jne 0x4ef150
add dword [esp + 0x1c], 2
or edx, 4
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4eec92
test dl, 0x20
je 0x4ef1a8
push esi
push 0x522f94
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
mov dword [esp + 0x14], 0x528024
mov dword [esp + 0x18], 1
je 0x4ef189
add dword [esp + 0x1c], 2
mov ebx, 0x40
xor eax, eax
jmp 0x4eec92
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x4ef2f4
cmp esi, 0x5b
jne 0x4ef1c0
add dword [esp + 0x1c], 2
or edx, 8
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4eec92
cmp esi, 0x44
jne 0x4ef1d8
add dword [esp + 0x1c], 2
or edx, 0x20
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4eec92
mov edx, dword [edi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
mov dword [esp + 0x2c], 0x528024
mov dword [esp + 0x30], 1
call fcn.004edea0
add dword [esp + 0x34], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x4eec92
test dl, 4
je 0x4ef29a
xor edx, 4
cmp esi, 0x2d
mov dword [esp + 0x10], edx
jne 0x4ef251
add dword [esp + 0x1c], 2
mov dword [esp + 0x14], 0x522b4c
mov dword [esp + 0x18], 3
lea ebx, [esi - 0xd]
xor eax, eax
jmp 0x4eec92
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x2c], 1
mov dword [eax], str.comment_tag_syntax
mov edx, dword [esp + 0x48]
add edx, 0x10
push edx
mov dword [esp + 0x2c], 0x528024
call fcn.004edea0
add dword [esp + 0x34], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x4eec92
test dl, 8
je 0x4ef313
xor edx, 8
cmp esi, 0x43
mov dword [esp + 0x10], edx
jne 0x4ef2ca
add dword [esp + 0x1c], 2
mov dword [esp + 0x14], 0x522b34
mov dword [esp + 0x18], 3
lea ebx, [esi - 0x3b]
xor eax, eax
jmp 0x4eec92
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x28], 0x528024
mov dword [esp + 0x2c], 1
mov dword [eax], str.cdata_section_syntax
mov ecx, dword [esp + 0x48]
add ecx, 0x10
push ecx
call fcn.004edea0
add dword [esp + 0x34], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x4eec92
test dl, 0x20
je 0x4ef02e
cmp esi, 0x3c
jne 0x4ef334
add dword [esp + 0x1c], 2
or edx, 1
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4eec92
cmp esi, 0x3e
jne 0x4ef02e
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0xc]
lea ebx, [esi + 2]
sar eax, 1
add eax, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 8]
sub edx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp esi, 0x3c
jne 0x4ef383
add dword [esp + 0x1c], 2
mov dword [esp + 0x10], 1
xor eax, eax
jmp 0x4eec92
push esi
push str.__t_n_r
mov ebx, 4
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
je 0x4ef019
add dword [esp + 0x1c], 2
mov dword [esp + 0x10], 0x10
xor eax, eax
jmp 0x4eec92
mov esi, dword [esp + 0x34]
mov ebp, dword [esi + 4]
cmp dword [edi + 8], ebp
jne 0x4ef3db
pop edi
mov dword [esi + 8], 0
mov dword [esi], 0
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x20
ret 4
cmp ebx, 4
je 0x4ef34f
cmp ebx, 2
je 0x4ef34f
test byte [esp + 0x10], 0x20
mov ecx, 0x522ee0
jne 0x4ef439
cmp ebx, 0x40
je 0x4ef439
cmp ebx, 1
jne 0x4ef40a
mov ecx, str.start_tag
jmp 0x4ef43e
test ebx, ebx
jne 0x4ef415
mov ecx, str.end_tag
jmp 0x4ef43e
cmp ebx, 8
jne 0x4ef421
mov ecx, str.cdata_section
jmp 0x4ef43e
cmp ebx, 0x10
jne 0x4ef42d
mov ecx, str.processing_instruction
jmp 0x4ef43e
cmp ebx, 0x20
jne 0x4ef43e
mov ecx, str.comment
jmp 0x4ef43e
mov ecx, str.document_type
or ebx, 0xffffffff
push ebx
push ebp
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add esi, 0x10
push esi
mov dword [eax], str.unterminated_tag_syntax
call fcn.004edea0
add esp, 0x18
jmp 0x4ef34f
sub ecx, dword [edi + 0xc]
sar ecx, 1
mov dword [edi + 8], ecx
jmp 0x4ef34f
sub ecx, dword [edi + 0xc]
mov ebx, 4
sar ecx, 1
mov dword [edi + 8], ecx
jmp 0x4ef34f