Function at 0x47f494
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x348
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x344], eax
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, edx
mov dword [esp + 0x14], esi
mov edx, ecx
mov dword [esp + 0x18], esi
mov ebx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
or ecx, 0xffffffff
mov dword [esp + 0x30], esi
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov esi, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
lea eax, [eax + esi*2]
mov dword [esp + 0x1c], eax
movzx eax, word [eax]
test ax, ax
jne 0x47f502
and dword [edi + 8], ebx
and dword [edi], ebx
push 0xfffffffffffffffe
pop eax
jmp 0x47f649
mov ebp, eax
test ebp, ebp
je 0x47fa99
cmp dword [esp + 0x24], 0
je 0x47f581
push ebp
push str.__t_n_r__
call fcn.005087ba
pop ecx
pop ecx
test eax, eax
je 0x47fa5d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + 0xc]
sub eax, edx
sar eax, 1
sub eax, dword [esp + 0x24]
test ecx, ecx
jne 0x47f559
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [edx], edi
dec edi
add eax, edi
mov edi, dword [esp + 0x20]
mov dword [edx + 4], eax
jmp 0x47f572
push eax
mov eax, dword [esp + 0x28]
lea ecx, [edi + 0x10]
lea eax, [edx + eax*2]
push eax
call fcn.00450d21
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
and dword [esp + 0x24], 0
xor eax, eax
and dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47f751
cmp ebp, 0x3e
jne 0x47f662
test bl, 0xc0
jne 0x47f679
mov ebp, dword [esp + 0x1c]
mov esi, ebp
sub esi, dword [edx + 0xc]
mov edx, dword [esp + 0x18]
sar esi, 1
cmp edx, 1
jne 0x47f5e6
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp ecx, edx
jne 0x47f624
cmp dword [esp + 0x2c], 0x2f
jne 0x47f624
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47f5dd
push eax
push 0x56bdd0
call fcn.005087ba
pop ecx
pop ecx
test eax, eax
je 0x47f624
or dword [edi + 0xc], 0x10000
jmp 0x47f624
cmp esi, edx
jle 0x47f61c
mov edi, dword [esp + 0x18]
lea eax, [edx + edx]
mov edx, ebp
mov ebp, dword [esp + 0x14]
sub edx, eax
add edx, 2
sub ebp, edx
dec edi
je 0x47f616
mov cx, word [edx]
mov ax, word [edx + ebp]
add edx, 2
cmp cx, ax
je 0x47f5fe
mov eax, dword [esp + 0x14]
jmp 0x47f61c
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47fa59
test bl, 0x20
jne 0x47fa59
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
lea ecx, [esi + 1]
mov eax, edi
mov dword [edx + 8], ecx
sub ecx, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov dword [ebx], edi
mov ecx, dword [esp + 0x354]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00503ade
add esp, 0x348
ret
cmp ebp, 0x3c
jne 0x47f679
cmp ecx, 2
je 0x47fa78
cmp ecx, 0xffffffff
je 0x47fa78
test cl, 1
je 0x47f716
test bl, 0xc0
je 0x47f6a7
cmp ebp, 0x22
jne 0x47f698
test bl, bl
jns 0x47f705
xor ebx, 0x80
jmp 0x47f705
cmp ebp, 0x27
jne 0x47f705
test bl, 0x40
je 0x47f705
xor ebx, 0x40
jmp 0x47f705
cmp ebp, 0x22
jne 0x47f6bc
test ebx, 0x100
je 0x47f705
xor ebx, 0x180
jmp 0x47f705
cmp ebp, 0x27
jne 0x47f6d1
test ebx, 0x100
je 0x47f705
xor ebx, 0x140
jmp 0x47f705
cmp ebp, 0x3d
jne 0x47f6e6
cmp dword [esp + 0x2c], ebp
je 0x47f6e6
test ebx, 0x100
jne 0x47f6ee
jmp 0x47f6ff
test ebx, 0x100
je 0x47f705
push ebp
push str.__t_n_r
call fcn.005087ba
pop ecx
pop ecx
test eax, eax
jne 0x47f705
xor ebx, 0x100
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x47fa59
test cl, 0x40
je 0x47fa59
cmp ebp, 0x22
jne 0x47f738
test bl, 0x40
jne 0x47fa59
xor ebx, 0x80
jmp 0x47fa59
cmp ebp, 0x27
jne 0x47fa59
test bl, bl
js 0x47fa59
xor ebx, 0x40
jmp 0x47fa59
test ebx, ebx
je 0x47fa1c
test bl, 0x10
je 0x47f794
cmp ebp, 0x3c
je 0x47fa87
push ebp
push 0x56bdf0
call fcn.005087ba
pop ecx
pop ecx
test eax, eax
jne 0x47fa59
xor ebx, 0x10
mov dword [esp + 0x14], 0x56be0c
mov dword [esp + 0x18], 1
jmp 0x47fa52
test bl, 1
je 0x47f891
xor eax, eax
inc eax
xor ebx, eax
cmp ebp, 0x60
ja 0x47f875
cmp ebp, 0x40
jbe 0x47f7b9
cmp ebp, 0x5b
jb 0x47f875
cmp ebp, 0x5f
je 0x47f875
cmp ebp, 0x3a
je 0x47f875
cmp ebp, 0x2f
jne 0x47f7f1
mov dword [esp + 0x18], eax
xor edi, edi
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
sar eax, 1
mov dword [esp + 0x14], 0x56be18
inc eax
mov dword [esp + 0x24], eax
jmp 0x47fa55
cmp ebp, 0x21
jne 0x47f7fe
or ebx, 2
jmp 0x47fa59
cmp ebp, 0x3f
jne 0x47f828
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
sar eax, 1
inc eax
mov dword [esp + 0x14], 0x56be10
mov dword [esp + 0x18], 2
push 0x10
mov dword [esp + 0x28], eax
jmp 0x47fa54
push esi
push 0x56be1c
mov dword [esp + 0x20], eax
lea eax, [esp + 0x104]
push 0x56be50
push eax
mov dword [esp + 0x24], 0x56be44
call fcn.00507409
lea eax, [esp + 0x10c]
push eax
call fcn.00450d8e
add esp, 0x14
push eax
lea eax, [esp + 0x100]
push eax
lea ecx, [edi + 0x10]
call fcn.00450d21
or edi, 0xffffffff
jmp 0x47fa55
mov dword [esp + 0x18], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
mov dword [esp + 0x14], 0x56be08
sar eax, 1
jmp 0x47f7e8
test bl, 2
je 0x47f933
xor ebx, 2
cmp ebp, 0x2d
jne 0x47f8aa
or ebx, 4
jmp 0x47fa59
cmp ebp, 0x5b
jne 0x47f8bc
test bl, 0x20
jne 0x47f8ce
or ebx, 8
jmp 0x47fa59
cmp ebp, 0x44
jne 0x47f8ce
test bl, 0x20
jne 0x47f8ce
or ebx, 0x20
jmp 0x47fa59
push ebp
push 0x56be48
call fcn.005087ba
mov dword [esp + 0x20], 1
pop ecx
pop ecx
test eax, eax
je 0x47f8f6
mov dword [esp + 0x14], 0x56be88
push 0x40
jmp 0x47fa54
push esi
push str.__tag
lea eax, [esp + 0x294]
mov dword [esp + 0x1c], 0x56be84
push 0x56be8c
push eax
call fcn.00507409
lea eax, [esp + 0x29c]
push eax
call fcn.00450d8e
add esp, 0x14
push eax
lea eax, [esp + 0x290]
jmp 0x47f864
test bl, 4
je 0x47f99c
xor ebx, 4
cmp ebp, 0x2d
jne 0x47f957
mov dword [esp + 0x14], 0x56bed0
mov dword [esp + 0x18], 3
push 0x20
jmp 0x47fa54
push esi
push str.comment_tag
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1c], 0x56becc
push 0x56bed8
push eax
mov dword [esp + 0x28], 1
call fcn.00507409
lea eax, [esp + 0x1d4]
push eax
call fcn.00450d8e
add esp, 0x14
push eax
lea eax, [esp + 0x1c8]
jmp 0x47f864
test bl, 8
je 0x47f9fb
xor ebx, 8
cmp ebp, 0x43
jne 0x47f9c0
mov dword [esp + 0x14], 0x56bf28
mov dword [esp + 0x18], 3
push 8
jmp 0x47fa54
xor eax, eax
mov dword [esp + 0x14], 0x56bf24
push esi
inc eax
push 0x56bf64
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push 0x56bf30
push eax
call fcn.00507409
lea eax, [esp + 0x44]
push eax
call fcn.00450d8e
add esp, 0x14
push eax
lea eax, [esp + 0x38]
jmp 0x47f864
test bl, 0x20
je 0x47fa59
cmp ebp, 0x3c
jne 0x47fa0a
or ebx, 1
jmp 0x47fa59
cmp ebp, 0x3e
jne 0x47fa59
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
push 0x40
jmp 0x47fa93
cmp ebp, 0x3c
jne 0x47fa26
xor ebx, ebx
inc ebx
jmp 0x47fa59
push 4
pop edi
push ebp
push 0x56bf70
mov dword [esp + 0x18], edi
call fcn.005087ba
pop ecx
pop ecx
test eax, eax
je 0x47fa43
push 0x10
pop ebx
jmp 0x47fa59
xor eax, eax
mov dword [esp + 0x14], 0x56bf6c
inc eax
mov dword [esp + 0x18], eax
push 2
pop edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add edx, 2
mov dword [esp + 0x1c], edx
movzx ebp, word [edx]
mov edx, dword [esp + 0x28]
jmp 0x47f504
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
jmp 0x47f631
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
push 4
pop edi
jmp 0x47f635
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
cmp ecx, 4
je 0x47f631
cmp ecx, 2
je 0x47f631
mov eax, 0x56bcf8
test bl, 0x20
jne 0x47faff
cmp ecx, 0x40
je 0x47faff
cmp ecx, 1
jne 0x47fad0
mov eax, str.Element_tag
jmp 0x47fb04
test ecx, ecx
jne 0x47fadb
mov eax, str.Element_end_tag
jmp 0x47fb04
cmp ecx, 8
jne 0x47fae7
mov eax, str.CDATA_Section
jmp 0x47fb04
cmp ecx, 0x10
jne 0x47faf3
mov eax, str.Processing_instruction
jmp 0x47fb04
cmp ecx, 0x20
jne 0x47fb04
mov eax, str.Comment
jmp 0x47fb04
mov eax, str.Doctype
mov ebx, dword [esp + 0x20]
or edi, 0xffffffff
push dword [ebx + 4]
push eax
lea eax, [esp + 0x3c]
push str._s_at_offset__d_unterminated
push eax
call fcn.00507409
lea eax, [esp + 0x44]
push eax
call fcn.00450d8e
add esp, 0x14
lea ecx, [ebx + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00450d21
mov edx, dword [esp + 0x28]
jmp 0x47f639