Function at 0x4120f0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor edx, edx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 8]
mov esi, dword [edi + 0xc]
xor eax, eax
lea ecx, [esi + ecx*2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
or ebx, 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], ecx
nop
mov ecx, dword [ebp - 0xc]
movzx esi, word [ecx]
cmp esi, edx
jne 0x4121d3
sub ecx, dword [edi + 0xc]
sar ecx, 1
mov dword [edi + 8], ecx
mov ecx, dword [edi + 0x1c]
cmp ecx, edx
je 0x412800
mov edx, dword [ecx + 0xd4]
mov dword [ebp - 0x24], edx
call fcn.00411f50
test al, al
je 0x4121b8
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x412199
sub eax, ecx
cmp dword [ebp - 0x14], 0
mov dword [esi + 4], eax
je 0x41218b
sub dword [ebp - 0x14], ecx
jmp 0x412196
cmp dword [ebp - 0x20], 0
je 0x412196
sub dword [edi], ecx
sub dword [edi + 4], ecx
sub dword [edi + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x14], 8
jb 0x4121ac
mov ecx, dword [ecx]
lea eax, [ecx + eax*2]
mov dword [edi + 0xc], ecx
movzx esi, word [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4121c8
mov ecx, dword [edi + 0x1c]
mov dword [ecx + 0xd4], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x412800
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x412219
lea edx, [esi - 9]
cmp edx, 0x35
ja 0x41253f
movsx edx, byte [esi + 0x5449f3]
test edx, edx
je 0x41253f
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov dword [edi], ecx
sar eax, 1
sub eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax + ecx - 1]
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
test edx, edx
je 0x412498
cmp esi, 0x3e
jne 0x4122e1
test al, 0xc0
jne 0x4122f8
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
sar eax, 1
inc eax
mov dword [edi + 8], eax
cmp ecx, 1
jne 0x412287
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, ecx
jne 0x4122bc
cmp dword [ebp - 0x18], 0x2f
jne 0x4122bc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41227b
test dword [ebp - 4], 0x200
je 0x41227b
lea ecx, [eax - 9]
cmp ecx, 0x1e
ja 0x4122bc
movsx eax, byte [eax + 0x5449d3]
test eax, eax
je 0x4122bc
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x4122bc
dec eax
cmp eax, ecx
jle 0x4122bc
mov esi, dword [ebp - 0xc]
lea eax, [ecx + ecx]
sub esi, eax
lea eax, [esi + 2]
mov esi, edx
mov dword [ebp - 0x24], ecx
sub esi, eax
dec dword [ebp - 0x24]
je 0x4122b7
mov cx, word [eax]
mov dx, word [esi + eax]
add eax, 2
cmp cx, dx
je 0x41229e
mov edx, dword [ebp - 8]
jmp 0x4122bc
xor edx, edx
mov dword [ebp - 8], edx
and dword [ebp - 4], 0xfffffdff
test edx, edx
jne 0x41253c
test byte [ebp - 4], 0x20
je 0x412798
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 2
jmp 0x412130
cmp esi, 0x3c
jne 0x4122f8
cmp ebx, 2
je 0x4128af
cmp ebx, 0xffffffff
je 0x4128af
test bl, 1
je 0x41244d
test eax, 0x2c0
je 0x412396
cmp esi, 0x22
jne 0x412331
test al, al
jns 0x412354
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
cmp esi, 0x27
jne 0x412354
test al, 0x40
je 0x412354
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x40
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
test eax, 0x200
je 0x412439
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x412439
movsx ecx, byte [esi + 0x54427f]
test ecx, ecx
je 0x412439
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
cmp esi, 0x22
jne 0x4123c2
test eax, 0x100
je 0x412439
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x180
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
cmp esi, 0x27
jne 0x4123ea
test eax, 0x100
je 0x412439
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x140
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
cmp esi, 0x3d
jne 0x412417
cmp dword [ebp - 0x18], esi
je 0x412417
test eax, 0x100
jne 0x41241e
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x100
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
test eax, 0x100
je 0x412439
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x412431
movsx ecx, byte [esi + 0x54427f]
test ecx, ecx
jne 0x412439
xor eax, 0x300
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412130
test bl, 0x40
je 0x41253f
cmp esi, 0x22
jne 0x412476
test al, 0x40
jne 0x41253f
add dword [ebp - 0xc], 2
xor eax, 0x80
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
cmp esi, 0x27
jne 0x41253f
test al, al
js 0x41253f
add dword [ebp - 0xc], 2
xor eax, 0x40
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
test eax, eax
je 0x4127b1
test al, 0x10
je 0x4124e3
cmp esi, 0x3c
je 0x4128bc
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x4124c0
movsx ecx, byte [esi + 0x54427f]
test ecx, ecx
jne 0x41253f
xor eax, 0x10
mov dword [ebp - 4], eax
mov ebx, 2
add dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0x544640
mov dword [ebp - 0x10], 1
xor edx, edx
jmp 0x412130
test al, 1
je 0x4125e1
mov ecx, 1
xor eax, ecx
mov dword [ebp - 4], eax
cmp esi, 0x60
ja 0x4125bc
cmp esi, 0x40
jbe 0x41250c
cmp esi, 0x5b
jb 0x4125bc
cmp esi, 0x5f
je 0x4125bc
cmp esi, 0x3a
je 0x4125bc
cmp esi, 0x2f
jne 0x41254a
mov dword [ebp - 8], 0x54462c
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
sar eax, 1
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 2
xor edx, edx
jmp 0x412130
cmp esi, 0x21
jne 0x412560
add dword [ebp - 0xc], 2
or eax, 2
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
cmp esi, 0x3f
jne 0x412578
mov dword [ebp - 8], 0x54464c
mov dword [ebp - 0x10], 2
lea ebx, [esi - 0x2f]
jmp 0x41252f
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], ecx
mov dword [eax], str.first_tag_syntax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov dword [ebp - 8], 0x54462c
call fcn.004112c0
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 4]
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x412130
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
add dword [ebp - 0xc], 2
sar eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 0x54462c
mov dword [ebp - 0x10], ecx
mov ebx, ecx
xor edx, edx
jmp 0x412130
test al, 2
je 0x4126b9
xor eax, 2
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x412605
add dword [ebp - 0xc], 2
or eax, 4
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
test al, 0x20
je 0x412660
lea edx, [esi - 0x41]
cmp edx, 0xd
ja 0x41263a
movsx ecx, byte [esi + 0x544967]
test ecx, ecx
je 0x41263a
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x54462c
mov dword [ebp - 0x10], 1
mov ebx, 0x40
xor edx, edx
jmp 0x412130
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], 1
mov dword [eax], str.doctype_tag_syntax
jmp 0x412595
cmp esi, 0x5b
jne 0x412676
add dword [ebp - 0xc], 2
or eax, 8
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
cmp esi, 0x44
jne 0x41268c
add dword [ebp - 0xc], 2
or eax, 0x20
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
mov edx, dword [edi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x10], 1
push eax
jmp 0x41259c
test al, 4
je 0x412711
xor eax, 4
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x4126e4
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x544644
mov dword [ebp - 0x10], 3
lea ebx, [esi - 0xd]
xor edx, edx
jmp 0x412130
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
add edx, 0x10
mov dword [ebp - 0x10], 1
mov dword [eax], str.comment_tag_syntax
push edx
jmp 0x41259c
test al, 8
je 0x412762
xor eax, 8
mov dword [ebp - 4], eax
cmp esi, 0x43
jne 0x41273c
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x544624
mov dword [ebp - 0x10], 3
lea ebx, [esi - 0x3b]
xor edx, edx
jmp 0x412130
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], 1
mov dword [eax], str.cdata_section_syntax
jmp 0x412595
test al, 0x20
je 0x41253f
cmp esi, 0x3c
jne 0x412780
add dword [ebp - 0xc], 2
or eax, 1
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412130
cmp esi, 0x3e
jne 0x41253f
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
lea ebx, [esi + 2]
sar eax, 1
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
sub ecx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x4127cb
add dword [ebp - 0xc], 2
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
xor edx, edx
jmp 0x412130
lea edx, [esi - 9]
mov ebx, 4
cmp edx, 0x17
ja 0x4124c6
movsx ecx, byte [esi + 0x54427f]
test ecx, ecx
je 0x4124c6
add dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 4]
xor edx, edx
jmp 0x412130
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
cmp dword [edi + 8], edx
jne 0x412826
pop edi
pop esi
mov dword [ecx + 8], 0
mov dword [ecx], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
je 0x412798
cmp ebx, 2
je 0x412798
mov ecx, 0x5448f4
test al, 0x20
jne 0x412881
cmp ebx, 0x40
je 0x412881
cmp ebx, 1
jne 0x412852
mov ecx, str.start_tag
jmp 0x412886
test ebx, ebx
jne 0x41285d
mov ecx, str.end_tag
jmp 0x412886
cmp ebx, 8
jne 0x412869
mov ecx, str.cdata_section
jmp 0x412886
cmp ebx, 0x10
jne 0x412875
mov ecx, str.processing_instruction
jmp 0x412886
cmp ebx, 0x20
jne 0x412886
mov ecx, str.comment
jmp 0x412886
mov ecx, str.document_type
or ebx, 0xffffffff
push ebx
push edx
push 2
push ecx
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], str.unterminated_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.004112c0
add esp, 0x18
jmp 0x412798
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
sar eax, 1
jmp 0x412795
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x412795