Function at 0x588a70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3f8], 0xffffffff
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x40c]
lea eax, [ecx + edx*2]
mov dword [ebp - 0x3fc], eax
mov ecx, dword [ebp - 0x3fc]
movzx edx, word [ecx]
mov dword [ebp - 0x3f4], edx
cmp dword [ebp - 0x3f4], 0
jne 0x588b35
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov eax, 0xfffffffe
jmp 0x5896ad
mov edx, 1
test edx, edx
je 0x58967b
mov eax, dword [ebp - 0x3fc]
movzx ecx, word [eax]
mov dword [ebp - 0x3f4], ecx
cmp dword [ebp - 0x3f4], 0
jne 0x588c64
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
sub eax, 1
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x3f8], 4
je 0x588c5f
cmp dword [ebp - 0x3f8], 2
je 0x588c5f
mov dword [ebp - 0x410], 0x6349dc
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x588bad
cmp dword [ebp - 0x3f8], 0x40
jne 0x588bb9
mov dword [ebp - 0x410], str.Doctype
jmp 0x588c20
cmp dword [ebp - 0x3f8], 1
jne 0x588bce
mov dword [ebp - 0x410], str.Element_tag
jmp 0x588c20
cmp dword [ebp - 0x3f8], 0
jne 0x588be3
mov dword [ebp - 0x410], str.Element_end_tag
jmp 0x588c20
cmp dword [ebp - 0x3f8], 8
jne 0x588bf8
mov dword [ebp - 0x410], str.CDATA_Section
jmp 0x588c20
cmp dword [ebp - 0x3f8], 0x10
jne 0x588c0d
mov dword [ebp - 0x410], str.Processing_instruction
jmp 0x588c20
cmp dword [ebp - 0x3f8], 0x20
jne 0x588c20
mov dword [ebp - 0x410], str.Comment
mov dword [ebp - 0x3f8], 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x410]
push ecx
push str._s_at_offset__d_unterminated
lea edx, [ebp - 0x324]
push edx
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x10
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00415f50
jmp 0x58967b
cmp dword [ebp - 0x408], 0
je 0x588d3a
movzx ecx, word [ebp - 0x3f4]
push ecx
push str.__t_n_r__
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x588d17
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
sub eax, dword [ebp - 0x408]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x3f8], 0
jne 0x588cd5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x408]
mov dword [ecx], edx
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x408]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
jmp 0x588cf7
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x408]
lea edx, [eax + ecx*2]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00413650
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x414], 0
jmp 0x588d3a
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.0058b3a0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x588b35
cmp dword [ebp - 0x400], 0
je 0x589090
cmp dword [ebp - 0x3f4], 0x3e
jne 0x588ea9
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
jne 0x588ea9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3fc]
sub edx, dword [ecx + 0xc]
sar edx, 1
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x404], 1
jne 0x588dd8
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x3f8], 1
jne 0x588dd3
cmp dword [ebp - 0x414], 0x2f
jne 0x588dd3
cmp dword [ebp - 0x41c], 0
je 0x588dc1
movzx eax, word [ebp - 0x41c]
push eax
push str.__t_n_r_
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x588dd3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
or edx, 0x10000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x588e8b
mov ecx, dword [ebp - 0x40c]
cmp ecx, dword [ebp - 0x404]
jle 0x588e8b
mov edx, dword [ebp - 0x404]
shl edx, 1
mov eax, dword [ebp - 0x3fc]
sub eax, edx
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x420], ecx
mov edx, dword [ebp - 0x404]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
sub eax, 1
mov dword [ebp - 0x418], eax
je 0x588e78
mov ecx, dword [ebp - 0x424]
movzx edx, word [ecx]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x420]
movzx ecx, word [eax]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x420]
add edx, 2
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x430]
cmp ecx, dword [ebp - 0x42c]
jne 0x588e78
jmp 0x588e1b
cmp dword [ebp - 0x418], 0
jne 0x588e8b
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x400], 0
jne 0x588ea4
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x588ea4
jmp 0x58967b
jmp 0x58908b
cmp dword [ebp - 0x3f4], 0x3c
jne 0x588ee5
cmp dword [ebp - 0x3f8], 2
je 0x588ec4
cmp dword [ebp - 0x3f8], 0xffffffff
jne 0x588ee5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3fc]
sub ecx, dword [eax + 0xc]
sar ecx, 1
sub ecx, 1
mov dword [ebp - 0x40c], ecx
jmp 0x58967b
mov edx, dword [ebp - 0x3f8]
and edx, 1
je 0x589033
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
je 0x588f54
cmp dword [ebp - 0x3f4], 0x22
jne 0x588f2c
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
je 0x588f2c
mov edx, dword [ebp - 0x3f0]
xor edx, 0x80
mov dword [ebp - 0x3f0], edx
jmp 0x588f4f
cmp dword [ebp - 0x3f4], 0x27
jne 0x588f4f
mov eax, dword [ebp - 0x3f0]
and eax, 0x40
je 0x588f4f
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x40
mov dword [ebp - 0x3f0], ecx
jmp 0x589019
cmp dword [ebp - 0x3f4], 0x22
jne 0x588f81
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x588f81
mov eax, dword [ebp - 0x3f0]
xor eax, 0x180
mov dword [ebp - 0x3f0], eax
jmp 0x589019
cmp dword [ebp - 0x3f4], 0x27
jne 0x588fac
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x100
je 0x588fac
mov edx, dword [ebp - 0x3f0]
xor edx, 0x140
mov dword [ebp - 0x3f0], edx
jmp 0x589019
cmp dword [ebp - 0x3f4], 0x3d
jne 0x588fdf
cmp dword [ebp - 0x414], 0x3d
je 0x588fdf
mov eax, dword [ebp - 0x3f0]
and eax, 0x100
jne 0x588fdf
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x100
mov dword [ebp - 0x3f0], ecx
jmp 0x589019
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x589019
movzx eax, word [ebp - 0x3f4]
push eax
push 0x634a8c
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
jne 0x589019
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x100
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x414], eax
jmp 0x58908b
mov ecx, dword [ebp - 0x3f8]
and ecx, 0x40
je 0x58908b
cmp dword [ebp - 0x3f4], 0x22
jne 0x589065
mov edx, dword [ebp - 0x3f0]
and edx, 0x40
jne 0x589065
mov eax, dword [ebp - 0x3f0]
xor eax, 0x80
mov dword [ebp - 0x3f0], eax
jmp 0x58908b
cmp dword [ebp - 0x3f4], 0x27
jne 0x58908b
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
jne 0x58908b
mov edx, dword [ebp - 0x3f0]
xor edx, 0x40
mov dword [ebp - 0x3f0], edx
jmp 0x589658
cmp dword [ebp - 0x3f0], 0
je 0x5895d0
mov eax, dword [ebp - 0x3f0]
and eax, 0x10
je 0x589144
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5890dd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3fc]
sub edx, dword [ecx + 0xc]
sar edx, 1
sub edx, 1
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x3f8], 4
jmp 0x58967b
movzx eax, word [ebp - 0x3f4]
push eax
push str.__t_n_r
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
jne 0x58913f
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x10
mov dword [ebp - 0x3f0], ecx
mov dword [ebp - 0x400], 0x634ad0
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor edx, edx
je 0x58913f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3fc]
sub ecx, dword [eax + 0xc]
sar ecx, 1
sub ecx, 1
mov dword [ebp - 0x408], ecx
jmp 0x5895cb
mov edx, dword [ebp - 0x3f0]
and edx, 1
je 0x5892d7
mov eax, dword [ebp - 0x3f0]
xor eax, 1
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x60
ja 0x58918f
cmp dword [ebp - 0x3f4], 0x40
jbe 0x58917d
cmp dword [ebp - 0x3f4], 0x5b
jb 0x58918f
cmp dword [ebp - 0x3f4], 0x5f
je 0x58918f
cmp dword [ebp - 0x3f4], 0x3a
jne 0x5891cf
mov dword [ebp - 0x400], 0x634ad4
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 1
mov ecx, 1
test ecx, ecx
je 0x5891ca
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
mov dword [ebp - 0x408], eax
jmp 0x5892d2
cmp dword [ebp - 0x3f4], 0x2f
jne 0x58921b
mov dword [ebp - 0x400], 0x634ac4
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0
mov ecx, 2
test ecx, ecx
je 0x589216
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
add eax, 1
mov dword [ebp - 0x408], eax
jmp 0x5892d2
cmp dword [ebp - 0x3f4], 0x21
jne 0x589238
mov ecx, dword [ebp - 0x3f0]
or ecx, 2
mov dword [ebp - 0x3f0], ecx
jmp 0x5892d2
cmp dword [ebp - 0x3f4], 0x3f
jne 0x589281
mov dword [ebp - 0x400], 0x634ac8
mov dword [ebp - 0x404], 2
mov dword [ebp - 0x3f8], 0x10
mov edx, 2
test edx, edx
je 0x58927f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3fc]
sub ecx, dword [eax + 0xc]
sar ecx, 1
add ecx, 1
mov dword [ebp - 0x408], ecx
jmp 0x5892d2
mov dword [ebp - 0x400], 0x634b14
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x634b18
push 0x634ad8
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x10
lea ecx, [ebp - 0x194]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00415f50
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5895cb
mov edx, dword [ebp - 0x3f0]
and edx, 2
je 0x58940d
mov eax, dword [ebp - 0x3f0]
xor eax, 2
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x2d
jne 0x589312
mov ecx, dword [ebp - 0x3f0]
or ecx, 4
mov dword [ebp - 0x3f0], ecx
jmp 0x589408
cmp dword [ebp - 0x3f4], 0x5b
jne 0x58933a
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x58933a
mov eax, dword [ebp - 0x3f0]
or eax, 8
mov dword [ebp - 0x3f0], eax
jmp 0x589408
cmp dword [ebp - 0x3f4], 0x44
jne 0x589362
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x589362
mov edx, dword [ebp - 0x3f0]
or edx, 0x20
mov dword [ebp - 0x3f0], edx
jmp 0x589408
movzx eax, word [ebp - 0x3f4]
push eax
push 0x634b0c
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x5893b7
mov dword [ebp - 0x400], 0x634b80
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0x40
xor ecx, ecx
je 0x5893b5
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
sub eax, 1
mov dword [ebp - 0x408], eax
jmp 0x589408
mov dword [ebp - 0x400], 0x634b84
mov dword [ebp - 0x404], 1
mov ecx, dword [ebp - 0x40c]
push ecx
push str.__tag
push 0x634b4c
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x10
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00415f50
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5895cb
mov ecx, dword [ebp - 0x3f0]
and ecx, 4
je 0x5894c5
mov edx, dword [ebp - 0x3f0]
xor edx, 4
mov dword [ebp - 0x3f0], edx
cmp dword [ebp - 0x3f4], 0x2d
jne 0x58946f
mov dword [ebp - 0x400], 0x634bd4
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 0x20
xor eax, eax
je 0x58946d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3fc]
sub edx, dword [ecx + 0xc]
sar edx, 1
sub edx, 1
mov dword [ebp - 0x408], edx
jmp 0x5894c0
mov dword [ebp - 0x400], 0x634bdc
mov dword [ebp - 0x404], 1
mov eax, dword [ebp - 0x40c]
push eax
push 0x634b88
push str.Incorrect__s_at_offset__d
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x10
lea edx, [ebp - 0x25c]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00415f50
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5895cb
mov eax, dword [ebp - 0x3f0]
and eax, 8
je 0x58957a
mov ecx, dword [ebp - 0x3f0]
xor ecx, 8
mov dword [ebp - 0x3f0], ecx
cmp dword [ebp - 0x3f4], 0x43
jne 0x589527
mov dword [ebp - 0x400], 0x634c1c
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 8
xor edx, edx
je 0x589525
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3fc]
sub ecx, dword [eax + 0xc]
sar ecx, 1
sub ecx, 1
mov dword [ebp - 0x408], ecx
jmp 0x589578
mov dword [ebp - 0x400], 0x634c24
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x634be0
push 0x634be8
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x10
lea ecx, [ebp - 0x3ec]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00415f50
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5895cb
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
je 0x5895cb
cmp dword [ebp - 0x3f4], 0x3c
jne 0x58959f
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x5895cb
cmp dword [ebp - 0x3f4], 0x3e
jne 0x5895cb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3fc]
sub edx, dword [ecx + 0xc]
sar edx, 1
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x3f8], 0x40
jmp 0x58967b
jmp 0x589658
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5895ea
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x589658
mov dword [ebp - 0x3f8], 4
movzx ecx, word [ebp - 0x3f4]
push ecx
push 0x634c38
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x58961f
mov edx, dword [ebp - 0x3f0]
or edx, 0x10
mov dword [ebp - 0x3f0], edx
jmp 0x589658
mov dword [ebp - 0x400], 0x634c44
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor eax, eax
je 0x589658
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3fc]
sub edx, dword [ecx + 0xc]
sar edx, 1
sub edx, 1
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.0058b3a0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x588b35
mov eax, dword [ebp - 0x40c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
sub ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3f8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret