Function at 0x417780
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x1b4
mov edx, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1bc]
push ebx
xor ecx, ecx
mov ebx, dword [edx + 8]
push ebp
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 0xc]
add ebp, ebx
push esi
mov dword [esp + 0x24], ebx
push edi
mov bl, byte [ebp]
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], ecx
test bl, bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ebp
jne 0x4177fc
pop edi
pop esi
mov dword [eax + 8], ecx
mov dword [eax], ecx
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x1b4
ret
mov edx, dword [esp + 0x1c8]
xor ecx, ecx
movsx ebx, byte [ebp]
cmp ebx, ecx
je 0x417e1b
cmp edi, ecx
je 0x4178c0
movsx eax, bl
push eax
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
je 0x4178ab
mov edx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
sub ebp, eax
sub ebp, edi
test ecx, ecx
jne 0x41784f
lea eax, [edi + ebp - 1]
mov dword [edx], edi
mov dword [edx + 4], eax
jmp 0x417890
mov ecx, dword [esp + 0x1cc]
mov edx, dword [esp + 0x20]
add ecx, 0x10
push ebp
lea esi, [eax + edx]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, ebp
mov edi, eax
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1d0]
add ecx, 0x10
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c8]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
jmp 0x4178c4
push ebp
call dword [sym.imp.MSVCRT.dll__mbclen]
add esp, 4
add ebp, eax
mov dword [esp + 0x24], ebp
jmp 0x4177f3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x417a87
cmp ebx, 0x3e
jne 0x417990
mov eax, dword [esp + 0x10]
test al, 0xc0
jne 0x4179ab
mov ebx, dword [edx + 0xc]
sub ebp, ebx
cmp esi, 1
mov dword [esp + 0x28], ebp
jne 0x41793c
cmp ecx, esi
mov dword [esp + 0x18], 0
jne 0x417983
cmp dword [esp + 0x2c], 0x2f
jne 0x417983
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x41792c
movsx edx, cl
push edx
push 0x42b074
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
je 0x417983
mov ecx, dword [esp + 0x1cc]
or dword [ecx + 0xc], 0x10000
jmp 0x417983
cmp ebp, esi
jle 0x417e00
mov eax, dword [esp + 0x24]
lea ebp, [esi - 1]
sub eax, esi
inc eax
test ebp, ebp
je 0x417973
mov edi, dword [esp + 0x18]
sub edi, eax
mov cl, byte [eax]
mov dl, byte [edi + eax]
inc eax
cmp cl, dl
jne 0x417967
dec ebp
jne 0x417958
jmp 0x41796f
test ebp, ebp
jne 0x417dfc
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], 0
test al, 0x20
je 0x417eef
jmp 0x417e00
cmp ebx, 0x3c
jne 0x4179a7
cmp ecx, 2
je 0x417ec3
cmp ecx, 0xffffffff
je 0x417ec3
mov eax, dword [esp + 0x10]
test cl, 1
je 0x417a43
test al, 0xc0
je 0x4179d6
cmp ebx, 0x22
jne 0x4179c8
test al, 0x80
je 0x417a32
xor eax, 0x80
jmp 0x417a2e
cmp ebx, 0x27
jne 0x417a32
test al, 0x40
je 0x417a32
xor eax, 0x40
jmp 0x417a2e
cmp ebx, 0x22
jne 0x4179e7
test ah, 1
je 0x417a32
xor eax, 0x180
jmp 0x417a2e
cmp ebx, 0x27
jne 0x4179f8
test ah, 1
je 0x417a32
xor eax, 0x140
jmp 0x417a2e
cmp ebx, 0x3d
jne 0x417a0a
cmp dword [esp + 0x2c], ebx
je 0x417a0a
test ah, 1
jne 0x417a0f
jmp 0x417a29
test ah, 1
je 0x417a32
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x417a32
mov eax, dword [esp + 0x10]
xor eax, 0x100
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
jmp 0x417e00
test cl, 0x40
je 0x417e00
cmp ebx, 0x22
jne 0x417a69
test byte [esp + 0x10], 0x40
jne 0x417e00
xor dword [esp + 0x10], 0x80
jmp 0x417e00
cmp ebx, 0x27
jne 0x417e00
test byte [esp + 0x10], 0x80
jne 0x417e00
xor dword [esp + 0x10], 0x40
jmp 0x417e00
mov eax, dword [esp + 0x10]
test eax, eax
je 0x417dc1
test al, 0x10
je 0x417add
cmp ebx, 0x3c
je 0x417ec9
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x417e00
xor dword [esp + 0x10], 0x10
mov esi, 1
mov dword [esp + 0x18], 0x42ad04
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 2
jmp 0x417e00
test al, 1
je 0x417be5
xor eax, 1
cmp ebx, 0x60
mov dword [esp + 0x10], eax
ja 0x417bc0
cmp ebx, 0x40
jbe 0x417b03
cmp ebx, 0x5b
jb 0x417bc0
cmp ebx, 0x5f
je 0x417bc0
cmp ebx, 0x3a
je 0x417bc0
cmp ebx, 0x2f
jne 0x417b44
mov ecx, dword [edx + 0xc]
mov edi, ebp
sub edi, ecx
mov esi, 1
inc edi
mov dword [esp + 0x18], 0x42ad00
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
jmp 0x417e00
cmp ebx, 0x21
jne 0x417b54
or al, 2
mov dword [esp + 0x10], eax
jmp 0x417e00
cmp ebx, 0x3f
jne 0x417b83
mov ecx, dword [edx + 0xc]
mov edi, ebp
sub edi, ecx
mov esi, 2
inc edi
mov dword [esp + 0x18], 0x42aeb4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x20], edi
jmp 0x417e00
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x98]
push eax
push str.tag_name_character
mov esi, 1
push str.Incorrect__s_at_offset__d
push ecx
mov dword [esp + 0x28], 0x42ad00
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x98]
jmp 0x417d0a
mov eax, dword [edx + 0xc]
mov edi, ebp
mov esi, 1
sub edi, eax
mov dword [esp + 0x18], 0x42ad00
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edi
jmp 0x417e00
test al, 2
je 0x417ca4
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x417c04
or al, 4
mov dword [esp + 0x10], eax
jmp 0x417e00
cmp ebx, 0x5b
jne 0x417c18
test al, 0x20
jne 0x417c2c
or al, 8
mov dword [esp + 0x10], eax
jmp 0x417e00
cmp ebx, 0x44
jne 0x417c2c
test al, 0x20
jne 0x417c2c
or al, 0x20
mov dword [esp + 0x10], eax
jmp 0x417e00
movsx ecx, bl
push ecx
push 0x42b040
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
mov esi, 1
test eax, eax
mov dword [esp + 0x18], 0x42ad00
mov dword [esp + 0x1c], esi
je 0x417c60
mov dword [esp + 0x14], 0x40
jmp 0x417e00
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x160]
push edx
push str.__tag
push str.Incorrect__s_at_offset__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x1dc]
add esp, 0x10
lea ecx, [esp + 0x160]
push ecx
lea ecx, [edx + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x14], 0xffffffff
jmp 0x417e00
test al, 4
je 0x417d27
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x417cd2
mov esi, 3
mov dword [esp + 0x18], 0x42b034
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x20
jmp 0x417e00
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xfc]
push eax
push str.comment_tag
mov esi, 1
push str.Incorrect__s_at_offset__d
push ecx
mov dword [esp + 0x28], 0x42ad00
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0xfc]
mov eax, dword [esp + 0x1cc]
push edx
lea ecx, [eax + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x14], 0xffffffff
jmp 0x417e00
test al, 8
je 0x417da1
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x10], eax
jne 0x417d55
mov esi, 3
mov dword [esp + 0x18], 0x42b024
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 8
jmp 0x417e00
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x34]
push ecx
push 0x42b020
mov esi, 1
push str.Incorrect__s_at_offset__d
push edx
mov dword [esp + 0x28], 0x42ad00
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x1dc]
add esp, 0x10
lea eax, [esp + 0x34]
add ecx, 0x10
push eax
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x14], 0xffffffff
jmp 0x417e00
test al, 0x20
je 0x417e00
cmp ebx, 0x3c
jne 0x417db6
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
jmp 0x417e00
cmp ebx, 0x3e
je 0x417ed9
jmp 0x417e00
cmp ebx, 0x3c
jne 0x417dd0
mov dword [esp + 0x10], 1
jmp 0x417e00
movsx edx, bl
push edx
push str.__t_n_r
mov dword [esp + 0x1c], 4
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
je 0x417abf
mov dword [esp + 0x10], 0x10
jmp 0x417e00
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.MSVCRT.dll__mbclen]
add esp, 4
add ebx, eax
mov dword [esp + 0x24], ebx
mov ebp, ebx
jmp 0x4177f3
mov esi, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub ebp, esi
dec ebp
cmp eax, 4
je 0x417eef
cmp eax, 2
je 0x417eef
mov al, byte [esp + 0x10]
mov ecx, 0x42b020
test al, 0x20
jne 0x417e88
mov eax, dword [esp + 0x14]
cmp eax, 0x40
je 0x417e88
cmp eax, 1
jne 0x417e59
mov ecx, str.Element_tag
jmp 0x417e8d
test eax, eax
jne 0x417e64
mov ecx, str.Element_end_tag
jmp 0x417e8d
cmp eax, 8
jne 0x417e70
mov ecx, str.CDATA_Section
jmp 0x417e8d
cmp eax, 0x10
jne 0x417e7c
mov ecx, str.Processing_instruction
jmp 0x417e8d
cmp eax, 0x20
jne 0x417e8d
mov ecx, str.Comment
jmp 0x417e8d
mov ecx, str.Doctype
mov esi, dword [esp + 0x1cc]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 4]
push eax
push ecx
lea ecx, [esp + 0x3c]
push str._s_at_offset__d_unterminated
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x34]
lea ecx, [esi + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x417eef
sub ebp, dword [edx + 0xc]
dec ebp
jmp 0x417eef
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x14], 4
sub ebp, ecx
dec ebp
jmp 0x417eef
mov eax, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], 0x40
sub ebp, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c8]
lea eax, [ebp + 1]
pop edi
pop esi
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x1c4]
pop ebp
pop ebx
sub eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
mov dword [ecx], eax
add esp, 0x1b4
ret