Function at 0x506dd0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00513a80
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0x40
jne 0x506e11
movzx edx, byte [0x5eeb46]
test edx, edx
je 0x5073dd
cmp dword [ebp - 0x20], 5
jl 0x5073dd
push 5
push str.file:
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057d65b
add esp, 0xc
test eax, eax
jne 0x5073dd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
add eax, 8
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x18]
or ecx, 0x40
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
jmp 0x506e65
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jge 0x506ea5
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x26
jne 0x506e89
xor eax, eax
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], eax
jmp 0x506e91
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x60]
adc edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
jmp 0x506e5c
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004af6b0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x506ec8
mov eax, 7
jmp 0x5074b2
push 4
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.0057ccd0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 5
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx]
cmp ecx, 0x2f
jne 0x506fa1
mov edx, 1
imul eax, edx, 6
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax]
cmp edx, 0x2f
jne 0x506fa1
mov dword [ebp - 8], 7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x506f45
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x506f45
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x506f1f
cmp dword [ebp - 8], 7
je 0x506fa1
cmp dword [ebp - 8], 0x10
jne 0x506f70
push 9
mov edx, 1
imul eax, edx, 7
add eax, dword [ebp + 0xc]
push eax
push str.localhost
call fcn.0057d65b
add esp, 0xc
test eax, eax
je 0x506fa1
mov ecx, 1
imul edx, ecx, 7
add edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
sub eax, 7
push eax
push str.invalid_uri_authority:__.s
call fcn.004af540
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 1
jmp 0x507486
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
movsx ecx, byte [ebp - 1]
test ecx, ecx
je 0x5071ac
movsx edx, byte [ebp - 1]
cmp edx, 0x23
je 0x5071ac
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, byte [ebp - 1]
cmp ecx, 0x25
jne 0x5070dc
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5bedf0]
and ecx, 8
je 0x5070dc
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx eax, byte [edx + 1]
movzx ecx, byte [eax + 0x5bedf0]
and ecx, 8
je 0x5070dc
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004ce4a0
add esp, 4
movzx edx, al
shl edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004ce4a0
add esp, 4
movzx ecx, al
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 0x38], 0
jne 0x5070d1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movsx edx, byte [ebp - 1]
test edx, edx
je 0x5070cc
movsx eax, byte [ebp - 1]
cmp eax, 0x23
je 0x5070cc
cmp dword [ebp - 0x14], 0
jne 0x50709a
movsx ecx, byte [ebp - 1]
cmp ecx, 0x3f
je 0x5070cc
cmp dword [ebp - 0x14], 1
jne 0x5070b2
movsx edx, byte [ebp - 1]
cmp edx, 0x3d
je 0x5070cc
movsx eax, byte [ebp - 1]
cmp eax, 0x26
je 0x5070cc
cmp dword [ebp - 0x14], 2
jne 0x5070c1
movsx ecx, byte [ebp - 1]
cmp ecx, 0x26
je 0x5070cc
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x50706f
jmp 0x506fa8
mov al, byte [ebp - 0x38]
mov byte [ebp - 1], al
jmp 0x507193
cmp dword [ebp - 0x14], 1
jne 0x50716a
movsx ecx, byte [ebp - 1]
cmp ecx, 0x26
je 0x5070f8
movsx edx, byte [ebp - 1]
cmp edx, 0x3d
jne 0x50716a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax - 1]
test ecx, ecx
jne 0x507140
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x50713b
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x23
je 0x50713b
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx ecx, byte [eax - 1]
cmp ecx, 0x26
je 0x50713b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x507106
jmp 0x506fa8
movsx eax, byte [ebp - 1]
cmp eax, 0x26
jne 0x50715d
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x507164
mov dword [ebp - 0x14], 2
mov byte [ebp - 1], 0
jmp 0x507193
cmp dword [ebp - 0x14], 0
jne 0x507179
movsx eax, byte [ebp - 1]
cmp eax, 0x3f
je 0x507188
cmp dword [ebp - 0x14], 2
jne 0x507193
movsx ecx, byte [ebp - 1]
cmp ecx, 0x26
jne 0x507193
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
mov byte [edx], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x506fa8
cmp dword [ebp - 0x14], 1
jne 0x5071c4
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
push 4
push 0
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.0057ccd0
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.00513a80
add esp, 4
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1c], edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx + ecx]
test eax, eax
je 0x5073db
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00513a80
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00513a80
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x3c], 3
jne 0x507257
push 3
mov eax, dword [ebp - 0x1c]
push eax
push 0x5f6794
call fcn.0057d65b
add esp, 0xc
test eax, eax
jne 0x507257
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], ecx
jmp 0x5073c9
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x3c], 5
jne 0x5072ab
push 5
mov edx, dword [ebp - 0x1c]
push edx
push 0x5f6798
call fcn.0057d65b
add esp, 0xc
test eax, eax
jne 0x5072ab
mov dword [ebp - 0x34], 0x60000
mov dword [ebp - 0x24], 0x5f6724
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], str.cache
cmp dword [ebp - 0x3c], 4
jne 0x5072e6
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
push str.mode
call fcn.0057d65b
add esp, 0xc
test eax, eax
jne 0x5072e6
mov dword [ebp - 0x34], 0x87
mov dword [ebp - 0x24], 0x5f673c
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], str.access
cmp dword [ebp - 0x24], 0
je 0x5073c9
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
jmp 0x507309
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
cmp dword [edx + ecx*8], 0
je 0x50735b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.00513a80
add esp, 4
cmp dword [ebp - 0x4c], eax
jne 0x507359
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0057d65b
add esp, 0xc
test eax, eax
jne 0x507359
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x44], eax
jmp 0x50735b
jmp 0x507300
cmp dword [ebp - 0x44], 0
jne 0x507387
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.no_such__s_mode:__s
call fcn.004af540
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 1
jmp 0x507486
mov edx, dword [ebp - 0x44]
and edx, 0xffffff7f
cmp edx, dword [ebp - 0x48]
jle 0x5073bb
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push str._s_mode_not_allowed:__s
call fcn.004af540
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x2c], 3
jmp 0x507486
mov eax, dword [ebp - 0x34]
not eax
and eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x1c], eax
jmp 0x5071ed
jmp 0x507450
mov eax, dword [ebp - 0x20]
add eax, 8
cdq
push edx
push eax
call fcn.004af6b0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x507401
mov eax, 7
jmp 0x5074b2
push 4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0057ccd0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x20], 0
je 0x507434
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0057c750
add esp, 0xc
push 4
push 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
push eax
call fcn.0057ccd0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
and ecx, 0xffffffbf
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.004a1380
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x507486
mov eax, dword [ebp - 0x50]
push eax
push str.no_such_vfs:__s
call fcn.004af540
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0
je 0x50749f
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b02a0
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret