Function at 0x41013a
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x34c
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x74], eax
mov eax, dword [edi + 8]
or dword [ebp - 0x2b4], 0xffffffff
xor edx, edx
push ebx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0xc]
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebx]
push esi
xor esi, esi
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2d0], edx
cmp ax, dx
jne 0x4101ad
push 0xfffffffffffffffe
mov dword [ecx + 8], edx
mov dword [ecx], edx
pop eax
jmp 0x410877
movzx eax, ax
mov dword [ebp - 0x2b8], eax
cmp eax, edx
je 0x4104f5
jmp 0x4101c2
xor edx, edx
cmp esi, edx
je 0x410222
push dword [ebp - 0x2b8]
push str.__t_n_r__
call fcn.0044c872
pop ecx
pop ecx
test eax, eax
je 0x4104e2
mov ecx, dword [edi + 0xc]
mov eax, ebx
sub eax, ecx
sar eax, 1
sub eax, esi
cmp dword [ebp - 0x2b4], 0
jne 0x4101ff
lea eax, [eax + esi - 1]
mov dword [edi], esi
mov dword [edi + 4], eax
jmp 0x410210
lea ecx, [ecx + esi*2]
mov esi, dword [ebp - 0x2c8]
add esi, 0x10
call fcn.0040429d
xor edx, edx
xor esi, esi
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2cc], edx
jmp 0x410224
xor edx, edx
cmp dword [ebp - 0x2bc], edx
je 0x410481
mov eax, dword [ebp - 0x2b8]
cmp eax, 0x3e
jne 0x41031a
test byte [ebp - 0x2b0], 0xc0
jne 0x410339
mov ecx, dword [ebp - 0x2c0]
mov eax, ebx
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [ebp - 0x2c4], eax
cmp ecx, 1
jne 0x4102b0
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2b4], ecx
jne 0x410308
cmp dword [ebp - 0x2cc], 0x2f
jne 0x410308
cmp dword [ebp - 0x2d0], edx
je 0x4102a1
push dword [ebp - 0x2d0]
push 0x4798bc
call fcn.0044c872
pop ecx
pop ecx
test eax, eax
je 0x410308
mov eax, dword [ebp - 0x2c8]
or dword [eax + 0xc], 0x10000
jmp 0x410308
cmp eax, ecx
jle 0x4102fc
lea eax, [ecx + ecx]
mov edx, ebx
sub edx, eax
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [ebp - 0x2bc]
lea eax, [edx + 2]
sub ecx, eax
mov dword [ebp - 0x2d4], ecx
jmp 0x4102da
mov ecx, dword [ebp - 0x2d4]
dec dword [ebp - 0x2b8]
je 0x4102f4
mov dx, word [eax]
mov cx, word [ecx + eax]
inc eax
inc eax
cmp dx, cx
je 0x4102d4
xor edx, edx
jmp 0x4102fc
xor edx, edx
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2bc], edx
jne 0x4104e2
test byte [ebp - 0x2b0], 0x20
je 0x410859
jmp 0x4104e2
cmp eax, 0x3c
jne 0x410339
cmp dword [ebp - 0x2b4], 2
je 0x41093b
cmp dword [ebp - 0x2b4], 0xffffffff
je 0x41093b
test byte [ebp - 0x2b4], 1
je 0x410437
test byte [ebp - 0x2b0], 0xc0
je 0x410392
cmp eax, 0x22
jne 0x410370
test byte [ebp - 0x2b0], 0x80
je 0x410420
xor dword [ebp - 0x2b0], 0x80
jmp 0x410420
cmp eax, 0x27
jne 0x410420
test byte [ebp - 0x2b0], 0x40
je 0x410420
xor dword [ebp - 0x2b0], 0x40
jmp 0x410420
cmp eax, 0x22
jne 0x4103af
test dword [ebp - 0x2b0], 0x100
je 0x410420
xor dword [ebp - 0x2b0], 0x180
jmp 0x410420
cmp eax, 0x27
jne 0x4103cc
test dword [ebp - 0x2b0], 0x100
je 0x410420
xor dword [ebp - 0x2b0], 0x140
jmp 0x410420
cmp eax, 0x3d
jne 0x4103ee
cmp dword [ebp - 0x2cc], eax
je 0x4103ee
mov ecx, 0x100
test dword [ebp - 0x2b0], ecx
jne 0x4103ee
xor dword [ebp - 0x2b0], ecx
jmp 0x410420
test dword [ebp - 0x2b0], 0x100
je 0x410420
push dword [ebp - 0x2b8]
push str.__t_n_r
call fcn.0044c872
pop ecx
test eax, eax
mov eax, dword [ebp - 0x2b8]
pop ecx
jne 0x410420
xor dword [ebp - 0x2b0], 0x100
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], eax
jmp 0x4104e2
test byte [ebp - 0x2b4], 0x40
je 0x4104e2
cmp dword [ebp - 0x2b8], 0x22
jne 0x410466
test byte [ebp - 0x2b0], 0x40
jne 0x4104e2
xor dword [ebp - 0x2b0], 0x80
jmp 0x4104e2
cmp dword [ebp - 0x2b8], 0x27
jne 0x4104e2
test byte [ebp - 0x2b0], 0x80
jne 0x4104e2
xor dword [ebp - 0x2b0], 0x40
jmp 0x4104e2
cmp dword [ebp - 0x2b0], edx
je 0x410888
test byte [ebp - 0x2b0], 0x10
je 0x41054f
cmp dword [ebp - 0x2b8], 0x3c
je 0x410946
push dword [ebp - 0x2b8]
push str.__t_n_r
call fcn.0044c872
pop ecx
pop ecx
test eax, eax
jne 0x4104e2
xor dword [ebp - 0x2b0], 0x10
mov dword [ebp - 0x2b4], 2
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 0x2bc], 0x4798cc
inc ebx
inc ebx
movzx eax, word [ebx]
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x4101c0
sub ebx, dword [edi + 0xc]
sar ebx, 1
dec ebx
cmp dword [ebp - 0x2b4], 4
mov dword [ebp - 0x2c4], ebx
je 0x410859
cmp dword [ebp - 0x2b4], 2
je 0x410859
test byte [ebp - 0x2b0], 0x20
mov ecx, 0x4797c4
jne 0x410902
mov eax, dword [ebp - 0x2b4]
cmp eax, 0x40
je 0x410902
cmp eax, 1
jne 0x4108d3
mov ecx, str.Element_tag
jmp 0x410907
test byte [ebp - 0x2b0], 1
je 0x41064f
mov ecx, dword [ebp - 0x2b8]
xor eax, eax
inc eax
xor dword [ebp - 0x2b0], eax
cmp ecx, 0x60
ja 0x41062d
cmp ecx, 0x40
jbe 0x410582
cmp ecx, 0x5b
jb 0x41062d
cmp ecx, 0x5f
je 0x41062d
cmp ecx, 0x3a
je 0x41062d
cmp ecx, 0x2f
jne 0x4105b1
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b4], edx
jmp 0x4105e5
cmp ecx, 0x21
jne 0x4105c2
or dword [ebp - 0x2b0], 2
jmp 0x4104e2
cmp ecx, 0x3f
jne 0x4105f2
mov dword [ebp - 0x2bc], 0x4795e8
mov dword [ebp - 0x2c0], 2
mov dword [ebp - 0x2b4], 0x10
mov esi, ebx
sub esi, dword [edi + 0xc]
sar esi, 1
inc esi
jmp 0x4104e2
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
push 0x4798d4
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], 1
call fcn.0044dff5
lea eax, [ebp - 0x2ac]
jmp 0x4107f6
mov esi, ebx
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b4], eax
sar esi, 1
jmp 0x4104e2
test byte [ebp - 0x2b0], 2
je 0x410714
xor dword [ebp - 0x2b0], 2
cmp dword [ebp - 0x2b8], 0x2d
jne 0x410678
or dword [ebp - 0x2b0], 4
jmp 0x4104e2
cmp dword [ebp - 0x2b8], 0x5b
jne 0x410696
test byte [ebp - 0x2b0], 0x20
jne 0x4106b4
or dword [ebp - 0x2b0], 8
jmp 0x4104e2
cmp dword [ebp - 0x2b8], 0x44
jne 0x4106b4
test byte [ebp - 0x2b0], 0x20
jne 0x4106b4
or dword [ebp - 0x2b0], 0x20
jmp 0x4104e2
push dword [ebp - 0x2b8]
push 0x479930
call fcn.0044c872
pop ecx
pop ecx
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], 1
test eax, eax
je 0x4106ed
mov dword [ebp - 0x2b4], 0x40
jmp 0x4104e2
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x1e4]
push str.__tag
push str.Incorrect__s_at_offset__d
push eax
call fcn.0044dff5
lea eax, [ebp - 0x1e4]
jmp 0x4107f6
test byte [ebp - 0x2b0], 4
je 0x410788
xor dword [ebp - 0x2b0], 4
cmp dword [ebp - 0x2b8], 0x2d
jne 0x410750
mov dword [ebp - 0x2bc], 0x479944
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x2b4], 0x20
jmp 0x4104e2
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x11c]
push str.comment_tag
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], 1
call fcn.0044dff5
lea eax, [ebp - 0x11c]
jmp 0x4107f6
test byte [ebp - 0x2b0], 8
je 0x410815
push 8
pop eax
xor dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b8], 0x43
jne 0x4107c6
mov dword [ebp - 0x2bc], 0x479964
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x2b4], eax
jmp 0x4104e2
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x54]
push 0x4797c4
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x4798d0
mov dword [ebp - 0x2c0], 1
call fcn.0044dff5
lea eax, [ebp - 0x54]
add esp, 0x10
push eax
mov eax, dword [ebp - 0x2c8]
add eax, 0x10
push eax
call fcn.00403f75
or dword [ebp - 0x2b4], 0xffffffff
jmp 0x4104e2
test byte [ebp - 0x2b0], 0x20
je 0x4104e2
cmp dword [ebp - 0x2b8], 0x3c
jne 0x410837
or dword [ebp - 0x2b0], 1
jmp 0x4104e2
cmp dword [ebp - 0x2b8], 0x3e
jne 0x4104e2
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0x2b4], 0x40
sar ebx, 1
mov dword [ebp - 0x2c4], ebx
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2c8]
inc eax
mov dword [edi + 8], eax
sub eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bafb
add ebp, 0x78
leave
ret
cmp dword [ebp - 0x2b8], 0x3c
jne 0x4108a0
mov dword [ebp - 0x2b0], 1
jmp 0x4104e2
push dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], 4
push str.__t_n_r
call fcn.0044c872
pop ecx
pop ecx
test eax, eax
je 0x4104c4
mov dword [ebp - 0x2b0], 0x10
jmp 0x4104e2
test eax, eax
jne 0x4108de
mov ecx, str.Element_end_tag
jmp 0x410907
cmp eax, 8
jne 0x4108ea
mov ecx, str.CDATA_Section
jmp 0x410907
cmp eax, 0x10
jne 0x4108f6
mov ecx, str.Processing_instruction
jmp 0x410907
cmp eax, 0x20
jne 0x410907
mov ecx, str.Comment
jmp 0x410907
mov ecx, str.Doctype
mov esi, dword [ebp - 0x2c8]
push dword [esi + 4]
or dword [ebp - 0x2b4], 0xffffffff
push ecx
lea eax, [ebp - 0x54]
push str._s_at_offset__d_unterminated
push eax
call fcn.0044dff5
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
add esi, 0x10
push esi
call fcn.00403f75
jmp 0x410859
sub ebx, dword [edi + 0xc]
sar ebx, 1
dec ebx
jmp 0x410853
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0x2b4], 4
sar ebx, 1
dec ebx
jmp 0x410853