Function at 0x404d7c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x1c], esi
or edx, 0xffffffff
mov dword [esp + 0x14], edi
mov eax, dword [esi + 8]
mov ebx, edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
lea edi, [eax + ecx*2]
mov dword [esp + 0x10], edx
movzx esi, word [edi]
test esi, esi
jne 0x404e7a
mov ecx, dword [esp + 0x1c]
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x4053ac
mov eax, dword [ecx + 0xa4]
mov dword [esp + 0x30], eax
call fcn.00404751
test al, al
je 0x404e59
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
mov edi, dword [esi + 8]
sub edi, ecx
mov eax, dword [edx + 0xa4]
test eax, eax
je 0x404e43
mov edx, dword [ebp + 8]
sub ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x404e31
sub ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x404e3d
cmp dword [esp + 0x28], 0
je 0x404e3d
sub dword [esi], eax
sub dword [esi + 4], eax
sub dword [esi + 8], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x28]
add ecx, edi
mov eax, dword [eax]
mov dword [esi + 0xc], eax
lea edi, [eax + ecx*2]
movzx esi, word [edi]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x404e6e
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0xa4], ecx
mov edx, dword [esp + 0x10]
test esi, esi
je 0x4053ac
cmp dword [esp + 0x20], 0
je 0x404ece
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x404e92
movsx eax, byte [esi + 0x44e033]
jmp 0x404e94
xor eax, eax
test eax, eax
je 0x4050a9
mov ecx, dword [esp + 0x1c]
mov eax, edi
mov edx, dword [esp + 0x20]
and dword [esp + 0x20], 0
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [esp + 0x28], eax
sub dword [esp + 0x28], edx
dec eax
mov dword [ecx + 4], eax
xor eax, eax
and dword [esp + 0x24], eax
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
jmp 0x404ed2
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x4050d6
cmp esi, 0x3e
jne 0x404fcc
test bl, 0xc0
jne 0x404fe3
mov esi, dword [esp + 0x1c]
mov ecx, edi
sub ecx, dword [esi + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x404f4d
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, eax
jne 0x404f8c
cmp dword [esp + 0x24], 0x2f
jne 0x404f8c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x404f41
test ebx, 0x200
je 0x404f41
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x404f3b
movsx eax, byte [ecx + 0x44e06b]
jmp 0x404f3d
xor eax, eax
test eax, eax
je 0x404f8c
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x404f8c
cmp ecx, eax
jle 0x404f88
mov ecx, dword [esp + 0x18]
add eax, eax
mov esi, edi
sub esi, eax
mov eax, dword [esp + 0x14]
add esi, 2
sub eax, esi
mov dword [esp + 0x30], eax
sub ecx, 1
mov dword [esp + 0x34], ecx
je 0x404fc4
movzx ecx, word [esi]
mov ax, word [eax + esi]
add esi, 2
cmp cx, ax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x404f68
mov esi, dword [esp + 0x14]
and ebx, 0xfffffdff
test esi, esi
jne 0x4050a9
test bl, 0x20
jne 0x4050a9
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 8]
sub ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x404f8c
cmp esi, 0x3c
jne 0x404fe3
cmp edx, 2
je 0x40544d
cmp edx, 0xffffffff
je 0x40544d
test dl, 1
je 0x4050b1
test ebx, 0x2c0
je 0x40503c
cmp esi, 0x22
jne 0x405008
test bl, bl
jns 0x40501a
xor ebx, 0x80
jmp 0x40509d
cmp esi, 0x27
jne 0x40501a
test bl, 0x40
je 0x40501a
xor ebx, 0x40
jmp 0x40509d
mov ecx, 0x200
test ecx, ebx
je 0x40509d
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x405034
movsx eax, byte [esi + 0x44dce7]
jmp 0x405036
xor eax, eax
test eax, eax
je 0x40509d
jmp 0x405076
mov eax, ebx
mov ecx, 0x100
and eax, ecx
cmp esi, 0x22
jne 0x405056
test eax, eax
je 0x405056
xor ebx, 0x180
jmp 0x40509d
cmp esi, 0x27
jne 0x405067
test eax, eax
je 0x40509d
xor ebx, 0x140
jmp 0x40509d
cmp esi, 0x3d
jne 0x40507a
cmp dword [esp + 0x24], esi
je 0x40507a
test eax, eax
jne 0x405091
xor ebx, ecx
jmp 0x40509d
test eax, eax
je 0x40509d
cmp esi, 9
jb 0x405091
cmp esi, 0x20
ja 0x405091
movsx eax, byte [esi + 0x44dce7]
jmp 0x405093
xor eax, eax
test eax, eax
jne 0x40509d
xor ebx, 0x300
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
add edi, 2
jmp 0x404dc6
test dl, 0x40
je 0x4050a9
cmp esi, 0x22
jne 0x4050c8
test bl, 0x40
jne 0x4050a9
xor ebx, 0x80
jmp 0x4050a9
cmp esi, 0x27
jne 0x4050a9
test bl, bl
js 0x4050a9
xor ebx, 0x40
jmp 0x4050a9
test ebx, ebx
je 0x405363
test bl, 0x10
je 0x405127
cmp esi, 0x3c
je 0x40545e
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x4050fd
movsx ecx, byte [esi + 0x44dce7]
jmp 0x4050ff
xor ecx, ecx
test ecx, ecx
jne 0x405119
xor eax, eax
mov dword [esp + 0x14], 0x44e094
push 2
inc eax
pop edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov eax, ebx
xor eax, 0x10
test ecx, ecx
cmovne eax, ebx
mov ebx, eax
jmp 0x4050a9
test bl, 1
je 0x4051ff
xor eax, eax
inc eax
xor ebx, eax
cmp esi, 0x60
ja 0x4051e5
cmp esi, 0x40
jbe 0x40514c
cmp esi, 0x5b
jb 0x4051e5
cmp esi, 0x5f
je 0x4051e5
cmp esi, 0x3a
je 0x4051e5
cmp esi, 0x2f
jne 0x405186
mov dword [esp + 0x14], 0x44e098
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x4050a9
cmp esi, 0x21
jne 0x405193
or ebx, 2
jmp 0x4050a9
cmp esi, 0x3f
jne 0x4051ad
push 0x10
mov dword [esp + 0x18], 0x44e09c
mov dword [esp + 0x1c], 2
pop edx
jmp 0x405171
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], eax
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x24], 0x44e098
lea ecx, [ecx + 0x10]
call fcn.00402c1f
add esp, 0x10
or edx, 0xffffffff
jmp 0x40530e
mov dword [esp + 0x18], eax
mov edx, eax
mov eax, edi
mov dword [esp + 0x14], 0x44e098
sub eax, dword [ecx + 0xc]
sar eax, 1
jmp 0x405179
test bl, 2
je 0x4052b4
xor ebx, 2
cmp esi, 0x2d
jne 0x405218
or ebx, 4
jmp 0x4050a9
test bl, 0x20
je 0x405279
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x40522e
movsx eax, byte [esi + 0x44e087]
jmp 0x405230
xor eax, eax
test eax, eax
je 0x405239
push 0x40
pop edx
jmp 0x405260
push 0xffffffffffffffff
push dword [ecx + 8]
xor edx, edx
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
and dword [eax], 0
mov eax, esp
lea ecx, [ecx + 0x10]
mov dword [eax], str.doctype_tag_syntax
call fcn.00402c1f
add esp, 0x10
or edx, 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x44e098
mov dword [esp + 0x18], 1
jmp 0x4050a9
cmp esi, 0x5b
jne 0x405286
or ebx, 8
jmp 0x4050a9
cmp esi, 0x44
jne 0x405293
or ebx, 0x20
jmp 0x4050a9
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x4051c5
test bl, 4
je 0x4052ee
xor ebx, 4
cmp esi, 0x2d
jne 0x4052cd
mov dword [esp + 0x14], 0x44e130
push 0x20
jmp 0x405305
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x4051c5
test bl, 8
je 0x405337
xor ebx, 8
cmp esi, 0x43
jne 0x405317
mov dword [esp + 0x14], 0x44e160
push 8
mov dword [esp + 0x1c], 3
pop edx
mov dword [esp + 0x10], edx
jmp 0x4050a9
push 0xffffffffffffffff
push dword [ecx + 8]
xor eax, eax
inc eax
push ecx
mov dword [esp + 0x24], eax
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
jmp 0x4051c5
test bl, 0x20
je 0x4050a9
cmp esi, 0x3c
jne 0x40534d
or ebx, 1
jmp 0x4050a9
cmp esi, 0x3e
jne 0x4050a9
sub edi, dword [ecx + 0xc]
sar edi, 1
inc edi
push 0x40
jmp 0x405465
cmp esi, 0x3c
jne 0x405370
xor ebx, ebx
inc ebx
jmp 0x4050a9
push 4
lea eax, [esi - 9]
pop edx
mov dword [esp + 0x10], edx
cmp eax, 0x17
ja 0x405388
movsx eax, byte [esi + 0x44dce7]
jmp 0x40538a
xor eax, eax
test eax, eax
je 0x405396
push 0x10
pop ebx
jmp 0x4050a9
xor eax, eax
mov dword [esp + 0x14], 0x44e094
inc eax
mov dword [esp + 0x18], eax
push 2
jmp 0x40530d
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
cmp dword [ecx + 8], eax
jne 0x4053ca
and dword [edi + 8], 0
and dword [edi], 0
push 0xfffffffffffffffe
pop eax
jmp 0x404fbb
cmp edx, 4
je 0x405455
cmp edx, 2
je 0x405455
mov ecx, 0x44df68
test bl, 0x20
jne 0x405422
cmp edx, 0x40
je 0x405422
cmp edx, 1
jne 0x4053f3
mov ecx, str.start_tag
jmp 0x405427
test edx, edx
jne 0x4053fe
mov ecx, str.end_tag
jmp 0x405427
cmp edx, 8
jne 0x40540a
mov ecx, 0x44dfb0
jmp 0x405427
cmp edx, 0x10
jne 0x405416
mov ecx, str.processing_instruction
jmp 0x405427
cmp edx, 0x20
jne 0x405427
mov ecx, str.comment
jmp 0x405427
mov ecx, str.document_type
or esi, 0xffffffff
push esi
push eax
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
push 2
lea ecx, [edi + 0x10]
pop edx
mov dword [eax], str.unterminated_tag_syntax
call fcn.00402c1f
add esp, 0x10
jmp 0x404fa7
sub edi, dword [ecx + 0xc]
sar edi, 1
mov dword [ecx + 8], edi
mov esi, dword [esp + 0x10]
jmp 0x404fab
sub edi, dword [ecx + 0xc]
sar edi, 1
push 4
mov dword [ecx + 8], edi
pop esi
jmp 0x404fab