Function at 0x47c065
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
mov edi, edx
mov dword [ebp - 0x2c], ecx
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], eax
call fcn.0042e306
test byte [ebp - 0x10], 0x40
mov esi, eax
jne 0x47c09b
cmp dword [0x51c9fc], ebx
je 0x47c455
cmp esi, 5
jl 0x47c455
push 5
push str.file:
push edi
call fcn.0049fe79
add esp, 0xc
test eax, eax
jne 0x47c455
or dword [ebp - 0x10], 0x40
lea eax, [esi + 2]
mov dword [ebp - 0xc], ebx
mov ecx, ebx
cdq
test esi, esi
jle 0x47c101
cmp byte [ecx + edi], 0x26
jne 0x47c0df
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
jmp 0x47c0f3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
add eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
adc edx, dword [ebp - 0x18]
inc ecx
cmp ecx, esi
jl 0x47c0cd
push edx
push eax
call fcn.0042bf53
mov edx, eax
mov dword [ebp - 8], edx
pop ecx
pop ecx
test edx, edx
je 0x47c469
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x47c187
cmp byte [edi + 6], 0x2f
jne 0x47c187
lea ecx, [edi + 7]
mov al, byte [ecx]
mov dword [ebp - 0x24], ecx
push 7
pop esi
test al, al
je 0x47c187
cmp al, 0x2f
je 0x47c141
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47c135
cmp esi, 7
je 0x47c187
cmp esi, 0x10
jne 0x47c162
push 9
push ecx
push str.localhost
call fcn.0049fe79
add esp, 0xc
test eax, eax
je 0x47c184
mov ecx, dword [ebp - 0x24]
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0042d8e0
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp - 8]
add esp, 0xc
inc ebx
mov dword [ecx], eax
jmp 0x47c4b9
mov edx, dword [ebp - 8]
mov cl, byte [esi + edi]
mov eax, ebx
mov dword [ebp - 0x14], eax
test cl, cl
je 0x47c249
cmp cl, 0x23
je 0x47c23d
inc esi
cmp cl, 0x25
jne 0x47c267
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x501ee0], 8
je 0x47c264
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x501ee0], 8
je 0x47c264
movsx ecx, byte [esi + edi + 1]
call fcn.0042f14e
movsx ecx, byte [ebp - 1]
movzx edx, al
call fcn.0042f14e
movzx eax, al
add esi, 2
shl eax, 4
lea ecx, [edx + eax]
test ecx, ecx
jne 0x47c25f
mov al, byte [esi + edi]
test al, al
je 0x47c22c
mov ecx, dword [ebp - 0x14]
cmp al, 0x23
je 0x47c22c
test ecx, ecx
jne 0x47c20e
cmp al, 0x3f
je 0x47c22c
cmp ecx, 1
jne 0x47c21b
cmp al, 0x3d
je 0x47c22c
cmp al, 0x26
je 0x47c22c
cmp ecx, 2
jne 0x47c224
cmp al, 0x26
je 0x47c22c
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47c202
mov edx, dword [ebp - 8]
mov cl, byte [esi + edi]
mov eax, dword [ebp - 0x14]
test cl, cl
jne 0x47c197
cmp eax, 1
mov eax, dword [ebp - 0xc]
jne 0x47c249
mov byte [edx + eax], bl
inc eax
mov ecx, edx
mov word [edx + eax], bx
call fcn.0042e306
mov esi, dword [ebp - 8]
lea edi, [esi + 1]
jmp 0x47c429
mov edx, dword [ebp - 8]
jmp 0x47c2cd
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x47c2b1
cmp cl, 0x26
je 0x47c276
cmp cl, 0x3d
jne 0x47c2cd
mov eax, dword [ebp - 0xc]
cmp byte [edx + eax - 1], bl
je 0x47c29d
cmp cl, 0x26
jne 0x47c2a6
mov ecx, eax
mov byte [edx + ecx], bl
inc ecx
mov dword [ebp - 0xc], ecx
mov eax, ecx
jmp 0x47c2ad
cmp al, 0x23
je 0x47c22f
cmp byte [esi + edi - 1], 0x26
je 0x47c22f
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47c291
jmp 0x47c22f
mov dword [ebp - 0x14], 2
mov cl, bl
jmp 0x47c2d0
test eax, eax
jne 0x47c2ba
cmp cl, 0x3f
je 0x47c2c4
cmp eax, 2
jne 0x47c2cd
cmp cl, 0x26
jne 0x47c2cd
mov cl, bl
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], cl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x47c22f
mov ecx, edi
call fcn.0042e306
mov dword [ebp - 8], eax
inc eax
add eax, edi
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.0042e306
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
cmp eax, 3
jne 0x47c31f
push eax
push edi
push 0x512abc
call fcn.0049fe79
add esp, 0xc
test eax, eax
jne 0x47c31c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x47c425
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
cmp eax, 5
jne 0x47c357
push eax
push dword [ebp - 0x20]
push str.cache
call fcn.0049fe79
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 8]
jne 0x47c357
mov edi, 0x60000
mov dword [ebp - 0x14], 0x51cffc
mov dword [ebp - 0x18], str.cache
mov dword [ebp - 0x1c], edi
cmp eax, 4
jne 0x47c397
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
push str.mode
call fcn.0049fe79
add esp, 0xc
test eax, eax
jne 0x47c397
mov ecx, dword [ebp - 0x10]
mov edx, 0x87
mov eax, 0x51cbb8
mov dword [ebp - 0x18], str.access
and ecx, edx
mov dword [ebp - 0x14], eax
mov edi, edx
mov dword [ebp - 0x1c], ecx
jmp 0x47c39a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47c422
mov eax, dword [eax]
mov dword [ebp - 8], ebx
jmp 0x47c3d7
mov ecx, eax
call fcn.0042e306
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x47c3ca
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call fcn.0049fe79
add esp, 0xc
test eax, eax
je 0x47c3fe
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 8], ecx
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47c3a9
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
call fcn.0042d8e0
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
add esp, 0xc
inc ebx
mov dword [ecx], eax
jmp 0x47c4b9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x47c3de
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x47c438
not edi
and edi, dword [ebp - 0x10]
or edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x24]
inc edi
add edi, eax
mov dword [ebp - 0x20], edi
cmp byte [edi], bl
jne 0x47c2dc
jmp 0x47c48b
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push str._s_mode_not_allowed:__s
call fcn.0042d8e0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push 3
mov dword [ecx], eax
pop ebx
jmp 0x47c4b9
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.0042bf53
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
jne 0x47c46e
push 7
pop eax
jmp 0x47c4d6
test esi, esi
je 0x47c480
push esi
push edi
push eax
call fcn.0049f810
mov eax, dword [ebp - 8]
add esp, 0xc
and dword [ebp - 0x10], 0xffffffbf
mov word [eax + esi], bx
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x2c]
push edi
call fcn.0042b7c8
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x47c4b5
push edi
push str.no_such_vfs:__s
call fcn.0042d8e0
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
mov dword [ecx], eax
test ebx, ebx
je 0x47c4c0
push esi
call fcn.0042c124
pop ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 0x10]
test ebx, ebx
cmove edx, esi
mov dword [ecx], eax
mov eax, ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret