Function at 0x41d440
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
xor edx, edx
push edi
xor ebp, ebp
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], edx
mov dword [eax + 4], ecx
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edx
add edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
movsx ebx, byte [edi]
cmp ebx, edx
jne 0x41d527
mov ecx, dword [esi + 0xc]
sub edi, ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
mov dword [esi + 8], edi
je 0x41dade
mov ebx, dword [ecx + 0xa4]
call fcn.0041ce60
test al, al
je 0x41dade
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0xa4]
sub edx, ecx
sub eax, ebx
je 0x41d4fe
sub ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41d4e5
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x41d4fb
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x41d4fb
mov edi, dword [esi]
mov ecx, dword [esi + 4]
sub edi, eax
sub ecx, eax
mov dword [esi], edi
mov dword [esi + 4], ecx
sub dword [esi + 8], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
add eax, edx
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 0x28]
mov ecx, dword [ecx]
mov dword [esi + 0xc], ecx
movsx ebx, byte [ecx + eax]
lea edi, [ecx + eax]
test ebx, ebx
mov dword [esp + 0x24], edi
je 0x41dade
xor edx, edx
cmp dword [esp + 0x1c], edx
je 0x41d571
movsx edx, bl
push edx
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x41d7e0
mov eax, dword [esi + 0xc]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
mov dword [esi], eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + eax - 1]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
xor edx, edx
cmp dword [esp + 0x18], edx
je 0x41d793
cmp ebx, 0x3e
jne 0x41d633
mov ecx, dword [esp + 0x10]
test cl, 0xc0
jne 0x41d68c
mov ebx, dword [esi + 0xc]
sub edi, ebx
cmp ebp, 1
lea eax, [edi + 1]
mov dword [esi + 8], eax
jne 0x41d5e3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
cmp eax, ebp
jne 0x41d625
cmp dword [esp + 0x20], 0x2f
jne 0x41d625
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d5d6
movsx ecx, al
push ecx
push str.__t_n_r_
call dword [sym.imp.MSVCRT.dll_strchr]
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41d625
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x41d625
dec eax
cmp eax, ebp
jle 0x41d7dc
mov edx, dword [esp + 0x24]
lea edi, [ebp - 1]
sub edx, ebp
test edi, edi
lea eax, [edx + 1]
je 0x41d619
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov dl, byte [eax]
mov bl, byte [ecx + eax]
inc eax
cmp dl, bl
jne 0x41d611
dec edi
jne 0x41d602
jmp 0x41d619
test edi, edi
jne 0x41d7dc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], 0
test cl, 0x20
je 0x41dbd4
jmp 0x41d7dc
cmp ebx, 0x3c
jne 0x41d688
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x41dba9
cmp eax, 0xffffffff
je 0x41dba9
mov ecx, dword [esp + 0x10]
test al, 1
je 0x41d766
test cl, 0xc0
je 0x41d6bc
cmp ebx, 0x22
jne 0x41d692
test cl, 0x80
je 0x41d758
xor ecx, 0x80
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x41d7dc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x41d652
cmp ebx, 0x27
jne 0x41d758
test cl, 0x40
je 0x41d758
xor ecx, 0x40
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x41d7dc
cmp ebx, 0x22
jne 0x41d6e5
test ch, 1
je 0x41d758
xor ecx, 0x180
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x41d7dc
cmp ebx, 0x27
jne 0x41d70a
test ch, 1
je 0x41d758
xor ecx, 0x140
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x41d7dc
cmp ebx, 0x3d
jne 0x41d735
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41d735
test ch, 1
jne 0x41d73a
xor ecx, 0x100
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ecx
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x41d7dc
test ch, 1
je 0x41d758
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x41d758
xor dword [esp + 0x10], 0x100
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
jmp 0x41d7dc
test al, 0x40
je 0x41d7dc
cmp ebx, 0x22
jne 0x41d780
test byte [esp + 0x10], 0x40
jne 0x41d7dc
xor dword [esp + 0x10], 0x80
jmp 0x41d7dc
cmp ebx, 0x27
jne 0x41d7dc
test byte [esp + 0x10], 0x80
jne 0x41d7dc
xor dword [esp + 0x10], 0x40
jmp 0x41d7dc
mov eax, dword [esp + 0x10]
cmp eax, edx
je 0x41da9d
test al, 0x10
je 0x41d7f7
cmp ebx, 0x3c
je 0x41dbb1
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x41d7dc
xor dword [esp + 0x10], 0x10
mov dword [esp + 0x18], 0x43a974
mov ebp, 1
mov dword [esp + 0x14], 2
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll__mbclen]
add edi, eax
add esp, 4
mov dword [esp + 0x24], edi
xor edx, edx
jmp 0x41d486
test al, 1
je 0x41d8d5
xor eax, 1
cmp ebx, 0x60
mov dword [esp + 0x10], eax
ja 0x41d8b6
cmp ebx, 0x40
jbe 0x41d81d
cmp ebx, 0x5b
jb 0x41d8b6
cmp ebx, 0x5f
je 0x41d8b6
cmp ebx, 0x3a
je 0x41d8b6
cmp ebx, 0x2f
jne 0x41d851
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], 0x43a970
sub edi, ecx
mov ebp, 1
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jmp 0x41d7dc
cmp ebx, 0x21
jne 0x41d861
or al, 2
mov dword [esp + 0x10], eax
jmp 0x41d7dc
cmp ebx, 0x3f
jne 0x41d88a
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], 0x43a96c
sub edi, ecx
mov ebp, 2
inc edi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x1c], edi
jmp 0x41d7dc
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov dword [esp + 0x28], 0x43a970
mov ecx, esp
push 0
mov ebp, 1
call fcn.00408590
push ecx
mov ecx, esp
push str.first_tag_syntax
jmp 0x41da51
mov eax, dword [esi + 0xc]
mov ebp, 1
sub edi, eax
mov dword [esp + 0x18], 0x43a970
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], edi
jmp 0x41d7dc
test al, 2
je 0x41d9a0
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x41d8f4
or al, 4
mov dword [esp + 0x10], eax
jmp 0x41d7dc
test al, 0x20
je 0x41d947
movsx edx, bl
push edx
push 0x43a954
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [esp + 0x18], 0x43a970
test eax, eax
mov ebp, 1
je 0x41d928
mov dword [esp + 0x14], 0x40
jmp 0x41d7dc
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov ecx, esp
push 0
call fcn.00408590
push ecx
mov ecx, esp
push str.doctype_tag_syntax
jmp 0x41da51
cmp ebx, 0x5b
jne 0x41d957
or al, 8
mov dword [esp + 0x10], eax
jmp 0x41d7dc
cmp ebx, 0x44
jne 0x41d967
or al, 0x20
mov dword [esp + 0x10], eax
jmp 0x41d7dc
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov dword [esp + 0x28], 0x43a970
mov ecx, esp
push 0
mov ebp, 1
call fcn.00408590
push ecx
mov ecx, esp
push str.exclamation_tag_syntax
call fcn.00408590
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
jmp 0x41da5e
test al, 4
je 0x41da00
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x41d9ca
mov dword [esp + 0x18], 0x43a924
mov ebp, 3
mov dword [esp + 0x14], 0x20
jmp 0x41d7dc
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov dword [esp + 0x28], 0x43a970
mov ecx, esp
push 0
mov ebp, 1
call fcn.00408590
push ecx
mov ecx, esp
push str.comment_tag_syntax
call fcn.00408590
mov edx, dword [esp + 0x48]
add edx, 0x10
push edx
jmp 0x41da5e
test al, 8
je 0x41da73
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x10], eax
jne 0x41da2a
mov dword [esp + 0x18], 0x43a90c
mov ebp, 3
mov dword [esp + 0x14], 8
jmp 0x41d7dc
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov dword [esp + 0x28], 0x43a970
mov ecx, esp
push 0
mov ebp, 1
call fcn.00408590
push ecx
mov ecx, esp
push str.cdata_section_syntax
call fcn.00408590
mov ecx, dword [esp + 0x48]
add ecx, 0x10
push ecx
call fcn.0041a690
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x41d7dc
test al, 0x20
je 0x41d7dc
cmp ebx, 0x3c
jne 0x41da8f
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
jmp 0x41d7dc
cmp ebx, 0x3e
je 0x41dbc3
jmp 0x41d7dc
cmp ebx, 0x3c
jne 0x41daaf
mov dword [esp + 0x10], 1
jmp 0x41d7dc
movsx edx, bl
push edx
push str.__t_n_r
mov dword [esp + 0x1c], 4
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x41d7c7
mov dword [esp + 0x10], 0x10
jmp 0x41d7dc
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp edx, ecx
jne 0x41db08
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x14]
cmp eax, 4
je 0x41dbd4
cmp eax, 2
je 0x41dbd4
mov al, byte [esp + 0x10]
mov edx, 0x43a8f0
test al, 0x20
jne 0x41db6f
mov eax, dword [esp + 0x14]
cmp eax, 0x40
je 0x41db6f
cmp eax, 1
jne 0x41db40
mov edx, str.start_tag
jmp 0x41db74
test eax, eax
jne 0x41db4b
mov edx, str.end_tag
jmp 0x41db74
cmp eax, 8
jne 0x41db57
mov edx, str.cdata_section
jmp 0x41db74
cmp eax, 0x10
jne 0x41db63
mov edx, str.processing_instruction
jmp 0x41db74
cmp eax, 0x20
jne 0x41db74
mov edx, str.comment
jmp 0x41db74
mov edx, str.document_type
push 0xffffffffffffffff
push ecx
push 2
push ecx
mov ecx, esp
push edx
mov dword [esp + 0x28], 0xffffffff
call fcn.00408590
push ecx
mov ecx, esp
push str.unterminated_tag_syntax
call fcn.00408590
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
call fcn.0041a690
add esp, 0x18
jmp 0x41dbd4
sub edi, dword [esi + 0xc]
mov dword [esi + 8], edi
jmp 0x41dbd4
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], 4
sub edi, eax
mov dword [esi + 8], edi
jmp 0x41dbd4
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], 0x40
sub edi, ecx
inc edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 8]
pop edi
pop esi
mov eax, dword [ecx + 4]
pop ebp
sub edx, eax
mov eax, dword [esp + 8]
mov dword [ecx + 8], edx
mov dword [ecx], eax
pop ebx
add esp, 0x20
ret 4