Function at 0x47c123
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x348
mov eax, dword [0x58a700]
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 0x47c191
and dword [edi + 8], ebx
and dword [edi], ebx
push 0xfffffffffffffffe
pop eax
jmp 0x47c2d8
mov ebp, eax
test ebp, ebp
je 0x47c728
cmp dword [esp + 0x24], 0
je 0x47c210
push ebp
push str.__t_n_r__
call fcn.005052fa
pop ecx
pop ecx
test eax, eax
je 0x47c6ec
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 0x47c1e8
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 0x47c201
push eax
mov eax, dword [esp + 0x28]
lea ecx, [edi + 0x10]
lea eax, [edx + eax*2]
push eax
call fcn.00450b91
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 0x47c3e0
cmp ebp, 0x3e
jne 0x47c2f1
test bl, 0xc0
jne 0x47c308
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 0x47c275
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp ecx, edx
jne 0x47c2b3
cmp dword [esp + 0x2c], 0x2f
jne 0x47c2b3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47c26c
push eax
push 0x567168
call fcn.005052fa
pop ecx
pop ecx
test eax, eax
je 0x47c2b3
or dword [edi + 0xc], 0x10000
jmp 0x47c2b3
cmp esi, edx
jle 0x47c2ab
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 0x47c2a5
mov cx, word [edx]
mov ax, word [edx + ebp]
add edx, 2
cmp cx, ax
je 0x47c28d
mov eax, dword [esp + 0x14]
jmp 0x47c2ab
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47c6e8
test bl, 0x20
jne 0x47c6e8
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.0050061e
add esp, 0x348
ret
cmp ebp, 0x3c
jne 0x47c308
cmp ecx, 2
je 0x47c707
cmp ecx, 0xffffffff
je 0x47c707
test cl, 1
je 0x47c3a5
test bl, 0xc0
je 0x47c336
cmp ebp, 0x22
jne 0x47c327
test bl, bl
jns 0x47c394
xor ebx, 0x80
jmp 0x47c394
cmp ebp, 0x27
jne 0x47c394
test bl, 0x40
je 0x47c394
xor ebx, 0x40
jmp 0x47c394
cmp ebp, 0x22
jne 0x47c34b
test ebx, 0x100
je 0x47c394
xor ebx, 0x180
jmp 0x47c394
cmp ebp, 0x27
jne 0x47c360
test ebx, 0x100
je 0x47c394
xor ebx, 0x140
jmp 0x47c394
cmp ebp, 0x3d
jne 0x47c375
cmp dword [esp + 0x2c], ebp
je 0x47c375
test ebx, 0x100
jne 0x47c37d
jmp 0x47c38e
test ebx, 0x100
je 0x47c394
push ebp
push 0x567178
call fcn.005052fa
pop ecx
pop ecx
test eax, eax
jne 0x47c394
xor ebx, 0x100
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x47c6e8
test cl, 0x40
je 0x47c6e8
cmp ebp, 0x22
jne 0x47c3c7
test bl, 0x40
jne 0x47c6e8
xor ebx, 0x80
jmp 0x47c6e8
cmp ebp, 0x27
jne 0x47c6e8
test bl, bl
js 0x47c6e8
xor ebx, 0x40
jmp 0x47c6e8
test ebx, ebx
je 0x47c6ab
test bl, 0x10
je 0x47c423
cmp ebp, 0x3c
je 0x47c716
push ebp
push 0x567184
call fcn.005052fa
pop ecx
pop ecx
test eax, eax
jne 0x47c6e8
xor ebx, 0x10
mov dword [esp + 0x14], 0x567190
mov dword [esp + 0x18], 1
jmp 0x47c6e1
test bl, 1
je 0x47c520
xor eax, eax
inc eax
xor ebx, eax
cmp ebp, 0x60
ja 0x47c504
cmp ebp, 0x40
jbe 0x47c448
cmp ebp, 0x5b
jb 0x47c504
cmp ebp, 0x5f
je 0x47c504
cmp ebp, 0x3a
je 0x47c504
cmp ebp, 0x2f
jne 0x47c480
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], 0x567198
inc eax
mov dword [esp + 0x24], eax
jmp 0x47c6e4
cmp ebp, 0x21
jne 0x47c48d
or ebx, 2
jmp 0x47c6e8
cmp ebp, 0x3f
jne 0x47c4b7
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
sar eax, 1
inc eax
mov dword [esp + 0x14], 0x56719c
mov dword [esp + 0x18], 2
push 0x10
mov dword [esp + 0x28], eax
jmp 0x47c6e3
push esi
push 0x5671a8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x104]
push 0x5671d0
push eax
mov dword [esp + 0x24], 0x5671a4
call fcn.00503f49
lea eax, [esp + 0x10c]
push eax
call fcn.00450bfe
add esp, 0x14
push eax
lea eax, [esp + 0x100]
push eax
lea ecx, [edi + 0x10]
call fcn.00450b91
or edi, 0xffffffff
jmp 0x47c6e4
mov dword [esp + 0x18], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
mov dword [esp + 0x14], 0x567194
sar eax, 1
jmp 0x47c477
test bl, 2
je 0x47c5c2
xor ebx, 2
cmp ebp, 0x2d
jne 0x47c539
or ebx, 4
jmp 0x47c6e8
cmp ebp, 0x5b
jne 0x47c54b
test bl, 0x20
jne 0x47c55d
or ebx, 8
jmp 0x47c6e8
cmp ebp, 0x44
jne 0x47c55d
test bl, 0x20
jne 0x47c55d
or ebx, 0x20
jmp 0x47c6e8
push ebp
push 0x567204
call fcn.005052fa
mov dword [esp + 0x20], 1
pop ecx
pop ecx
test eax, eax
je 0x47c585
mov dword [esp + 0x14], 0x56720c
push 0x40
jmp 0x47c6e3
push esi
push 0x567214
lea eax, [esp + 0x294]
mov dword [esp + 0x1c], 0x567210
push 0x567220
push eax
call fcn.00503f49
lea eax, [esp + 0x29c]
push eax
call fcn.00450bfe
add esp, 0x14
push eax
lea eax, [esp + 0x290]
jmp 0x47c4f3
test bl, 4
je 0x47c62b
xor ebx, 4
cmp ebp, 0x2d
jne 0x47c5e6
mov dword [esp + 0x14], 0x567254
mov dword [esp + 0x18], 3
push 0x20
jmp 0x47c6e3
push esi
push 0x567260
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1c], 0x56725c
push str.Incorrect__s_at_offset__d
push eax
mov dword [esp + 0x28], 1
call fcn.00503f49
lea eax, [esp + 0x1d4]
push eax
call fcn.00450bfe
add esp, 0x14
push eax
lea eax, [esp + 0x1c8]
jmp 0x47c4f3
test bl, 8
je 0x47c68a
xor ebx, 8
cmp ebp, 0x43
jne 0x47c64f
mov dword [esp + 0x14], 0x5672ac
mov dword [esp + 0x18], 3
push 8
jmp 0x47c6e3
xor eax, eax
mov dword [esp + 0x14], 0x5672b4
push esi
inc eax
push 0x5672b8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push 0x5672c0
push eax
call fcn.00503f49
lea eax, [esp + 0x44]
push eax
call fcn.00450bfe
add esp, 0x14
push eax
lea eax, [esp + 0x38]
jmp 0x47c4f3
test bl, 0x20
je 0x47c6e8
cmp ebp, 0x3c
jne 0x47c699
or ebx, 1
jmp 0x47c6e8
cmp ebp, 0x3e
jne 0x47c6e8
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
push 0x40
jmp 0x47c722
cmp ebp, 0x3c
jne 0x47c6b5
xor ebx, ebx
inc ebx
jmp 0x47c6e8
push 4
pop edi
push ebp
push str.__t_n_r
mov dword [esp + 0x18], edi
call fcn.005052fa
pop ecx
pop ecx
test eax, eax
je 0x47c6d2
push 0x10
pop ebx
jmp 0x47c6e8
xor eax, eax
mov dword [esp + 0x14], 0x567300
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 0x47c193
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
jmp 0x47c2c0
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
push 4
pop edi
jmp 0x47c2c4
mov esi, dword [esp + 0x1c]
sub esi, dword [edx + 0xc]
sar esi, 1
dec esi
cmp ecx, 4
je 0x47c2c0
cmp ecx, 2
je 0x47c2c0
mov eax, 0x567070
test bl, 0x20
jne 0x47c78e
cmp ecx, 0x40
je 0x47c78e
cmp ecx, 1
jne 0x47c75f
mov eax, str.Element_tag
jmp 0x47c793
test ecx, ecx
jne 0x47c76a
mov eax, str.Element_end_tag
jmp 0x47c793
cmp ecx, 8
jne 0x47c776
mov eax, str.CDATA_Section
jmp 0x47c793
cmp ecx, 0x10
jne 0x47c782
mov eax, str.Processing_instruction
jmp 0x47c793
cmp ecx, 0x20
jne 0x47c793
mov eax, str.Comment
jmp 0x47c793
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.00503f49
lea eax, [esp + 0x44]
push eax
call fcn.00450bfe
add esp, 0x14
lea ecx, [ebx + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00450b91
mov edx, dword [esp + 0x28]
jmp 0x47c2c8