Function at 0x5a7ac0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6d8314]
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 0x5a7b85
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov eax, 0xfffffffe
jmp 0x5a86fd
mov edx, 1
test edx, edx
je 0x5a86cb
mov eax, dword [ebp - 0x3fc]
movzx ecx, word [eax]
mov dword [ebp - 0x3f4], ecx
cmp dword [ebp - 0x3f4], 0
jne 0x5a7cb4
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 0x5a7caf
cmp dword [ebp - 0x3f8], 2
je 0x5a7caf
mov dword [ebp - 0x410], 0x656b94
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x5a7bfd
cmp dword [ebp - 0x3f8], 0x40
jne 0x5a7c09
mov dword [ebp - 0x410], str.Doctype
jmp 0x5a7c70
cmp dword [ebp - 0x3f8], 1
jne 0x5a7c1e
mov dword [ebp - 0x410], str.Element_tag
jmp 0x5a7c70
cmp dword [ebp - 0x3f8], 0
jne 0x5a7c33
mov dword [ebp - 0x410], str.Element_end_tag
jmp 0x5a7c70
cmp dword [ebp - 0x3f8], 8
jne 0x5a7c48
mov dword [ebp - 0x410], str.CDATA_Section
jmp 0x5a7c70
cmp dword [ebp - 0x3f8], 0x10
jne 0x5a7c5d
mov dword [ebp - 0x410], str.Processing_instruction
jmp 0x5a7c70
cmp dword [ebp - 0x3f8], 0x20
jne 0x5a7c70
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.00418f80
jmp 0x5a86cb
cmp dword [ebp - 0x408], 0
je 0x5a7d8a
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 0x5a7d67
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 0x5a7d25
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 0x5a7d47
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.00415c10
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x414], 0
jmp 0x5a7d8a
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.005aa3f0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x5a7b85
cmp dword [ebp - 0x400], 0
je 0x5a80e0
cmp dword [ebp - 0x3f4], 0x3e
jne 0x5a7ef9
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
jne 0x5a7ef9
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 0x5a7e28
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x3f8], 1
jne 0x5a7e23
cmp dword [ebp - 0x414], 0x2f
jne 0x5a7e23
cmp dword [ebp - 0x41c], 0
je 0x5a7e11
movzx eax, word [ebp - 0x41c]
push eax
push 0x656d68
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x5a7e23
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
or edx, 0x10000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x5a7edb
mov ecx, dword [ebp - 0x40c]
cmp ecx, dword [ebp - 0x404]
jle 0x5a7edb
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 0x5a7ec8
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 0x5a7ec8
jmp 0x5a7e6b
cmp dword [ebp - 0x418], 0
jne 0x5a7edb
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x400], 0
jne 0x5a7ef4
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x5a7ef4
jmp 0x5a86cb
jmp 0x5a80db
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5a7f35
cmp dword [ebp - 0x3f8], 2
je 0x5a7f14
cmp dword [ebp - 0x3f8], 0xffffffff
jne 0x5a7f35
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 0x5a86cb
mov edx, dword [ebp - 0x3f8]
and edx, 1
je 0x5a8083
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
je 0x5a7fa4
cmp dword [ebp - 0x3f4], 0x22
jne 0x5a7f7c
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
je 0x5a7f7c
mov edx, dword [ebp - 0x3f0]
xor edx, 0x80
mov dword [ebp - 0x3f0], edx
jmp 0x5a7f9f
cmp dword [ebp - 0x3f4], 0x27
jne 0x5a7f9f
mov eax, dword [ebp - 0x3f0]
and eax, 0x40
je 0x5a7f9f
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x40
mov dword [ebp - 0x3f0], ecx
jmp 0x5a8069
cmp dword [ebp - 0x3f4], 0x22
jne 0x5a7fd1
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x5a7fd1
mov eax, dword [ebp - 0x3f0]
xor eax, 0x180
mov dword [ebp - 0x3f0], eax
jmp 0x5a8069
cmp dword [ebp - 0x3f4], 0x27
jne 0x5a7ffc
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x100
je 0x5a7ffc
mov edx, dword [ebp - 0x3f0]
xor edx, 0x140
mov dword [ebp - 0x3f0], edx
jmp 0x5a8069
cmp dword [ebp - 0x3f4], 0x3d
jne 0x5a802f
cmp dword [ebp - 0x414], 0x3d
je 0x5a802f
mov eax, dword [ebp - 0x3f0]
and eax, 0x100
jne 0x5a802f
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x100
mov dword [ebp - 0x3f0], ecx
jmp 0x5a8069
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x5a8069
movzx eax, word [ebp - 0x3f4]
push eax
push 0x656d78
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
jne 0x5a8069
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 0x5a80db
mov ecx, dword [ebp - 0x3f8]
and ecx, 0x40
je 0x5a80db
cmp dword [ebp - 0x3f4], 0x22
jne 0x5a80b5
mov edx, dword [ebp - 0x3f0]
and edx, 0x40
jne 0x5a80b5
mov eax, dword [ebp - 0x3f0]
xor eax, 0x80
mov dword [ebp - 0x3f0], eax
jmp 0x5a80db
cmp dword [ebp - 0x3f4], 0x27
jne 0x5a80db
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
jne 0x5a80db
mov edx, dword [ebp - 0x3f0]
xor edx, 0x40
mov dword [ebp - 0x3f0], edx
jmp 0x5a86a8
cmp dword [ebp - 0x3f0], 0
je 0x5a8620
mov eax, dword [ebp - 0x3f0]
and eax, 0x10
je 0x5a8194
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5a812d
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 0x5a86cb
movzx eax, word [ebp - 0x3f4]
push eax
push 0x656d58
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
jne 0x5a818f
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x10
mov dword [ebp - 0x3f0], ecx
mov dword [ebp - 0x400], 0x656d64
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor edx, edx
je 0x5a818f
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 0x5a861b
mov edx, dword [ebp - 0x3f0]
and edx, 1
je 0x5a8327
mov eax, dword [ebp - 0x3f0]
xor eax, 1
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x60
ja 0x5a81df
cmp dword [ebp - 0x3f4], 0x40
jbe 0x5a81cd
cmp dword [ebp - 0x3f4], 0x5b
jb 0x5a81df
cmp dword [ebp - 0x3f4], 0x5f
je 0x5a81df
cmp dword [ebp - 0x3f4], 0x3a
jne 0x5a821f
mov dword [ebp - 0x400], 0x656d90
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 1
mov ecx, 1
test ecx, ecx
je 0x5a821a
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
mov dword [ebp - 0x408], eax
jmp 0x5a8322
cmp dword [ebp - 0x3f4], 0x2f
jne 0x5a826b
mov dword [ebp - 0x400], 0x656d94
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0
mov ecx, 2
test ecx, ecx
je 0x5a8266
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 0x5a8322
cmp dword [ebp - 0x3f4], 0x21
jne 0x5a8288
mov ecx, dword [ebp - 0x3f0]
or ecx, 2
mov dword [ebp - 0x3f0], ecx
jmp 0x5a8322
cmp dword [ebp - 0x3f4], 0x3f
jne 0x5a82d1
mov dword [ebp - 0x400], 0x656d84
mov dword [ebp - 0x404], 2
mov dword [ebp - 0x3f8], 0x10
mov edx, 2
test edx, edx
je 0x5a82cf
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 0x5a8322
mov dword [ebp - 0x400], 0x656d8c
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x656da4
push 0x656dcc
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.00418f80
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5a861b
mov edx, dword [ebp - 0x3f0]
and edx, 2
je 0x5a845d
mov eax, dword [ebp - 0x3f0]
xor eax, 2
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x2d
jne 0x5a8362
mov ecx, dword [ebp - 0x3f0]
or ecx, 4
mov dword [ebp - 0x3f0], ecx
jmp 0x5a8458
cmp dword [ebp - 0x3f4], 0x5b
jne 0x5a838a
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x5a838a
mov eax, dword [ebp - 0x3f0]
or eax, 8
mov dword [ebp - 0x3f0], eax
jmp 0x5a8458
cmp dword [ebp - 0x3f4], 0x44
jne 0x5a83b2
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x5a83b2
mov edx, dword [ebp - 0x3f0]
or edx, 0x20
mov dword [ebp - 0x3f0], edx
jmp 0x5a8458
movzx eax, word [ebp - 0x3f4]
push eax
push 0x656d98
call dword [sym.imp.MSVCR120.dll_wcschr]
add esp, 8
test eax, eax
je 0x5a8407
mov dword [ebp - 0x400], 0x656da0
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0x40
xor ecx, ecx
je 0x5a8405
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 0x5a8458
mov dword [ebp - 0x400], 0x656e3c
mov dword [ebp - 0x404], 1
mov ecx, dword [ebp - 0x40c]
push ecx
push 0x656e40
push 0x656e00
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.00418f80
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5a861b
mov ecx, dword [ebp - 0x3f0]
and ecx, 4
je 0x5a8515
mov edx, dword [ebp - 0x3f0]
xor edx, 4
mov dword [ebp - 0x3f0], edx
cmp dword [ebp - 0x3f4], 0x2d
jne 0x5a84bf
mov dword [ebp - 0x400], 0x656e34
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 0x20
xor eax, eax
je 0x5a84bd
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 0x5a8510
mov dword [ebp - 0x400], 0x656e88
mov dword [ebp - 0x404], 1
mov eax, dword [ebp - 0x40c]
push eax
push 0x656e8c
push 0x656e4c
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.00418f80
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5a861b
mov eax, dword [ebp - 0x3f0]
and eax, 8
je 0x5a85ca
mov ecx, dword [ebp - 0x3f0]
xor ecx, 8
mov dword [ebp - 0x3f0], ecx
cmp dword [ebp - 0x3f4], 0x43
jne 0x5a8577
mov dword [ebp - 0x400], 0x656e80
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 8
xor edx, edx
je 0x5a8575
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 0x5a85c8
mov dword [ebp - 0x400], 0x656ee4
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x656ee8
push str.Incorrect__s_at_offset__d
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.00418f80
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x5a861b
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
je 0x5a861b
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5a85ef
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x5a861b
cmp dword [ebp - 0x3f4], 0x3e
jne 0x5a861b
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 0x5a86cb
jmp 0x5a86a8
cmp dword [ebp - 0x3f4], 0x3c
jne 0x5a863a
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x5a86a8
mov dword [ebp - 0x3f8], 4
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 0x5a866f
mov edx, dword [ebp - 0x3f0]
or edx, 0x10
mov dword [ebp - 0x3f0], edx
jmp 0x5a86a8
mov dword [ebp - 0x400], 0x656ef8
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor eax, eax
je 0x5a86a8
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.005aa3f0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x5a7b85
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.006116d0
mov esp, ebp
pop ebp
ret