Function at 0x501d20
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
push ebx
push esi
push edi
lea edi, [ebp - 0x1cc]
mov ecx, 0x73
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00488bd0
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
and eax, 0x40
jne 0x501d77
cmp dword [0x536de4], 0
je 0x5023a0
cmp dword [ebp - 0x44], 5
jl 0x5023a0
push 5
push str.file:
mov eax, dword [ebp + 0xc]
push eax
call fcn.00454756
add esp, 0xc
test eax, eax
jne 0x5023a0
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
or eax, 0x40
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], 0
jmp 0x501dc7
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jge 0x501de8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax]
xor edx, edx
cmp ecx, 0x26
sete dl
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x80], edx
jmp 0x501dbe
mov eax, dword [ebp - 0x80]
push eax
call fcn.00485e20
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x501e07
mov eax, 7
jmp 0x50244b
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 5]
cmp ecx, 0x2f
jne 0x501ea8
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 6]
cmp ecx, 0x2f
jne 0x501ea8
mov dword [ebp - 0x68], 7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax]
test ecx, ecx
je 0x501e54
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x501e54
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
jmp 0x501e2e
cmp dword [ebp - 0x68], 7
je 0x501ea6
cmp dword [ebp - 0x68], 0x10
jne 0x501e7a
push 9
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
push str.localhost
call fcn.00454756
add esp, 0xc
test eax, eax
je 0x501ea6
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
mov ecx, dword [ebp - 0x68]
sub ecx, 7
push ecx
push str.invalid_uri_authority:__.s
call fcn.004885d0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 8], 1
jmp 0x50241f
jmp 0x501eaf
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
mov cl, byte [eax]
mov byte [ebp - 0x35], cl
movsx edx, byte [ebp - 0x35]
test edx, edx
je 0x5020ce
movsx eax, byte [ebp - 0x35]
cmp eax, 0x23
je 0x5020ce
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
movsx eax, byte [ebp - 0x35]
cmp eax, 0x25
jne 0x501ffe
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x51a988]
and edx, 8
je 0x501ffe
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x51a988]
and edx, 8
je 0x501ffe
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
mov cl, byte [eax]
mov byte [ebp - 0x1c9], cl
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
movsx eax, byte [ebp - 0x1c9]
push eax
call fcn.004d0450
add esp, 4
movzx ecx, al
shl ecx, 4
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
mov cl, byte [eax]
mov byte [ebp - 0x1c9], cl
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
movsx eax, byte [ebp - 0x1c9]
push eax
call fcn.004d0450
add esp, 4
movzx ecx, al
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], ecx
jne 0x501ff0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
mov cl, byte [eax]
mov byte [ebp - 0x35], cl
movsx edx, byte [ebp - 0x35]
test edx, edx
je 0x501feb
movsx eax, byte [ebp - 0x35]
cmp eax, 0x23
je 0x501feb
cmp dword [ebp - 0x5c], 0
jne 0x501fb9
movsx eax, byte [ebp - 0x35]
cmp eax, 0x3f
je 0x501feb
cmp dword [ebp - 0x5c], 1
jne 0x501fd1
movsx eax, byte [ebp - 0x35]
cmp eax, 0x3d
je 0x501feb
movsx eax, byte [ebp - 0x35]
cmp eax, 0x26
je 0x501feb
cmp dword [ebp - 0x5c], 2
jne 0x501fe0
movsx eax, byte [ebp - 0x35]
cmp eax, 0x26
je 0x501feb
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
jmp 0x501f8e
jmp 0x501eb6
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0x35], al
jmp 0x5020b5
cmp dword [ebp - 0x5c], 1
jne 0x50208c
movsx eax, byte [ebp - 0x35]
cmp eax, 0x26
je 0x50201a
movsx eax, byte [ebp - 0x35]
cmp eax, 0x3d
jne 0x50208c
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
movsx ecx, byte [eax - 1]
test ecx, ecx
jne 0x502062
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax]
test ecx, ecx
je 0x50205d
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x50205d
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x68]
movsx ecx, byte [eax - 1]
cmp ecx, 0x26
je 0x50205d
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
jmp 0x502028
jmp 0x501eb6
movsx eax, byte [ebp - 0x35]
cmp eax, 0x26
jne 0x50207f
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
mov byte [eax], 0
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
jmp 0x502086
mov dword [ebp - 0x5c], 2
mov byte [ebp - 0x35], 0
jmp 0x5020b5
cmp dword [ebp - 0x5c], 0
jne 0x50209b
movsx eax, byte [ebp - 0x35]
cmp eax, 0x3f
je 0x5020aa
cmp dword [ebp - 0x5c], 2
jne 0x5020b5
movsx eax, byte [ebp - 0x35]
cmp eax, 0x26
jne 0x5020b5
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
mov cl, byte [ebp - 0x35]
mov byte [eax], cl
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
jmp 0x501eb6
cmp dword [ebp - 0x5c], 1
jne 0x5020e6
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
mov byte [eax], 0
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
mov byte [eax], 0
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x74]
mov byte [eax], 0
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00488bd0
add esp, 4
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
movsx ecx, byte [eax]
test ecx, ecx
je 0x50239e
mov eax, dword [ebp - 0x50]
push eax
call fcn.00488bd0
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x50]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00488bd0
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x98], 3
jne 0x502196
push 3
mov eax, dword [ebp - 0x50]
push eax
push 0x521640
call fcn.00454756
add esp, 0xc
test eax, eax
jne 0x502196
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x20], eax
jmp 0x502386
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0x98], 5
jne 0x502208
push 5
mov eax, dword [ebp - 0x50]
push eax
push str.cache
call fcn.00454756
add esp, 0xc
test eax, eax
jne 0x502208
mov dword [ebp - 0xd4], 0x60000
mov dword [ebp - 0xbc], 0x537b18
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xc8], str.cache
cmp dword [ebp - 0x98], 4
jne 0x502255
push 4
mov eax, dword [ebp - 0x50]
push eax
push str.mode
call fcn.00454756
add esp, 0xc
test eax, eax
jne 0x502255
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xbc], 0x537b30
mov eax, dword [ebp - 0xd4]
and eax, dword [ebp - 0x14]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xc8], str.access
cmp dword [ebp - 0xbc], 0
je 0x502386
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xec], 0
jmp 0x502287
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + eax*8], 0
je 0x502303
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
push eax
call fcn.00488bd0
add esp, 4
cmp dword [ebp - 0xb0], eax
jne 0x5022fe
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00454756
add esp, 0xc
test eax, eax
jne 0x5022fe
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0xf8], edx
jmp 0x502303
jmp 0x502278
cmp dword [ebp - 0xf8], 0
jne 0x502338
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
push str.no_such__s_mode:__s
call fcn.004885d0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 8], 1
jmp 0x50241f
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xe0]
jle 0x502372
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
push str._s_mode_not_allowed:__s
call fcn.004885d0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 8], 3
jmp 0x50241f
mov eax, dword [ebp - 0xd4]
not eax
and eax, dword [ebp - 0x14]
or eax, dword [ebp - 0xf8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa4]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x50], edx
jmp 0x502120
jmp 0x5023e9
mov eax, dword [ebp - 0x44]
add eax, 2
push eax
call fcn.00485e20
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5023c2
mov eax, 7
jmp 0x50244b
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004571c0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00485080
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x50241f
mov eax, dword [ebp - 0x20]
push eax
push str.no_such_vfs:__s
call fcn.004885d0
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x502438
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00486260
add esp, 4
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0x1cc
cmp ebp, esp
call fcn.00504bf9
mov esp, ebp
pop ebp
ret