Function at 0x47ad00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
push edi
mov edi, esi
test esi, esi
je 0x47ad3e
cmp byte [esi], 0
je 0x47ad36
nop
inc edi
cmp byte [edi], 0
jne 0x47ad30
sub edi, esi
and edi, 0x3fffffff
test cl, 0x40
jne 0x47ad50
cmp dword [0x4fcd4c], 0
je 0x47b2d5
cmp edi, 5
jb 0x47b2d5
cmp dword [esi], 0x656c6966
jne 0x47b2d5
cmp byte [esi + 4], 0x3a
jne 0x47b2d5
or ecx, 0x40
lea eax, [edi + 2]
xor edx, edx
mov dword [esp + 0x1c], ecx
xor ebx, ebx
mov dword [esp + 0x28], edx
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], eax
cmp edi, 2
jb 0x47adb5
lea ebx, [edi - 1]
xor eax, eax
cmp byte [esi + ecx], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [esi + ecx + 1], 0x26
sete al
add ecx, 2
add dword [esp + 0x28], eax
cmp ecx, ebx
jl 0x47ad93
xor ebx, ebx
cmp ecx, edi
mov edi, dword [esp + 0x30]
jge 0x47adc8
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
mov eax, dword [esp + 0x28]
add eax, edx
add edi, eax
call fcn.00478ad0
test eax, eax
jne 0x47b310
test edi, edi
jle 0x47b310
mov eax, edi
cdq
push edx
push eax
call fcn.0040dca0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x47b310
cmp byte [esi + 5], 0x2f
mov eax, 5
jne 0x47ae6c
cmp byte [esi + 6], 0x2f
jne 0x47ae6c
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x47ae6c
nop
cmp cl, 0x2f
je 0x47ae2e
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47ae20
cmp eax, 7
je 0x47ae6c
cmp eax, 0x10
jne 0x47ae55
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x47ae55
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x47ae55
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x47ae6c
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.00410010
add esp, 0xc
jmp 0x47b282
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x47b02f
nop dword [eax]
cmp dl, 0x23
je 0x47af38
inc eax
cmp dl, 0x25
jne 0x47af76
mov cl, byte [eax + esi]
mov byte [esp + 0x13], cl
movzx ecx, cl
test byte [ecx + 0x4d3ce0], 8
je 0x47af76
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x4d3ce0], 8
je 0x47af76
movsx ebx, byte [esp + 0x13]
movsx ecx, byte [eax + esi + 1]
mov edx, ebx
mov dword [esp + 0x30], ecx
add eax, 2
sar edx, 6
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
and ebx, 0xf
shl ebx, 4
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x30]
mov ecx, ebx
sar ecx, 6
and cl, 1
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, bl
sub cl, dl
mov edx, dword [esp + 0x2c]
and ecx, 0xf
add edx, ecx
jne 0x47af64
mov cl, byte [eax + esi]
test cl, cl
je 0x47af29
cmp cl, 0x23
je 0x47af29
test edi, edi
jne 0x47af1f
cmp cl, 0x3f
jmp 0x47af57
cmp edi, 1
jne 0x47af4f
cmp cl, 0x3d
jne 0x47af54
mov ebx, dword [esp + 0x18]
mov dl, byte [eax + esi]
test dl, dl
jne 0x47ae80
mov eax, dword [esp + 0x14]
cmp edi, 1
jne 0x47b033
mov byte [eax + ebx], 0
inc ebx
jmp 0x47b033
cmp edi, 2
jne 0x47af59
cmp cl, 0x26
je 0x47af29
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47af11
jmp 0x47af29
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebx], dl
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x47af2d
cmp edi, 1
jne 0x47aff3
cmp dl, 0x26
je 0x47af89
cmp dl, 0x3d
jne 0x47b01e
mov ecx, dword [esp + 0x14]
cmp byte [ecx + ebx - 1], 0
jne 0x47afba
mov cl, byte [eax + esi]
test cl, cl
je 0x47af2d
nop dword [eax + eax]
cmp cl, 0x23
je 0x47af2d
cmp byte [eax + esi - 1], 0x26
je 0x47af2d
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47afa0
jmp 0x47af2d
cmp dl, 0x26
jne 0x47afdb
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov byte [edx + ebx], 0
inc ebx
xor dl, dl
mov byte [ecx + ebx], dl
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x47af2d
mov ecx, dword [esp + 0x14]
xor dl, dl
mov edi, 2
mov byte [ecx + ebx], dl
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x47af2d
test edi, edi
jne 0x47b00d
cmp dl, 0x3f
je 0x47b017
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebx], dl
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x47af2d
cmp edi, 2
jne 0x47b01e
cmp dl, 0x26
jne 0x47b01e
mov edi, 1
xor dl, dl
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebx], dl
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x47af2d
mov eax, dword [esp + 0x14]
mov word [eax + ebx], 0
mov ebx, dword [esp + 0x14]
mov eax, ebx
cmp byte [ebx], 0
je 0x47b04a
inc eax
cmp byte [eax], 0
jne 0x47b044
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x47b25c
mov ebx, 0x6676
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x47b066
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [esp + 0x24], edx
mov edi, edx
jne 0x47b084
xor edi, edi
jmp 0x47b09e
cmp byte [edx], 0
je 0x47b096
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x47b090
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x47b0c0
cmp bx, word [ecx]
jne 0x47b0c0
mov ebx, 0x73
cmp bl, byte [ecx + 2]
mov ebx, 0x6676
jne 0x47b0c0
mov dword [esp + 0x34], edx
jmp 0x47b248
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], esi
cmp eax, 5
jne 0x47b102
mov edx, 0x68636163
cmp edx, dword [ecx]
jne 0x47b102
mov edx, 0x65
cmp dl, byte [ecx + 4]
jne 0x47b102
mov esi, 0x60000
mov dword [esp + 0x28], str.cache
mov ebx, 0x4fc090
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], esi
cmp eax, 4
jne 0x47b16c
mov edx, str.mode
mov eax, dword [edx]
cmp eax, dword [ecx]
je 0x47b132
cmp al, byte [ecx]
jne 0x47b136
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x47b136
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x47b136
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x47b136
xor eax, eax
jmp 0x47b13b
sbb eax, eax
or eax, 1
mov dword [esp + 0x2c], esi
test eax, eax
jne 0x47b16c
mov edx, dword [esp + 0x1c]
mov eax, 0x4fc0b0
and edx, 0x87
mov dword [esp + 0x30], 0x87
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], str.access
jmp 0x47b178
test ebx, ebx
je 0x47b243
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
xor ebx, ebx
test ecx, ecx
je 0x47b1ff
mov eax, ecx
test ecx, ecx
je 0x47b19d
cmp byte [ecx], 0
je 0x47b196
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x47b190
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x47b1f3
mov edx, dword [esp + 0x24]
mov esi, edi
sub esi, 4
jb 0x47b1c1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47b1c6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x47b1b0
cmp esi, 0xfffffffc
je 0x47b216
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x47b1f3
cmp esi, 0xfffffffd
je 0x47b216
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x47b1f3
cmp esi, 0xfffffffe
je 0x47b216
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x47b1f3
cmp esi, 0xffffffff
je 0x47b216
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x47b216
mov eax, dword [esp + 0x18]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x47b180
push dword [esp + 0x24]
push dword [esp + 0x2c]
push str.no_such__s_mode:__s
call fcn.00410010
add esp, 0xc
jmp 0x47b282
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x47b1ff
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x2c]
jg 0x47b2b6
mov eax, dword [esp + 0x30]
not eax
and eax, dword [esp + 0x1c]
or eax, ecx
mov dword [esp + 0x1c], eax
mov ebx, 0x6676
mov ecx, dword [esp + 0x24]
inc ecx
add ecx, edi
cmp byte [ecx], 0
jne 0x47b064
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
push esi
call fcn.0040d2e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x47b29d
push esi
push str.no_such_vfs:__s
call fcn.00410010
add esp, 8
mov dword [esp + 0x20], 1
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x14]
mov dword [ecx], eax
call fcn.0040e000
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x24]
push dword [esp + 0x2c]
push str._s_mode_not_allowed:__s
call fcn.00410010
add esp, 0xc
mov dword [esp + 0x20], 3
jmp 0x47b28a
lea ebx, [edi + 2]
call fcn.00478ad0
test eax, eax
jne 0x47b310
push eax
push ebx
call fcn.0040dca0
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x47b310
push edi
push esi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebx + edi], 0
and dword [esp + 0x1c], 0xffffffbf
jmp 0x47b25c
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret