Function at 0x404ff0
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 0x40506c
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 0x40568b
cmp edi, ecx
je 0x405130
movsx eax, bl
push eax
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
je 0x40511b
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 0x4050bf
lea eax, [edi + ebp - 1]
mov dword [edx], edi
mov dword [edx + 4], eax
jmp 0x405100
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 ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
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 0x405134
push ebp
call dword [sym.imp.MSVCRT.dll__mbclen]
add esp, 4
add ebp, eax
mov dword [esp + 0x24], ebp
jmp 0x405063
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4052f7
cmp ebx, 0x3e
jne 0x405200
mov eax, dword [esp + 0x10]
test al, 0xc0
jne 0x40521b
mov ebx, dword [edx + 0xc]
sub ebp, ebx
cmp esi, 1
mov dword [esp + 0x28], ebp
jne 0x4051ac
cmp ecx, esi
mov dword [esp + 0x18], 0
jne 0x4051f3
cmp dword [esp + 0x2c], 0x2f
jne 0x4051f3
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40519c
movsx edx, cl
push edx
push 0x418620
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4051f3
mov ecx, dword [esp + 0x1cc]
or dword [ecx + 0xc], 0x10000
jmp 0x4051f3
cmp ebp, esi
jle 0x405670
mov eax, dword [esp + 0x24]
lea ebp, [esi - 1]
sub eax, esi
inc eax
test ebp, ebp
je 0x4051e3
mov edi, dword [esp + 0x18]
sub edi, eax
mov cl, byte [eax]
mov dl, byte [edi + eax]
inc eax
cmp cl, dl
jne 0x4051d7
dec ebp
jne 0x4051c8
jmp 0x4051df
test ebp, ebp
jne 0x40566c
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], 0
test al, 0x20
je 0x40575f
jmp 0x405670
cmp ebx, 0x3c
jne 0x405217
cmp ecx, 2
je 0x405733
cmp ecx, 0xffffffff
je 0x405733
mov eax, dword [esp + 0x10]
test cl, 1
je 0x4052b3
test al, 0xc0
je 0x405246
cmp ebx, 0x22
jne 0x405238
test al, 0x80
je 0x4052a2
xor eax, 0x80
jmp 0x40529e
cmp ebx, 0x27
jne 0x4052a2
test al, 0x40
je 0x4052a2
xor eax, 0x40
jmp 0x40529e
cmp ebx, 0x22
jne 0x405257
test ah, 1
je 0x4052a2
xor eax, 0x180
jmp 0x40529e
cmp ebx, 0x27
jne 0x405268
test ah, 1
je 0x4052a2
xor eax, 0x140
jmp 0x40529e
cmp ebx, 0x3d
jne 0x40527a
cmp dword [esp + 0x2c], ebx
je 0x40527a
test ah, 1
jne 0x40527f
jmp 0x405299
test ah, 1
je 0x4052a2
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x4052a2
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 0x405670
test cl, 0x40
je 0x405670
cmp ebx, 0x22
jne 0x4052d9
test byte [esp + 0x10], 0x40
jne 0x405670
xor dword [esp + 0x10], 0x80
jmp 0x405670
cmp ebx, 0x27
jne 0x405670
test byte [esp + 0x10], 0x80
jne 0x405670
xor dword [esp + 0x10], 0x40
jmp 0x405670
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405631
test al, 0x10
je 0x40534d
cmp ebx, 0x3c
je 0x405739
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x405670
xor dword [esp + 0x10], 0x10
mov esi, 1
mov dword [esp + 0x18], 0x41861c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 2
jmp 0x405670
test al, 1
je 0x405455
xor eax, 1
cmp ebx, 0x60
mov dword [esp + 0x10], eax
ja 0x405430
cmp ebx, 0x40
jbe 0x405373
cmp ebx, 0x5b
jb 0x405430
cmp ebx, 0x5f
je 0x405430
cmp ebx, 0x3a
je 0x405430
cmp ebx, 0x2f
jne 0x4053b4
mov ecx, dword [edx + 0xc]
mov edi, ebp
sub edi, ecx
mov esi, 1
inc edi
mov dword [esp + 0x18], 0x418618
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
jmp 0x405670
cmp ebx, 0x21
jne 0x4053c4
or al, 2
mov dword [esp + 0x10], eax
jmp 0x405670
cmp ebx, 0x3f
jne 0x4053f3
mov ecx, dword [edx + 0xc]
mov edi, ebp
sub edi, ecx
mov esi, 2
inc edi
mov dword [esp + 0x18], 0x418458
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x20], edi
jmp 0x405670
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], 0x418618
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x98]
jmp 0x40557a
mov eax, dword [edx + 0xc]
mov edi, ebp
mov esi, 1
sub edi, eax
mov dword [esp + 0x18], 0x418618
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edi
jmp 0x405670
test al, 2
je 0x405514
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x405474
or al, 4
mov dword [esp + 0x10], eax
jmp 0x405670
cmp ebx, 0x5b
jne 0x405488
test al, 0x20
jne 0x40549c
or al, 8
mov dword [esp + 0x10], eax
jmp 0x405670
cmp ebx, 0x44
jne 0x40549c
test al, 0x20
jne 0x40549c
or al, 0x20
mov dword [esp + 0x10], eax
jmp 0x405670
movsx ecx, bl
push ecx
push 0x4185e4
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
mov esi, 1
test eax, eax
mov dword [esp + 0x18], 0x418618
mov dword [esp + 0x1c], esi
je 0x4054d0
mov dword [esp + 0x14], 0x40
jmp 0x405670
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
mov dword [esp + 0x14], 0xffffffff
jmp 0x405670
test al, 4
je 0x405597
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x10], eax
jne 0x405542
mov esi, 3
mov dword [esp + 0x18], 0x4185d8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x20
jmp 0x405670
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], 0x418618
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
mov dword [esp + 0x14], 0xffffffff
jmp 0x405670
test al, 8
je 0x405611
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x10], eax
jne 0x4055c5
mov esi, 3
mov dword [esp + 0x18], 0x4185c8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 8
jmp 0x405670
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x34]
push ecx
push 0x4185c4
mov esi, 1
push str.Incorrect__s_at_offset__d
push edx
mov dword [esp + 0x28], 0x418618
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
mov dword [esp + 0x14], 0xffffffff
jmp 0x405670
test al, 0x20
je 0x405670
cmp ebx, 0x3c
jne 0x405626
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
jmp 0x405670
cmp ebx, 0x3e
je 0x405749
jmp 0x405670
cmp ebx, 0x3c
jne 0x405640
mov dword [esp + 0x10], 1
jmp 0x405670
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 0x40532f
mov dword [esp + 0x10], 0x10
jmp 0x405670
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 0x405063
mov esi, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub ebp, esi
dec ebp
cmp eax, 4
je 0x40575f
cmp eax, 2
je 0x40575f
mov al, byte [esp + 0x10]
mov ecx, 0x4185c4
test al, 0x20
jne 0x4056f8
mov eax, dword [esp + 0x14]
cmp eax, 0x40
je 0x4056f8
cmp eax, 1
jne 0x4056c9
mov ecx, str.Element_tag
jmp 0x4056fd
test eax, eax
jne 0x4056d4
mov ecx, str.Element_end_tag
jmp 0x4056fd
cmp eax, 8
jne 0x4056e0
mov ecx, str.CDATA_Section
jmp 0x4056fd
cmp eax, 0x10
jne 0x4056ec
mov ecx, str.Processing_instruction
jmp 0x4056fd
cmp eax, 0x20
jne 0x4056fd
mov ecx, str.Comment
jmp 0x4056fd
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
jmp 0x40575f
sub ebp, dword [edx + 0xc]
dec ebp
jmp 0x40575f
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x14], 4
sub ebp, ecx
dec ebp
jmp 0x40575f
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