Function at 0x40ecf0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x348
mov eax, dword [0x49d2b0]
xor eax, esp
mov dword [esp + 0x344], eax
mov eax, dword [edx + 8]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x1c], eax
movzx eax, word [ecx]
or ebx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], ecx
test ax, ax
jne 0x40ed58
mov dword [edi + 8], esi
mov dword [edi], esi
lea eax, [esi - 2]
jmp 0x40f341
movzx edi, ax
test edi, edi
je 0x40f047
test esi, esi
je 0x40edd1
push edi
push str.__t_n_r__
call fcn.004618e3
add esp, 8
test eax, eax
je 0x40f02f
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x18]
mov eax, edx
sub eax, ecx
sar eax, 1
sub eax, esi
test ebx, ebx
jne 0x40edad
mov ecx, dword [esp + 0x24]
lea eax, [eax + esi - 1]
mov dword [ecx], esi
xor esi, esi
mov dword [ecx + 4], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
jmp 0x40edd9
push eax
lea eax, [ecx + esi*2]
mov esi, dword [esp + 0x24]
add esi, 0x10
call fcn.00402880
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
jmp 0x40edd9
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x14], 0
je 0x40efe9
cmp edi, 0x3e
jne 0x40ee9b
mov eax, dword [esp + 0x10]
test al, 0xc0
jne 0x40eeb6
sub edx, dword [ecx + 0xc]
sar edx, 1
mov dword [esp + 0x1c], edx
cmp ebp, 1
jne 0x40ee48
mov dword [esp + 0x14], 0
cmp ebx, ebp
jne 0x40ee8e
cmp dword [esp + 0x28], 0x2f
jne 0x40ee8e
cmp dword [esp + 0x2c], 0
je 0x40ee3b
mov ecx, dword [esp + 0x2c]
push ecx
push 0x4860b4
call fcn.004618e3
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
je 0x40ee8e
mov ecx, dword [esp + 0x20]
or dword [ecx + 0xc], 0x10000
jmp 0x40ee8e
cmp edx, ebp
jle 0x40f02f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [ebp + ebp]
sub eax, edx
add eax, 2
mov dword [esp + 0x30], ebp
sub ecx, eax
sub dword [esp + 0x30], 1
je 0x40ee82
mov dx, word [eax]
mov di, word [ecx + eax]
add eax, 2
cmp dx, di
je 0x40ee67
jmp 0x40f02f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
test al, 0x20
je 0x40f327
jmp 0x40f02f
cmp edi, 0x3c
jne 0x40eeb2
cmp ebx, 2
je 0x40f3f8
cmp ebx, 0xffffffff
je 0x40f3f8
mov eax, dword [esp + 0x10]
test bl, 1
je 0x40efbe
test al, 0xc0
je 0x40ef13
cmp edi, 0x22
jne 0x40eeea
test al, al
jns 0x40efb0
xor eax, 0x80
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
cmp edi, 0x27
jne 0x40efb0
test al, 0x40
je 0x40efb0
xor eax, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
cmp edi, 0x22
jne 0x40ef3d
test eax, 0x100
je 0x40efb0
xor eax, 0x180
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
cmp edi, 0x27
jne 0x40ef63
test eax, 0x100
je 0x40efb0
xor eax, 0x140
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
cmp edi, 0x3d
jne 0x40ef8f
cmp dword [esp + 0x28], edi
je 0x40ef8f
test eax, 0x100
jne 0x40ef96
xor eax, 0x100
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
test eax, 0x100
je 0x40efb0
push edi
push str.__t_n_r
call fcn.004618e3
add esp, 8
test eax, eax
jne 0x40efb0
xor dword [esp + 0x10], 0x100
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x40f02f
test bl, 0x40
je 0x40f02f
cmp edi, 0x22
jne 0x40efd7
test al, 0x40
jne 0x40f02f
xor eax, 0x80
mov dword [esp + 0x10], eax
jmp 0x40f02f
cmp edi, 0x27
jne 0x40f02f
test al, al
js 0x40f02f
xor eax, 0x40
mov dword [esp + 0x10], eax
jmp 0x40f02f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f35a
test al, 0x10
je 0x40f08f
cmp edi, 0x3c
je 0x40f407
push edi
push str.__t_n_r
call fcn.004618e3
add esp, 8
test eax, eax
jne 0x40f02f
xor dword [esp + 0x10], 0x10
mov ebx, 2
mov dword [esp + 0x14], 0x4860c4
mov ebp, 1
add dword [esp + 0x18], 2
mov ecx, dword [esp + 0x18]
movzx edi, word [ecx]
test edi, edi
jne 0x40ed63
mov edx, dword [esp + 0x24]
sub ecx, dword [edx + 0xc]
sar ecx, 1
dec ecx
mov dword [esp + 0x1c], ecx
cmp ebx, 4
je 0x40f327
cmp ebx, 2
je 0x40f327
test byte [esp + 0x10], 0x20
mov eax, 0x485fbc
jne 0x40f3c3
cmp ebx, 0x40
je 0x40f3c3
cmp ebx, 1
jne 0x40f394
mov eax, str.Element_tag
jmp 0x40f3c8
test al, 1
je 0x40f177
xor eax, 1
mov dword [esp + 0x10], eax
cmp edi, 0x60
ja 0x40f15c
cmp edi, 0x40
jbe 0x40f0b5
cmp edi, 0x5b
jb 0x40f15c
cmp edi, 0x5f
je 0x40f15c
cmp edi, 0x3a
je 0x40f15c
cmp edi, 0x2f
jne 0x40f0e3
mov esi, edx
sub esi, dword [ecx + 0xc]
xor ebx, ebx
sar esi, 1
mov dword [esp + 0x14], 0x4860c8
inc esi
jmp 0x40f02a
cmp edi, 0x21
jne 0x40f0f4
or eax, 2
mov dword [esp + 0x10], eax
jmp 0x40f02f
cmp edi, 0x3f
jne 0x40f114
mov esi, edx
sub esi, dword [ecx + 0xc]
mov dword [esp + 0x14], 0x485de4
sar esi, 1
lea ebp, [edi - 0x3d]
lea ebx, [edi - 0x2f]
inc esi
jmp 0x40f02f
mov ecx, dword [esp + 0x1c]
push ecx
push 0x4860cc
lea edx, [esp + 0x104]
push str.Incorrect__s_at_offset__d
push edx
mov dword [esp + 0x24], 0x4860c8
mov ebp, 1
call fcn.00461574
mov eax, dword [esp + 0x30]
add eax, 0x10
add esp, 0x10
push eax
lea eax, [esp + 0x100]
call fcn.00402970
or ebx, 0xffffffff
jmp 0x40f02f
mov esi, edx
sub esi, dword [ecx + 0xc]
mov ebp, 1
mov dword [esp + 0x14], 0x4860c8
mov ebx, ebp
sar esi, 1
jmp 0x40f02f
test al, 2
je 0x40f223
xor eax, 2
mov dword [esp + 0x10], eax
cmp edi, 0x2d
jne 0x40f197
or eax, 4
mov dword [esp + 0x10], eax
jmp 0x40f02f
cmp edi, 0x5b
jne 0x40f1ac
test al, 0x20
jne 0x40f1c1
or eax, 8
mov dword [esp + 0x10], eax
jmp 0x40f02f
cmp edi, 0x44
jne 0x40f1c1
test al, 0x20
jne 0x40f1c1
or eax, 0x20
mov dword [esp + 0x10], eax
jmp 0x40f02f
push edi
push 0x486128
call fcn.004618e3
add esp, 8
mov dword [esp + 0x14], 0x4860c8
mov ebp, 1
test eax, eax
je 0x40f1e8
lea ebx, [ebp + 0x3f]
jmp 0x40f02f
mov ecx, dword [esp + 0x1c]
push ecx
push str.__tag
lea edx, [esp + 0x294]
push str.Incorrect__s_at_offset__d
push edx
call fcn.00461574
mov eax, dword [esp + 0x30]
add eax, 0x10
add esp, 0x10
push eax
lea eax, [esp + 0x290]
call fcn.00402970
or ebx, 0xffffffff
jmp 0x40f02f
test al, 4
je 0x40f28e
xor eax, 4
mov dword [esp + 0x10], eax
cmp edi, 0x2d
jne 0x40f246
mov dword [esp + 0x14], 0x48613c
lea ebp, [edi - 0x2a]
lea ebx, [edi - 0xd]
jmp 0x40f02f
mov ecx, dword [esp + 0x1c]
push ecx
push str.comment_tag
lea edx, [esp + 0x1cc]
push str.Incorrect__s_at_offset__d
push edx
mov dword [esp + 0x24], 0x4860c8
mov ebp, 1
call fcn.00461574
mov eax, dword [esp + 0x30]
add eax, 0x10
add esp, 0x10
push eax
lea eax, [esp + 0x1c8]
call fcn.00402970
or ebx, 0xffffffff
jmp 0x40f02f
test al, 8
je 0x40f2f3
xor eax, 8
mov dword [esp + 0x10], eax
cmp edi, 0x43
jne 0x40f2b1
mov dword [esp + 0x14], 0x48615c
lea ebp, [edi - 0x40]
lea ebx, [edi - 0x3b]
jmp 0x40f02f
mov ecx, dword [esp + 0x1c]
push ecx
push 0x485fbc
lea edx, [esp + 0x3c]
push str.Incorrect__s_at_offset__d
push edx
mov dword [esp + 0x24], 0x4860c8
mov ebp, 1
call fcn.00461574
mov eax, dword [esp + 0x30]
add eax, 0x10
add esp, 0x10
push eax
lea eax, [esp + 0x38]
call fcn.00402970
or ebx, 0xffffffff
jmp 0x40f02f
test al, 0x20
je 0x40f02f
cmp edi, 0x3c
jne 0x40f30a
or dword [esp + 0x10], 1
jmp 0x40f02f
cmp edi, 0x3e
jne 0x40f02f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx + 0xc]
lea ebx, [edi + 2]
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
mov dword [edx + 8], eax
sub eax, dword [ecx + 4]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov eax, ebx
mov ecx, dword [esp + 0x354]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f4ac
add esp, 0x348
ret
cmp edi, 0x3c
jne 0x40f36c
mov dword [esp + 0x10], 1
jmp 0x40f02f
push edi
push str.__t_n_r
mov ebx, 4
call fcn.004618e3
add esp, 8
test eax, eax
je 0x40f01d
mov dword [esp + 0x10], 0x10
jmp 0x40f02f
test ebx, ebx
jne 0x40f39f
mov eax, str.Element_end_tag
jmp 0x40f3c8
cmp ebx, 8
jne 0x40f3ab
mov eax, str.CDATA_Section
jmp 0x40f3c8
cmp ebx, 0x10
jne 0x40f3b7
mov eax, str.Processing_instruction
jmp 0x40f3c8
cmp ebx, 0x20
jne 0x40f3c8
mov eax, str.Comment
jmp 0x40f3c8
mov eax, str.Doctype
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 4]
push edx
push eax
lea eax, [esp + 0x3c]
push str._s_at_offset__d_unterminated
push eax
or ebx, 0xffffffff
call fcn.00461574
add esp, 0x10
add esi, 0x10
push esi
lea eax, [esp + 0x38]
call fcn.00402970
jmp 0x40f327
sub edx, dword [ecx + 0xc]
sar edx, 1
dec edx
mov dword [esp + 0x1c], edx
jmp 0x40f327
sub edx, dword [ecx + 0xc]
mov ebx, 4
sar edx, 1
dec edx
mov dword [esp + 0x1c], edx
jmp 0x40f327