Function at 0x440040
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x554910]
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 0x440105
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov eax, 0xfffffffe
jmp 0x440c72
mov edx, 1
test edx, edx
je 0x440c40
mov eax, dword [ebp - 0x3fc]
movzx ecx, word [eax]
mov dword [ebp - 0x3f4], ecx
cmp dword [ebp - 0x3f4], 0
jne 0x440233
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 0x44022e
cmp dword [ebp - 0x3f8], 2
je 0x44022e
mov dword [ebp - 0x410], 0x5413d4
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x44017d
cmp dword [ebp - 0x3f8], 0x40
jne 0x440189
mov dword [ebp - 0x410], str.Doctype
jmp 0x4401f0
cmp dword [ebp - 0x3f8], 1
jne 0x44019e
mov dword [ebp - 0x410], str.Element_tag
jmp 0x4401f0
cmp dword [ebp - 0x3f8], 0
jne 0x4401b3
mov dword [ebp - 0x410], str.Element_end_tag
jmp 0x4401f0
cmp dword [ebp - 0x3f8], 8
jne 0x4401c8
mov dword [ebp - 0x410], str.CDATA_Section
jmp 0x4401f0
cmp dword [ebp - 0x3f8], 0x10
jne 0x4401dd
mov dword [ebp - 0x410], str.Processing_instruction
jmp 0x4401f0
cmp dword [ebp - 0x3f8], 0x20
jne 0x4401f0
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 fcn.004d2fdd
add esp, 0x10
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.0040ea10
jmp 0x440c40
cmp dword [ebp - 0x408], 0
je 0x440308
movzx ecx, word [ebp - 0x3f4]
push ecx
push str.__t_n_r__
call fcn.004d8df7
add esp, 8
test eax, eax
je 0x4402e5
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 0x4402a3
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 0x4402c5
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.00403480
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x414], 0
jmp 0x440308
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.004416a0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x440105
cmp dword [ebp - 0x400], 0
je 0x44065c
cmp dword [ebp - 0x3f4], 0x3e
jne 0x440476
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
jne 0x440476
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 0x4403a5
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x3f8], 1
jne 0x4403a0
cmp dword [ebp - 0x414], 0x2f
jne 0x4403a0
cmp dword [ebp - 0x41c], 0
je 0x44038e
movzx eax, word [ebp - 0x41c]
push eax
push 0x5414cc
call fcn.004d8df7
add esp, 8
test eax, eax
je 0x4403a0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
or edx, 0x10000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x440458
mov ecx, dword [ebp - 0x40c]
cmp ecx, dword [ebp - 0x404]
jle 0x440458
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 0x440445
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 0x440445
jmp 0x4403e8
cmp dword [ebp - 0x418], 0
jne 0x440458
mov dword [ebp - 0x400], 0
cmp dword [ebp - 0x400], 0
jne 0x440471
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x440471
jmp 0x440c40
jmp 0x440657
cmp dword [ebp - 0x3f4], 0x3c
jne 0x4404b2
cmp dword [ebp - 0x3f8], 2
je 0x440491
cmp dword [ebp - 0x3f8], 0xffffffff
jne 0x4404b2
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 0x440c40
mov edx, dword [ebp - 0x3f8]
and edx, 1
je 0x4405ff
mov eax, dword [ebp - 0x3f0]
and eax, 0xc0
je 0x440521
cmp dword [ebp - 0x3f4], 0x22
jne 0x4404f9
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
je 0x4404f9
mov edx, dword [ebp - 0x3f0]
xor edx, 0x80
mov dword [ebp - 0x3f0], edx
jmp 0x44051c
cmp dword [ebp - 0x3f4], 0x27
jne 0x44051c
mov eax, dword [ebp - 0x3f0]
and eax, 0x40
je 0x44051c
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x40
mov dword [ebp - 0x3f0], ecx
jmp 0x4405e5
cmp dword [ebp - 0x3f4], 0x22
jne 0x44054e
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x44054e
mov eax, dword [ebp - 0x3f0]
xor eax, 0x180
mov dword [ebp - 0x3f0], eax
jmp 0x4405e5
cmp dword [ebp - 0x3f4], 0x27
jne 0x440579
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x100
je 0x440579
mov edx, dword [ebp - 0x3f0]
xor edx, 0x140
mov dword [ebp - 0x3f0], edx
jmp 0x4405e5
cmp dword [ebp - 0x3f4], 0x3d
jne 0x4405ac
cmp dword [ebp - 0x414], 0x3d
je 0x4405ac
mov eax, dword [ebp - 0x3f0]
and eax, 0x100
jne 0x4405ac
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x100
mov dword [ebp - 0x3f0], ecx
jmp 0x4405e5
mov edx, dword [ebp - 0x3f0]
and edx, 0x100
je 0x4405e5
movzx eax, word [ebp - 0x3f4]
push eax
push 0x5414dc
call fcn.004d8df7
add esp, 8
test eax, eax
jne 0x4405e5
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 0x440657
mov ecx, dword [ebp - 0x3f8]
and ecx, 0x40
je 0x440657
cmp dword [ebp - 0x3f4], 0x22
jne 0x440631
mov edx, dword [ebp - 0x3f0]
and edx, 0x40
jne 0x440631
mov eax, dword [ebp - 0x3f0]
xor eax, 0x80
mov dword [ebp - 0x3f0], eax
jmp 0x440657
cmp dword [ebp - 0x3f4], 0x27
jne 0x440657
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x80
jne 0x440657
mov edx, dword [ebp - 0x3f0]
xor edx, 0x40
mov dword [ebp - 0x3f0], edx
jmp 0x440c1d
cmp dword [ebp - 0x3f0], 0
je 0x440b96
mov eax, dword [ebp - 0x3f0]
and eax, 0x10
je 0x44070f
cmp dword [ebp - 0x3f4], 0x3c
jne 0x4406a9
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 0x440c40
movzx eax, word [ebp - 0x3f4]
push eax
push 0x5414e8
call fcn.004d8df7
add esp, 8
test eax, eax
jne 0x44070a
mov ecx, dword [ebp - 0x3f0]
xor ecx, 0x10
mov dword [ebp - 0x3f0], ecx
mov dword [ebp - 0x400], 0x5414f4
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor edx, edx
je 0x44070a
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 0x440b91
mov edx, dword [ebp - 0x3f0]
and edx, 1
je 0x4408a1
mov eax, dword [ebp - 0x3f0]
xor eax, 1
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x60
ja 0x44075a
cmp dword [ebp - 0x3f4], 0x40
jbe 0x440748
cmp dword [ebp - 0x3f4], 0x5b
jb 0x44075a
cmp dword [ebp - 0x3f4], 0x5f
je 0x44075a
cmp dword [ebp - 0x3f4], 0x3a
jne 0x44079a
mov dword [ebp - 0x400], 0x5414f8
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 1
mov ecx, 1
test ecx, ecx
je 0x440795
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3fc]
sub eax, dword [edx + 0xc]
sar eax, 1
mov dword [ebp - 0x408], eax
jmp 0x44089c
cmp dword [ebp - 0x3f4], 0x2f
jne 0x4407e6
mov dword [ebp - 0x400], 0x5414fc
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0
mov ecx, 2
test ecx, ecx
je 0x4407e1
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 0x44089c
cmp dword [ebp - 0x3f4], 0x21
jne 0x440803
mov ecx, dword [ebp - 0x3f0]
or ecx, 2
mov dword [ebp - 0x3f0], ecx
jmp 0x44089c
cmp dword [ebp - 0x3f4], 0x3f
jne 0x44084c
mov dword [ebp - 0x400], 0x541500
mov dword [ebp - 0x404], 2
mov dword [ebp - 0x3f8], 0x10
mov edx, 2
test edx, edx
je 0x44084a
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 0x44089c
mov dword [ebp - 0x400], 0x541508
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x54150c
push 0x541534
lea eax, [ebp - 0x194]
push eax
call fcn.004d2fdd
add esp, 0x10
lea ecx, [ebp - 0x194]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.0040ea10
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x440b91
mov edx, dword [ebp - 0x3f0]
and edx, 2
je 0x4409d5
mov eax, dword [ebp - 0x3f0]
xor eax, 2
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f4], 0x2d
jne 0x4408dc
mov ecx, dword [ebp - 0x3f0]
or ecx, 4
mov dword [ebp - 0x3f0], ecx
jmp 0x4409d0
cmp dword [ebp - 0x3f4], 0x5b
jne 0x440904
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
jne 0x440904
mov eax, dword [ebp - 0x3f0]
or eax, 8
mov dword [ebp - 0x3f0], eax
jmp 0x4409d0
cmp dword [ebp - 0x3f4], 0x44
jne 0x44092c
mov ecx, dword [ebp - 0x3f0]
and ecx, 0x20
jne 0x44092c
mov edx, dword [ebp - 0x3f0]
or edx, 0x20
mov dword [ebp - 0x3f0], edx
jmp 0x4409d0
movzx eax, word [ebp - 0x3f4]
push eax
push 0x541568
call fcn.004d8df7
add esp, 8
test eax, eax
je 0x440980
mov dword [ebp - 0x400], 0x541570
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 0x40
xor ecx, ecx
je 0x44097e
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 0x4409d0
mov dword [ebp - 0x400], 0x541574
mov dword [ebp - 0x404], 1
mov ecx, dword [ebp - 0x40c]
push ecx
push 0x541578
push 0x541584
lea edx, [ebp - 0xcc]
push edx
call fcn.004d2fdd
add esp, 0x10
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.0040ea10
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x440b91
mov ecx, dword [ebp - 0x3f0]
and ecx, 4
je 0x440a8c
mov edx, dword [ebp - 0x3f0]
xor edx, 4
mov dword [ebp - 0x3f0], edx
cmp dword [ebp - 0x3f4], 0x2d
jne 0x440a37
mov dword [ebp - 0x400], 0x5415b8
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 0x20
xor eax, eax
je 0x440a35
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 0x440a87
mov dword [ebp - 0x400], 0x5415c0
mov dword [ebp - 0x404], 1
mov eax, dword [ebp - 0x40c]
push eax
push 0x5415c4
push str.Incorrect__s_at_offset__d
lea ecx, [ebp - 0x25c]
push ecx
call fcn.004d2fdd
add esp, 0x10
lea edx, [ebp - 0x25c]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.0040ea10
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x440b91
mov eax, dword [ebp - 0x3f0]
and eax, 8
je 0x440b40
mov ecx, dword [ebp - 0x3f0]
xor ecx, 8
mov dword [ebp - 0x3f0], ecx
cmp dword [ebp - 0x3f4], 0x43
jne 0x440aee
mov dword [ebp - 0x400], 0x541610
mov dword [ebp - 0x404], 3
mov dword [ebp - 0x3f8], 8
xor edx, edx
je 0x440aec
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 0x440b3e
mov dword [ebp - 0x400], 0x541618
mov dword [ebp - 0x404], 1
mov edx, dword [ebp - 0x40c]
push edx
push 0x54161c
push 0x541624
lea eax, [ebp - 0x3ec]
push eax
call fcn.004d2fdd
add esp, 0x10
lea ecx, [ebp - 0x3ec]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.0040ea10
mov dword [ebp - 0x3f8], 0xffffffff
jmp 0x440b91
mov edx, dword [ebp - 0x3f0]
and edx, 0x20
je 0x440b91
cmp dword [ebp - 0x3f4], 0x3c
jne 0x440b65
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x440b91
cmp dword [ebp - 0x3f4], 0x3e
jne 0x440b91
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 0x440c40
jmp 0x440c1d
cmp dword [ebp - 0x3f4], 0x3c
jne 0x440bb0
mov eax, dword [ebp - 0x3f0]
or eax, 1
mov dword [ebp - 0x3f0], eax
jmp 0x440c1d
mov dword [ebp - 0x3f8], 4
movzx ecx, word [ebp - 0x3f4]
push ecx
push str.__t_n_r
call fcn.004d8df7
add esp, 8
test eax, eax
je 0x440be4
mov edx, dword [ebp - 0x3f0]
or edx, 0x10
mov dword [ebp - 0x3f0], edx
jmp 0x440c1d
mov dword [ebp - 0x400], 0x541664
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x3f8], 2
xor eax, eax
je 0x440c1d
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.004416a0
add esp, 4
mov ecx, dword [ebp - 0x3fc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x3fc], edx
jmp 0x440105
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.004d2694
mov esp, ebp
pop ebp
ret